Author: cazfi Date: Fri Jun 24 11:21:47 2016 New Revision: 32998 URL: http://svn.gna.org/viewcvs/freeciv?rev=32998&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: branches/S2_6/server/commands.c branches/S2_6/server/settings.c Modified: branches/S2_6/server/commands.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/commands.c?rev=32998&r1=32997&r2=32998&view=diff ============================================================================== --- branches/S2_6/server/commands.c (original) +++ branches/S2_6/server/commands.c Fri Jun 24 11:21:47 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: branches/S2_6/server/settings.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/settings.c?rev=32998&r1=32997&r2=32998&view=diff ============================================================================== --- branches/S2_6/server/settings.c (original) +++ branches/S2_6/server/settings.c Fri Jun 24 11:21:47 2016 @@ -825,7 +825,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; } } @@ -890,7 +890,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; } @@ -921,7 +921,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; } @@ -942,7 +942,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