diff options
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/personal.php b/settings/personal.php index a72b293413a..b290d6a959e 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -46,7 +46,7 @@ $languageNames=include 'languageCodes.php'; $languages=array(); $commonlanguages = array(); foreach($languageCodes as $lang) { - $l=OC_L10N::get('settings', $lang); + $l = \OC::$server->getL10N('settings', $lang); if(substr($l->t('__language_name__'), 0, 1) !== '_') {//first check if the language name is in the translation file $ln=array('code'=>$lang, 'name'=> (string)$l->t('__language_name__')); }elseif(isset($languageNames[$lang])) { |