From: Michael Tremer Date: Tue, 20 Jan 2009 19:54:46 +0000 (+0100) Subject: Fixed missing _-function in installer.py. X-Git-Tag: v3.0-alpha1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8724b474a8072cbd44a4dfe739b5fc79cfcf6461;p=ipfire-3.x.git Fixed missing _-function in installer.py. --- diff --git a/src/pomona/installer.py b/src/pomona/installer.py index f76a84be7..bfda36e63 100644 --- a/src/pomona/installer.py +++ b/src/pomona/installer.py @@ -38,6 +38,9 @@ from pakfireinstall import PakfireBackend from instdata import InstallData from autopart import getAutopartitionBoot, autoCreatePartitionRequests +import gettext +_ = lambda x: gettext.ldgettext("pomona", x) + # Make sure messages sent through python's warnings module get logged. def PomonaShowWarning(message, category, filename, lineno, file=sys.stderr): log.warning("%s" % warnings.formatwarning(message, category, filename, lineno))