summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-04-16 18:23:49 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-04-16 18:23:49 +0200
commit981a19e863bac41ef0c9e2deabe2e6ddfc23cc77 (patch)
tree0c7b2d61390508f608ba62e63d2a281739592525
parent930a3083e48ab3e89dcdfd0de18ec2dda061e220 (diff)
downloadwebadmin-981a19e863bac41ef0c9e2deabe2e6ddfc23cc77.tar.gz
fix kolab_api_controller::locale_init to load the language file so that translation works (#4992)
-rw-r--r--lib/kolab_api_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index daeb30c..98b1a63 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -495,7 +495,7 @@ class kolab_api_controller
@include INSTALL_PATH . '/locale/en_US.php';
if ($lang != 'en_US' && file_exists(INSTALL_PATH . "/locale/$lang.php")) {
- @include INSTALL_PATH . "/locale/$language.php";
+ @include INSTALL_PATH . "/locale/$lang.php";
}
setlocale(LC_ALL, $lang . '.utf8', 'en_US.utf8');