From 9d78dd6613ac02349ec6736ba55abdf1f8503b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Thu, 8 Oct 2009 12:01:48 +0000 Subject: [PATCH] 3199: Localisation in web page report - Problem with word Home, too many meanings svn: r13351 --- 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 b86a10a57..80956e9ec 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 import time, datetime, calendar -from gettext import gettext as _ +from TransUtils import sgettext as _ from gettext import ngettext #------------------------------------------------------------------------ @@ -361,7 +361,7 @@ class WebCalReport(Report): navs = [] # An optional link to a home page - navs.append((self.home_link, _('Home'), use_home)) + navs.append((self.home_link, _('html|Home'), use_home)) for month in range(1, 13): navs.append((month, month, True))