Re: GTK+: Optional translation of %d to %d or %ld breaks PO file
- From: Åsmund Skjæveland <asmund skjaveland usit uio no>
- To: tvainika gmail com
- Cc: GNOME i18n list <gnome-i18n gnome org>, gtk-i18n-list gnome org
- Subject: Re: GTK+: Optional translation of %d to %d or %ld breaks PO file
- Date: Sat, 02 Sep 2006 18:15:26 -0000
On Sat, Sep 02, 2006 at 07:49:11PM +0300, tvainika gmail com wrote:
> On 2006-09-02T18:57:41+0300, asmund skjaveland usit uio no wrote:
> > #. Translators: this defines whether the week numbers should use
> > #. * localized digits or the ones used in English (0123...).
> > #. *
> > #. * Translate to "%Id" if you want to use localized digits, or
> >
> > This doesn't work. If I translate to "%ld", msgfmt barfs and declares
> > the PO file broken.
>
> It is %Id not %ld (a big 'i', not a small 'l'). Maybe this helps you?
Good point. When I put "%Id", my msgfmt accepted the file. However, I
believe the bug still is real, since GNOME CVS refuses my file:
877 translated messages, 2 untranslated messages.
*************************************************
*** ERROR MESSAGE FROM Gnome Translation Team ***
*************************************************
You are trying to commit an invalid .po file!
Please verify it first with msgfmt. Any problems
please contact <gnome-i18n gnome org>.
nn.po:1169: 'msgstr' is not a valid C format string, unlike 'msgid'
nn.po:1185: 'msgstr' is not a valid C format string, unlike 'msgid'
msgfmt: found 2 fatal errors
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!
I use gettext 0.14.5. I don't know what GNOME CVS uses.
--
Åsmund Skjæveland {
kaffi();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]