Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2001:
[Freeciv-Dev] Re: GNU gettext 0.10.38 and "Plural Forms" (PR#813)
Home

[Freeciv-Dev] Re: GNU gettext 0.10.38 and "Plural Forms" (PR#813)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: GNU gettext 0.10.38 and "Plural Forms" (PR#813)
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Sun, 24 Jun 2001 17:36:30 -0700 (PDT)

On Sat, 23 Jun 2001, egbert@xxxxxxxxxx wrote:
> Gettext supports plural forms now.
> 
> I don't know if the programmers will support it, but it may be
> useful to add it's header line to the .po-files.
> 
> Because the format of the header line is different by numbers and
> kinds of plural forms, please read the chapter about them in the
> gettext info.
> 
> The header for languages using one singular and one plural (like
> German or English) is:
> 
> "Plural-Forms: nplurals=2; plural=n != 1;\n"

Here's a patch to do just that:

Attachment: plurals.diff
Description: Text Data

I didn't add one for pt or pt_BR since the gettext manual doesn't
specify anything suitable; I just added a FIXME.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Of course, you UNDERSTAND about the PLAIDS in the SPIN CYCLE --

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: GNU gettext 0.10.38 and "Plural Forms" (PR#813), Gaute B Strokkenes <=