[Freeciv-Dev] Re: (PR#3376) print exact number of points is science dial
[Top] [All Lists]
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
jjc@xxxxxxxxxxxxxxxxxx wrote:
> This patch adds a display of the number of tech points per turn in 
> the gtk and gtk2 science dialogs.  Now science dialog says things like:
> Research speed: 20 turns/advance (14 bulbs/turn)
> This saves you from having to add up all the bulbs manually in the city
> dialog. 
I'm no expert, but I'm pretty positive PL_ cannot be used in this way:
>      my_snprintf(text, sizeof(text),
> +             PL_("Research speed: %d turn/advance (%d bulbs/turn)",
> +                 PL_("Research speed: %d turns/advance (%d bulb/turn)", 
> +                     "Research speed: %d turns/advance (%d bulbs/turn)",
> +                     bulbs_per_turn),
> +                 turns_to_advance),
> +             turns_to_advance, bulbs_per_turn);
Remember that some languages don't do plurals the way English does: 
there may be three or more forms corresponding to arbitrary different 
patterns, not just "singular" (for 1) and "plural" (for more than 1).
jason
 
 
 | 
 |