Complete.Org: Mailing Lists: Archives: freeciv-i18n: January 2004:
[freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
Home

[freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: matusik_s@xxxxx, freeciv-i18n@xxxxxxxxxxx
Subject: [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
From: "Duarte Loreto" <happyguy_pt@xxxxxxxxxxx>
Date: Mon, 12 Jan 2004 10:56:02 +0000

Hello!

Very simple for Portuguese!

Portuguese: 1º, 2º, 3º, 4º, ..., 21º, 22º, 23º, 24º, ..., 100º

Be happy! Have fun

Duarte "HappyGuy" Loreto

"Don't worry, be happy!"

>From: Mateusz Stefek <mstefek@xxxxxxxxx>
>Reply-To: matusik_s@xxxxx
>To: Freeciv i18n <freeciv-i18n@xxxxxxxxxxx>
>Subject: [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
>Date: Mon, 12 Jan 2004 11:05:50 +0100
>
>On 2003.10.10 08:10, Egor Vyscrebentov wrote:
> > In number_to_ordinal_string (at line 586):
> >=20
> >  if ((num % 10) =3D=3D 1 && num !=3D 11) {
> >     my_snprintf(buf, sizeof(buf), fmt, num, _("st"));
> >   } else if ((num % 10) =3D=3D 2 && num !=3D 12) {
> >     my_snprintf(buf, sizeof(buf), fmt, num, _("nd"));
> >   } else if ((num % 10) =3D=3D 3 && num !=3D 13) {
> >     my_snprintf(buf, sizeof(buf), fmt, num, _("rd"));
> >   } else {
> >     my_snprintf(buf, sizeof(buf), fmt, num, _("th"));
> >   }
> >=20
>Hey guys!
>Please describe formulas for your languages. I will write a patch.
>
>English: 1st 2nd 3rd 4th .. 20th 21st 22nd 23rd 24th ...
>Polish: 1wszy 2gi 3ci 4ty 5ty 6ty 7my 8my 9ty .. 20ty 21wszy 22gi 23ci 
>24ty=
>  27my 28my, 100ny
>
>--
>mateusz

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail



[Prev in Thread] Current Thread [Next in Thread]