[freeciv-i18n] 'st', 'nd', 'rd', 'th' in server/report.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
In number_to_ordinal_string (at line 586):
if ((num % 10) == 1 && num != 11) {
my_snprintf(buf, sizeof(buf), fmt, num, _("st"));
} else if ((num % 10) == 2 && num != 12) {
my_snprintf(buf, sizeof(buf), fmt, num, _("nd"));
} else if ((num % 10) == 3 && num != 13) {
my_snprintf(buf, sizeof(buf), fmt, num, _("rd"));
} else {
my_snprintf(buf, sizeof(buf), fmt, num, _("th"));
}
Is it possible to use PL_ macro in this place? In several languages
(for example, russian) another structure of numeral termination is
used.
Thanks, evyscr.
- [freeciv-i18n] 'st', 'nd', 'rd', 'th' in server/report.c,
Egor Vyscrebentov <=
- [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c, Egor Vyscrebentov, 2003/10/10
- [freeciv-i18n] Re: 'st', 'nd', 'rd', 'th' in server/report.c, Mateusz Stefek, 2003/10/10
|
|