Skip to content
Snippets Groups Projects
Commit 182f570b authored by Joas Schilling's avatar Joas Schilling Committed by GitHub
Browse files

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

Clarify that English refers to US English
parents 6c7a7e0c deb05a9f
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ foreach($languageCodes as $lang) { ...@@ -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 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); $ln = array('code' => $lang, 'name' => $potentialName);
} elseif ($lang === 'en') { } elseif ($lang === 'en') {
$ln = ['code' => $lang, 'name' => 'English']; $ln = ['code' => $lang, 'name' => 'English (US)'];
}else{//fallback to language code }else{//fallback to language code
$ln=array('code'=>$lang, 'name'=>$lang); $ln=array('code'=>$lang, 'name'=>$lang);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment