3199: Localisation in web page report - Problem with word Home, too many meanings

svn: r13352
This commit is contained in:
Jérôme Rapinat 2009-10-08 12:03:14 +00:00
parent 5fef504683
commit ce2a168d3a

View File

@ -36,7 +36,7 @@ Refactoring. This is an ongoing job until this plugin is in a better shape.
#------------------------------------------------------------------------ #------------------------------------------------------------------------
import os, codecs, shutil, re import os, codecs, shutil, re
import datetime, calendar import datetime, calendar
from gettext import gettext as _ from TransUtils import sgettext as _
from gettext import ngettext from gettext import ngettext
#------------------------------------------------------------------------ #------------------------------------------------------------------------
@ -551,7 +551,7 @@ class WebCalReport(Report):
navs = [] navs = []
# An optional link to a home page # An optional link to a home page
navs.append((self.home_link, _('Home'), add_home)) navs.append((self.home_link, _('html|Home'), add_home))
for month in range(1, 13): for month in range(1, 13):
navs.append((month, month, True)) navs.append((month, month, True))