A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
UI: the map hint says drag to move the map, not right-drag (Refs #1720) (#1888)
Eyal Golan48b23fd006b0
diff --git a/changelog.d/1720-map-drag-hint.md b/changelog.d/1720-map-drag-hint.mdnew file mode 100644index 000000000..e668aa04f--- /dev/null+++ b/changelog.d/1720-map-drag-hint.md@@ -0,0 +1,4 @@+### Fixed++- The empty map panel's English and Hebrew hints say to drag to move the map,+ covering either mouse button and one-finger touch panning.diff --git a/unity/Assets/Tests/EditMode/MapFocusTests.cs b/unity/Assets/Tests/EditMode/MapFocusTests.csindex 029995567..62eaae439 100644--- a/unity/Assets/Tests/EditMode/MapFocusTests.cs+++ b/unity/Assets/Tests/EditMode/MapFocusTests.cs@@ -319,16 +319,19 @@ public class MapFocusTestsfinally { pointer.HexClicked -= onPick; root.Language = null; }}- /// <summary>The hint names the keyboard way in both languages and keeps the mouse's right-drag.</summary>+ /// <summary>The hint names the keyboard way in both languages and keeps drag panning without naming a mouse button:+ /// either button pans (#998, #1791). The Hebrew clause is the owner's approved wording (27 Oct 2026).</summary>[Test]- public void TheHintNamesTabAndEnterAndKeepsRightDrag()+ public void TheHintNamesTabAndEnterAndKeepsDrag(){StringAssert.Contains("Tab", Text["info.hint"]);StringAssert.Contains("Enter", Text["info.hint"]);- StringAssert.Contains("right-drag", Text["info.hint"]);+ Assert.GreaterOrEqual(Text["info.hint"].IndexOf("; drag to move the map", StringComparison.Ordinal), 0, Text["info.hint"]);+ Assert.Less(Text["info.hint"].IndexOf("right", StringComparison.Ordinal), 0, Text["info.hint"]);StringAssert.Contains("Tab", TextHe["info.hint"]);StringAssert.Contains("Enter", TextHe["info.hint"]);- StringAssert.Contains("גרירה", TextHe["info.hint"]);+ Assert.GreaterOrEqual(TextHe["info.hint"].IndexOf("; גרירה מזיזה את המפה", StringComparison.Ordinal), 0, TextHe["info.hint"]);+ Assert.Less(TextHe["info.hint"].IndexOf("לחצן", StringComparison.Ordinal), 0, TextHe["info.hint"]);}static float Luminance(Color c) => 0.2126f * c.linear.r + 0.7152f * c.linear.g + 0.0722f * c.linear.b;diff --git a/unity/Assets/UI/strings.en.yaml b/unity/Assets/UI/strings.en.yamlindex 99db7bc83..83ea2f71c 100644--- a/unity/Assets/UI/strings.en.yaml+++ b/unity/Assets/UI/strings.en.yaml@@ -469,8 +469,9 @@ defence.section_ladder: "Security level"defence.section_callup: "Reserve call-up"defence.section_budget: "Defence share of the budget"# The empty info panel's hint: moving a unit (owner, 25 Oct 2026, "Civ: select, then click"), the mouse, the keyboard's-# map stop (#41 B1b, #1116) and the right-drag pan (#998).-info.hint: "Click a unit, then a hex, to move it. Click the map, or Tab and Enter, to inspect a hex; right-drag to move the map"+# map stop (#41 B1b, #1116) and drag panning: either mouse button (#998, #1791), or one finger on touch.+# PR #1808 keeps the 30 px drag onset and UI-origin latch; the hint need not name a mouse button.+info.hint: "Click a unit, then a hex, to move it. Click the map, or Tab and Enter, to inspect a hex; drag to move the map"info.off_map: "Off the map"info.hex: "{0} · elevation {1:N0} m"info.region: "{0}, {1} (Mandate sub-districts, 1947)"diff --git a/unity/Assets/UI/strings.he.yaml b/unity/Assets/UI/strings.he.yamlindex 57fad4b4f..50c7fb450 100644--- a/unity/Assets/UI/strings.he.yaml+++ b/unity/Assets/UI/strings.he.yaml@@ -490,10 +490,11 @@ card.offices_separator: " · "# Knesset it reads as "elected". "מסומן" agrees with the card (כרטיס), masculine. For the native reviewer (#564).card.selected: "מסומן"# The empty info panel's hint: moving a unit (owner, 25 Oct 2026, "Civ: select, then click"), a click, or Tab to the-# map's stop and Enter (#41 B1b, #1116), and the right-drag pan (#998). "Tab" and "Enter" are the keys' printed names.-# Agent-drafted Hebrew; native review: owner, in chat on 25 Oct 2026 ("Approve as written"). Shortened to stay within-# two lines on a phone (InfoPanelLayoutTests), in the nominal form of the drag clause.-info.hint: "לחיצה על יחידה ואז על משושה מזיזה אותה; לחיצה על המפה, או Tab ו־Enter, בודקת משושה; גרירה בלחצן הימני מזיזה את המפה"+# map's stop and Enter (#41 B1b, #1116), and drag panning (#998, #1791, #1808). "Tab" and "Enter" are the keys' printed names.+# Agent-drafted Hebrew; native review: owner, in chat on 27 Oct 2026 ("Approve the Hebrew"). It replaces the wording the+# owner approved on 25 Oct 2026 ("Approve as written") and drops the mouse-button restriction. Shortened to stay within+# two lines on a phone (InfoPanelLayoutTests), in the nominal form of the drag clause; 103 characters, down from 115.+info.hint: "לחיצה על יחידה ואז על משושה מזיזה אותה; לחיצה על המפה, או Tab ו־Enter, בודקת משושה; גרירה מזיזה את המפה"info.off_map: "מחוץ למפה"info.hex: "{0} · גובה {1:N0} מ׳"info.region: "{0}, {1} (נפות המנדט, 1947)"