I18n.diff

Use the constand defined in the last patch - Samuel Vogel, 05/02/2009 09:36 pm

Download (370 Bytes)

 
I18n.php 2009-05-02 22:19:41.000000000 +0200
20 20
function __($string, $args = NULL)
21 21
{
22 22
	// en_US is the default locale, in which all of Kohana's __() calls are written in
23
	if (I18n::get_locale() != 'en_US')
23
	if (I18n::get_locale() != KOHANA_LOCALE)
24 24
	{
25 25
		$string = I18n::get_text($string);
26 26
	}