From 4290b007fd86cec685e27c4693c62d709e439c25 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 6 Jul 2022 22:10:31 +0300 Subject: [PATCH 46/46] Tell player to declare war in Nations report The old messages just told user to use Nations report when some action was impossible during peace. Make the messages tell that one is expected to declare war in that report. See osdn #41841 Signed-off-by: Marko Lindqvist --- server/unithand.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/unithand.c b/server/unithand.c index 865976b46c..054db9b789 100644 --- a/server/unithand.c +++ b/server/unithand.c @@ -2006,7 +2006,7 @@ static void explain_why_no_action_enabled(struct unit *punit, break; case ANEK_NO_WAR: notify_player(pplayer, unit_tile(punit), E_BAD_COMMAND, ftc_server, - _("You must declare war on %s first. Try using " + _("You must declare war on %s first. Try using " "the Nations report" #ifndef FREECIV_WEB " (F3)" @@ -2016,8 +2016,8 @@ static void explain_why_no_action_enabled(struct unit *punit, break; case ANEK_PEACE: notify_player(pplayer, unit_tile(punit), E_BAD_COMMAND, ftc_server, - _("You must break peace with %s first. Try using" - " the Nations report" + _("You must break peace with %s first. Try using " + "the Nations report to declare war" #ifndef FREECIV_WEB " (F3)" #endif /* FREECIV_WEB */ @@ -2636,9 +2636,9 @@ void illegal_action_msg(struct player *pplayer, * "Your Spy can't do Industrial Sabotage while you * are at peace with Prester John. Try using the * Nations report (F3)." */ - _("Your %s can't do %s while you" - " are at peace with %s. Try using" - " the Nations report" + _("Your %s can't do %s while you " + "are at peace with %s. Try using " + "the Nations report to declare war" #ifndef FREECIV_WEB " (F3)" #endif /* FREECIV_WEB */ -- 2.35.1