diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-01-15 15:30:08 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-01-15 15:30:08 +0100 |
commit | 63d9c1a8179bdefa6c4b6f089af6ce91cd11a46a (patch) | |
tree | 62a7419a42e6b3442463d6eb0340a4b3bdd231c1 /settings | |
parent | 37c0b97b3c4c429b2bea73f4abf8f7179b1a00e8 (diff) | |
download | nextcloud-server-63d9c1a8179bdefa6c4b6f089af6ce91cd11a46a.tar.gz nextcloud-server-63d9c1a8179bdefa6c4b6f089af6ce91cd11a46a.zip |
read language name from the right resource
Diffstat (limited to 'settings')
-rwxr-xr-x | settings/personal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/personal.php b/settings/personal.php index 8d05b14a353..44b4c2f594d 100755 --- a/settings/personal.php +++ b/settings/personal.php @@ -32,7 +32,7 @@ array_unshift($languageCodes,$lang); $languageNames=include 'languageCodes.php'; $languages=array(); foreach($languageCodes as $lang){ - $l=new OC_L10N('core',$lang); + $l=new OC_L10N('settings',$lang); if($l->t('__language_name__')!='__language_name__'){//first check if the language name is in the translation file $languages[]=array('code'=>$lang,'name'=>$l->t('__language_name__')); }elseif(isset($languageNames[$lang])){ |