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

List:       kde-i18n-doc
Subject:    Re: Errors in kmldonkey.po
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-11-12 9:50:27
Message-ID: 200511121027.21376.nicolasg () snafu ! de
[Download RAW message or body]

On Friday 11 November 2005 11:42, Spiros Georgaras wrote:
> Hi all
>
> Checking kmldonkey.po I get:
>
> msgfmt -c kmldonkey.po -o /dev/null

msgfmt --check is not supposed to be supported by KDE3 anymore.
Only msgfmt --check-header is

> kmldonkey.po:1338: 'msgstr' is not a valid C format string, unlike 'msgid'.
> Reason: The character that terminates the directive number 1 is not a valid
> conversion specifier.
> kmldonkey.po:1351: 'msgstr' is not a valid C format string, unlike 'msgid'.
> Reason: The character that terminates the directive number 1 is not a valid
> conversion specifier.
> kmldonkey.po:1358: 'msgstr' is not a valid C format string, unlike 'msgid'.
> Reason: The character that terminates the directive number 1 is not a valid
> conversion specifier.
> msgfmt: found 3 fatal errors
>
> The entries in question are:
>
> #: kmldonkey/infolist.cpp:420
> #, c-format
> msgid ""
> "_: number of days\n"
> "%1d "
> msgstr "%1η "
(...)
> I think it's the '#, c-format' line that causes the problem and should be
> removed

Yes, but there are so many of such cases that it is better not to use the full 
--check but only --check-header.

For KDE4, it is planned to use the brand new (development) Gettext (with 
context support) and Gettext has support of Qt's %1 notation , so --check 
should be again possible.

>
> Regards
>   Spiros

Have a nice day!


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

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