aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/i18n.py
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-16 02:46:52 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-16 02:46:52 +0900
commitf8d6bcc2c18e6a3d857dd99be24084c6488590c4 (patch)
tree2c3883ecc9a28f013afaedc6321bbac993363038 /Mailman/i18n.py
parent719ba7e2b6c0da9caf2506b95b192ea51559f6ba (diff)
downloadmailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.gz
mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.xz
mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.zip
enhance i18n in admin(un)?subscribeack messages
Diffstat (limited to '')
-rw-r--r--Mailman/i18n.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/i18n.py b/Mailman/i18n.py
index 605d4e76..f39b1004 100644
--- a/Mailman/i18n.py
+++ b/Mailman/i18n.py
@@ -123,7 +123,10 @@ else:
def C_(s):
return tolocale(_(s, 2))
-
+# marking for pygettext
+def D_(s):
+ return s
+
def ctime(date):
# Don't make these module globals since we have to do runtime translation