diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-22 01:23:09 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-22 01:23:09 +0900 |
commit | 6a3bbdd20a8fac82f161f353c40604387f52cb09 (patch) | |
tree | 4d752b4a3f0f4bd3100108bc9cf584438772d778 /Mailman/Cgi | |
parent | 388b4a41ece74d11298e640429bef5f903221d09 (diff) | |
download | mailman2-6a3bbdd20a8fac82f161f353c40604387f52cb09.tar.gz mailman2-6a3bbdd20a8fac82f161f353c40604387f52cb09.tar.xz mailman2-6a3bbdd20a8fac82f161f353c40604387f52cb09.zip |
enhance i18n of listinfo overview
* make sure list's description charset as its preferred_language's
* get description as a string of charset caller wanted
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r-- | Mailman/Cgi/admin.py | 2 | ||||
-rw-r--r-- | Mailman/Cgi/listinfo.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index f77b358e..f028052d 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -295,7 +295,7 @@ def admin_overview(msg=''): else: advertised.append((mlist.GetScriptURL('admin'), mlist.real_name, - mlist.description)) + mlist.GetDescription())) # Greeting depends on whether there was an error or not if msg: greeting = FontAttr(msg, color="ff5060", size="+1") diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py index b55c263d..f1b455da 100644 --- a/Mailman/Cgi/listinfo.py +++ b/Mailman/Cgi/listinfo.py @@ -114,7 +114,7 @@ def listinfo_overview(msg=''): else: advertised.append((mlist.GetScriptURL('listinfo'), mlist.real_name, - Utils.websafe(mlist.description))) + Utils.websafe(mlist.GetDescription()))) if msg: greeting = FontAttr(msg, color="ff5060", size="+1") else: |