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: freeciv-i18n@xxxxxxxxxxx
Subject: [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
From: Takacs Gabor <tg330@xxxxxxxxxxx>
Date: Thu, 15 Jan 2004 12:19:54 +0100 (MET)

On Mon, Jan 12, 2004 at 11:05:50AM +0100, Mateusz Stefek wrote:
> 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

Hungarian: 1. 2. 3. 4.  ..  20. 21. 22. 23. 24.  ..

Gabor


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