Re: GTK+: Optional translation of %d to %d or %ld breaks PO file
- From: Behdad Esfahbod <behdad behdad org>
- To: Åsmund Skjæveland <asmund skjaveland usit uio no>
- Cc: GNOME i18n list <gnome-i18n gnome org>, gtk-i18n-list gnome org, tvainika gmail com
- Subject: Re: GTK+: Optional translation of %d to %d or %ld breaks PO file
- Date: Sat, 02 Sep 2006 17:32:22 -0400
On Sat, 2006-09-02 at 14:15 -0400, �mund Skj�land wrote:
> 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.
Check my comment in the bug:
http://bugzilla.gnome.org/show_bug.cgi?id=312694
--
behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]