summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-08 13:59:26 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-08 14:26:26 +0200
commitc08c384e9a82a550174b24fbe200df631a52a5fb (patch)
tree6832869058d1f20216db5f48604228d3cd7c0967 /web
parentf13160f5cf0a6eb39667186a21fe96bb6dbae976 (diff)
downloadaurweb-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')
-rw-r--r--web/template/header.php2
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>