From 9ac18904b23b8c07bbd8eaa2588db716b0fe854e Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 14 Jun 2009 05:30:30 +0000 Subject: Prepare 117 messages to localization. svn path=/main/trunk/; revision=13639 --- pym/portage/dbapi/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pym/portage/dbapi/__init__.py') diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/dbapi/__init__.py index 9956d0999..db6e36fcd 100644 --- a/pym/portage/dbapi/__init__.py +++ b/pym/portage/dbapi/__init__.py @@ -17,6 +17,7 @@ portage.proxy.lazyimport.lazyimport(globals(), ) from portage import auxdbkeys, dep_expand +from portage.localization import _ class dbapi(object): _category_re = re.compile(r'^\w[-.+\w]*$') @@ -190,14 +191,14 @@ class dbapi(object): def invalidentry(self, mypath): if mypath.endswith('portage_lockfile'): if "PORTAGE_MASTER_PID" not in os.environ: - writemsg("Lockfile removed: %s\n" % mypath, 1) + writemsg(_("Lockfile removed: %s\n") % mypath, 1) unlockfile((mypath, None, None)) else: # Nothing we can do about it. We're probably sandboxed. pass elif '/-MERGING-' in mypath: if os.path.exists(mypath): - writemsg(colorize("BAD","INCOMPLETE MERGE:")+" %s\n" % mypath, + writemsg(colorize("BAD", _("INCOMPLETE MERGE:"))+" %s\n" % mypath, noiselevel=-1) else: writemsg("!!! Invalid db entry: %s\n" % mypath, noiselevel=-1) -- cgit v1.2.3-1-g7c22