[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 Fri, 10 Oct 2003, Egor Vyscrebentov wrote:
> 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.
>
No it isn't the formula which is used to choose plural form is differnt in
polish (there's is used simple declination)
1wszy
2gi
3ci
4ty
5ty
6ty
7my
8my
9ty
10-19ty
...
100ny
--mateusz
|
|