app/soc/logic/models/base.py
changeset 970 8b5611d5b053
parent 961 36a90d0e9211
child 986 e9611a2288ca
--- a/app/soc/logic/models/base.py	Sat Jan 24 21:38:28 2009 +0000
+++ b/app/soc/logic/models/base.py	Sat Jan 24 23:56:34 2009 +0000
@@ -29,7 +29,7 @@
 
 from google.appengine.ext import db
 
-from django.utils.translation import ugettext_lazy
+from django.utils.translation import ugettext
 
 from soc.logic import dicts
 from soc.views import out_of_band
@@ -258,14 +258,14 @@
     if entity:
       return entity
 
-    format_text = ugettext_lazy('"%(key)s" is "%(value)s"')
+    format_text = ugettext('"%(key)s" is "%(value)s"')
 
     msg_pairs = [format_text % {'key': key, 'value': value}
       for key, value in fields.iteritems()]
 
     joined_pairs = ' and '.join(msg_pairs)
 
-    msg = ugettext_lazy(
+    msg = ugettext(
       'There is no "%(name)s" where %(pairs)s.') % {
         'name': self._name, 'pairs': joined_pairs}