Version-Release number of selected component (if applicable): pirut-1.2.2-1 python-2.4.3-17.fc6 yum-2.9.7-4 How reproducible: Always Steps to Reproduce: 1. Update a package with LANG=tr_TR.UTF-8 Actual results: Traceback (most recent call last): File "/usr/sbin/pup", line 329, in _apply self.applyChanges(self.mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 530, in applyChanges self.runTransaction(mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 509, in runTransaction tserrors = yum.YumBase.runTransaction(self, tsprog) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 433, in runTransaction 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 Additional info: 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 those changes. 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 (fedora-trans-tr) 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