src/cm/models.py
changeset 5 c3594e4df7c1
parent 0 40c8f766c9b8
child 12 f69ff46d3240
--- a/src/cm/models.py	Mon Nov 23 16:25:13 2009 +0100
+++ b/src/cm/models.py	Tue Nov 24 10:31:11 2009 +0100
@@ -692,18 +692,18 @@
     
     #type/msg
     MSGS = {
-         'text_edited' : _(u'Text %(link_to_text)s edited'),
-         'text_edited_new_version' : _(u'Text %(link_to_text)s edited (new version created)'),
-         'text_created' :  _(u'Text %(link_to_text)s added'),
-         'text_removed' : _(u'Text %(link_to_text)s removed'),
-         'comment_created' : _(u'Comment %(link_to_comment)s added on text %(link_to_text)s'),
-         'comment_removed' : _(u'Comment %(link_to_comment)s removed from text %(link_to_text)s'),
-         'user_created' : _(u'User %(username)s added'),
-         'user_enabled' : _(u'User %(username)s access to workspace enabled'),
-         'user_refused' : _(u'User %(username)s access to workspace refused'),
-         'user_suspended' : _(u'User %(username)s access to workspace suspended'),
-         'user_activated' : _(u'User %(username)s access to workspace activated'),
-         'user_approved' : _(u'User %(username)s has activated his account'),
+         'text_edited' : ugettext_lazy(u'Text %(link_to_text)s edited'),
+         'text_edited_new_version' : ugettext_lazy(u'Text %(link_to_text)s edited (new version created)'),
+         'text_created' :  ugettext_lazy(u'Text %(link_to_text)s added'),
+         'text_removed' : ugettext_lazy(u'Text %(link_to_text)s removed'),
+         'comment_created' : ugettext_lazy(u'Comment %(link_to_comment)s added on text %(link_to_text)s'),
+         'comment_removed' : ugettext_lazy(u'Comment %(link_to_comment)s removed from text %(link_to_text)s'),
+         'user_created' : ugettext_lazy(u'User %(username)s added'),
+         'user_enabled' : ugettext_lazy(u'User %(username)s access to workspace enabled'),
+         'user_refused' : ugettext_lazy(u'User %(username)s access to workspace refused'),
+         'user_suspended' : ugettext_lazy(u'User %(username)s access to workspace suspended'),
+         'user_activated' : ugettext_lazy(u'User %(username)s access to workspace activated'),
+         'user_approved' : ugettext_lazy(u'User %(username)s has activated his account'),
          }
     
     def is_same_user(self, other_activity):