Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-07 13:13:55 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-05 21:48:16 +0300
commit19ded76b77785c1fc967dbb61ec1aa277a70e2e0 (patch)
tree3669a759a4e4d16c25c368881f50dd98c621de0e /lib
parent655e39ffcd41b1341f436272a80786f21f69c5b6 (diff)
Display the proper language strings in setttings
Since this was moved to lib, we have to the lib language files. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Settings/Personal/PersonalInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php
index dbc05cbda2f..9e2efa6c040 100644
--- a/lib/private/Settings/Personal/PersonalInfo.php
+++ b/lib/private/Settings/Personal/PersonalInfo.php
@@ -205,7 +205,7 @@ class PersonalInfo implements ISettings {
$languages = [];
foreach($languageCodes as $lang) {
- $l = \OC::$server->getL10N('settings', $lang);
+ $l = \OC::$server->getL10N('lib', $lang);
// TRANSLATORS this is the language name for the language switcher in the personal settings and should be the localized version
$potentialName = (string) $l->t('__language_name__');
if($l->getLanguageCode() === $lang && substr($potentialName, 0, 1) !== '_') {//first check if the language name is in the translation file