[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: patch to kteamtime for the branch
From: Adriaan de Groot <groot () kde ! org>
Date: 2004-08-23 19:45:32
Message-ID: 200408232145.37119.groot () kde ! org
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 23 August 2004 11:36, Stephan Kulow wrote:
> Am Sonntag 22 August 2004 17:49 schrieb Nicolas Goutte:
> > kteatime.po:171: 'msgstr' is not a valid C format string, unlike 'msgid'.
> > Reason: In the directive number 1, the character ' ' is not a valid
> > conversion specifier.
> > kteatime.po:176: 'msgstr' is not a valid C format string, unlike 'msgid'.
> > Reason: In the directive number 1, the character ' ' is not a valid
> > conversion specifier.
> > msgfmt: found 2 fatal errors
>
> I guess, the fatal errors are in msgfmt itself then and someone should
> mail the gettext maintainer ;(
No, no, the string
%1s
is detected by whatever-bit-of-gettext-is-responsible as a C format string -
which is quite reasonable, it _is_ a valid way of producing one-character
wide string output. If you translate it as
%1 s
following the guidelines of the SI (as noted elsewhere in this thread) then
the C format is broken. The source string should be changed to
%1 s
as well, and/or the string marked as non-C-format. The same goes for the
string %1min, although 'm' isn't a valid printf-style format string modifier
in the printf manpage I checked.
- --
Don't worry, 't ain't no shame to be stupid - ol' mouse.
GPG: FEA2 A3FE Adriaan de Groot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFBKklhdqzuAf6io/4RArn3AJ9J7KkfZRm5qyKzMvUxbwZdsJCHEACeMWN4
BOfcrcY3CWjbt6v6JYX/dz8=
=ximR
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic