diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-01-30 20:29:33 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-01-30 20:29:33 +0100 |
commit | 4522d19b4c214676b8a0d4067c3a2d1bc63618bc (patch) | |
tree | 68725926f48072805e321f3507237df33814472a /settings/personal.php | |
parent | 355262635838860f5f17b2cf20132adddd7af77e (diff) | |
parent | 45038af948cd07ffc74efc8d4b0282fa11b7de7e (diff) | |
download | nextcloud-server-4522d19b4c214676b8a0d4067c3a2d1bc63618bc.tar.gz nextcloud-server-4522d19b4c214676b8a0d4067c3a2d1bc63618bc.zip |
merge master into filesystem
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 47cb2366f67..8e888760052 100755 --- a/settings/personal.php +++ b/settings/personal.php @@ -34,7 +34,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]); |