You can fix this in software-center by  using str.format instead of %

gettext.ngettext("%s matching item",
                                                "%s matching items", 
                                                length) % length

can be replaced with

gettext.ngettext("%s matching item",
                                                "%s matching items", 
                                                length).format(length)

As far as I know it is recommended to use format instead of %.

I have fixed this error in trunk... but I don't know which branch of
software-center was release in Karmic.


** Branch linked: lp:~adiroiban/software-center/ngettext-format-fix

-- 
software-center crashed with TypeError in get_status_text()
https://bugs.launchpad.net/bugs/449053
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to