Author: cazfi
Date: Sun Dec 20 12:20:16 2015
New Revision: 31109
URL: http://svn.gna.org/viewcvs/freeciv?rev=31109&view=rev
Log:
Use translated unit name in notification about bought unit.
Initial patch by Markus Linnakangas <mlinnaka>
See bug #24196
Modified:
branches/S2_5/server/cityhand.c
Modified: branches/S2_5/server/cityhand.c
URL:
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/cityhand.c?rev=31109&r1=31108&r2=31109&view=diff
==============================================================================
--- branches/S2_5/server/cityhand.c (original)
+++ branches/S2_5/server/cityhand.c Sun Dec 20 12:20:16 2015
@@ -375,14 +375,14 @@
notify_player(pplayer, pcity->tile, E_UNIT_BUY, ftc_server,
/* TRANS: bought an unit. */
_("You bought %s in %s."),
- utype_rule_name(pcity->production.value.utype),
+ utype_name_translation(pcity->production.value.utype),
city_name(pcity));
} else if (VUT_IMPROVEMENT == pcity->production.kind) {
notify_player(pplayer, pcity->tile, E_IMP_BUY, ftc_server,
/* TRANS: bought an improvement .*/
_("You bought %s in %s."),
- improvement_name_translation(
- pcity->production.value.building), city_name(pcity));
+
improvement_name_translation(pcity->production.value.building),
+ city_name(pcity));
}
conn_list_do_buffer(pplayer->connections);
_______________________________________________
Freeciv-commits mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-commits