Author: cazfi Date: Fri Jun 24 11:21:52 2016 New Revision: 32999 URL: http://svn.gna.org/viewcvs/freeciv?rev=32999&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_5/server/commands.c branches/S2_5/server/settings.c Modified: branches/S2_5/server/commands.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/commands.c?rev=32999&r1=32998&r2=32999&view=diff ============================================================================== --- branches/S2_5/server/commands.c (original) +++ branches/S2_5/server/commands.c Fri Jun 24 11:21:52 2016 @@ -445,7 +445,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_5/server/settings.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/settings.c?rev=32999&r1=32998&r2=32999&view=diff ============================================================================== --- branches/S2_5/server/settings.c (original) +++ branches/S2_5/server/settings.c Fri Jun 24 11:21:52 2016 @@ -697,7 +697,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; } } @@ -739,7 +739,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; } @@ -778,7 +778,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; } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits