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 Cabinet and Defence screens name people, offices, parties and the government in Hebrew (refs #558) (#861)
Berifb8660720ec2
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5db94e954..a4bf2a8a5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -18,6 +18,15 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIBon their real sides, the Golden Gate sealed: 7 gates, not one per road gap (13) (#319).- Under `?lang=he`, the Cabinet's candidate refusal reasons use Hebrew UI strings and Hebrew person, office, party anddate values instead of displaying the simulation's English prose; English is unchanged (refs #901, #564).+- In the Hebrew UI the Cabinet and Defence screens name people, offices, parties, the government and the legislature in+ Hebrew, from the content's sourced Hebrew forms (refs #558): "ממשלת ישראל הראשונה", "אליעזר קפלן", "שר האוצר", "מפא״י".+ A woman's office takes its feminine title from the content (Golda Meir is "שרת העבודה"): every office in+ `content/offices.yaml` with a Hebrew title now has a `title_he_f` (the loader rejects one without it), sourced and flagged `agent-checked` unless a+ native speaker has read it (Labour, Foreign Affairs; #930), since the+ player can order her into any office ("שרת האוצר", "השרה לנפגעי מלחמה", "שרה בלי תיק"; the Prime Minister stays+ "ראש הממשלה"; Beri's wording as a native speaker). A card with no portrait shows the first name's initial and the surname+ ("י. ידין"). A row with no Hebrew form yet keeps its English name (today only the Minister responsible for rationing).+ English is unchanged.## [0.1.0] - 2026-10-18diff --git a/content/offices.yaml b/content/offices.yamlindex e72618ca7..318f155bc 100644--- a/content/offices.yaml+++ b/content/offices.yaml@@ -1,8 +1,16 @@# yaml-language-server: $schema=./schema/offices.schema.jsonoffices:# Hebrew titles (#558): title_he is the title as the Knesset's position records give it (KNS_PersonToPosition,- # DutyDesc, the government each source names), else the he.wiki title or text; title_he_f is the feminine form, only- # where a woman held the office (owner, 2026-10-14). The English titles stay the player's default. Left empty where no+ # DutyDesc, the government each source names), else the he.wiki title or text; title_he_f is the feminine form, for a+ # woman in the office. Every office with a title_he has one, because the player can order a woman into any office (owner+ # on #861, 2026-10-17: "Move to content"; the UI derives no form). Where a woman held the office the Knesset records give+ # it (Labour, Foreign Affairs; both read by a native speaker in #930); elsewhere the source is a he.wiki page that+ # uses the same feminine form, or the same construction for another ministry. The wording is Beri's (native speaker, 2026-10-17): a minister takes "שרת X" and+ # "השרה ל...", "שרה בלי תיק" without portfolio, and "ראש הממשלה" stays as it is (Golda Meir was ראש הממשלה).+ # For the native reviewer (#564): these forms are an AI agent's, not yet read by a person: the President's ("נשיאת+ # מדינת ישראל"), the deputies' ("סגנית שר ...", "סגנית ראש הממשלה"), and the Chiefs of Staff's, left as they are+ # ("ראש המטה הכללי", "רמטכ״ל ההגנה"), as the Prime Minister's.+ # The English titles stay the player's default. Left empty where no# source gives a Hebrew title: rationing_minister, a game construct (the office passes from Rationing and Supply to# Agriculture and then Trade). Open owner questions: the Trade (order, and the Knesset's "התעשיה") and War Victims# wordings, and whether the Chief of Staff adds "של צה״ל" (PR #558 body).@@ -11,40 +19,47 @@ offices:# then removes the flag; the row's own status covers the English facts.# `from: 1948-05-14` is the state's founding (issue #80). For the deputy titles and any post created later (some date from# 1951) it is a design floor, not the day the post was created.- - { id: prime_minister, title: Prime Minister, title_he: "ראש הממשלה", title_he_sources: [&he_gov1 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%201", checked: 2026-10-14 }], from: 1948-05-14 }+ - { id: prime_minister, title: Prime Minister, title_he: "ראש הממשלה", title_he_sources: [&he_gov1 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%201", checked: 2026-10-14 }], title_he_f: "ראש הממשלה", title_he_f_review: agent-checked, title_he_f_sources: [&he_f_golda { url: "https://he.wikipedia.org/wiki/גולדה_מאיר", checked: 2026-10-17 }], from: 1948-05-14 }# Spelling is deliberate, do not "fix" it (playtest 1, item 8): the office title keeps Israel's official English,# "Ministry of Defense" / "Minister of Defense", because it is a proper noun. The UI is otherwise British English, so# the screen and its button say "Defence".- - { id: defense_minister, title: Minister of Defense, title_he: "שר הביטחון", title_he_sources: [*he_gov1], from: 1948-05-14 }- - { id: finance_minister, title: Minister of Finance, title_he: "שר האוצר", title_he_sources: [*he_gov1], from: 1948-05-14 }+ - { id: defense_minister, title: Minister of Defense, title_he: "שר הביטחון", title_he_sources: [*he_gov1], title_he_f: "שרת הביטחון", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/יוריקו_קויקה", checked: 2026-10-17 }], from: 1948-05-14 }+ - { id: finance_minister, title: Minister of Finance, title_he: "שר האוצר", title_he_sources: [*he_gov1], title_he_f: "שרת האוצר", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/דליה_גריבאוסקאיטה", checked: 2026-10-17 }], from: 1948-05-14 }- { id: foreign_minister, title: Minister of Foreign Affairs, title_he: "שר החוץ", title_he_sources: [*he_gov1], title_he_f: "שרת החוץ", title_he_f_sources: [&he_gov7 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%207", checked: 2026-10-14 }], from: 1948-05-14 }- - { id: health_minister, title: Minister of Health, title_he: "שר הבריאות", title_he_sources: [*he_gov1], from: 1948-05-14 }+ - { id: health_minister, title: Minister of Health, title_he: "שר הבריאות", title_he_sources: [*he_gov1], title_he_f: "שרת הבריאות", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/יעל_גרמן", checked: 2026-10-17 }], from: 1948-05-14 }# No Immigration or War Victims portfolio in the Third Government (8 Oct 1951): research_notes/M3 content 1950-51/facts.md,# Addendum (2026-10-10) (a) and (b), after en.wiki, he.wiki and JVL. Re-add a term if a source shows the portfolio.- - { id: immigration_minister, title: Minister of Immigration, title_he: "שר העלייה", title_he_sources: [*he_gov1], until: 1951-10-08, from: 1948-05-14 }- - { id: interior_minister, title: Minister of Internal Affairs, title_he: "שר הפנים", title_he_sources: [*he_gov1], from: 1948-05-14 }- - { id: justice_minister, title: Minister of Justice, title_he: "שר המשפטים", title_he_sources: [*he_gov1], from: 1948-05-14 }- - { id: agriculture_minister, title: Minister of Agriculture, title_he: "שר החקלאות", title_he_sources: [&he_gov2 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%202", checked: 2026-10-14 }], from: 1948-05-14 }+ # title_he_f: the source shows the construction for the ministry's later name (Sofa Landver, "שרת העלייה והקליטה"), not "שרת העלייה".+ - { id: immigration_minister, title: Minister of Immigration, title_he: "שר העלייה", title_he_sources: [*he_gov1], title_he_f: "שרת העלייה", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/סופה_לנדבר", checked: 2026-10-17 }], until: 1951-10-08, from: 1948-05-14 }+ - { id: interior_minister, title: Minister of Internal Affairs, title_he: "שר הפנים", title_he_sources: [*he_gov1], title_he_f: "שרת הפנים", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/איילת_שקד", checked: 2026-10-17 }], from: 1948-05-14 }+ - { id: justice_minister, title: Minister of Justice, title_he: "שר המשפטים", title_he_sources: [*he_gov1], title_he_f: "שרת המשפטים", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/ציפי_לבני", checked: 2026-10-17 }], from: 1948-05-14 }+ - { id: agriculture_minister, title: Minister of Agriculture, title_he: "שר החקלאות", title_he_sources: [&he_gov2 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%202", checked: 2026-10-14 }], title_he_f: "שרת החקלאות", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/אורית_נוקד", checked: 2026-10-17 }], from: 1948-05-14 }- { id: labour_minister, title: Minister of Labour, title_he: "שר העבודה", title_he_sources: [*he_gov7], title_he_f: "שרת העבודה", title_he_f_sources: [*he_gov2], from: 1948-05-14 }- - { id: police_minister, title: Minister of Police, title_he: "שר המשטרה", title_he_sources: [*he_gov1], from: 1948-05-14 }- - { id: minority_affairs_minister, title: Minister of Minority Affairs, title_he: "שר המיעוטים", title_he_sources: [&he_gov0 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%200", checked: 2026-10-14 }], from: 1948-05-14 }- - { id: religions_minister, title: Minister of Religions, title_he: "שר הדתות", title_he_sources: [*he_gov1], from: 1948-05-14 }- - { id: war_victims_minister, title: Minister of War Victims, title_he: "השר לנפגעי מלחמה", title_he_review: agent-checked, title_he_sources: [*he_gov1], until: 1951-10-08, from: 1948-05-14 }- - { id: trade_minister, title: Minister of Trade and Industry, title_he: "שר המסחר והתעשייה", title_he_review: agent-checked, title_he_sources: [*he_gov2], from: 1948-05-14 }- - { id: transportation_minister, title: Minister of Transportation, title_he: "שר התחבורה", title_he_sources: [*he_gov1], from: 1948-05-14 }- - { id: welfare_minister, title: Minister of Welfare, title_he: "שר הסעד", title_he_sources: [*he_gov1], from: 1948-05-14 }+ - { id: police_minister, title: Minister of Police, title_he: "שר המשטרה", title_he_sources: [*he_gov1], title_he_f: "שרת המשטרה", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/ג'ודית_קולינס", checked: 2026-10-17 }], from: 1948-05-14 }+ # title_he_f: no woman held this office and no page gives "שרת המיעוטים"; the source shows the same construction (שרת + the+ # ministry: Golda Meir's "שרת העבודה", "שרת החוץ"), not this title. The same holds for development_minister.+ - { id: minority_affairs_minister, title: Minister of Minority Affairs, title_he: "שר המיעוטים", title_he_sources: [&he_gov0 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%200", checked: 2026-10-14 }], title_he_f: "שרת המיעוטים", title_he_f_review: agent-checked, title_he_f_sources: [*he_f_golda], from: 1948-05-14 }+ # title_he_f: the source gives the exact form only in a cited headline ("שרת הדתות הבאה"); no woman held this office.+ - { id: religions_minister, title: Minister of Religions, title_he: "שר הדתות", title_he_sources: [*he_gov1], title_he_f: "שרת הדתות", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/בתיה_כהנא_דרור", checked: 2026-10-17 }], from: 1948-05-14 }+ # title_he_f: construction source ("השרה ל" + another ministry: Yehudit Naot's "השרה לאיכות הסביבה"), not this title.+ - { id: war_victims_minister, title: Minister of War Victims, title_he: "השר לנפגעי מלחמה", title_he_review: agent-checked, title_he_sources: [*he_gov1], title_he_f: "השרה לנפגעי מלחמה", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/יהודית_נאות", checked: 2026-10-17 }], until: 1951-10-08, from: 1948-05-14 }+ - { id: trade_minister, title: Minister of Trade and Industry, title_he: "שר המסחר והתעשייה", title_he_review: agent-checked, title_he_sources: [*he_gov2], title_he_f: "שרת המסחר והתעשייה", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/גדעון_שגיא", checked: 2026-10-17 }], from: 1948-05-14 }+ - { id: transportation_minister, title: Minister of Transportation, title_he: "שר התחבורה", title_he_sources: [*he_gov1], title_he_f: "שרת התחבורה", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/מירי_רגב", checked: 2026-10-17 }], from: 1948-05-14 }+ # title_he_f: the source shows the construction for the ministry's later name (Ora Namir, "שרת העבודה והרווחה"), not "שרת הסעד".+ - { id: welfare_minister, title: Minister of Welfare, title_he: "שר הסעד", title_he_sources: [*he_gov1], title_he_f: "שרת הסעד", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/אורה_נמיר", checked: 2026-10-17 }], from: 1948-05-14 }# The Ministry of Postal Services (renamed Communications in 1970). Its first minister, Mordechai Nurock, took office# on 3 November 1952 (Knesset records and plenum record, he.wiki Third Government, en.wiki "Ministry of Communications- # (Israel)", checked 2026-10-12).- - { id: posts_minister, title: Minister of Postal Services, title_he: "שר הדואר", title_he_sources: [&he_gov3 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%203", checked: 2026-10-14 }], from: 1952-11-03 }+ # (Israel)", checked 2026-10-12). title_he_f: the source gives the later name's form (Dalia Itzik, "שרת התקשורת").+ - { id: posts_minister, title: Minister of Postal Services, title_he: "שר הדואר", title_he_sources: [&he_gov3 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%203", checked: 2026-10-14 }], title_he_f: "שרת הדואר", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/דליה_איציק", checked: 2026-10-17 }], from: 1952-11-03 }# Set up on 15 June 1953 for Dov Yosef (he.wiki "משרד הפיתוח", en.wiki "Development Minister of Israel", Knesset# records, checked 2026-10-12). The Knesset records and he.wiki "לוי אשכול" also give Eshkol a Development title in# the Third Government, before the ministry existed; the office starts with the ministry (see Eshkol in people.yaml).- - { id: development_minister, title: Minister of Development, title_he: "שר הפיתוח", title_he_sources: [&he_gov4 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%204", checked: 2026-10-14 }], from: 1953-06-15 }+ # title_he_f: the source shows the construction (שרת + the ministry), not "שרת הפיתוח" (see minority_affairs_minister).+ - { id: development_minister, title: Minister of Development, title_he: "שר הפיתוח", title_he_sources: [&he_gov4 { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%204", checked: 2026-10-14 }], title_he_f: "שרת הפיתוח", title_he_f_review: agent-checked, title_he_f_sources: [*he_f_golda], from: 1953-06-15 }# The Provisional Government (14 May 1948 - 10 March 1949) had no education portfolio. The ministry dates from the First# Government; Zalman Shazar was its first minister, from 10 March 1949 (en.wiki "Provisional government of Israel" and# "Ministry of Education (Israel)", he.wiki "הממשלה הזמנית", checked 2026-10-11). The budget line stays from 1948.- - { id: education_minister, title: Minister of Education and Culture, title_he: "שר החינוך והתרבות", title_he_sources: [*he_gov2], from: 1949-03-10 }+ - { id: education_minister, title: Minister of Education and Culture, title_he: "שר החינוך והתרבות", title_he_sources: [*he_gov2], title_he_f: "שרת החינוך והתרבות", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/שולמית_אלוני", checked: 2026-10-17 }], from: 1949-03-10 }# The minister responsible for rationing: the rationing policy's effects and events look this office up. Until# 1 November 1950 that was the Minister of Rationing and Supply (Dov Yosef). The ministry was then abolished and its# functions split: most went to Agriculture (Lavon), some supply departments to Trade and Industry (Geri) (research@@ -62,22 +77,29 @@ offices:# Before the state the chief of staff led the Haganah (Yaakov Dori, from 1 June 1947), so the same post is split at the# state's founding (issue #80; sources on Dori's two terms in people.yaml). 14 May 1948 is the design's date; the IDF Ordinance# followed on 26 May 1948. Do not "correct" it to 26 May in a fact-check: it would move the goldens.- - { id: haganah_chief_of_staff, title: Haganah Chief of the General Staff, title_he: 'רמטכ״ל ההגנה', title_he_sources: [{ url: "https://he.wikipedia.org/wiki/יעקב_דורי", checked: 2026-10-14 }], until: 1948-05-14 }- - { id: chief_of_staff, title: IDF Chief of the General Staff, title_he: "ראש המטה הכללי", title_he_review: agent-checked, title_he_sources: [{ url: "https://he.wikipedia.org/wiki/ראש_המטה_הכללי", checked: 2026-10-14 }], from: 1948-05-14 }+ # title_he_f: the Chiefs of Staff's titles stay as they are for a woman, since "ראש" is not inflected (רמטכ״ל is ראש+ # המטה הכללי); the source shows that construction (Golda Meir was "ראש הממשלה"), not these titles. AI wording, #564.+ - { id: haganah_chief_of_staff, title: Haganah Chief of the General Staff, title_he: 'רמטכ״ל ההגנה', title_he_sources: [{ url: "https://he.wikipedia.org/wiki/יעקב_דורי", checked: 2026-10-14 }], title_he_f: 'רמטכ״ל ההגנה', title_he_f_review: agent-checked, title_he_f_sources: [*he_f_golda], until: 1948-05-14 }+ - { id: chief_of_staff, title: IDF Chief of the General Staff, title_he: "ראש המטה הכללי", title_he_review: agent-checked, title_he_sources: [{ url: "https://he.wikipedia.org/wiki/ראש_המטה_הכללי", checked: 2026-10-14 }], title_he_f: "ראש המטה הכללי", title_he_f_review: agent-checked, title_he_f_sources: [*he_f_golda], from: 1948-05-14 }# The role first appeared in the Third Government (Peretz Naphtali, 8 October 1951): he.wiki "שר בלי תיק"; the# Provisional, First and Second Governments' tables on en.wiki list none (checked 2026-10-11).- - { id: minister_without_portfolio, title: Minister without Portfolio, title_he: "שר בלי תיק", title_he_sources: [*he_gov3, { url: "https://he.wikipedia.org/wiki/שר_בלי_תיק", checked: 2026-10-14 }], from: 1951-10-08, several_holders: true }+ - { id: minister_without_portfolio, title: Minister without Portfolio, title_he: "שר בלי תיק", title_he_sources: [*he_gov3, { url: "https://he.wikipedia.org/wiki/שר_בלי_תיק", checked: 2026-10-14 }], title_he_f: "שרה בלי תיק", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/שרה_דורון", checked: 2026-10-17 }], from: 1951-10-08, several_holders: true }# Established by the Transition Law of 16 February 1949 (he.wiki "נשיא מדינת ישראל", en.wiki "President of Israel",# checked 2026-10-11; he.wiki "חוק המעבר" gives 16 or 17 February). Weizmann's 1948 office, President of the# Provisional State Council, is a different office the game does not model.- - { id: president, title: President of Israel, title_he: "נשיא מדינת ישראל", title_he_sources: [{ url: "https://he.wikipedia.org/wiki/נשיא_מדינת_ישראל", checked: 2026-10-14 }], from: 1949-02-16 }+ - { id: president, title: President of Israel, title_he: "נשיא מדינת ישראל", title_he_sources: [{ url: "https://he.wikipedia.org/wiki/נשיא_מדינת_ישראל", checked: 2026-10-14 }], title_he_f: "נשיאת מדינת ישראל", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/קולט_אביטל", checked: 2026-10-17 }], from: 1949-02-16 }# Historical deputy titles: dated lookup/text only, never playable Cabinet seats or gameplay owners.# Sources and the start-date conflict are in research_notes/M3 content 1950-51/deputy-titles.md.- - { id: deputy_agriculture_minister, title: Deputy Minister of Agriculture, title_he: "סגן שר החקלאות", title_he_sources: [*he_gov2], historical_only: true, from: 1948-05-14 }- - { id: deputy_transportation_minister, title: Deputy Minister of Transportation, title_he: "סגן שר התחבורה", title_he_sources: [*he_gov2], historical_only: true, from: 1948-05-14 }- - { id: deputy_education_minister, title: Deputy Minister of Education and Culture, title_he: "סגן שר החינוך והתרבות", title_he_sources: [*he_gov3], historical_only: true, several_holders: true, from: 1948-05-14 }- - { id: deputy_prime_minister, title: Deputy Prime Minister, title_he: "סגן ראש הממשלה", title_he_sources: [*he_gov3], historical_only: true, from: 1948-05-14 }+ - { id: deputy_agriculture_minister, title: Deputy Minister of Agriculture, title_he: "סגן שר החקלאות", title_he_sources: [*he_gov2], title_he_f: "סגנית שר החקלאות", title_he_f_review: agent-checked, title_he_f_sources: [&he_f_gamliel { url: "https://he.wikipedia.org/wiki/גילה_גמליאל", checked: 2026-10-17 }], historical_only: true, from: 1948-05-14 }+ # title_he_f: construction source ("סגנית שר" + another ministry: Gila Gamliel's "סגנית שר החקלאות"), not this title.+ - { id: deputy_transportation_minister, title: Deputy Minister of Transportation, title_he: "סגן שר התחבורה", title_he_sources: [*he_gov2], title_he_f: "סגנית שר התחבורה", title_he_f_review: agent-checked, title_he_f_sources: [*he_f_gamliel], historical_only: true, from: 1948-05-14 }+ # title_he_f: construction source ("סגנית שר" + another ministry: Gila Gamliel's "סגנית שר החקלאות"), not this title.+ - { id: deputy_education_minister, title: Deputy Minister of Education and Culture, title_he: "סגן שר החינוך והתרבות", title_he_sources: [*he_gov3], title_he_f: "סגנית שר החינוך והתרבות", title_he_f_review: agent-checked, title_he_f_sources: [*he_f_gamliel], historical_only: true, several_holders: true, from: 1948-05-14 }+ - { id: deputy_prime_minister, title: Deputy Prime Minister, title_he: "סגן ראש הממשלה", title_he_sources: [*he_gov3], title_he_f: "סגנית ראש הממשלה", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/סופי_וילמס", checked: 2026-10-17 }], historical_only: true, from: 1948-05-14 }# Deputy ministers of 1953-1956 (#26): dates from the Knesset records (KNS_PersonToPosition), see people.yaml.- - { id: deputy_religions_minister, title: Deputy Minister of Religions, title_he: "סגן שר הדתות", title_he_sources: [*he_gov4], historical_only: true, from: 1948-05-14 }- - { id: deputy_welfare_minister, title: Deputy Minister of Welfare, title_he: "סגן שר הסעד", title_he_sources: [*he_gov4], historical_only: true, from: 1948-05-14 }- - { id: deputy_trade_minister, title: Deputy Minister of Trade and Industry, title_he: "סגן שר המסחר והתעשיה", title_he_review: agent-checked, title_he_sources: [*he_gov4], historical_only: true, from: 1948-05-14 }+ # title_he_f: construction source ("סגנית שר" + another ministry: Gila Gamliel's "סגנית שר החקלאות"), not this title.+ - { id: deputy_religions_minister, title: Deputy Minister of Religions, title_he: "סגן שר הדתות", title_he_sources: [*he_gov4], title_he_f: "סגנית שר הדתות", title_he_f_review: agent-checked, title_he_f_sources: [*he_f_gamliel], historical_only: true, from: 1948-05-14 }+ # title_he_f: construction source ("סגנית שר" + another ministry: Gila Gamliel's "סגנית שר החקלאות"), not this title.+ - { id: deputy_welfare_minister, title: Deputy Minister of Welfare, title_he: "סגן שר הסעד", title_he_sources: [*he_gov4], title_he_f: "סגנית שר הסעד", title_he_f_review: agent-checked, title_he_f_sources: [*he_f_gamliel], historical_only: true, from: 1948-05-14 }+ # title_he_f: the source spells it "סגנית שר המסחר והתעשייה"; the row keeps the Knesset records' spelling "התעשיה", as title_he does.+ - { id: deputy_trade_minister, title: Deputy Minister of Trade and Industry, title_he: "סגן שר המסחר והתעשיה", title_he_review: agent-checked, title_he_sources: [*he_gov4], title_he_f: "סגנית שר המסחר והתעשיה", title_he_f_review: agent-checked, title_he_f_sources: [{ url: "https://he.wikipedia.org/wiki/מאשה_לובלסקי", checked: 2026-10-17 }], historical_only: true, from: 1948-05-14 }diff --git a/content/schema/offices.schema.json b/content/schema/offices.schema.jsonindex 09b3bd7b0..73370e7e3 100644--- a/content/schema/offices.schema.json+++ b/content/schema/offices.schema.json@@ -33,7 +33,7 @@"title_he": { "type": "string", "minLength": 1, "description": "The Hebrew title (#558) as a source gives it. Leave out when no source gives one (the UI keeps the English). Needs title_he_sources." },"title_he_sources": { "$ref": "#/definitions/sources", "description": "Sources for title_he." },"title_he_review": { "type": "string", "enum": ["agent-checked"], "description": "Review flag of title_he. agent-checked: an AI agent checked the name against its sources and no person has read it yet (CONTENT_POLICY section 2, rule 6; review in #564). Leave out once a native speaker has reviewed it." },- "title_he_f": { "type": "string", "minLength": 1, "description": "The feminine Hebrew title, only where a woman held the office (the Knesset records write שרת העבודה). Needs title_he and title_he_f_sources." },+ "title_he_f": { "type": "string", "minLength": 1, "description": "The feminine Hebrew title, shown for a woman in the office (the Knesset records write שרת העבודה). Every office with a title_he has one: the player can order a woman into any office. Needs title_he and title_he_f_sources." },"title_he_f_sources": { "$ref": "#/definitions/sources", "description": "Sources for title_he_f." },"title_he_f_review": { "type": "string", "enum": ["agent-checked"], "description": "Review flag of title_he_f. agent-checked: an AI agent checked the name against its sources and no person has read it yet (CONTENT_POLICY section 2, rule 6; review in #564). Leave out once a native speaker has reviewed it." },"historical_only": { "type": "boolean", "description": "Historical record only: no Cabinet seat, no player appointment, no gameplay." },diff --git a/sim/Statecraft.Sim.Tests/FeminineTitleTests.cs b/sim/Statecraft.Sim.Tests/FeminineTitleTests.csindex 967cf9506..8efe6e3a9 100644--- a/sim/Statecraft.Sim.Tests/FeminineTitleTests.cs+++ b/sim/Statecraft.Sim.Tests/FeminineTitleTests.cs@@ -60,6 +60,17 @@ public class FeminineTitleTestsAssert.Equal(field, ex.Field);}+ /// <summary>Every office with a title_he has its title_he_f, whoever holds it: the player can order a woman into any+ /// office (Content.cs, Office.TitleHeF), so a missing row is a load error, not a silent masculine title.</summary>+ [Fact]+ public void AHebrewTitledOfficeWithNoFeminineTitleIsALoadError()+ {+ var ex = Assert.Throws<ContentException>(() => Load(Files("", pmFeminine: false)));+ Assert.Equal("offices.yaml", ex.File);+ Assert.Equal("offices[prime_minister].title_he_f", ex.Field);+ Assert.Contains("prime_minister", ex.Message);+ }+// ---- the real content ------------------------------------------------------------------------------------------static readonly Content C = ContentLoader.Load(RealContentTests.ContentRoot());@@ -67,13 +78,29 @@ public class FeminineTitleTests/// <summary>Every person in the Knesset's government position records for governments 0-7 was checked against/// KNS_Person.GenderDesc (2026-10-15): Golda Meir is the only woman, and the only women's titles are hers.</summary>[Fact]- public void GoldaMeirIsTheOnlyFeminineMarkedPersonAndHoldsEveryFeminineTitle()+ public void GoldaMeirIsTheOnlyFeminineMarkedPerson()+ {+ Assert.Equal(new[] { "golda_meir" }, C.People.Where(p => p.TitleHeForm == TitleHeForms.Feminine).Select(p => p.Id));+ }++ /// <summary>The player can order a woman into any office, so every office with a Hebrew title has its feminine form+ /// in the content, sourced and flagged for the native reviewer, and the UI derives none (owner on #861, 17 October+ /// 2026: "Move to content"). The forms Beri chose as a native speaker the same day are pinned here.</summary>+ [Fact]+ public void EveryHebrewTitleHasItsFeminineFormInTheContent(){- var women = C.People.Where(p => p.TitleHeForm == TitleHeForms.Feminine).ToList();- Assert.Equal(new[] { "golda_meir" }, women.Select(p => p.Id));- // A title_he_f no marked person holds would be shown to no one: the two lists stay equal.- Assert.Equal(C.Offices.Where(o => o.TitleHeF != "").Select(o => o.Id).OrderBy(x => x, StringComparer.Ordinal),- women.SelectMany(p => p.Offices.Select(t => t.Office)).Distinct().OrderBy(x => x, StringComparer.Ordinal));+ // Labour's and Foreign Affairs' were read by a native speaker in #930; every other one still waits for #564.+ var read = new[] { "foreign_minister", "labour_minister" };+ Assert.All(C.Offices.Where(o => o.TitleHe != ""), o =>+ {+ Assert.NotEqual("", o.TitleHeF);+ Assert.Equal(read.Contains(o.Id) ? "" : "agent-checked", o.TitleHeFReview);+ });+ string F(string id) => C.Offices.Single(o => o.Id == id).TitleHeF;+ Assert.Equal("ראש הממשלה", F("prime_minister"));+ Assert.Equal("שרת האוצר", F("finance_minister"));+ Assert.Equal("השרה לנפגעי מלחמה", F("war_victims_minister"));+ Assert.Equal("שרה בלי תיק", F("minister_without_portfolio"));}[Fact]diff --git a/sim/Statecraft.Sim.Tests/HebrewNameTests.cs b/sim/Statecraft.Sim.Tests/HebrewNameTests.csindex 3e42daf2d..57c92e984 100644--- a/sim/Statecraft.Sim.Tests/HebrewNameTests.cs+++ b/sim/Statecraft.Sim.Tests/HebrewNameTests.cs@@ -66,13 +66,13 @@ public class HebrewNameTestspublic void AnAgentCheckedFlagLoadsAndClearingItLoadsToo(){var flagged = Replace("offices.yaml", " title: Prime Minister\n",- $" title: Prime Minister\n title_he: ראש הממשלה\n title_he_sources: {Src}\n title_he_review: agent-checked\n");+ $" title: Prime Minister\n title_he: ראש הממשלה\n title_he_sources: {Src}\n title_he_review: agent-checked\n title_he_f: ראשת הממשלה\n title_he_f_sources: {Src}\n");flagged["map/settlements_1948.yaml"] = Fixture.Files["map/settlements_1948.yaml"].Replace("name: Town A,", $"name: Town A, name_he: עיר א, name_he_sources: {Src}, name_he_review: agent-checked,");flagged["people.yaml"] = Fixture.Files["people.yaml"].Replace(" name: Pm One\n", $" name: Pm One\n name_he: ראש א\n name_he_review: agent-checked\n biography_sources: {{ name_he: {Src} }}\n");Assert.Equal(HebrewReview.AgentChecked, Load(flagged).Offices.Single(o => o.Id == "prime_minister").TitleHeReview);Assert.Equal(HebrewReview.AgentChecked, Load(flagged).People.Single(p => p.Id == "pm_one").NameHeReview);var cleared = Replace("offices.yaml", " title: Prime Minister\n",- $" title: Prime Minister\n title_he: ראש הממשלה\n title_he_sources: {Src}\n");+ $" title: Prime Minister\n title_he: ראש הממשלה\n title_he_sources: {Src}\n title_he_f: ראשת הממשלה\n title_he_f_sources: {Src}\n");Assert.Equal("", Load(cleared).Offices.Single(o => o.Id == "prime_minister").TitleHeReview);}@@ -181,8 +181,8 @@ public class HebrewNameTestsAssert.All(C.Governments, g => Assert.NotEqual("", g.NameHe));Assert.All(C.Legislatures, l => Assert.NotEqual("", l.BodyHe));Assert.All(Rows("map/settlements_1948.yaml", "settlements"), r => Assert.True(r.Children.ContainsKey(new YamlScalarNode("name_he"))));- // Feminine titles only where a woman held the office (owner, 2026-10-14): Golda Meir, Labour and Foreign Affairs.- Assert.Equal(new[] { "foreign_minister", "labour_minister" }, C.Offices.Where(o => o.TitleHeF != "").Select(o => o.Id).OrderBy(x => x, StringComparer.Ordinal));+ // A feminine title beside every Hebrew one (owner on #861, 17 October 2026), not only where a woman held the office.+ Assert.Equal(C.Offices.Where(o => o.TitleHe != "").Select(o => o.Id), C.Offices.Where(o => o.TitleHeF != "").Select(o => o.Id));}/// <summary>The owner's 2026-10-14 answers: places in their 1948 form, parties by their short common names, the Firstdiff --git a/sim/Statecraft.Sim/Content.cs b/sim/Statecraft.Sim/Content.csindex b45bcf3ef..13ca36a5f 100644--- a/sim/Statecraft.Sim/Content.cs+++ b/sim/Statecraft.Sim/Content.cs@@ -61,8 +61,9 @@ namespace Statecraft.Sim/// <summary>True when the file has the key at all, even blank: a blank flag is an error, not a review.</summary>[YamlIgnore] public bool TitleHeReviewGiven => titleHeReview != null;string? titleHeReview;- /// <summary>The feminine Hebrew title, only where a woman held the office (the Knesset records write שרת העבודה);- /// sourced in <see cref="TitleHeFSources"/>. Needs <see cref="TitleHe"/>.</summary>+ /// <summary>The feminine Hebrew title, shown for a woman in the office (the Knesset records write שרת העבודה); every+ /// office with a Hebrew title has one, since the player can order a woman into any office (owner on #861, 17 October+ /// 2026). Sourced in <see cref="TitleHeFSources"/>. Needs <see cref="TitleHe"/>.</summary>public string TitleHeF { get; set; } = "";public List<Source> TitleHeFSources { get; set; } = new List<Source>();/// <summary>As <see cref="TitleHeReview"/>, for <see cref="TitleHeF"/>.</summary>diff --git a/sim/Statecraft.Sim/ContentLoader.cs b/sim/Statecraft.Sim/ContentLoader.csindex 1cc1f7be2..2dcaf65d5 100644--- a/sim/Statecraft.Sim/ContentLoader.cs+++ b/sim/Statecraft.Sim/ContentLoader.cs@@ -686,6 +686,9 @@ namespace Statecraft.SimHebrewName("offices.yaml", $"offices[{o.Id}]", "title_he", o.TitleHe, o.TitleHeSources, o.TitleHeReview, o.TitleHeReviewGiven);HebrewName("offices.yaml", $"offices[{o.Id}]", "title_he_f", o.TitleHeF, o.TitleHeFSources, o.TitleHeFReview, o.TitleHeFReviewGiven);if (o.TitleHeF != "" && o.TitleHe == "") throw new ContentException("offices.yaml", $"offices[{o.Id}].title_he", "required: a feminine title_he_f needs the title_he beside it");+ // The player can order a woman into any office, so a Hebrew title without its feminine form would show her the+ // masculine one (owner on #861, 17 October 2026).+ if (o.TitleHe != "" && o.TitleHeF == "") throw new ContentException("offices.yaml", $"offices[{o.Id}].title_he_f", $"required: office {o.Id} has a title_he, so it needs its feminine title_he_f beside it");}foreach (var p in c.Parties) HebrewName("parties.yaml", $"parties[{p.Id}]", "name_he", p.NameHe, p.NameHeSources, p.NameHeReview, p.NameHeReviewGiven);foreach (var l in c.Legislatures) HebrewName("legislatures.yaml", $"legislatures[{l.Id}]", "body_he", l.BodyHe, l.BodyHeSources, l.BodyHeReview, l.BodyHeReviewGiven);diff --git a/unity/Assets/Scripts/UI/CabinetPresenter.cs b/unity/Assets/Scripts/UI/CabinetPresenter.csindex 1f7803bd7..aaa1e1e85 100644--- a/unity/Assets/Scripts/UI/CabinetPresenter.cs+++ b/unity/Assets/Scripts/UI/CabinetPresenter.cs@@ -88,8 +88,8 @@ namespace Statecraft.Game.UIstring Describe(Person p){var c = bridge.Content; var party = Offices.PartyOf(c, p, bridge.State.Date);- var partyName = party == "" ? text["cabinet.no_party"] : c.Parties.First(x => x.Id == party).Name;- return text.Format("cabinet.person", p.Name, partyName, p.Competence, p.Loyalty);+ var partyName = party == "" ? text["cabinet.no_party"] : ContentNames.Of(text, c.Parties.First(x => x.Id == party));+ return text.Format("cabinet.person", ContentNames.Of(text, p), partyName, p.Competence, p.Loyalty);}/// <summary>The legislature's party blocks in drawing order: the coalition's parties, then the opposition's, each by@@ -121,9 +121,9 @@ namespace Statecraft.Game.UIvar gov = Offices.Government(c, s.Date);var leg = Offices.Legislature(c, s.Date);var (seats, size) = PoliticsSystem.CoalitionSeats(c, s.Date);- screen.Q<Label>("cabinet-government").text = gov?.Name ?? "";+ screen.Q<Label>("cabinet-government").text = gov == null ? "" : ContentNames.Of(text, gov);var advisory = c.SystemsAt(s.Date).Legislature == EraSystems.Assembly; // eras.yaml systems.legislature (#58)- screen.Q<Label>("cabinet-legislature").text = leg == null ? "" : text.Format(advisory ? "cabinet.legislature_advisory" : "cabinet.legislature", leg.Body, leg.Size);+ screen.Q<Label>("cabinet-legislature").text = leg == null ? "" : text.Format(advisory ? "cabinet.legislature_advisory" : "cabinet.legislature", ContentNames.Of(text, leg), leg.Size);RenderHouse(c, s, gov, leg, seats, size);var lineup = Cabinet.Lineup(c, s);@@ -137,8 +137,8 @@ namespace Statecraft.Game.UIpmCard.EnableInClassList("seat-selected", Selected == PrimeMinister);if (pmSeat != null){- var offices = pm == null ? pmSeat.Office.Title- : string.Join(text["card.offices_separator"], lineup.Where(x => x.Office.Id == PrimeMinister || HeldByPm(x)).Select(x => x.Office.Title));+ var offices = pm == null ? ContentNames.Of(text, pmSeat.Office, null)+ : string.Join(text["card.offices_separator"], lineup.Where(x => x.Office.Id == PrimeMinister || HeldByPm(x)).Select(x => ContentNames.Of(text, x.Office, pm)));PersonCard.Fill(pmCard, "seat-" + PrimeMinister, c, s, pm, offices, pmSeat.Appointed, text, portraits, PmPortrait, partyLabel: true);pmId = pm?.Id;FramePm();@@ -150,7 +150,7 @@ namespace Statecraft.Game.UIforeach (var seat in pmHeld){var office = seat.Office.Id;- var b = new Button(() => Select(office)) { name = "seat-" + office, text = text.Format("cabinet.select_office", seat.Office.Title) };+ var b = new Button(() => Select(office)) { name = "seat-" + office, text = text.Format("cabinet.select_office", ContentNames.Of(text, seat.Office, pm)) };b.AddToClassList("pm-office");pmOffices.Add(b);}@@ -179,12 +179,15 @@ namespace Statecraft.Game.UIvar card = cards[key];card.EnableInClassList("seat-selected", seat.Office.Id == Selected);card.EnableInClassList("seat-vacant", holder == null);- PersonCard.Fill(card, "seat-" + key, c, s, holder, seat.Office.Title, seat.Appointed, text, portraits, CardPortrait);+ PersonCard.Fill(card, "seat-" + key, c, s, holder, ContentNames.Of(text, seat.Office, holder), seat.Appointed, text, portraits, CardPortrait);}RenderPick(c, s);var queued = bridge.Queued.OfType<Appoint>().Select(a =>- text.Format("cabinet.queued", c.People.First(p => p.Id == a.Person).Name, c.Offices.First(o => o.Id == a.Office).Title));+ {+ var person = c.People.First(p => p.Id == a.Person);+ return text.Format("cabinet.queued", ContentNames.Of(text, person), ContentNames.Of(text, c.Offices.First(o => o.Id == a.Office), person));+ });screen.Q<Label>("cabinet-status").text = string.Join("\n", queued);}@@ -254,7 +257,7 @@ namespace Statecraft.Game.UI}}if (Selected == null) return;- screen.Q<Label>("cabinet-pick-title").text = text.Format("cabinet.pick", c.Offices.First(o => o.Id == Selected).Title);+ screen.Q<Label>("cabinet-pick-title").text = text.Format("cabinet.pick", ContentNames.Of(text, c.Offices.First(o => o.Id == Selected), null));var list = Cabinet.Candidates(c, s, Selected);// A refusal about the office itself (the Prime Minister's or the President's, an abolished one) is the same for// everyone: it is said once under the heading, not under every name (#215).@@ -306,7 +309,7 @@ namespace Statecraft.Game.UIscreen.Q<Label>("cabinet-opposition").text = text.Format("cabinet.opposition", blocks.Where(b => !b.Coalition).Sum(b => b.Seats), unit);screen.Q<Label>("cabinet-majority").text = text.Format("cabinet.majority", hemicycle.Majority, unit);var largest = blocks.OrderByDescending(b => b.Seats).FirstOrDefault();- screen.Q<Label>("cabinet-largest").text = largest.Seats > 0 ? text.Format("cabinet.largest", c.Parties.First(p => p.Id == largest.Party).Name, largest.Seats, unit) : "";+ screen.Q<Label>("cabinet-largest").text = largest.Seats > 0 ? text.Format("cabinet.largest", ContentNames.Of(text, c.Parties.First(p => p.Id == largest.Party)), largest.Seats, unit) : "";// The coalition's parties, not the government's id: a government's coalition_changes move parties between the// sides mid-term (governments.yaml, 25 May 1953), and the chips must follow the half circle (#41 M5).var key = leg.Id + "/" + string.Join(",", blocks.Where(b => b.Coalition).Select(b => b.Party));@@ -324,7 +327,7 @@ namespace Statecraft.Game.UIheading.AddToClassList("party-group-heading");group.Add(heading);foreach (var b in blocks.Where(b => b.Coalition == coalition))- group.Add(Chip("party-" + b.Party, b.Colour, text.Format("cabinet.party_seats", c.Parties.First(p => p.Id == b.Party).Name, b.Seats), false));+ group.Add(Chip("party-" + b.Party, b.Colour, text.Format("cabinet.party_seats", ContentNames.Of(text, c.Parties.First(p => p.Id == b.Party)), b.Seats), false));chips.Add(group);}var unrecorded = leg.Size - blocks.Sum(b => b.Seats);diff --git a/unity/Assets/Scripts/UI/ContentNames.cs b/unity/Assets/Scripts/UI/ContentNames.csnew file mode 100644index 000000000..1fbf0499a--- /dev/null+++ b/unity/Assets/Scripts/UI/ContentNames.cs@@ -0,0 +1,23 @@+#nullable enable+using Statecraft.Sim;++namespace Statecraft.Game.UI+{+ /// <summary>The names of content rows in the UI's language (#558): in Hebrew the row's sourced Hebrew form (#582, #661),+ /// and the English one wherever the content has no Hebrew form yet; in English always the English one.</summary>+ public static class ContentNames+ {+ static string Pick(UiText text, string english, string hebrew) =>+ hebrew != "" && text["ui.lang"] == UiLanguage.Hebrew ? hebrew : english;++ public static string Of(UiText text, Person p) => Pick(text, p.Name, p.NameHe);+ public static string Of(UiText text, Party p) => Pick(text, p.Name, p.NameHe);+ public static string Of(UiText text, Government g) => Pick(text, g.Name, g.NameHe);+ public static string Of(UiText text, Legislature l) => Pick(text, l.Body, l.BodyHe);++ /// <summary>The office's title for <paramref name="holder"/> (null: the office itself, masculine): a woman is given+ /// the row's feminine title_he_f, which every office with a Hebrew title has (owner on #861: "Move to content"), so+ /// the UI derives no form; an office with no Hebrew title for her keeps the English.</summary>+ public static string Of(UiText text, Office o, Person? holder) => Pick(text, o.Title, o.TitleHeFor(holder));+ }+}diff --git a/unity/Assets/Scripts/UI/ContentNames.cs.meta b/unity/Assets/Scripts/UI/ContentNames.cs.metanew file mode 100644index 000000000..f86610287--- /dev/null+++ b/unity/Assets/Scripts/UI/ContentNames.cs.meta@@ -0,0 +1,2 @@+fileFormatVersion: 2+guid: 940ffa8295a239e8c9c8188a91e62745\ No newline at end of filediff --git a/unity/Assets/Scripts/UI/DefencePresenter.cs b/unity/Assets/Scripts/UI/DefencePresenter.csindex db3f08990..2fb69befa 100644--- a/unity/Assets/Scripts/UI/DefencePresenter.cs+++ b/unity/Assets/Scripts/UI/DefencePresenter.cs@@ -144,8 +144,9 @@ namespace Statecraft.Game.UIrow.EnableInClassList("rung-current", rung == s.Rung);row.EnableInClassList("rung-target", rung == target && target != s.Rung); // the level an order will move to}+ string NameOrVacant(Person? p) => p == null ? text["cabinet.vacant"] : ContentNames.Of(text, p);screen.Q<Label>("defence-command").text = text.Format("defence.command",- Cabinet.Holder(c, s, "defense_minister")?.Name ?? text["cabinet.vacant"], Cabinet.Holder(c, s, "chief_of_staff")?.Name ?? text["cabinet.vacant"]);+ NameOrVacant(Cabinet.Holder(c, s, "defense_minister")), NameOrVacant(Cabinet.Holder(c, s, "chief_of_staff")));// One card per person: a leader who holds several of these offices (Ben-Gurion, Prime Minister and Minister of// Defense) has one card listing them all; a vacancy keeps its own card.var lineup = Cabinet.Lineup(c, s);@@ -157,8 +158,8 @@ namespace Statecraft.Game.UIvar shownEarlier = seat?.Holder != null && seats.Take(i).Any(x => x?.Holder?.Id == seat.Holder.Id);card.style.display = seat == null || shownEarlier ? DisplayStyle.None : DisplayStyle.Flex;if (seat == null || shownEarlier) continue;- var titles = seat.Holder == null ? seat.Office.Title- : string.Join("\n", seats.Skip(i).Where(x => x?.Holder?.Id == seat.Holder.Id).Select(x => x!.Office.Title)); // one office a line: the narrow card measured "A · B" as two lines but drew one (a blank line at 1366x768)+ var titles = seat.Holder == null ? ContentNames.Of(text, seat.Office, null)+ : string.Join("\n", seats.Skip(i).Where(x => x?.Holder?.Id == seat.Holder.Id).Select(x => ContentNames.Of(text, x!.Office, seat.Holder))); // one office a line: the narrow card measured "A · B" as two lines but drew one (a blank line at 1366x768)PersonCard.Fill(card, "lead-" + Leaders[i], c, s, seat.Holder, titles, seat.Appointed, text, portraits, LeaderPortrait);}var ceasefire = screen.Q<Label>("ceasefire");diff --git a/unity/Assets/Scripts/UI/PersonCard.cs b/unity/Assets/Scripts/UI/PersonCard.csindex 5928f555c..1dc971aca 100644--- a/unity/Assets/Scripts/UI/PersonCard.cs+++ b/unity/Assets/Scripts/UI/PersonCard.cs@@ -29,6 +29,15 @@ namespace Statecraft.Game.UIreturn words.Length == 1 ? words[0].Substring(0, 1) : words[0].Substring(0, 1) + words[words.Length - 1].Substring(0, 1);}+ /// <summary>The plate's text in Hebrew (Beri, native speaker, 17 October 2026): the first name's initial and the+ /// surname, "י. ידין", since two Hebrew letters ("יי") read as a gershayim more than as a name.</summary>+ public static string InitialAndSurname(string name)+ {+ var words = name.Split(new[] { ' ' }, System.StringSplitOptions.RemoveEmptyEntries);+ if (words.Length == 0) return "";+ return words.Length == 1 ? words[0] : words[0].Substring(0, 1) + ". " + words[words.Length - 1];+ }+/// <summary>Makes the card's elements inside <paramref name="card"/> (cleared first), empty.</summary>public static void Build(VisualElement card, string prefix, UiText text){@@ -67,11 +76,12 @@ namespace Statecraft.Game.UIelse portrait.style.backgroundImage = StyleKeyword.None;portrait.style.display = tex != null ? DisplayStyle.Flex : DisplayStyle.None; // never an invented portraitvar initials = card.Q<Label>(prefix + "-initials");- initials.text = person == null || tex != null ? "" : Initials(person.Name);+ var name = person == null ? "" : ContentNames.Of(text, person);+ initials.text = person == null || tex != null ? "" : text["ui.lang"] == UiLanguage.Hebrew && person.NameHe != "" ? InitialAndSurname(name) : Initials(name);initials.style.display = tex == null ? DisplayStyle.Flex : DisplayStyle.None;var holder = card.Q<Label>(prefix + "-holder");- holder.text = person == null ? text["cabinet.vacant"] : appointed ? text.Format("card.appointed_name", person.Name) : person.Name;+ holder.text = person == null ? text["cabinet.vacant"] : appointed ? text.Format("card.appointed_name", name) : name;holder.EnableInClassList("appointed", appointed);card.Q<Label>(prefix + "-office").text = office;@@ -82,7 +92,7 @@ namespace Statecraft.Game.UIcard.Q(prefix + "-loyalty-row").style.display = shown;if (person == null) return;var partyId = Offices.PartyOf(c, person, s.Date);- var partyName = partyId == "" ? text["cabinet.no_party"] : c.Parties.First(x => x.Id == partyId).Name;+ var partyName = partyId == "" ? text["cabinet.no_party"] : ContentNames.Of(text, c.Parties.First(x => x.Id == partyId));party.text = partyLabel ? text.Format("card.party", partyName) : partyName;SetStat(card, prefix + "-competence", person.Competence);SetStat(card, prefix + "-loyalty", person.Loyalty);diff --git a/unity/Assets/Tests/EditMode/CabinetScreenTests.cs b/unity/Assets/Tests/EditMode/CabinetScreenTests.csindex 92e32cfa8..dfbc18de9 100644--- a/unity/Assets/Tests/EditMode/CabinetScreenTests.cs+++ b/unity/Assets/Tests/EditMode/CabinetScreenTests.cs@@ -55,6 +55,74 @@ public class CabinetScreenTestsAssert.IsTrue(ui.Q<Button>("appoint-golda_meir").enabledSelf);}+ /// <summary>In Hebrew the screen shows the content's Hebrew names (#558): people, office titles (in the feminine for a+ /// woman who holds the office, Office.TitleHeFor), parties, the government and the legislature's body.</summary>+ [Test]+ public void InHebrewTheScreenShowsTheContentsHebrewNames()+ {+ var he = UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.StringsHebrew).text, "strings.he.yaml");+ using var ui = Shown();+ var g = GameSession.New(C, GoldenRun.Seed, Mode.Historical);+ while (g.State.Date < new DateTime(1950, 2, 1)) g.Step(HistoricalAI.Commands(C, g.State));+ var bridge = new SimBridge(g, he);+ var cabinet = new CabinetPresenter(ui.Root, bridge, he, null);+ Assert.AreEqual("ממשלת ישראל הראשונה", ui.Q<Label>("cabinet-government").text);+ StringAssert.Contains(Offices.Legislature(C, g.State.Date)!.BodyHe, ui.Q<Label>("cabinet-legislature").text);+ Assert.AreEqual("אליעזר קפלן", ui.Q<Label>("seat-finance_minister-holder").text);+ Assert.AreEqual("שר האוצר", ui.Q<Label>("seat-finance_minister-office").text);+ Assert.AreEqual("מפא״י", ui.Q<Label>("seat-finance_minister-party").text);+ Assert.AreEqual("גולדה מאיר", ui.Q<Label>("seat-labour_minister-holder").text);+ Assert.AreEqual("שרת העבודה", ui.Q<Label>("seat-labour_minister-office").text, "the feminine title for her");+ var pm = Cabinet.Holder(C, g.State, CabinetPresenter.PrimeMinister)!;+ Assert.AreEqual(pm.NameHe, ui.Q<Label>("seat-" + CabinetPresenter.PrimeMinister + "-holder").text);+ StringAssert.StartsWith("מפא״י ", ui.Q<Label>("party-mapai-label").text);+ StringAssert.Contains("מפא״י", ui.Q<Label>("cabinet-largest").text);+ cabinet.Select("finance_minister");+ Assert.AreEqual("מינוי לתפקיד שר האוצר", ui.Q<Label>("cabinet-pick-title").text);+ StringAssert.StartsWith("גולדה מאיר · מפא״י · ", ui.Q<Button>("appoint-golda_meir").text);+ StringAssert.StartsWith("אהרון ציזלינג · מפ״ם · ", ui.Q<Button>("appoint-zisling").text);+ UiTestKit.Press(ui.Q<Button>("appoint-golda_meir"));+ // She never held Finance; her order reads the office's title_he_f row all the same (owner on #861: "Move to content").+ Assert.AreEqual("שרת האוצר", C.Offices.Single(o => o.Id == "finance_minister").TitleHeF);+ Assert.AreEqual("ניתנה פקודה: גולדה מאיר לתפקיד שרת האוצר, בסיום התור", ui.Q<Label>("cabinet-status").text);+ // A row with no Hebrew form in the content keeps its English one: the rationing office has no title_he yet.+ var rationing = C.Offices.Single(o => o.Id == "rationing_minister");+ Assert.AreEqual("", rationing.TitleHe);+ Assert.AreEqual(rationing.Title, ui.Q<Label>("seat-rationing_minister-office").text);+ // Every other card and party chip is in Hebrew.+ foreach (var t in ui.Q<VisualElement>("screen-cabinet").Query<TextElement>().ToList())+ if (t.name != null && t.name != "seat-rationing_minister-office"+ && (t.name.EndsWith("-holder") || t.name.EndsWith("-office") || t.name.EndsWith("-party") || t.name.StartsWith("party-")))+ Assert.IsFalse((t.text ?? "").Any(ch => ch < 128 && char.IsLetter(ch)), $"'{t.name}': {t.text}");+ cabinet.Dispose();+ }++ /// <summary>A woman's title is the office's title_he_f row, also for an office she never held (owner on #861, 17 October+ /// 2026: "Move to content"; the wording is Beri's, native speaker): a minister's title takes the feminine, the Prime+ /// Minister's stays "ראש הממשלה". The UI derives no form: an office with no title_he_f keeps its English title for her.+ /// A man's title and the English UI are unchanged.</summary>+ [Test]+ public void AWomansMinisterTitleIsFeminineAndThePrimeMinistersIsNot()+ {+ var he = UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.StringsHebrew).text, "strings.he.yaml");+ var golda = C.People.Single(p => p.Id == "golda_meir");+ Office O(string id) => C.Offices.Single(o => o.Id == id);+ foreach (var o in C.Offices.Where(o => o.TitleHeF != ""))+ Assert.AreEqual(o.TitleHeF, ContentNames.Of(he, o, golda), o.Id);+ var unsourced = new Office { Title = "Minister of Finance", TitleHe = "שר האוצר" };+ Assert.AreEqual("Minister of Finance", ContentNames.Of(he, unsourced, golda), "no title_he_f: English, no derived form");+ Assert.AreEqual("שרת האוצר", ContentNames.Of(he, O("finance_minister"), golda));+ Assert.AreEqual("השרה לנפגעי מלחמה", ContentNames.Of(he, O("war_victims_minister"), golda));+ Assert.AreEqual("שרה בלי תיק", ContentNames.Of(he, O("minister_without_portfolio"), golda));+ Assert.AreEqual("ראש הממשלה", ContentNames.Of(he, O("prime_minister"), golda));+ Assert.AreEqual("שרת העבודה", ContentNames.Of(he, O("labour_minister"), golda));+ var own = new Office { Title = "Minister of Labour", TitleHe = "שר העבודה", TitleHeF = "שרת העבודה והרווחה" };+ Assert.AreEqual("שרת העבודה והרווחה", ContentNames.Of(he, own, golda), "the content's title_he_f wins");+ Assert.AreEqual("שר האוצר", ContentNames.Of(he, O("finance_minister"), C.People.Single(p => p.Id == "kaplan")));+ Assert.AreEqual("Minister of Finance", ContentNames.Of(Text, O("finance_minister"), golda));+ Assert.AreEqual(O("rationing_minister").Title, ContentNames.Of(he, O("rationing_minister"), golda), "no title_he: English");+ }+/// <summary>#901: candidate refusal arguments are content ids from the sim; the Hebrew UI resolves and formats them.</summary>[Test]public void ARefusedCandidateHasAHebrewReasonInTheHebrewUi()diff --git a/unity/Assets/Tests/EditMode/DefenceScreenTests.cs b/unity/Assets/Tests/EditMode/DefenceScreenTests.csindex f455f33a8..e3bf59ec3 100644--- a/unity/Assets/Tests/EditMode/DefenceScreenTests.cs+++ b/unity/Assets/Tests/EditMode/DefenceScreenTests.cs@@ -1,3 +1,4 @@+using System.Linq;using NUnit.Framework;using Statecraft.Game;using Statecraft.Game.UI;@@ -20,6 +21,25 @@ public class DefenceScreenTestsreturn (ui, bridge, new DefencePresenter(ui.Root, bridge, Text));}+ /// <summary>In Hebrew the command line and the leaders' cards show the content's Hebrew names and titles (#558).</summary>+ [Test]+ public void InHebrewTheLeadersAreNamedInHebrew()+ {+ var he = UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.StringsHebrew).text, "strings.he.yaml");+ using var ui = new UiTestKit();+ ui.Q<VisualElement>("screen-defence").style.display = DisplayStyle.Flex;+ var bridge = new SimBridge(GameSession.New(C, GoldenRun.Seed, Mode.Historical), he);+ new DefencePresenter(ui.Root, bridge, he);+ var minister = Cabinet.Holder(C, bridge.State, "defense_minister")!;+ var chief = Cabinet.Holder(C, bridge.State, "chief_of_staff")!;+ Assert.AreEqual($"שר הביטחון {minister.NameHe} · הרמטכ״ל {chief.NameHe}", ui.Q<Label>("defence-command").text);+ Assert.AreEqual(chief.NameHe, ui.Q<Label>("lead-chief_of_staff-holder").text);+ Assert.AreEqual(C.Offices.Single(o => o.Id == "chief_of_staff").TitleHe, ui.Q<Label>("lead-chief_of_staff-office").text);+ // Ben-Gurion's card lists both his offices, one a line, each in Hebrew.+ Assert.AreEqual(string.Join("\n", C.Offices.Single(o => o.Id == "prime_minister").TitleHe, C.Offices.Single(o => o.Id == "defense_minister").TitleHe),+ ui.Q<Label>("lead-prime_minister-office").text);+ }+[Test]public void TheLadderShowsFullWarWithTheCeasefireClock(){diff --git a/unity/Assets/Tests/EditMode/PromoScreensTests.cs b/unity/Assets/Tests/EditMode/PromoScreensTests.csindex 75853d7b8..e1faae4ca 100644--- a/unity/Assets/Tests/EditMode/PromoScreensTests.cs+++ b/unity/Assets/Tests/EditMode/PromoScreensTests.cs@@ -272,6 +272,11 @@ public class PromoScreensTestsAssert.AreEqual("HS", PersonCard.Initials("Haim-Moshe Shapira"));Assert.AreEqual("M", PersonCard.Initials("Mordechai"));Assert.AreEqual("", PersonCard.Initials(""));+ // In Hebrew the plate shows the first name's initial and the surname (Beri, 17 October 2026), not two letters.+ Assert.AreEqual("י. ידין", PersonCard.InitialAndSurname("יגאל ידין"));+ Assert.AreEqual("ש. בן-מאיר", PersonCard.InitialAndSurname("שלמה-ישראל בן-מאיר"));+ Assert.AreEqual("ש. בורג", PersonCard.InitialAndSurname("שלמה יוסף בורג"));+ Assert.AreEqual("", PersonCard.InitialAndSurname(""));var g = GameSession.New(C, GoldenRun.Seed, Mode.Historical);using var ui = new UiTestKit();var catalog = ScriptableObject.CreateInstance<PortraitCatalog>();@@ -295,6 +300,64 @@ public class PromoScreensTestsfinally { Object.DestroyImmediate(catalog); }}+ /// <summary>In Hebrew a card with no portrait shows the first name's initial and the surname ("י. ידין", Beri), and the+ /// longest such plate text of any person fits every plate at a desktop, the short browser, a laptop and a phone size.</summary>+ [UnityTest]+ public IEnumerator InHebrewThePlateShowsTheInitialAndSurnameAndItFits()+ {+ var he = UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.StringsHebrew).text, "strings.he.yaml");+ var g = GameSession.New(C, GoldenRun.Seed, Mode.Historical);+ while (g.State.Date < new DateTime(1950, 2, 1)) g.Step(HistoricalAI.Commands(C, g.State));+ var plates = C.People.Where(p => p.NameHe != "").Select(p => PersonCard.InitialAndSurname(p.NameHe)).ToList();+ var problems = new List<string>();+ foreach (var (w, h) in new[] { (1920, 1080), (1568, 752), (1024, 768), (390, 844) })+ {+ var rt = new RenderTexture(w, h, 0);+ var ps = Object.Instantiate(AssetDatabase.LoadAssetAtPath<PanelSettings>(UiPaths.Panel));+ ps.targetTexture = rt;+ var go = new GameObject("HebrewInitialsTest");+ go.SetActive(false);+ var doc = go.AddComponent<UIDocument>();+ doc.panelSettings = ps;+ doc.visualTreeAsset = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(UiPaths.GameUxml);+ go.SetActive(true);+ var root = doc.rootVisualElement;+ var owned = new List<IDisposable>();+ try+ {+ for (int i = 0; i < 20 && !(root.Q("top-bar").worldBound.width > 0); i++) yield return null;+ root.Q("root").RemoveFromClassList("loading");+ root.Q("root").AddToClassList(UiLanguage.HebrewClass);+ var bridge = new SimBridge(g, he);+ owned.Add(new HudPresenter(root, bridge, he));+ owned.Add(new CabinetPresenter(root, bridge, he, null));+ owned.Add(new DefencePresenter(root, bridge, he));+ var nav = new ScreenNav(root); owned.Add(nav);+ foreach (var s in new[] { "cabinet", "defence" })+ {+ nav.Open(s);+ for (int i = 0; i < 6; i++) yield return null;+ if (s == "defence") // no catalog here, so Yadin, the Chief of Staff in February 1950, has no portrait+ Assert.AreEqual("י. ידין", root.Q<Label>("lead-chief_of_staff-initials").text, "Yadin's plate, no portrait");+ var shown = root.Q("screen-" + s).Query<Label>(className: PersonCard.InitialsClass).ToList().Where(l => l.contentRect.width > 0).ToList();+ if (shown.Count == 0) problems.Add($"{w}x{h} {s}: no plate laid out");+ foreach (var l in shown)+ {+ var (widest, px) = plates.Select(t => (t, l.MeasureTextSize(t, 0, VisualElement.MeasureMode.Undefined, 0, VisualElement.MeasureMode.Undefined).x))+ .OrderByDescending(x => x.Item2).First();+ if (px > l.contentRect.width + 0.5f) problems.Add($"{w}x{h} {l.name}: '{widest}' is {px:0} px in {l.contentRect.width:0} px at {l.resolvedStyle.fontSize} px");+ }+ }+ }+ finally+ {+ for (int i = owned.Count - 1; i >= 0; i--) owned[i].Dispose();+ Object.DestroyImmediate(go); Object.DestroyImmediate(ps); rt.Release(); Object.DestroyImmediate(rt);+ }+ }+ Assert.IsEmpty(problems, string.Join("\n", problems.Distinct().Take(40)));+ }+[Test]public void TheLeadershipIsTheRealCommandAndTheBarsAreTheSims(){diff --git a/unity/Assets/UI/Statecraft.uss b/unity/Assets/UI/Statecraft.ussindex 2b43cb3ac..e9a0877f3 100644--- a/unity/Assets/UI/Statecraft.uss+++ b/unity/Assets/UI/Statecraft.uss@@ -711,6 +711,9 @@ Button:disabled { color: var(--ink-dim); border-color: rgba(120, 120, 120, 0.4);.lang-he .event-reopen, .lang-he .event-hide, .lang-he .event-illustration, .lang-he .start-button, .lang-he .start-listen { -unity-text-align: middle-center; }.lang-he .card-stat-name { -unity-text-align: middle-right; }.lang-he .card-stat-value { -unity-text-align: middle-left; }+/* The Hebrew plate shows the first name's initial and the surname ("י. ידין", PersonCard.InitialAndSurname), not two+ letters: at 36 px the longest, "פ. ברנשטיין", fits the narrowest plate (measured by PromoScreensTests). */+.lang-he .card-initials { font-size: 36px; }.lang-he .top-bar, .lang-he .year-row, .lang-he .date-row, .lang-he .meters, .lang-he .meter, .lang-he .meter-row, .lang-he .nav, .lang-he .row,.lang-he .event-foot, .lang-he .event-head, .lang-he .info-panel, .lang-he .info-row, .lang-he .card-stat, .lang-he .pm-offices,.lang-he .cabinet-house, .lang-he .party-group, .lang-he .party-chip, .lang-he .defence-row, .lang-he .leaders, .lang-he .rung,