Skip to content
Snippets Groups Projects
Commit deb05a9f authored by David Nelson's avatar David Nelson Committed by GitHub
Browse files

Update personal.php

parent 0f792fed
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