Author: sveinung
Date: Wed May 10 10:16:39 2017
New Revision: 35478

URL: http://svn.gna.org/viewcvs/freeciv?rev=35478&view=rev
Log:
Auto help: say what the unit upgrades to.

See hrm Feature #658346

Modified:
    branches/S3_0/client/helpdata.c

Modified: branches/S3_0/client/helpdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/helpdata.c?rev=35478&r1=35477&r2=35478&view=diff
==============================================================================
--- branches/S3_0/client/helpdata.c     (original)
+++ branches/S3_0/client/helpdata.c     Wed May 10 10:16:39 2017
@@ -2382,6 +2382,13 @@
                        " defenders on a tile, and have no risk for the"
                        " attacker.\n"));
         break;
+      case ACTION_UPGRADE_UNIT:
+        cat_snprintf(buf, bufsz,
+                     /* TRANS: %s is a unit type. */
+                     _("  * upgraded to %s or, when possible, to the unit "
+                       "type it upgrades to.\n"),
+                     utype_name_translation(utype->obsoleted_by));
+        break;
       default:
         /* No action specific details. */
         break;


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to