[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: kdeedu/kpercentage and percentage signs (again)
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2006-05-16 13:54:40
Message-ID: 200605161554.43401.caslav.ilic () gmx ! net
[Download RAW message or body]


>> [: Clytie Siddall :]
>> kpercentage.pot in both trunk and stable _still_ has three strings
>> containing percentage signs which are marked c-format, and thus won't
>> pass msgfmt [...]
>>
>> Translators who haven't encountered this exasperating situation
>> before, may waste a lot of time trying to solve it. [...]
>
> [: Albert Astals Cid :]
> Are you really having problems with this? It works fine here. Have a
> look at http://www.tsdgeos.com/kpercentage.png
>
> And you'll see the strings marked as c-format are correctly shown in the
> catalan translation.

The problem comes when running msgfmt with -c option, which is for thorough 
validation of messages, rather than PO syntax check only. And this option 
is for validation only, MO files end up same with or without it being 
used, so it makes no difference at runtime.

Translators using KBabel are not feeling adverse effects, as KBabel uses 
msgfmt only for PO syntax check, and has its own higher level checks. But 
any tool which does use msgfmt -c in the background, is going to trip 
over.

> [: Clytie Siddall :]
> Interestingly, at least one other string in the same file contains a
> percentage sign, but is not marked c-format, so isn't a problem. I
> don't understand why all the strings aren't so treated.

Clearly this situation with mismarked c-format strings is something to be 
corrected. I guess the right thing would be that one implements qt-format 
in Gettext, but in the meantime, if Krzysztof can point to that discussion 
about "no-c-format" (I wasn't able to dig it out)?

-- 
Chusslove Illich (Часлав Илић)
Serbian KDE translation team

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic