diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-07 11:13:55 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-07 11:13:55 +0100 |
commit | 4ee9315a684d01e8b00f03143588524aa1146315 (patch) | |
tree | a3974459923fec7011a087b7acb43b7373db99a0 /lib/private/Settings | |
parent | c688da7195755273f9b040dc9a16898686e6e68a (diff) | |
download | nextcloud-server-4ee9315a684d01e8b00f03143588524aa1146315.tar.gz nextcloud-server-4ee9315a684d01e8b00f03143588524aa1146315.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 ad277b43194..6411912513f 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 && $potentialName[0] !== '_') {//first check if the language name is in the translation file |