Merge pull request #3070 from dnel/Clarify-English-setting

Clarify that English refers to US English
This commit is contained in:
Joas Schilling 2017-01-16 15:17:09 +01:00 committed by GitHub
commit 182f570b04
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ foreach($languageCodes as $lang) {
if($l->getLanguageCode() === $lang && substr($potentialName, 0, 1) !== '_') {//first check if the language name is in the translation file
$ln = array('code' => $lang, 'name' => $potentialName);
} elseif ($lang === 'en') {
$ln = ['code' => $lang, 'name' => 'English'];
$ln = ['code' => $lang, 'name' => 'English (US)'];
}else{//fallback to language code
$ln=array('code'=>$lang, 'name'=>$lang);
}