8 Jun
2015
8 Jun
'15
12:02 p.m.
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> --- web/template/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> -- 2.4.2