From ee1d449d59c58713b3da38e6024c04af79681e3b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 11 Jan 2011 14:29:07 +0100 Subject: Force lazy translation of archaelogical file label (closes #79) --- ishtar/furnitures/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py index 0c03463fe..f77fe6caf 100644 --- a/ishtar/furnitures/models.py +++ b/ishtar/furnitures/models.py @@ -268,7 +268,7 @@ class File(BaseHistorizedItem, OwnPerms): ("delete_own_file", ugettext(u"Can delete own Archaelogical file")), ) def __unicode__(self): - items = [_('Intercommunal')] + items = [unicode(_('Intercommunal'))] if self.towns.count() == 1: items[0] = unicode(self.towns.all()[0]) items += [unicode(getattr(self, k))[:12] for k in ['year', -- cgit v1.2.3