[yum-commits] Branch 'yum-3_2_X' - 2 commits - output.py po/Makevars
James Antill
james at osuosl.org
Fri Nov 13 20:18:36 UTC 2009
output.py | 2 +-
po/Makevars | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 278410eb8015e1659f9c247cba747cd9d09f0635
Author: Ville-Pekka Vainio <vpivaini at cs.helsinki.fi>
Date: Fri Nov 13 13:57:52 2009 +0200
Add po/Makevars for gettext plural handling
Add the po/Makevars file including XGETTEXT_OPTIONS = --keyword=P_:1,2
so that the P_ calls will be recognized as plurals by xgettext and
intltool.
diff --git a/po/Makevars b/po/Makevars
new file mode 100644
index 0000000..d00a046
--- /dev/null
+++ b/po/Makevars
@@ -0,0 +1 @@
+XGETTEXT_OPTIONS = --keyword=P_:1,2
commit 22239ae69432d8eb1874f2ed36ac044a89a76880
Author: James Antill <james at and.org>
Date: Fri Nov 13 14:03:48 2009 -0500
Wrap License field, due to 100+ char. joy in Fedora
diff --git a/output.py b/output.py
index 46168aa..b0fe943 100755
--- a/output.py
+++ b/output.py
@@ -554,7 +554,7 @@ class YumOutput:
print self.fmtKeyValFill(_("Summary : "), self._enc(pkg.summary))
if pkg.url:
print _("URL : %s") % to_unicode(pkg.url)
- print _("License : %s") % to_unicode(pkg.license)
+ print self.fmtKeyValFill(_("License : "), to_unicode(pkg.license))
print self.fmtKeyValFill(_("Description: "), self._enc(pkg.description))
print ""
More information about the Yum-commits
mailing list