Author: cazfi Date: Wed Jun 22 19:40:23 2016 New Revision: 32960 URL: http://svn.gna.org/viewcvs/freeciv?rev=32960&view=rev Log: List 'advisor' as the source of the production change when it is.
See patch #7287 Modified: trunk/server/citytools.c Modified: trunk/server/citytools.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/citytools.c?rev=32960&r1=32959&r2=32960&view=diff ============================================================================== --- trunk/server/citytools.c (original) +++ trunk/server/citytools.c Wed Jun 22 19:40:23 2016 @@ -2901,18 +2901,25 @@ name = city_production_name_translation(pcity); switch (event) { - case E_WORKLIST: source = _(" from the worklist"); break; -/* Should we give the AI auto code credit? - case E_IMP_AUTO: source = _(" as suggested by the AI advisor"); break; -*/ - default: source = ""; break; + case E_WORKLIST: + /* TRANS: Possible 'source' of the production change. */ + source = _(" from the worklist"); + break; + case E_IMP_AUTO: + /* TRANS: Possible 'source' of the production change. */ + source = _(" as suggested by the advisor"); + break; + default: + source = ""; + break; } /* Tell the player what's up. */ /* FIXME: this may give bad grammar when translated if the 'source' * string can have multiple values. */ notify_player(pplayer, city_tile(pcity), event, ftc_server, - /* TRANS: "<city> is building <production><source>." */ + /* TRANS: "<city> is building <production><source>." + * 'source' might be an empty string. */ _("%s is building %s%s."), city_link(pcity), name, source); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits