[Bug 379140] Re: crash if %s is missing in po file

2009-05-25 Thread Данило Шеган
If input POT file never had c-format (or, python-format) set, Rosetta won't consider it an error. Percent sign is completely valid in many strings which are neither c- nor python-format. If you don't know how to do that for update-manager, please read through http://www.gnu.org/software/gettext/man

[Bug 379140] Re: crash if %s is missing in po file

2009-05-23 Thread Pavol Klačanský
I would replace "%d day ago", by "yesterday" (of course in Slovak language) -- crash if %s is missing in po file https://bugs.launchpad.net/bugs/379140 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 379140] Re: crash if %s is missing in po file

2009-05-21 Thread Adi Roiban
Basicaly, in the C implementation of gettext, extra argument (varables) are ignored. For example you can replace "%d thing" with "one thing" and in this case gettext should not crash. I don't know to much about python bindings for gettext... and in this case if the update-manager crash it's a pro

[Bug 379140] Re: crash if %s is missing in po file

2009-05-21 Thread Chris Coulson
That's not really an update-manager bug, as you're changing the format of the string and that would make any application crash. I don't know if any checking could go in Rosetta, but I'll assign it to Launchpad for now. ** Changed in: update-manager (Ubuntu) Status: New => Invalid ** Also a