diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-05-23 15:25:15 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-05-23 15:25:15 +0000 |
commit | 8f7c2f864662bad677ec724b5604381f6acf4fa7 (patch) | |
tree | 46c3854286255fa12bfea6f34c4da249cc9854b6 /langs.inc.php | |
parent | 2e9f910a2f326acf5ea06246ae6771a105e45c77 (diff) | |
download | www-8f7c2f864662bad677ec724b5604381f6acf4fa7.tar www-8f7c2f864662bad677ec724b5604381f6acf4fa7.tar.gz www-8f7c2f864662bad677ec724b5604381f6acf4fa7.tar.bz2 www-8f7c2f864662bad677ec724b5604381f6acf4fa7.tar.xz www-8f7c2f864662bad677ec724b5604381f6acf4fa7.zip |
do not load lang file for pivot language
Diffstat (limited to 'langs.inc.php')
-rw-r--r-- | langs.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/langs.inc.php b/langs.inc.php index 7f8a53386..909fe5e29 100644 --- a/langs.inc.php +++ b/langs.inc.php @@ -187,6 +187,9 @@ function _h($s, $args = null, $tag = 'p') { */ function _lang_load($locale, $domain) { + if ($locale == 'en') + return true; + $lang_file = sprintf('%s/langs/%s/%s.%s.lang', G_APP_ROOT, $locale, $domain, $locale); if (file_exists($lang_file)) { |