config_list: generated python encoding declaration is erroneously translated

Bug #1777342 reported by WGH
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Medium
Mark Sapiro

Bug Description

config_list script generates Python configuration file. The script has header specified as string constant enclosed into gettext call. In Russian message files, someone translated "coding: %(charset)s" thing into Russian, which is wrong, because Python can only recognize encoding declaration in English. Maybe others translations have similar problem, but I haven't checked.

#: bin/config_list:118
msgid ""
"# -*- python -*-\n"
"# -*- coding: %(charset)s -*-\n"
"## \"%(listname)s\" mailing list configuration settings\n"
"## captured on %(when)s\n"
msgstr ""
"# -*- python -*-\n"
"# -*- кодировка: %(charset)s -*-\n"
"## параметры списка рассылки \"%(listname)s\"\n"
"## данные собраны %(when)s\n"

Related branches

Revision history for this message
Mark Sapiro (msapiro) wrote :

I'v fixed this. I looked quickly and I think Russian was the only language that had this issue.

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
importance: Undecided → Medium
milestone: none → 2.1.27
status: New → Fix Committed
Mark Sapiro (msapiro)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers