[i18n] msgid tweaks stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 07 Oct 2009 13:52:36 +0200
branchstable
changeset 3592 4c08780e54ed
parent 3591 c08f6af99bce
child 3593 987232bd79cd
[i18n] msgid tweaks
web/views/formrenderers.py
web/views/urlrewrite.py
--- a/web/views/formrenderers.py	Wed Oct 07 13:52:16 2009 +0200
+++ b/web/views/formrenderers.py	Wed Oct 07 13:52:36 2009 +0200
@@ -372,7 +372,7 @@
 
     _options = FormRenderer._options + ('display_relations_form', 'main_form_title')
     display_relations_form = True
-    main_form_title = _('main information')
+    main_form_title = _('main informations')
 
     def render(self, form, values):
         rendered = super(EntityFormRenderer, self).render(form, values)
--- a/web/views/urlrewrite.py	Wed Oct 07 13:52:16 2009 +0200
+++ b/web/views/urlrewrite.py	Wed Oct 07 13:52:36 2009 +0200
@@ -170,7 +170,7 @@
             for key in formgroups:
                 form2[key] = match.group(key)
         if "vtitle" in form2:
-            form2['vtitle'] = req._(form2['vtitle'])
+            form2['vtitle'] = req.__(form2['vtitle'])
         if form2:
             req.form.update(form2)
         return controller, rset