[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]
On 2003.10.10 08:10, Egor Vyscrebentov wrote:
> In number_to_ordinal_string (at line 586):
>
> 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"));
> }
>
> 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
Dutch: 1e 2e 3e 4e ...
In fact it is much more complicated, but most people use this schema.
HTH,
--
Pieter J. Kersten
- [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c, Mateusz Stefek, 2004/01/12
- [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c, Genevieve Gracian, 2004/01/12
- [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c, Christian Knoke, 2004/01/12
- [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c, Egor Vyscrebentov, 2004/01/12
- Prev by Date:
[freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
- Next by Date:
[freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
- Previous by thread:
[freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
- Next by thread:
[freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c
- Index(es):
|
|