fix i18n msgstr stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 18 May 2009 19:48:58 +0200
branchstable
changeset 1848 981b8dc9e4d0
parent 1847 c5714f07f869
child 1849 1901fa97f521
fix i18n msgstr
web/views/boxes.py
--- a/web/views/boxes.py	Mon May 18 18:42:12 2009 +0200
+++ b/web/views/boxes.py	Mon May 18 19:48:58 2009 +0200
@@ -99,10 +99,10 @@
         eschema = entity.e_schema
         for rschema, teschema, x in self.add_related_schemas(entity):
             if x == 'subject':
-                label = '%s %s %s %s' % (eschema, rschema, teschema, x)
+                label = 'add %s %s %s %s' % (eschema, rschema, teschema, x)
                 url = self.linkto_url(entity, rschema, teschema, 'object')
             else:
-                label = '%s %s %s %s' % (teschema, rschema, eschema, x)
+                label = 'add %s %s %s %s' % (teschema, rschema, eschema, x)
                 url = self.linkto_url(entity, rschema, teschema, 'subject')
             actions.append(self.mk_action(_(label), url))
         return actions