Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

UI: a failed turn tells the player to give the orders again (refs #622) (#676)

Eyal Golan9e90b9a51bc4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc6f4b773..d81b55709 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,9 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB
2026): Ben-Gurion told the Provisional State Council 246 (184 + 62), and S/1315 gives 266 by 23 September (184 + 82).
Card text only: no golden moves, the content hash does, so an older save loads with the "different game content"
warning. A sensitive event: the change returns to the owner for sensitivity review.
+- A turn that could not run says what to do next (refs #622; maintainer, 15 October 2026): "Not done: The turn could
+ not run. Your orders were cleared. Give them again.", in English and Hebrew. End turn already clears the orders when
+ the turn fails. The Hebrew waits for the native reviewer (#564).
- Event timing for monthly turns (refs #382; lands with the GDD cutover, Phase 2 PR 1; owner decisions of 15 October 2026
on #567): six war-period windows open on the monthly turn date before their decision (`idf_founding`,
`jerusalem_military_government`, `latrun_proposal`, `operation_horev`, `elections_1949`; `operation_horev` also lets
diff --git a/tools/tests/test_hebrew_ui.py b/tools/tests/test_hebrew_ui.py
index 40e07cd59..61433be0d 100644
--- a/tools/tests/test_hebrew_ui.py
+++ b/tools/tests/test_hebrew_ui.py
@@ -61,6 +61,14 @@ def test_an_order_refusal_shows_no_raw_id_or_exception_text():
assert re.findall(r'\{[^{}]+\}', s['order.failed']) == [], name
+def test_a_failed_turn_gives_the_next_step_in_both_languages():
+ # #622 (maintainer, 15 October 2026): SimBridge.EndTurn clears the queue when the turn fails, so the refusal says so
+ # and tells the player to give the orders again. The Hebrew waits for the native reviewer (#564).
+ en, he = strings('strings.en.yaml'), strings('strings.he.yaml')
+ assert en['order.failed'] == 'The turn could not run. Your orders were cleared. Give them again.'
+ assert he['order.failed'].count('.') == 3, he['order.failed']
+ assert not re.search('[A-Za-z]', he['order.failed']), he['order.failed']
+
def test_the_top_bar_and_start_labels_are_in_sentence_case():
# #622 finding 2: the six Title Case labels match the file's sentence case, and so do the lines that name the two
# buttons, written as the button shows them. Game.uxml keeps the same texts (HebrewUiTests).
diff --git a/unity/Assets/Tests/EditMode/HudTests.cs b/unity/Assets/Tests/EditMode/HudTests.cs
index 8dd54a851..d7940bb2e 100644
--- a/unity/Assets/Tests/EditMode/HudTests.cs
+++ b/unity/Assets/Tests/EditMode/HudTests.cs
@@ -342,7 +342,7 @@ public class HudTests
Assert.AreEqual(0, bridge.Queued.Count);
Assert.IsNull(bridge.BeforeLast);
Assert.AreSame(order, seen![0].Command);
- Assert.AreEqual("Not done: The turn could not run", ui.Q<Label>("toast").text); // "boom": the log only (#622)
+ Assert.AreEqual("Not done: The turn could not run. Your orders were cleared. Give them again.", ui.Q<Label>("toast").text); // "boom": the log only (#622)
}
/// <summary>Playtest 1, item 11: pressing the open screen's button closes it, every time, with every presenter
diff --git a/unity/Assets/UI/strings.en.yaml b/unity/Assets/UI/strings.en.yaml
index 748725236..cf6305ad9 100644
--- a/unity/Assets/UI/strings.en.yaml
+++ b/unity/Assets/UI/strings.en.yaml
@@ -82,7 +82,7 @@ order.kind.unit: "unit"
order.kind.pioneer_work: "pioneer work"
order.kind.site: "site"
order.invalid: "That order is not valid"
-order.failed: "The turn could not run"
+order.failed: "The turn could not run. Your orders were cleared. Give them again."
defence.rung1: "1 Routine threat: border incidents, deterrence upkeep"
defence.rung2: "2 Wave: terror or infiltration, hostile buildup"
defence.rung3: "3 Limited operation: raids, reprisals"
diff --git a/unity/Assets/UI/strings.he.yaml b/unity/Assets/UI/strings.he.yaml
index c235b0e4f..409bea673 100644
--- a/unity/Assets/UI/strings.he.yaml
+++ b/unity/Assets/UI/strings.he.yaml
@@ -76,7 +76,9 @@ order.kind.unit: "יחידה"
order.kind.pioneer_work: "עבודה חלוצית"
order.kind.site: "אתר"
order.invalid: "הפקודה אינה תקפה"
-order.failed: "לא ניתן היה להריץ את התור"
+# order.failed: the turn failed and SimBridge.EndTurn cleared the queue, so the player gives the orders again (#622;
+# maintainer, 15 October 2026). For the native reviewer (#564).
+order.failed: "לא ניתן היה להריץ את התור. הפקודות שלך נמחקו. יש לתת אותן שוב."
defence.rung1: "1 איום שגרתי: תקריות גבול, שימור ההרתעה"
defence.rung2: "2 גל: טרור או הסתננות, התעצמות האויב"
defence.rung3: "3 פעולה מוגבלת: פשיטות, פעולות תגמול"