[aur-dev] [PATCH] Show official language names in the drop-down list
Lukas Fleischer
lfleischer at archlinux.org
Mon Jun 8 12:02:59 UTC 2015
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 at 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
More information about the aur-dev
mailing list