diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-08 13:59:26 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-08 14:26:26 +0200 |
commit | c08c384e9a82a550174b24fbe200df631a52a5fb (patch) | |
tree | 6832869058d1f20216db5f48604228d3cd7c0967 /web/template/header.php | |
parent | f13160f5cf0a6eb39667186a21fe96bb6dbae976 (diff) | |
download | aurweb-c08c384e9a82a550174b24fbe200df631a52a5fb.tar.xz |
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>
Diffstat (limited to 'web/template/header.php')
-rw-r--r-- | web/template/header.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/header.php b/web/template/header.php index 3567536..874109a 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -42,7 +42,7 @@ print '<option value="' . htmlspecialchars($lang, ENT_QUOTES) . '"' . ($lang == $LANG ? ' selected="selected"' : '') . - '>' . htmlspecialchars($lang) . "</option>\n"; + '>' . htmlspecialchars($lang_name) . "</option>\n"; } ?> </select> |