diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-05-09 12:47:44 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-05-09 12:47:44 +0200 |
commit | 59041fdbc9fdcde1de6fa80efa9857450f021399 (patch) | |
tree | 1dc16317df1ad96fc16018c82f4caecd2ccd65c1 /program/include/rcube.php | |
parent | 4d7e277b928bff2cf33d49e6aeac3c0f3a7ee332 (diff) |
Use similar language as a fallback for plugin localization (#1488401)
Don't load en_US localization more than once
Diffstat (limited to 'program/include/rcube.php')
-rw-r--r-- | program/include/rcube.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube.php b/program/include/rcube.php index 8bd9b76be..272136fa8 100644 --- a/program/include/rcube.php +++ b/program/include/rcube.php @@ -631,7 +631,7 @@ class rcube $this->texts = array_merge($this->texts, $messages); // include user language files - if ($lang != 'en' && is_dir(INSTALL_PATH . 'program/localization/' . $lang)) { + if ($lang != 'en' && $lang != 'en_US' && is_dir(INSTALL_PATH . 'program/localization/' . $lang)) { include_once(INSTALL_PATH . 'program/localization/' . $lang . '/labels.inc'); include_once(INSTALL_PATH . 'program/localization/' . $lang . '/messages.inc'); |