Translations

Tim Wootton tim at tee-jay.org.uk
Sun Oct 4 22:11:16 PDT 2015


On 04/10/15 22:43, Lubomir I. Ivanov wrote:
> On 5 October 2015 at 00:05, Tim Wootton <tim at tee-jay.org.uk> wrote:
>> Transifex support reckon string 584 is the offending item, but I'm not
>> sure exactly what needs to be done to fix it.
>>
> quite odd as there is nothing wrong with that particular string ("Location: ").
> also Qt Linguist does not complain...
They have it as:

    , %n dive(s) here)
the string numbers don't change do they?

>
> what did they say was the exact error?
Here's what they said:

string 584 is missing from the list of strings that are displayed
on Transifex Editor. That's why the percentage of source language
"English" is less that 100%. 

The string 584 is a pluralized string and its statement should be like
the following: 

 <message numerus="yes">
 <location filename="../qt-ui/modeldelegates.cpp" line="546"/>
 <source>, %n dive(s) here)</source>
 <translation type="unfinished"><numerusform>, %n
dive(s)
here)</numerusform><numerusform></numerusform></translation>
 </message>

So in order to solve the issue, you could download the source file and
upload it again. The system will recognise it and the string will be
displayed in the list of strings too.

I suppose that in your initial file one of the following statements
was included: 

 <message numerus="yes">
 <location filename="../qt-ui/modeldelegates.cpp" line="546"/>
 <source>, %n dive(s) here)</source>
 <translation type="unfinished"><numerusform>, %n
dive(s) here)</numerusform></translation>
 </message>

or:

 <message numerus="yes">
 <location filename="../qt-ui/modeldelegates.cpp" line="546"/>
 <source>, %n dive(s) here)</source>
 <translation
type="unfinished"><numerusform></numerusform></translation>
 </message>


>
> lubomir
> --
>



More information about the subsurface mailing list