A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
UI: Jerusalem's info panel names West Jerusalem Israeli-held from 15 May 1948 (Refs #2039) (#2442)
Eyal Golanced0e075e15f
diff --git a/changelog.d/2400-q18-jerusalem-may.md b/changelog.d/2400-q18-jerusalem-may.mdnew file mode 100644index 000000000..939ff82eb--- /dev/null+++ b/changelog.d/2400-q18-jerusalem-may.md@@ -0,0 +1,4 @@+### Changed++- The info panel for Jerusalem's hex now names West Jerusalem as Israeli-held from 15 May 1948, extending #2400's change+ from 11 June to the opening period, when it said "No-man's land" (#2039). The map's colours are unchanged.diff --git a/unity/Assets/Scripts/UI/InfoPanelPresenter.cs b/unity/Assets/Scripts/UI/InfoPanelPresenter.csindex cd7583c15..44fbc2499 100644--- a/unity/Assets/Scripts/UI/InfoPanelPresenter.cs+++ b/unity/Assets/Scripts/UI/InfoPanelPresenter.cs@@ -718,6 +718,15 @@ namespace Statecraft.Game.UIstring By(string plain, string by) => holder == null ? text[plain] : text.Format(by, text["control.holder_" + holder]);if (jerusalem && side == Control1948.Side.Arab)return text[armistice ? "info.control_side_israel_west_jerusalem" : "info.control_israel_west_jerusalem"];+ // From the start, 15 May 1948 (owner, 3 November 2026, "Israeli-held from 15 May (Recommended)":+ // https://github.com/eyalgolan/statecraft-israel/issues/2039#issuecomment-6610644690): before 11 June the data puts the hex in no-man's land+ // (code m), and the panel still names West Jerusalem as Israeli-held. "On May 14, the British withdrew from the New+ // City of Jerusalem as well, and Operation Pitchfork commenced. Haganah and Irgun forces seized the 'security zones'+ // (most of them in Jewish-owned buildings) without a fight..." (Lapidot, Besiege, ch. "The Arab Legion attacks+ // Jerusalem", https://www.daat.ac.il/DAAT/english/history/lapidot/30.htm, checked 2026-11-03).+ // The hex is no-man's land only in the opening period (control_hexes_1948_49.yaml: legend adjusted, not armistice or mixed),+ // so the armistice wording never applies here.+ if (jerusalem && side == Control1948.Side.NoMansLand) return text["info.control_israel_west_jerusalem"];return side switch{Control1948.Side.Israel => text[armistice ? "info.control_side_israel" : "info.control_israel"],diff --git a/unity/Assets/Tests/EditMode/InfoPanelLayoutTests.cs b/unity/Assets/Tests/EditMode/InfoPanelLayoutTests.csindex 61a088355..94fe4b7e0 100644--- a/unity/Assets/Tests/EditMode/InfoPanelLayoutTests.cs+++ b/unity/Assets/Tests/EditMode/InfoPanelLayoutTests.cs@@ -159,7 +159,8 @@ public class InfoPanelLayoutTests/// <summary>#2039, owner ruling of 2 Nov 2026 ("Keep hexes, fix the panel"): the hex the game names Jerusalem also holds/// the Old City, so the control data puts it on the Arab side from 11 June 1948 and the map colours it so; its panel line- /// names West Jerusalem as Israeli-held instead, in English and Hebrew. The opening period keeps its no-man's land.</summary>+ /// names West Jerusalem as Israeli-held instead, in English and Hebrew. From the start, 15 May 1948, too: the opening period's+ /// no-man's land (data code m, to 10 June) names it so as well (owner, 3 November 2026: "Israeli-held from 15 May (Recommended)", #2039 issuecomment-6610644690).</summary>[UnityTest]public IEnumerator TheJerusalemPanelNamesWestJerusalemAsIsraeliHeld([Values(false, true)] bool hebrew){@@ -170,7 +171,8 @@ public class InfoPanelLayoutTestsvar g = GameSession.New(C, GoldenRun.Seed, Mode.Historical);var expected = new[]{- (new System.DateTime(1948, 5, 15), hebrew ? "שטח הפקר" : "No-man's land"),+ (new System.DateTime(1948, 5, 15), hebrew ? "בשליטת ישראל (מערב ירושלים)" : "Held by Israel (West Jerusalem)"),+ (new System.DateTime(1948, 6, 10), hebrew ? "בשליטת ישראל (מערב ירושלים)" : "Held by Israel (West Jerusalem)"),(new System.DateTime(1948, 8, 1), hebrew ? "בשליטת ישראל (מערב ירושלים)" : "Held by Israel (West Jerusalem)"),(new System.DateTime(1949, 9, 1), hebrew ? "הצד הישראלי של קו שביתת הנשק (מערב ירושלים)" : "Israeli side of the armistice line (West Jerusalem)"),};