[Freeciv-Dev] (PR#12952) output names not marked for translation
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12952 >
The names are translated at runtime, but aren't marked for translation.
Note the identifiers are (correctly) not translated.
-jason
Index: common/city.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/city.c,v
retrieving revision 1.336
diff -u -r1.336 city.c
--- common/city.c 30 Apr 2005 17:09:27 -0000 1.336
+++ common/city.c 1 May 2005 14:04:20 -0000
@@ -46,12 +46,12 @@
* they're just an easy way to access information about each output type. */
const Output_type_id num_output_types = O_LAST;
struct output_type output_types[O_LAST] = {
- {O_FOOD, "Food", "food"},
- {O_SHIELD, "Shield", "shield"},
- {O_TRADE, "Trade", "trade"},
- {O_GOLD, "Gold", "gold"},
- {O_LUXURY, "Luxury", "luxury"},
- {O_SCIENCE, "Science", "science"}
+ {O_FOOD, N_("Food"), "food"},
+ {O_SHIELD, N_("Shield"), "shield"},
+ {O_TRADE, N_("Trade"), "trade"},
+ {O_GOLD, N_("Gold"), "gold"},
+ {O_LUXURY, N_("Luxury"), "luxury"},
+ {O_SCIENCE, N_("Science"), "science"}
};
/**************************************************************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#12952) output names not marked for translation,
Jason Short <=
|
|