Package: mailman
Version: 2.1.5-8
Severity: normal
Tags: l10n patch

On a sarge install, I get the following traceback on the options page
for a danish list. I have determined that this is due to the translator
stripping the s from %(foo)s in one of the translations -
Mailman/Cgi/options.py line 813.

Line 2494 is the problematic one and looks like this:

"ved at indtaste dit %(extra)password.\n"

It should look like this:

"ved at indtaste dit %(extra)spassword.\n"

I've attached a -p1 patch that fixes this issue.

admin(17491): [----- Mailman Version: 2.1.5 -----]
admin(17491): [----- Traceback ------]
admin(17491): Traceback (most recent call last):
admin(17491):   File "/var/lib/mailman/scripts/driver", line 110, in run_main
admin(17491):     main()
admin(17491):   File "/var/lib/mailman/Mailman/Cgi/options.py", line 107, in 
main
admin(17491):     loginpage(mlist, doc, None, language)
admin(17491):   File "/var/lib/mailman/Mailman/Cgi/options.py", line 816, in 
loginpage
admin(17491):     table.AddRow([_("""In order to change your membership option, 
you must
admin(17491):   File "/var/lib/mailman/Mailman/i18n.py", line 131, in _
admin(17491):     return tns % dict
admin(17491): ValueError: unsupported format character 'p' (0x70) at index 105
admin(17491): [----- Python Information -----]

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
diff -u mailman-2.1.5/debian/changelog mailman-2.1.5/debian/changelog
--- mailman-2.1.5/debian/changelog
+++ mailman-2.1.5/debian/changelog
@@ -1,3 +1,9 @@
+mailman (2.1.5-10) unstable; urgency=low
+
+  * Prevent traceback on options page of Danish lists
+
+ -- Tollef Fog Heen <[EMAIL PROTECTED]>  Thu, 17 Nov 2005 17:59:04 +0800
+
 mailman (2.1.5-9) unstable; urgency=medium
 
   * Update the Belgian translation, thanks to Luc Stroobant for prodding
only in patch2:
unchanged:
--- mailman-2.1.5.orig/messages/da/LC_MESSAGES/mailman.po
+++ mailman-2.1.5/messages/da/LC_MESSAGES/mailman.po
@@ -2491,7 +2491,7 @@
 "    "
 msgstr ""
 "For at &aelig;ndre dine personlige indstillinger, skal du logge ind nedenfor "
-"ved at indtaste dit %(extra)password.\n"
+"ved at indtaste dit %(extra)spassword.\n"
 "Hvis du ikke kan huske dit password, kan du bede om at f&aring; det tilsendt "
 "i en e-mail ved at klikke p&aring; knappen nedenfor.\n"
 "Hvis du kun &oslash;nsker at framelde dig fra listen, klik da på <em>Meld mig "

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to