diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-06-14 05:30:30 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-06-14 05:30:30 +0000 |
commit | 9ac18904b23b8c07bbd8eaa2588db716b0fe854e (patch) | |
tree | 06ed7af54bcf05337f4142e33ca986c3ddacb097 /pym/portage/dbapi/__init__.py | |
parent | e02cbecd251d1d4b3a95dfed8a49f1445d53c704 (diff) | |
download | portage-9ac18904b23b8c07bbd8eaa2588db716b0fe854e.tar.gz portage-9ac18904b23b8c07bbd8eaa2588db716b0fe854e.tar.bz2 portage-9ac18904b23b8c07bbd8eaa2588db716b0fe854e.zip |
Prepare 117 messages to localization.
svn path=/main/trunk/; revision=13639
Diffstat (limited to 'pym/portage/dbapi/__init__.py')
-rw-r--r-- | pym/portage/dbapi/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
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) |