summaryrefslogtreecommitdiff
path: root/program/include/rcube.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-05-09 12:47:44 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-09 12:47:44 +0200
commit59041fdbc9fdcde1de6fa80efa9857450f021399 (patch)
tree1dc16317df1ad96fc16018c82f4caecd2ccd65c1 /program/include/rcube.php
parent4d7e277b928bff2cf33d49e6aeac3c0f3a7ee332 (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.php2
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');