GNOME Bugzilla – Bug 583474
Use named placeholders when string contains more than one
Last modified: 2009-05-29 11:35:03 UTC
In Python, where a translatable string contains more than one placeholder (%s), you should always use the named syntax (%(varname)s). See following patch. The reason is that in some languages, the apparition order of the placeholders may be inversed, hence producing an erroneous translated string.
Created attachment 135128 [details] [review] Use named placeholder syntax in translatable string
That's a very good point... but I don't think we're going to be able to change that for the release since it would break the string freeze. I'm putting it as a blocker for the following release (0.13.2) so we don't forget to have it fixed by then.
commit 870de46bab8b4028dafea06f64208174ea1b73f7 Author: Claude Paroz <claude@2xlibre.net> Date: Thu May 21 18:44:33 2009 +0200 PluginManagerDialog: Use named placeholder. Fixes #583474