def description(self, obj): if self.any_language or not is_multilingual(): return _(u"%(site)s blog entries") % {'site': self.site.name} return _(u"%(site)s blog entries in %(lang)s") % { 'site': self.site.name, 'lang': get_lang_name(self.language_code) }
def description(self, obj): if self.any_language or not is_multilingual(): return _(u"%(site)s blog entries") % {'site': self.site.name} return _(u"%(site)s blog entries in %(lang)s") % { 'site': self.site.name, 'lang': get_lang_name(self.language_code) }