I18n.diff
| 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 |
} |