changeset 2553:82f53c270e7c

translate property names in "item edited ok" message
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Tue, 06 Jul 2004 11:29:12 +0000
parents 41fbe26aa2df
children 52944e87909c
files roundup/cgi/actions.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/cgi/actions.py	Tue Jul 06 10:25:42 2004 +0000
+++ b/roundup/cgi/actions.py	Tue Jul 06 11:29:12 2004 +0000
@@ -1,4 +1,4 @@
-#$Id: actions.py,v 1.32 2004-07-03 17:17:47 a1s Exp $
+#$Id: actions.py,v 1.33 2004-07-06 11:29:12 a1s Exp $
 
 import re, cgi, StringIO, urllib, Cookie, time, random
 
@@ -408,7 +408,7 @@
 
                 # and some nice feedback for the user
                 if props:
-                    info = ', '.join(props.keys())
+                    info = ', '.join(map(self._, props.keys()))
                     m.append(
                         self._('%(class)s %(id)s %(properties)s edited ok')
                         % {'class':cn, 'id':nodeid, 'properties':info})

Roundup Issue Tracker: http://roundup-tracker.org/