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 <freeciv-i18n@xxxxxxxxxxx>
Subject: [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
From: Mateusz Stefek <mstefek@xxxxxxxxx>
Date: Mon, 12 Jan 2004 11:05:50 +0100
Reply-to: matusik_s@xxxxx

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



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