Skip to content

Commit

Permalink
Merge pull request #35973 from owncloud/apply-bugfix/32012
Browse files Browse the repository at this point in the history
read the correct translations
  • Loading branch information
phil-davis authored Aug 2, 2019
2 parents 5ca460b + 6f1cea7 commit 88039b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Helper/LocaleHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function getNormalizedLanguages(IFactory $langFactory, $activeLangCode) {

$availableCodes = $langFactory->findAvailableLanguages();
foreach ($availableCodes as $languageCode) {
$l = $langFactory->get('settings', $languageCode);
$l = $langFactory->get('lib', $languageCode);

// TRANSLATORS this is a self-name of your language for the language switcher
$endonym = (string)$l->t('__language_name__');
Expand Down

0 comments on commit 88039b2

Please sign in to comment.