forked from CGM_Public/pretix_original
Fixed a bug in LazyI18nString.LazyGettextProxy
This commit is contained in:
@@ -83,7 +83,7 @@ class LazyI18nString:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return str(self.lazygettext)
|
return str(ugettext(self.lazygettext))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_gettext(cls, lazygettext):
|
def from_gettext(cls, lazygettext):
|
||||||
|
|||||||
Reference in New Issue
Block a user