Author: cazfi
Date: Wed Jun 22 19:40:31 2016
New Revision: 32961

URL: http://svn.gna.org/viewcvs/freeciv?rev=32961&view=rev
Log:
List 'advisor' as the source of the production change when it is.

See patch #7287

Modified:
    branches/S2_6/server/citytools.c

Modified: branches/S2_6/server/citytools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/citytools.c?rev=32961&r1=32960&r2=32961&view=diff
==============================================================================
--- branches/S2_6/server/citytools.c    (original)
+++ branches/S2_6/server/citytools.c    Wed Jun 22 19:40:31 2016
@@ -2828,18 +2828,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

Reply via email to