Red Hat Bugzilla – Bug 208702
pup tracebacks due to typo in tr.po
Last modified: 2007-11-30 17:11:44 EST
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Update a package with LANG=tr_TR.UTF-8
Traceback (most recent call last):
File "/usr/sbin/pup", line 329, in _apply
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 530, in
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 509, in
tserrors = yum.YumBase.runTransaction(self, tsprog)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 433, in
errors = self.ts.run(cb.callback, '')
File "/usr/lib/python2.4/site-packages/pirut/Progress.py", line 97, in callback
logmsg = _("Updated: %s") %(pkg,)
TypeError: float argument required
The reason is a missing 's' from '%s' in the translated string. Attached patch
corrects the problem. There are also some grammar and misc. changes included. I
don't know the translation procedure, so this may not be the correct place for
I also made the charset header lowercase in order not to step on bug #207134.
But the proper fix is converting the file to utf8.
Created attachment 137473 [details]
fixes the traceback and and some warnings
I've just fixed the cause for the traceback and the encoding of the po file.
The other changes you'll need to work with the turkish translation team
(email@example.com) to get changes
Created attachment 137792 [details]
just the fix
's' is still missing on line 352... This patch fixes it and replaces the
middle dots (which break the labels) with normal space.
Fixed in CVS and will spin 1.2.4 if there's time