[FIX] Blog month translated

bzr revid: fp@tinyerp.com-20140126115751-4lt8hyb1gkthituw
This commit is contained in:
Fabien Pinckaers 2014-01-26 12:57:51 +01:00
parent eb71671bc4
commit 118b7cc96f
1 changed files with 4 additions and 4 deletions

View File

@ -27,10 +27,6 @@ from openerp import SUPERUSER_ID
import werkzeug
MONTHS = [None, _('January'), _('February'), _('March'), _('April'),
_('May'), _('June'), _('July'), _('August'), _('September'),
_('October'), _('November'), _('December')]
class WebsiteBlog(http.Controller):
_blog_post_per_page = 6
@ -200,6 +196,10 @@ class WebsiteBlog(http.Controller):
tag_ids = tag_obj.search(cr, uid, [], context=context)
tags = tag_obj.browse(cr, uid, tag_ids, context=context)
MONTHS = [None, _('January'), _('February'), _('March'), _('April'),
_('May'), _('June'), _('July'), _('August'), _('September'),
_('October'), _('November'), _('December')]
values = {
'blog': blog_post.blog_id,
'blogs': blogs,