2 Utilities for global settings.
6 class LazyUGettextLazy(object):
7 """You can use it to internationalize strings in settings.
9 Just import this class as gettext.
14 def __init__(self, text):
17 def __unicode__(self):
19 from django.utils.translation import ugettext_lazy
20 LazyUGettextLazy._ = staticmethod(ugettext_lazy)
21 LazyUGettextLazy.real = True
22 return unicode(self._(self.text))