diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-07 11:13:55 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-05 19:48:16 +0100 |
commit | 19ded76b77785c1fc967dbb61ec1aa277a70e2e0 (patch) | |
tree | 3669a759a4e4d16c25c368881f50dd98c621de0e /lib/private/Settings | |
parent | 655e39ffcd41b1341f436272a80786f21f69c5b6 (diff) | |
download | nextcloud-server-19ded76b77785c1fc967dbb61ec1aa277a70e2e0.tar.gz nextcloud-server-19ded76b77785c1fc967dbb61ec1aa277a70e2e0.zip |
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/private/Settings')
-rw-r--r-- | lib/private/Settings/Personal/PersonalInfo.php | 2 |
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 |