[PATCH 2/2] Fix plurals translation

Sergey Starosek sergey.starosek at gmail.com
Fri Oct 30 08:18:41 PDT 2015


Dirk,

On Fri, Oct 30, 2015 at 5:25 PM, Dirk Hohndel <dirk at hohndel.org> wrote:

> > I can see following for en_GB locale:
> >
> >     <message numerus="yes">
> >         <location filename="../qt-ui/modeldelegates.cpp" line="546"/>
> >         <source>, %n dive(s) here)</source>
> >
> >
> >         <translation type="unfinished">
> >             <numerusform></numerusform>
> >             <numerusform></numerusform>
> >         </translation>
> >     </message>
> >
> > For ru_RU locale there're three numerusform elements. Qt version 5.5.0.
>
> So the question is do you see the two numerusform entries in
> translations/subsurface_source.ts
>
> I'm on Qt 5.5.1 and I only get one of those entries automatically created.
> If I then manually duplicate it before pushing to transifex then it seems
> to work.
>

No, I don't unless I set language in subsurface_source.ts to en_US:

<TS version="2.1" language="en_US">

Then there are multiple 'numerusform' elements for %n entries after
translations 'lupdate' (via make).

Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151030/4000013a/attachment-0001.html>


More information about the subsurface mailing list