* Fix typo
  * Add one string to gettext()

Signed-off-by: Trần Ngọc Quân <vnwild...@gmail.com>
---
 yum/update_md.py | 4 ++--
 yumcommands.py   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/yum/update_md.py b/yum/update_md.py
index a62bc00..1c7b2e7 100644
--- a/yum/update_md.py
+++ b/yum/update_md.py
@@ -559,7 +559,7 @@ class UpdateMetadata(object):
                 try:
                     un = UpdateNotice(elem)
                 except UpdateNoticeException, e:
-                    msg = _("An update notice%s is broken, skipping.") % 
_rid(repoid)
+                    msg = _("An update notice %s is broken, skipping.") % 
_rid(repoid)
                     if self._vlogger:
                         self._vlogger.log(logginglevels.DEBUG_1, "%s", msg)
                     else:
@@ -569,7 +569,7 @@ class UpdateMetadata(object):
                 if not self.add_notice(un):
                     msg = _("Update notice %s%s is broken, or a bad duplicate, 
skipping.") % (un['update_id'], _rid(repoid))
                     if not have_dup:
-                        msg += _('\nYou should report this problem to the 
owner of the %srepository.') % _rid(repoid, "%s ")
+                        msg += _('\nYou should report this problem to the 
owner of the %s repository.') % _rid(repoid, "%s")
                     have_dup = True
                     if self._vlogger:
                         self._vlogger.warn("%s", msg)
diff --git a/yumcommands.py b/yumcommands.py
index b610f3a..e59a51d 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -3815,7 +3815,7 @@ class UpdateinfoCommand(YumCommand):
         return "[info|list|...] [security|...] [installed|available|all] 
[pkgs|id]"
 
     def getSummary(self):
-        return "Acts on repository update information"
+        return _("Acts on repository update information")
 
     def doCheck(self, base, basecmd, extcmds):
         pass
-- 
2.0.0.rc4

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to