diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-11 14:29:07 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-11 14:29:07 +0100 |
| commit | ae2ad5289216baa604cf5b1ea6988410f64499b6 (patch) | |
| tree | af175dfd96b9563226d9a3775b4fa835337f185d | |
| parent | f5508ee4d64e321ec6af5437d360c3314bec817f (diff) | |
| download | Ishtar-ae2ad5289216baa604cf5b1ea6988410f64499b6.tar.bz2 Ishtar-ae2ad5289216baa604cf5b1ea6988410f64499b6.zip | |
Force lazy translation of archaelogical file label (closes #79)
| -rw-r--r-- | ishtar/furnitures/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', |
