Author: cazfi
Date: Fri Jun 24 11:21:41 2016
New Revision: 32997

URL: http://svn.gna.org/viewcvs/freeciv?rev=32997&view=rev
Log:
When help of one server setting or command refers to another help item,
tell user to type "/help" instead of just "help"

See patch #7303

Modified:
    trunk/server/commands.c
    trunk/server/settings.c

Modified: trunk/server/commands.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/commands.c?rev=32997&r1=32996&r2=32997&view=diff
==============================================================================
--- trunk/server/commands.c     (original)
+++ trunk/server/commands.c     Fri Jun 24 11:21:41 2016
@@ -459,7 +459,7 @@
   {"timeoutincrease", ALLOW_CTRL, 
    /* TRANS: translate text between <> only */
    N_("timeoutincrease <turn> <turninc> <value> <valuemult>"), 
-   N_("See \"help timeoutincrease\"."),
+   N_("See \"/help timeoutincrease\"."),
    N_("Every <turn> turns, add <value> to timeout timer, then add <turninc> "
       "to <turn> and multiply <value> by <valuemult>. Use this command in "
       "concert with the option \"timeout\". Defaults are 0 0 0 1"), NULL,

Modified: trunk/server/settings.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/settings.c?rev=32997&r1=32996&r2=32997&view=diff
==============================================================================
--- trunk/server/settings.c     (original)
+++ trunk/server/settings.c     Fri Jun 24 11:21:41 2016
@@ -848,7 +848,7 @@
   } else {
     settings_snprintf(reject_msg, reject_msg_len,
                       _("Demography string validation failed at character: "
-                        "'%c'. Try \"help demography\"."), value[error]);
+                        "'%c'. Try \"/help demography\"."), value[error]);
     return FALSE;
   }
 }
@@ -913,7 +913,7 @@
     /* Looks like the character was invalid. */
     settings_snprintf(reject_msg, reject_msg_len,
                       _("Allowed take string validation failed at "
-                        "character: '%c'. Try \"help allowtake\"."),
+                        "character: '%c'. Try \"/help allowtake\"."),
                       value[i]);
     return FALSE;
   }
@@ -944,7 +944,7 @@
     /* Looks like the character was invalid. */
     settings_snprintf(reject_msg, reject_msg_len,
                       _("Starting units string validation failed at "
-                        "character '%c'. Try \"help startunits\"."),
+                        "character '%c'. Try \"/help startunits\"."),
                       value[i]);
     return FALSE;
   }
@@ -965,7 +965,7 @@
     settings_snprintf(reject_msg, reject_msg_len,
                       _("The first starting unit must be native to at "
                         "least one \"Starter\" terrain. "
-                        "Try \"help startunits\"."));
+                        "Try \"/help startunits\"."));
     return FALSE;
   }
 


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

Reply via email to