From 132bb377dc4c74829dd9b653d9335f9c2e397dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Tue, 4 Oct 2005 15:24:11 +0000 Subject: [PATCH] * use lgettext * fix type * doesn't work still --- pisi/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/api.py b/pisi/api.py index a243ea4b..d316c4d7 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -20,7 +20,7 @@ if ver[0] <= 2 and ver[1] < 4: import gettext __trans = gettext.translation('pisi', fallback=True) -_ = __trans.ugettext +_ = __trans.lgettext import pisi @@ -113,7 +113,7 @@ def install_pkg_files(package_URIs): ctx.ui.error(_('Mixing file names and package names not supported YET.')) return False - if ctx.config.get_option(_('ignore_dependency')): + if ctx.config.get_option('ignore_dependency'): # simple code path then for x in package_URIs: operations.install_single_file(x)