Show official language names in the drop-down list

We already store the native language names. Display them in the
drop-down list instead of using language codes.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-06-08 13:59:26 +02:00
parent f13160f5cf
commit c08c384e9a

View file

@ -42,7 +42,7 @@
print '<option value="' . htmlspecialchars($lang, ENT_QUOTES) . '"' . print '<option value="' . htmlspecialchars($lang, ENT_QUOTES) . '"' .
($lang == $LANG ? ' selected="selected"' : '') . ($lang == $LANG ? ' selected="selected"' : '') .
'>' . htmlspecialchars($lang) . "</option>\n"; '>' . htmlspecialchars($lang_name) . "</option>\n";
} }
?> ?>
</select> </select>