示例#1
0
文件: feeds.py 项目: ozten/zamboni
 def title(self):
     """Title for the feed"""
     return _('Featured Add-ons :: %s') % page_name(self.app)
示例#2
0
文件: feeds.py 项目: zuzelvp/olympia
 def title(self, category):
     """Title for the feed as a whole"""
     name = category.name if category else _('Extensions')
     return u'%s :: %s' % (name, page_name(self.request.APP))
示例#3
0
文件: feeds.py 项目: ozten/zamboni
 def title(self, category):
     """Title for the feed as a whole"""
     name = category.name if category else _('Extensions')
     return u'%s :: %s' % (name, page_name(self.request.APP))
示例#4
0
文件: feeds.py 项目: zuzelvp/olympia
 def title(self):
     """Title for the feed"""
     return _('Featured Add-ons :: %s') % page_name(self.app)
示例#5
0
文件: feeds.py 项目: zuzelvp/olympia
 def title(self):
     """Title for the feed as a whole"""
     base = _('Search Tools')
     if self.category:
         base = u'%s :: %s' % (self.category.name, base)
     return u'%s :: %s' % (base, page_name(self.request.APP))
示例#6
0
 def title(self):
     """Title for the feed as a whole"""
     base = _('Search Tools')
     if self.category:
         base = u'%s :: %s' % (self.category.name, base)
     return u'%s :: %s' % (base, page_name(self.request.APP))
示例#7
0
 def title(self, c):
     app = page_name(self.request.APP)
     # L10n: {0} is a collection name, {1} is 'Add-ons for <app>'.
     return _(u'{0} :: Collections :: {1}').format(c.name, app)
示例#8
0
 def title(self, c):
     app = page_name(self.request.APP)
     # L10n: {0} is 'Add-ons for <app>'.
     return _(u'Collections :: %s') % app
示例#9
0
 def title(self, c):
     app = page_name(self.request.APP)
     # L10n: {0} is a collection name, {1} is 'Add-ons for <app>'.
     return _(u'{0} :: Collections :: {1}').format(c.name, app)
示例#10
0
 def title(self, c):
     app = page_name(self.request.APP)
     # L10n: {0} is 'Add-ons for <app>'.
     return _(u'Collections :: %s') % app