mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
f13160f5cf
commit
c08c384e9a
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue