--- 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}