2014-04-10 3:29 GMT+02:00 Paul Franklin <pf.98052@gmail.com>:
You have convinced me.

In light of my ignorance and the chance of making a
mistake, I will let somebody else change all the uses
of ngettext to use .format instead of %.

When they want to do it will be up to them.

An uncalled response of John.
To elaborate, .format is method of a python string, like split , join, capitalize and many other methods, https://docs.python.org/2/library/stdtypes.html

Just as we can use string.split, or string.join in other classes, we can use format in other classes.

ngettext only enters the discussion in what string it returns.
So indeed,
ngettext("%d child", "%d children", child_count) % child_count
should be replaced by format method of strings now that that is available and the new 'default'. 
For plural forms, it should be allowed for translators to return a string without a number.


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
Gramps-devel mailing list