Re: ngettext revisited
- From: Danilo Segan <dsegan gmx net>
- To: Alexander Larsson <alexl redhat com>
- Cc: Christophe Fergeau <teuf gnome org>,GNOME I18N List <gnome-i18n gnome org>, desktop-devel-list gnome org
- Subject: Re: ngettext revisited
- Date: Wed, 1 Oct 2003 12:18:44 +0200
среда, 01. октобар 2003. 09:21:05 CEST — Alexander Larsson написа:
> Is this really true? I though there was a problem with the pofiles
> generated with an ngettext supporting gettext that made them
> incompatible with older gettexts.
Yes, there are problems because PO files that use ngettext contain
lines like:
msgid ""
msgid_plural "..."
msgstr[0] "..."
msgstr[1] "..."
msgstr[2] "..."
Yet, Christophe asked for some essential package to include a
requirement for ngettext (meaning, it won't compile without it; at
least I understood it like that), so I just offered an equivalent but a
bit more complicated solution (one line per package, instead of not
having to check for anything).
So no, this is no solution to make old gettext's cooperate with PO
files requiring ngettext, except for possibly commenting out the
"questionable" entries (they can easily be commented out even with a
one line sed expression -- perhaps this is a "solution" we might go
for? The upside of this is that this could all be done in PO compile-
time, and msgfmt accepts input from stdin).
It's the same solution as the one Christophe is waiting for: Gnome to
require GNU gettext, and to *fail* without ngettext present.
Cheers,
Danilo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]