summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-08 11:13:10 +0100
committerGitHub <noreply@github.com>2018-02-08 11:13:10 +0100
commitd767d01a0c102453e224e0b43647aad54519e271 (patch)
treeffda5e5caec50dc6008d367558f9dbba24827d93 /lib
parent5b3843ca8f779b7d32e7ee456ea492bff5dc317d (diff)
parent4ee9315a684d01e8b00f03143588524aa1146315 (diff)
downloadnextcloud-server-d767d01a0c102453e224e0b43647aad54519e271.tar.gz
nextcloud-server-d767d01a0c102453e224e0b43647aad54519e271.zip
Merge pull request #8218 from nextcloud/display_proper_lang_string
Display the proper language strings in setttings
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 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