]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed missing _-function in installer.py.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jan 2009 19:54:46 +0000 (20:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jan 2009 19:54:46 +0000 (20:54 +0100)
src/pomona/installer.py

index f76a84be7b7730a0351926837cb134a0b9053975..bfda36e63429c523b6516f31756db45036b889cb 100644 (file)
@@ -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))