Skip to content
Snippets Groups Projects
Commit b509fc2c9435 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

[views] bugfix

parent 629233488671
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
nmb_entries = self.req.execute(self.countrql, args)[0][0]
label = u'%s %s [%s]' % (self.req._(calendar.MONTHNAMES[month-1]), year,
nmb_entries)
vtitle = '%s %s' % (display_name('BlogEntry', 'plural'), label)
vtitle = '%s %s' % (display_name(self.req, 'BlogEntry', 'plural'), label)
url = xml_escape(self.build_url('view', rql=rql, month=month, year=year, vtitle=vtitle))
link = u'<a href="%s" title="">%s</a>' % (url, label)
items.append( u'<li class="">%s</li>\n' % link )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment