Project

General

Profile

Feature #1905 ยป 0037-AI-Remove-double-spaces-from-war_countdown-messages.patch

Marko Lindqvist, 02/14/2026 10:34 AM

View differences:

ai/default/daidiplomacy.c
case DAI_WR_EXCUSE:
dai_diplo_notify(ally,
PL_("*%s (AI)* %s has grossly violated their treaties "
"with us for own gain. We will answer in force in "
"with us for own gain. We will answer in force in "
"%d turn and expect you to honor your alliance "
"with us and do likewise!",
"*%s (AI)* %s has grossly violated their treaties "
"with us for own gain. We will answer in force in "
"with us for own gain. We will answer in force in "
"%d turns and expect you to honor your alliance "
"with us and do likewise!", countdown),
player_name(pplayer),
......
if (WAR(ally, target)) {
dai_diplo_notify(ally,
PL_("*%s (AI)* We will honor our alliance and declare "
"war on %s in %d turn. Hold on - we are coming!",
"war on %s in %d turn. Hold on - we are coming!",
"*%s (AI)* We will honor our alliance and declare "
"war on %s in %d turns. Hold on - we are coming!",
"war on %s in %d turns. Hold on - we are coming!",
countdown),
player_name(pplayer),
player_name(target),
......
} else if (adip->at_war_with_ally) {
dai_diplo_notify(ally,
PL_("*%s (AI)* We will honor our alliance with %s and "
"declare war on %s in %d turn. We expect you to "
"declare war on %s in %d turn. We expect you to "
"do likewise.",
"*%s (AI)* We will honor our alliance with %s and "
"declare war on %s in %d turns. We expect you to "
"declare war on %s in %d turns. We expect you to "
"do likewise.",
countdown),
player_name(pplayer),
    (1-1/1)