[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gettext-0.11] plural error on fr.po but not on sv.po
From: |
larry source |
Subject: |
[gettext-0.11] plural error on fr.po but not on sv.po |
Date: |
Wed, 25 Sep 2002 05:31:47 +0000 |
gettext 0.11
I get an error because fr.po lacks a plural heading,
and has a pluralization translation.
** BEGIN QUOTE from fr.po (gives error)
msgid "There was %d unresolved reference."
msgid_plural "There were %d unresolved references."
msgstr[0] "Il y a %d référence non résolue."
msgstr[1] "Il y a %d références non résolues."
** END QUOTE
However, my sv.po also lacks a plural heading, and also
has a pluralization translation, but it does not
generate the error.
** BEGIN QUOTE from sv.po (does not give error)
#: src/liflines/add.c:62
#, fuzzy, c-format
msgid "There was %d unresolved reference."
msgid_plural "There were %d unresolved references."
msgstr[0] "Det fanns %d olöst referens."
msgstr[1] "Det fanns %d olöst referens."
** END QUOTE
This seems odd to me, unless gettext knows innately
that Swedish uses the same rules as English,
and French does not (and I tend to doubt that gettext
is programmed to know this).
I simply added the pluralization header for French
as given in the gettext docs, but can do further
experimenting if this is of interest.
I did touch the sv.po to make gettext recompile it, btw.
The only difference I can see is that all the plural
entries in sv.po are either fuzzy, or have no Swedish
filled in, in case that is causing the absence of error.
Cordially,
Perry
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
- [gettext-0.11] plural error on fr.po but not on sv.po,
larry source <=