yifengyou / rpms / yum

Forked from rpms/yum 3 years ago
Clone

Blame SOURCES/BZ-1211384-yum-grouplist-headers.patch

5e9bef
diff -up yum-3.4.3/cli.py.old yum-3.4.3/cli.py
5e9bef
--- yum-3.4.3/cli.py.old	2015-05-28 18:04:17.237676571 +0200
5e9bef
+++ yum-3.4.3/cli.py	2015-05-28 18:05:27.644943137 +0200
5e9bef
@@ -1807,22 +1807,22 @@ class YumBaseCli(yum.YumBase, output.Yum
5e9bef
                     msg += ' [%s]' % group.langonly
5e9bef
                 self.verbose_logger.info('%s', msg)
5e9bef
 
5e9bef
-        _out_grp(_('Installed environment groups:'), ievgrps)
5e9bef
-        _out_grp(_('Available environment groups:'), evgrps)
5e9bef
+        _out_grp(_('Installed Environment Groups:'), ievgrps)
5e9bef
+        _out_grp(_('Available Environment Groups:'), evgrps)
5e9bef
 
5e9bef
         groups = []
5e9bef
         for group in installed:
5e9bef
             if group.langonly: continue
5e9bef
             if not wts['pkg']: continue
5e9bef
             groups.append(group)
5e9bef
-        _out_grp(_('Installed groups:'), groups)
5e9bef
+        _out_grp(_('Installed Groups:'), groups)
5e9bef
 
5e9bef
         groups = []
5e9bef
         for group in installed:
5e9bef
             if not group.langonly: continue
5e9bef
             if not wts['lang']: continue
5e9bef
             groups.append(group)
5e9bef
-        _out_grp(_('Installed language groups:'), groups)
5e9bef
+        _out_grp(_('Installed Language Groups:'), groups)
5e9bef
 
5e9bef
         groups = []
5e9bef
         for group in available:
5e9bef
@@ -1836,7 +1836,7 @@ class YumBaseCli(yum.YumBase, output.Yum
5e9bef
             if not group.langonly: continue
5e9bef
             if not wts['lang']: continue
5e9bef
             groups.append(group)
5e9bef
-        _out_grp(_('Available language groups:'), groups)
5e9bef
+        _out_grp(_('Available Language Groups:'), groups)
5e9bef
 
5e9bef
         if not done:
5e9bef
             self.logger.error(_('Warning: no environments/groups match: %s'),
5e9bef
diff -up yum-3.4.3/po/yum.pot.old yum-3.4.3/po/yum.pot
5e9bef
--- yum-3.4.3/po/yum.pot.old	2015-05-28 18:05:37.610980869 +0200
5e9bef
+++ yum-3.4.3/po/yum.pot	2015-05-28 18:06:23.557154824 +0200
5e9bef
@@ -398,11 +398,11 @@ msgid "Cleaning up plugins"
5e9bef
 msgstr ""
5e9bef
 
5e9bef
 #: ../cli.py:1732
5e9bef
-msgid "Installed environment groups:"
5e9bef
+msgid "Installed Environment Groups:"
5e9bef
 msgstr ""
5e9bef
 
5e9bef
 #: ../cli.py:1733
5e9bef
-msgid "Available environment groups:"
5e9bef
+msgid "Available Environment Groups:"
5e9bef
 msgstr ""
5e9bef
 
5e9bef
 #: ../cli.py:1740
5e9bef
@@ -410,7 +410,7 @@ msgid "Installed groups:"
5e9bef
 msgstr ""
5e9bef
 
5e9bef
 #: ../cli.py:1747
5e9bef
-msgid "Installed language groups:"
5e9bef
+msgid "Installed Language Groups:"
5e9bef
 msgstr ""
5e9bef
 
5e9bef
 #: ../cli.py:1754
5e9bef
@@ -418,7 +418,7 @@ msgid "Available Groups:"
5e9bef
 msgstr ""
5e9bef
 
5e9bef
 #: ../cli.py:1761
5e9bef
-msgid "Available language groups:"
5e9bef
+msgid "Available Language Groups:"
5e9bef
 msgstr ""
5e9bef
 
5e9bef
 #: ../cli.py:1764