[Yum-devel] [PATCH 0/2] Use gettext plurals in cli.py and output.py

Ville-Pekka Vainio vpivaini at cs.helsinki.fi
Mon Nov 16 16:27:56 UTC 2009


This set of patches converts cli.py and output.py to use gettext plural
handling. I didn't post a patch for yum-updatesd.py, since it doesn't
have any i18n yet. Would you accept i18n patches for it?

James Antill asked to have all *.py files in the top level yum
directory to be converted in a single patch, but I decided to do the
patches by files, because the code is new to me and especially cli.py
might need some corrections.

I'd especially like to know if counting the items in txmbrs after the
txmbrs = self.installLocal(pkg, updateonly=updateonly) call is ok.

Ville-Pekka Vainio (2):
  Convert cli.py to use P_ for plural string handling
  Convert output.py to use P_ for plural string handling

 cli.py    |   42 ++++++++++++++++++++++++++++++++----------
 output.py |   23 +++++++++++++----------
 2 files changed, 45 insertions(+), 20 deletions(-)




More information about the Yum-devel mailing list