summaryrefslogtreecommitdiff
path: root/portato/backend/flags.py
diff options
context:
space:
mode:
authornecoro <>2007-08-05 04:11:46 +0000
committernecoro <>2007-08-05 04:11:46 +0000
commit8fe46a012d17eaa874abf63b9be93c6f11b8df97 (patch)
tree517e994fa610586e83d297997a4865f7b3b86af4 /portato/backend/flags.py
parent0087f656a2d9fe962d874ae73f5759dbfc09f634 (diff)
downloadportato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.gz
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.bz2
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.zip
i18n support and german translations
Diffstat (limited to '')
-rw-r--r--portato/backend/flags.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/portato/backend/flags.py b/portato/backend/flags.py
index 6c2a159..dd1e462 100644
--- a/portato/backend/flags.py
+++ b/portato/backend/flags.py
@@ -13,6 +13,7 @@
import os
import os.path
from subprocess import Popen, PIPE # needed for grep
+from gettext import lgettext as _
from portato.helper import *
from portato.backend import system
@@ -478,7 +479,7 @@ def new_masking_status (cpv):
for file, line in list[cpv]:
_ret = (int(line) == -1)
if ret is not None and _ret != ret:
- error("Conflicting values for masking status: %s", list)
+ error(_("Conflicting values for masking status: %s"), list)
else:
ret = _ret
return ret