Author: sveinung
Date: Wed May 10 09:52:44 2017
New Revision: 35470

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

See hrm Feature #658346

Modified:
    trunk/client/helpdata.c

Modified: trunk/client/helpdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/helpdata.c?rev=35470&r1=35469&r2=35470&view=diff
==============================================================================
--- trunk/client/helpdata.c     (original)
+++ trunk/client/helpdata.c     Wed May 10 09:52:44 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