[yum-git] po/da.po yum/rpmtrans.py
Tim Lauridsen
timlau at linux.duke.edu
Tue Mar 25 11:11:08 UTC 2008
po/da.po | 4 ++--
yum/rpmtrans.py | 18 ++++++++++--------
2 files changed, 12 insertions(+), 10 deletions(-)
New commits:
commit dc99092e393de07a8aeeb986c606db00830a8b09
Author: Tim Lauridsen <tla at rasmil.dk>
Date: Tue Mar 25 12:02:14 2008 +0100
* Fixed [y/N] -> [j/N] in danish translation
* make Updating,Installing etc translate able (rhbz #438764)
diff --git a/po/da.po b/po/da.po
index 73f89b1..38d0e7a 100644
--- a/po/da.po
+++ b/po/da.po
@@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: yum 3.2.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-03-25 11:29+0100\n"
-"PO-Revision-Date: 2008-03-25 11:38+0100\n"
+"PO-Revision-Date: 2008-03-25 11:45+0100\n"
"Last-Translator: Tim Lauridsen <timlau at fedoraproject.org>\n"
"Language-Team: Danish <dansk at klid.dk>\n"
"MIME-Version: 1.0\n"
@@ -527,7 +527,7 @@ msgstr "Beskrivelse:"
#: ../output.py:351
msgid "Is this ok [y/N]: "
-msgstr "Er dette o.k. [y/N]: "
+msgstr "Er dette o.k. [j/N]: "
#: ../output.py:357 ../output.py:360
msgid "y"
diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
index 7e40db2..d16af96 100644
--- a/yum/rpmtrans.py
+++ b/yum/rpmtrans.py
@@ -24,6 +24,7 @@ import logging
import types
import sys
from yum.constants import *
+from i18n import _
class NoOutputCallBack:
@@ -67,14 +68,15 @@ class RPMBaseCallback:
Base class for a RPMTransaction display callback class
'''
def __init__(self):
- self.action = { TS_UPDATE : 'Updating',
- TS_ERASE: 'Erasing',
- TS_INSTALL: 'Installing',
- TS_TRUEINSTALL : 'Installing',
- TS_OBSOLETED: 'Obsoleted',
- TS_OBSOLETING: 'Installing',
- TS_UPDATED: 'Cleanup',
- 'repackaging': 'Repackaging'}
+ self.action = { TS_UPDATE : _('Updating'),
+ TS_ERASE: _('Erasing'),
+ TS_INSTALL: _('Installing'),
+ TS_TRUEINSTALL : _('Installing'),
+ TS_OBSOLETED: _('Obsoleted'),
+ TS_OBSOLETING: _('Installing'),
+ TS_UPDATED: _('Cleanup'),
+ 'repackaging': _('Repackaging')}
+ # The fileaction are not translated, most sane IMHO / Tim
self.fileaction = { TS_UPDATE: 'Updated',
TS_ERASE: 'Erased',
TS_INSTALL: 'Installed',
More information about the Yum-cvs-commits
mailing list