Comment 4 for bug 1233214

Revision history for this message
David Planella (dpm) wrote :

Thanks a lot for the translation fixes!

Looking at [1] and s discussed on IRC, I believe this:

i18n.tr("%1 minute", "%1 minutes".arg(5), 5)

should be fixed to read:

i18n.tr("%1 minute", "%1 minutes", 5).arg(5)

Otherwise, if I read it correctly, we're only passing the argument to the second string (even if it's a >1 constant and we'll never hit the string for singular.

[1] https://bazaar.launchpad.net/~laney/ubuntu-system-settings/translation-tweaks/revision/410