Comment 6 for bug 1233214

Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 1233214] Re: Non i18n/Ambigous string

On Mon, Sep 30, 2013 at 08:30:15PM -0000, David Planella 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.

Are you saying that I missed a place? I don't see it. The branch is
merged into trunk—please check that out and look there.

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]