summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-03-05 23:46:26 +0100
committerGitHub <noreply@github.com>2018-03-05 23:46:26 +0100
commit0045e823fe91e1e19a1e09cb5ed1e8f46bdfa479 (patch)
tree3669a759a4e4d16c25c368881f50dd98c621de0e
parent655e39ffcd41b1341f436272a80786f21f69c5b6 (diff)
parent19ded76b77785c1fc967dbb61ec1aa277a70e2e0 (diff)
downloadnextcloud-server-0045e823fe91e1e19a1e09cb5ed1e8f46bdfa479.tar.gz
nextcloud-server-0045e823fe91e1e19a1e09cb5ed1e8f46bdfa479.zip
Merge pull request #8669 from nextcloud/8218_13
[stable13] Display the proper language strings in setttings
-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