diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-01-28 15:13:27 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-01-28 15:13:37 +0100 |
commit | 57f2bf596935ced0f6cbda93ada19acaf1c13ffb (patch) | |
tree | 29f621fb58e694b6e064e2646968c105aa631738 /settings/personal.php | |
parent | 21bf8e99ee7ee632068c7031c59f722ea2527f6e (diff) | |
download | nextcloud-server-57f2bf596935ced0f6cbda93ada19acaf1c13ffb.tar.gz nextcloud-server-57f2bf596935ced0f6cbda93ada19acaf1c13ffb.zip |
add more language names
Diffstat (limited to 'settings/personal.php')
-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 44b4c2f594d..787957f246f 100755 --- a/settings/personal.php +++ b/settings/personal.php @@ -33,7 +33,7 @@ $languageNames=include 'languageCodes.php'; $languages=array(); foreach($languageCodes as $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 + if(substr($l->t('__language_name__'),0,1)!='_'){//first check if the language name is in the translation file $languages[]=array('code'=>$lang,'name'=>$l->t('__language_name__')); }elseif(isset($languageNames[$lang])){ $languages[]=array('code'=>$lang,'name'=>$languageNames[$lang]); |