From 57fcb182eec623be7182486fe8c054d0778dc221 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 5 Jan 2011 17:23:34 +0100 Subject: [PATCH] fireinfo: Only display name of the language (not the country). --- www/webapp/ui_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/webapp/ui_modules.py b/www/webapp/ui_modules.py index ebbc19c3..40f09b0a 100644 --- a/www/webapp/ui_modules.py +++ b/www/webapp/ui_modules.py @@ -182,7 +182,7 @@ class StasyTableModule(UIModule): for k, v in items: for code, locale in locales.items(): if code.startswith(k): - k = locale["name"] + k = locale["name"].split()[0] _items.append((k, v)) items = _items -- 2.47.3