From cbdd5afcee57948fbf30ccbba644d646d427477d Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 6 Jul 2022 22:13:02 +0300 Subject: [PATCH 20/20] 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 129e2ccf0f..3a0e8f7846 100644 --- a/server/unithand.c +++ b/server/unithand.c @@ -1659,14 +1659,14 @@ 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 (F3)."), player_name(explnat->no_war_with)); 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 */ @@ -2250,9 +2250,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