From a5d68b6ef0bb37e3192246c91ce50f0578cb7d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 30 Oct 2010 09:32:01 +0000 Subject: [PATCH] add missing gettext module svn: r16084 --- po/POTFILES.in | 4 ++++ po/POTFILES.skip | 2 -- src/Simple/_SimpleAccess.py | 1 + src/gen/plug/utils.py | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 2426d9c26..d69471fc7 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -68,6 +68,7 @@ src/gen/plug/_gramplet.py src/gen/plug/_manager.py src/gen/plug/_pluginreg.py src/gen/plug/docbackend/docbackend.py +src/gen/plug/utils.py # plugin report base API (was ReportBase) src/gen/plug/report/_constants.py @@ -399,6 +400,9 @@ src/plugins/webreport/webplugins.gpr.py src/plugins/webstuff/webstuff.gpr.py src/plugins/webstuff/webstuff.py +# Simple API +src/Simple/_SimpleAccess.py + # Filters package src/Filters/_FilterParser.py src/Filters/_FilterStore.py diff --git a/po/POTFILES.skip b/po/POTFILES.skip index 817f00a9b..d8649c54b 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -154,7 +154,6 @@ src/gen/plug/_docgenplugin.py src/gen/plug/_export.py src/gen/plug/_import.py src/gen/plug/_plugin.py -src/gen/plug/utils.py src/gen/plug/menu/_boolean.py src/gen/plug/menu/_color.py src/gen/plug/menu/_destination.py @@ -321,7 +320,6 @@ src/plugins/rel/rel_sv.py # Simple API src/Simple/_SimpleDoc.py -src/Simple/_SimpleAccess.py # # web diff --git a/src/Simple/_SimpleAccess.py b/src/Simple/_SimpleAccess.py index 1d1051f19..47cb49f32 100644 --- a/src/Simple/_SimpleAccess.py +++ b/src/Simple/_SimpleAccess.py @@ -34,6 +34,7 @@ from gen.plug.report.utils import place_name from gen.display.name import displayer as name_displayer from gen.lib import EventType import config +from gen.ggettext import gettext as _ #------------------------------------------------------------------------- # diff --git a/src/gen/plug/utils.py b/src/gen/plug/utils.py index e8fccc296..e538a3ff1 100644 --- a/src/gen/plug/utils.py +++ b/src/gen/plug/utils.py @@ -41,6 +41,7 @@ import os from gen.plug._pluginreg import make_environment import const import Utils +from gen.ggettext import gettext as _ #------------------------------------------------------------------------- #