From ce2a168d3a8e534d2f70670ca142ea46eb012bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Thu, 8 Oct 2009 12:03:14 +0000 Subject: [PATCH] 3199: Localisation in web page report - Problem with word Home, too many meanings svn: r13352 --- src/plugins/webreport/WebCal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 5b926ddc1..d4c5b1e0d 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -36,7 +36,7 @@ Refactoring. This is an ongoing job until this plugin is in a better shape. #------------------------------------------------------------------------ import os, codecs, shutil, re import datetime, calendar -from gettext import gettext as _ +from TransUtils import sgettext as _ from gettext import ngettext #------------------------------------------------------------------------ @@ -551,7 +551,7 @@ class WebCalReport(Report): navs = [] # 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): navs.append((month, month, True))