From d3b8055fdda07338ac0b2de59613da2b34433412 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sun, 17 Jun 2018 16:47:34 -0700 Subject: Bump copyright dates. --- Mailman/Cgi/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Cgi/admin.py') diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index f44e01db..53975964 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2017 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2018 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License -- cgit v1.2.3 From cecee6f6238d162a161bc1f6da13783fde2f0895 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Mon, 18 Jun 2018 04:35:51 -0700 Subject: Added global _ where needed. --- Mailman/Cgi/admin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Mailman/Cgi/admin.py') diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index 53975964..f77b358e 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1401,6 +1401,7 @@ def submit_button(name='submit'): def change_options(mlist, category, subcat, cgidata, doc): + global _ def safeint(formvar, defaultval=None): try: return int(cgidata.getfirst(formvar)) -- cgit v1.2.3 From 6a3bbdd20a8fac82f161f353c40604387f52cb09 Mon Sep 17 00:00:00 2001 From: Yasuhito FUTATSUKI at POEM Date: Fri, 22 Jun 2018 01:23:09 +0900 Subject: 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 --- Mailman/Cgi/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Cgi/admin.py') 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") -- cgit v1.2.3 From 981cf5eaa82259488eec0922bf2aeb07ea3bedaf Mon Sep 17 00:00:00 2001 From: Yasuhito FUTATSUKI at POEM Date: Fri, 22 Jun 2018 09:34:52 +0900 Subject: * apply Utils.websafe() to description string in admin.py * Use GetDescription() in HTMLFormatter.py --- Mailman/Cgi/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Cgi/admin.py') diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index f028052d..a92ab378 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.GetDescription())) + Utils.websafe(mlist.GetDescription()))) # Greeting depends on whether there was an error or not if msg: greeting = FontAttr(msg, color="ff5060", size="+1") -- cgit v1.2.3