Author: cazfi Date: Sun Dec 20 12:20:10 2015 New Revision: 31108 URL: http://svn.gna.org/viewcvs/freeciv?rev=31108&view=rev Log: Use translated unit name in notification about bought unit.
Initial patch by Markus Linnakangas <mlinnaka> See bug #24196 Modified: branches/S2_6/server/cityhand.c Modified: branches/S2_6/server/cityhand.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/cityhand.c?rev=31108&r1=31107&r2=31108&view=diff ============================================================================== --- branches/S2_6/server/cityhand.c (original) +++ branches/S2_6/server/cityhand.c Sun Dec 20 12:20:10 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 Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits