<div dir="ltr">Dirk,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 10:33 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5"><br></div></div>
The .ts file for those looks like this:<br>
<br>
    <message numerus="yes"><br>
        <location filename="../qt-ui/modeldelegates.cpp" line="546"/><br>
        <source>, %n dive(s) here)</source><br>
        <translation type="unfinished"><br>
            <numerusform></numerusform><br>
        </translation><br>
    </message><br>
<br>
    <message numerus="yes"><br>
        <location filename="../qthelper.cpp" line="1077"/><br>
        <source>(%n dive(s))</source><br>
        <translation type="unfinished"><br>
            <numerusform></numerusform><br>
        </translation><br>
    </message><br>
<br>
and clearly transifex does not like this. Some googling seems to imply<br>
that transifex is aware of the bug and promised a fix more than a year ago<br>
(and then instead just shut down their forums - nice). But I also found a<br>
workaround and it appears to do the trick. Now I just need to remember to<br>
manually fix our .ts file before I send it - or somehow automate the<br>
workaround (which is to duplicate the "<numerusform></numerusform>" line)<br></blockquote><div><br></div><div>I've update translations/CMakeLists.txt to regenerate .ts files and after build</div><div>I can see following for en_GB locale:</div><div><br></div><div><div>    <message numerus="yes"></div><div>        <location filename="../qt-ui/modeldelegates.cpp" line="546"/></div><div>        <source>, %n dive(s) here)</source>                                                                                                                                                                        </div><div>        <translation type="unfinished"></div><div>            <numerusform></numerusform></div><div>            <numerusform></numerusform></div><div>        </translation></div><div>    </message></div></div><div><br></div><div>For ru_RU locale there're three numerusform elements. Qt version 5.5.0.</div><div><br></div><div>Sergey</div><div><br></div></div></div></div>