A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Hebrew media descriptions and feedback-preview labels in the Hebrew UI (Fixes #2630) (#2674)
Eyal Golanc2ddaf0200fd
diff --git a/changelog.d/2630.md b/changelog.d/2630.mdnew file mode 100644index 000000000..0c35fa1ad--- /dev/null+++ b/changelog.d/2630.md@@ -0,0 +1,3 @@+### Fixed++- Show Hebrew media descriptions and feedback-preview labels in the Hebrew UI, with English fallback when a media translation is unavailable.diff --git a/docs/WRITING_UI_HE.md b/docs/WRITING_UI_HE.mdindex a273489d7..8e3a4780b 100644--- a/docs/WRITING_UI_HE.md+++ b/docs/WRITING_UI_HE.md@@ -140,6 +140,11 @@ Check: a pattern search over the strings files.Status: implemented localisation, native review pending (#564). In the Hebrew UI, EventCardPresenter uses the Hebrew title, body and option labels where supplied through ContentNames.Fill; each missing field falls back to English. An alternate-timeline variant without Hebrew keeps its English variant text. UnitCard uses a sourced Hebrew unit name and optional Hebrew place, commander and sector text where supplied, otherwise the English value for that field. Names of offices, parties, governments, legislatures and places have sourced Hebrew forms in the content since #558, and Unity reads Hebrew names of places, Cabinet refusal names (#985), and the people, office, party, government and legislature forms handled by ContentNames.Of (#861). Since 15 October a Hebrew display name that an agent has checked against its sources and no person has read carries its own flag beside it, `name_he_review`, `title_he_review`, `title_he_f_review` or `body_he_review: agent-checked`. A native speaker, or an AI-assisted contributor who discloses it, removes the line once they have read the name (CONTENT_POLICY section 2, rule 6; #564; owner, 4 November 2026: "AI-assisted can clear it"). Localised content keeps the same rules: every historical claim keeps its sources, no quote is invented, and Hebrew names of people and places are checked against a source and not guessed. Sensitive events need review by a native reader and the existing sensitivity review, in addition to the historian review.For the maintainer: the remaining localisation scope and review ownership; the Hebrew fields and per-field English fallbacks above are already implemented.+Media descriptions on event photographs, illustration loops, outcome clips and opening media follow the same per-field+fallback: `alt_he` in Hebrew when supplied, otherwise `alt`. Agent-drafted descriptions carry+`alt_he_review: agent-checked` pending #564's native read. The feedback preview's field labels and visible title prefixes+also come from the active string table; the GitHub form itself keeps its English title prefix.+### HE-13 ToneStatus: proposed, native. The project voice is sober, direct and institutional. Hebrew should match: no slang, no drama, no filler. The government guide's principle of personal but gender-neutral wording (HE-03) applies. No Hebrew-specific tone source has been found beyond that.For the native reviewer: say what register suits a sober political strategy game, and name two or three sentences that sound right.diff --git a/docs/event-images.md b/docs/event-images.mdindex cf4c7b45d..ced1c5d33 100644--- a/docs/event-images.md+++ b/docs/event-images.md@@ -29,7 +29,7 @@ Owner ruling 2026-10-11 (summarised; recorded in `docs/CONTENT_POLICY.md` sectio| What | Where ||---|---|| The pictures, at most 960 x 540 JPEG (16:9, the centred card's media header; `idf_founding` is 640 x 360, as its original is small), each under 450 KB | `unity/Assets/UI/EventImages/<event>.jpg` |-| The mapping: event, Commons page, original URL and SHA-1, licence, artist, credit, alt text, crop, sensitivity flags | `unity/Assets/UI/EventImages/event-images.yaml` |+| The mapping: event, Commons page, original URL and SHA-1, licence, artist, credit, English and optional Hebrew alt text, crop, sensitivity flags | `unity/Assets/UI/EventImages/event-images.yaml` || The catalog the game loads (`Resources.Load`, so there is no scene field) | `unity/Assets/Resources/EventImageCatalog.asset` || Provenance rows, one per file (`status: verified` once the owner signs off) | `ASSETS.yaml` || CC BY 4.0 credits | `NOTICE`, and under the picture on the card |@@ -51,7 +51,9 @@ event has a picture, it fills the card's 16:9 media header (960x540 at the 1080ppromo. Its credit line runs as asmall italic caption strip along the picture's bottom edge, so the credit is always visible but costs the card noheight. The minister's portrait is hidden, and the office line still names the minister. The alt text is the picture's-`tooltip`, and `EventCardPresenter.PhotoAlt` exposes it.+`tooltip`, and `EventCardPresenter.PhotoAlt` exposes the value actually shown. In Hebrew, `alt_he` is used when present;+otherwise that field falls back to English. An agent-drafted `alt_he` carries `alt_he_review: agent-checked` until the+native read in #564; the reviewer then removes `alt_he_review`, while the cleared `alt_he` remains.The header is 16:9 whenever the card has the height for it. The photograph needs a band at least as tall as its credit line plus 48 px of picture(`EventCardPresenter.MinPhotoHeight`). The credit strip never shrinks (`flex-shrink: 0`), so the credit that CC BY 4.0@@ -82,6 +84,8 @@ cover this. The decision layer under the top bar bounds the card's height.- The credit ends with " · CC BY 4.0 · graded and cropped" (or "CC0" / "public domain").- The alt text says what the picture shows. A date in it is the event's own date, or only a month or a year:library dates are sometimes wrong (the NLI dates the Altalena shelling 20 June; it was 22 June).+ - Add `alt_he` with the same factual scope and `alt_he_review: agent-checked`. The review marker requires `alt_he` and+ is removed once the description has been read; a cleared `alt_he` therefore stands alone.- Set `sensitive: true` for an event with a sensitive tag, or for any picture the owner must see before release.5. Make the JPG with `uv run --with pillow==12.3.0 --with pyyaml==6.0.3 python -I tools/event_images.py --originals DIR--only <event>`. It refuses a file whose SHA-1 does not match the row.diff --git a/docs/event-videos.md b/docs/event-videos.mdindex 5c7be0de4..387a8769b 100644--- a/docs/event-videos.md+++ b/docs/event-videos.md@@ -11,7 +11,9 @@ moments.md`, the "Full plan"; plan: `docs/superpowers/plans/2026-10-13-decision-real event (`EventImageCatalog`; GDD: authentic images for history).- **The clip is labelled in the card, not in the file.**- While it plays, "AI-generated illustration" replaces the photograph's credit, and the clip's own alt text becomes- the header's tooltip.+ the header's tooltip. Hebrew uses `alt_he` when present and otherwise falls back to English; an agent-drafted value+ carries `alt_he_review: agent-checked` until #564's native read. The reviewer then removes the marker while the+ cleared `alt_he` remains; `alt_he_review` is invalid without `alt_he`.- The files carry **no burned-in caption**. Owner ruling of 14 October 2026, relayed by the coordinator, afterwatching the three sensitive clips: "the 3 ilustration clips are great but no need to say there were created byai". Until then each file carried a small "AI-generated · נוצר בבינה מלאכותית" label; every clip was re-encoded@@ -112,7 +114,7 @@ loop, and Yemen has one new shot made for it. All three follow the same rules asuntil the clip's first frame.- **The hold.** Owner, 2 Nov 2026: "2 s automatic (Recommended)".- **The label.** While the clip plays, the cards' `event.ai_label` string replaces the credit, in Hebrew in the Hebrew- UI. The clip's alt text becomes the tooltip.+ UI. The clip's localized alt text becomes the tooltip, with the same per-field English fallback as the cards.- **The caption.** One line under the picture, shown only with the clip, as the outcome clips' caption sits undertheirs. Each panel's `caption:` (`text`, `text_he`, `he_review`) restates a sentence of the panel's approved text.Owner, 2 Nov 2026: "Version 1, fixed (Recommended)", which is also the owner's native read of the Hebrew.@@ -134,7 +136,7 @@ loop, and Yemen has one new shot made for it. All three follow the same rules asSHA-256s are in the row. The owner reviewed the cleaned clip on 2 November 2026: "Approve it".- **The checks.** `OpeningContent.Parse` refuses a malformed row. `tools/tests/test_opening_sources.py` checks eachclip's file, its `ASSETS.yaml` row and its `docs/ai-disclosure.md` line, and that a reused card clip keeps the card- row's shot and alt text. Every opening panel is sensitive, so its clip is `sensitive: true`, and a `-shareable` build+ row's shot, `alt`, `alt_he` and `alt_he_review`. Every opening panel is sensitive, so its clip is `sensitive: true`, and a `-shareable` buildrefuses it until the owner sets `sensitivity_reviewed: true` (`Build.OpeningShareableRefusal`). The owner reviewed thetwo card clips in the opening on 2 November 2026 ("Approve both") and the Yemen clip the same day ("Approve it"). Aclip needs its caption, and a shareable build refuses a caption whose Hebrew is not `he_review: approved`.@@ -143,7 +145,7 @@ loop, and Yemen has one new shot made for it. All three follow the same rules as| What | Where ||---|---|-| The mapping: event (and, for an outcome, option and window), file, promo shot and its SHA-256, generator, date, alt text, sensitivity flags | `unity/Assets/Resources/EventVideos/event-videos.yaml` |+| The mapping: event (and, for an outcome, option and window), file, promo shot and its SHA-256, generator, date, English and optional Hebrew alt text, sensitivity flags | `unity/Assets/Resources/EventVideos/event-videos.yaml` || The clips (960x540 H.264, about 0.4 to 1.5 MB each) | `unity/Assets/StreamingAssets/video/<event>.mp4`, and `<event>-outcome.mp4` for the outcome clips, and `opening_yemen.mp4` for the opening's Yemen panel || The encode, pinned (no burned-in caption) | `tools/encode_event_videos.py` || The player: a lazy VideoPlayer playing a URL into a 960x540 RenderTexture; one for the card's loop and one for the outcome clips | `CardVideo` |diff --git a/tools/tests/test_opening_sources.py b/tools/tests/test_opening_sources.pyindex b2690aeff..7497259c7 100644--- a/tools/tests/test_opening_sources.py+++ b/tools/tests/test_opening_sources.py@@ -113,8 +113,9 @@ def test_photo_credit_and_review_are_checked_separately():# The panels' illustration clips (owner ruling of 2 November 2026, "B: A + one new Yemen shot (~2,424)"): each `clip:`# names an existing file in StreamingAssets/video whose ASSETS.yaml row marks it ai_generated, with its licence, source and-# a verified status, and which docs/ai-disclosure.md lists; a clip that is a decision card's loop keeps that row's shot and-# alt text. The C# reader (OpeningContent.Parse) checks the row's own shape; the shareable build gates its review.+# a verified status, and which docs/ai-disclosure.md lists; a clip that is a decision card's loop keeps that row's shot,+# English and Hebrew alt text, and Hebrew review marker. The C# reader (OpeningContent.Parse) checks the row's own shape;+# the shareable build gates its sensitivity review.VIDEO = REPO / "unity/Assets/StreamingAssets/video"EVENT_VIDEOS = REPO / "unity/Assets/Resources/EventVideos/event-videos.yaml"@@ -144,8 +145,10 @@ def clip_problems(doc, rules, disclosure, card_rows, exists=lambda name: (VIDEOelif f"| {row['glob']} | ASSETS.yaml |" not in disclosure:result.append(f"{where}: docs/ai-disclosure.md does not list {row['glob']}")card = cards.get(name)- if card is not None and (card.get("shot") != clip.get("shot") or card.get("alt") != clip.get("alt")):- result.append(f"{where}: shot and alt must match its event-videos.yaml row ({card.get('event')})")+ if card is not None and (card.get("shot") != clip.get("shot") or card.get("alt") != clip.get("alt")+ or card.get("alt_he") != clip.get("alt_he")+ or card.get("alt_he_review") != clip.get("alt_he_review")):+ result.append(f"{where}: shot, alt, alt_he and alt_he_review must match its event-videos.yaml row ({card.get('event')})")return result@@ -184,7 +187,10 @@ def test_a_clip_not_in_the_disclosure_fails():def test_a_reused_card_clip_keeps_its_shot_and_alt():doc = actual()doc["panels"][1]["clip"]["shot"] = "A08"- assert any("arab_countries clip: shot and alt must match" in p for p in clip_problems(doc, *clip_inputs()))+ assert any("arab_countries clip: shot, alt, alt_he and alt_he_review must match" in p for p in clip_problems(doc, *clip_inputs()))+ doc = actual()+ doc["panels"][0]["clip"]["alt_he_review"] = "approved"+ assert any("europe clip: shot, alt, alt_he and alt_he_review must match" in p for p in clip_problems(doc, *clip_inputs()))def test_every_clip_has_its_owner_read_caption():diff --git a/unity/Assets/Editor/Build.cs b/unity/Assets/Editor/Build.csindex eb9517cf3..1721c8df6 100644--- a/unity/Assets/Editor/Build.cs+++ b/unity/Assets/Editor/Build.cs@@ -114,8 +114,8 @@ namespace Statecraft.Game.EditorToolsreturn reasons.Count == 0 ? null : string.Join("; ", reasons);}- /// <summary>The events whose catalog entry and mapping row disagree (one is missing, or the credit, the alt text or a- /// sensitivity flag differs), in id order.</summary>+ /// <summary>The events whose catalog entry and mapping row disagree (one is missing, or the credit, English or Hebrew+ /// alt text, or a sensitivity flag differs), in id order.</summary>public static List<string> CatalogMismatches(EventImageCatalog photos, IReadOnlyList<EventImageMapping.Row> mapping){var rows = mapping.GroupBy(r => r.Event).ToDictionary(g => g.Key, g => g.First());@@ -124,7 +124,8 @@ namespace Statecraft.Game.EditorToolsforeach (var id in rows.Keys.Union(entries.Keys)){if (!rows.TryGetValue(id, out var r) || !entries.TryGetValue(id, out var e) || e.image == null) { bad.Add(id); continue; }- if (e.credit != r.Credit || e.alt != r.Alt || e.sensitive != r.Sensitive || e.sensitivityReviewed != r.SensitivityReviewed) bad.Add(id);+ if (e.credit != r.Credit || e.alt != r.Alt || e.altHe != r.AltHe+ || e.sensitive != r.Sensitive || e.sensitivityReviewed != r.SensitivityReviewed) bad.Add(id);}if (photos.entries.Count != entries.Count || mapping.Count != rows.Count) bad.Add("(repeated rows)");return bad.ToList();diff --git a/unity/Assets/Editor/EventImageImport.cs b/unity/Assets/Editor/EventImageImport.csindex b61ac0693..0fff4a3a7 100644--- a/unity/Assets/Editor/EventImageImport.cs+++ b/unity/Assets/Editor/EventImageImport.cs@@ -40,7 +40,8 @@ namespace Statecraft.Game.EditorToolsConfigure(path);catalog.entries.Add(new EventImageCatalog.Entry{- eventId = r.Event, image = AssetDatabase.LoadAssetAtPath<Texture2D>(path), alt = r.Alt, credit = r.Credit,+ eventId = r.Event, image = AssetDatabase.LoadAssetAtPath<Texture2D>(path), alt = r.Alt, altHe = r.AltHe,+ credit = r.Credit,sensitive = r.Sensitive, sensitivityReviewed = r.SensitivityReviewed,});}diff --git a/unity/Assets/Resources/EventImageCatalog.asset b/unity/Assets/Resources/EventImageCatalog.assetindex c53b30feb..1d3d7e983 100644--- a/unity/Assets/Resources/EventImageCatalog.asset+++ b/unity/Assets/Resources/EventImageCatalog.asset@@ -17,6 +17,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 691fb304c2ad844a6bc3434c864c8b7b, type: 3}alt: New immigrants from Romania come down a ship's gangway at Haifa port, June1951.+ altHe: עולים חדשים מרומניה יורדים בכבש אונייה בנמל חיפה, יוני 1951.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -26,6 +27,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 778f252f061854a6191a38a48bba8dd1, type: 3}alt: "The Altalena off the Tel Aviv shore, seen from a seafront caf\xE9 shortlybefore the shelling, June 1948."+ altHe: אלטלנה מול חוף תל אביב, כפי שנראתה מבית קפה על שפת הים זמן קצר לפני ההפגזה, יוני 1948.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -35,6 +37,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 6a3375c172b3341c48ed637bc90bf014, type: 3}alt: IDF and UN officers near the Faluja pocket during the siege of the Egyptianbrigade, late 1948.+ altHe: קציני צה״ל והאו״ם ליד כיס פלוג׳ה במהלך המצור על החטיבה המצרית, סוף 1948.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -44,6 +47,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 1b071919ea9d249d3a94254f72713262, type: 3}alt: Members of Israel's delegation beside a United Nations aircraft, leavingfor armistice talks with Jordan, 1949.+ altHe: חברי המשלחת הישראלית לצד מטוס של האו״ם, בדרכם לשיחות שביתת הנשק עם ירדן, 1949.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -52,6 +56,7 @@ MonoBehaviour:- eventId: austerity_1949image: {fileID: 2800000, guid: fbdeb44f6ea2348d982ff0887c3259f8, type: 3}alt: A clerk hands out the new government ration-coupon books, 1949.+ altHe: פקיד מחלק את פנקסי תלושי הקיצוב החדשים של הממשלה, 1949.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -61,6 +66,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: bd6487f6ceba74ad3a9060a52cabc3ba, type: 3}alt: UN and Israeli officials salute at Lydda airport as Count Bernadotte's coffinleaves for Sweden, September 1948.+ altHe: נציגי האו״ם וישראל מצדיעים בשדה התעופה לוד בעת שארונו של הרוזן ברנדוט יוצא לשוודיה, ספטמבר 1948.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -69,6 +75,7 @@ MonoBehaviour:- eventId: burma_road_completeimage: {fileID: 2800000, guid: b0668911c758942cfaf0c6bbd7cd863d, type: 3}alt: The opening of the Road of Valour, December 1948.+ altHe: פתיחת דרך הגבורה, דצמבר 1948.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -78,6 +85,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: a2430cb25bd4644c3a6040cf18617c73, type: 3}alt: Shops on Nahalat Binyamin Street, Tel Aviv, shut in protest after the governmentdecided to ration clothing, 1950.+ altHe: חנויות ברחוב נחלת בנימין בתל אביב סגורות במחאה לאחר שהממשלה החליטה לקצב ביגוד, 1950.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -87,6 +95,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: a34a45b249b3144d9a8d9da796da12ee, type: 3}alt: A stopped tracked armoured carrier under the eucalyptus trees at DeganiaAlef; the archive's catalogue dates the slide to 20 May 1948.+ altHe: נגמ״ש זחלי עומד מתחת לעצי האקליפטוס בדגניה א׳; קטלוג הארכיון מתארך את השקופית ל־20 במאי 1948.credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel/ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -96,6 +105,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 8c959d4b13cfc4b7a8a5ac3c7a46b480, type: 3}alt: A voter drops his envelope into the ballot box at a polling station on electionday, 25 January 1949.+ altHe: בוחר משלשל את המעטפה לקלפי בתחנת הצבעה ביום הבחירות, 25 בינואר 1949.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -105,6 +115,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 8622975d7ac09487890f20fcc50bc45f, type: 3}alt: Two men put up a barbed-wire fence on open ground in the first days of KibbutzMefalsim, June 1949.+ altHe: שני גברים מקימים גדר תיל בשטח פתוח בימיו הראשונים של קיבוץ מפלסים, יוני 1949.credit: "Boris Carmi / Meitar Collection / National Library of Israel / The PritzkerFamily National Photography Collection \xB7 CC BY 4.0 \xB7 graded and cropped"sensitive: 0@@ -113,6 +124,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: e52b94b9d64f24bafa07294fd5068c17, type: 3}alt: A quiet, tree-lined street in Jerusalem during a pause in the fighting,1948.+ altHe: רחוב שקט עטור עצים בירושלים בזמן הפוגה בלחימה, 1948.credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel/ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -121,6 +133,7 @@ MonoBehaviour:- eventId: frumkin_commissionimage: {fileID: 2800000, guid: 9ac6b7418fe5f408a9d7be0e1c317ec0, type: 3}alt: Snow and slush at the Ras al-Ein (Rosh HaAyin) immigrant camp, winter 1950.+ altHe: שלג ובוץ במחנה העולים ראס אל-עין (ראש העין), חורף 1950.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection / Israel State Archives\xB7 CC BY 4.0 \xB7 graded and cropped"@@ -129,6 +142,7 @@ MonoBehaviour:- eventId: hula_drainageimage: {fileID: 2800000, guid: 8667fce6f8c2b4633b2e291e9cdddd07, type: 3}alt: Timber shuttering and earthworks for the dams that drained Lake Hula, 1951.+ altHe: טפסות עץ ועבודות עפר לסכרים שניקזו את אגם החולה, 1951.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -138,6 +152,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: bd09df6e255af486aa2b097209f0a079, type: 3}alt: Officers and a rabbi with a banner at the Jerusalem ceremony founding theIsrael Defense Forces, June 1948.+ altHe: קצינים ורב עם כרזה בטקס ייסוד צבא ההגנה לישראל בירושלים, יוני 1948.credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel/ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -147,6 +162,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 500a6138a65cb4b94a22c47acc06c71c, type: 3}alt: Children newly arrived from Iraq at a reception table with bread, orangesand mugs, 1951.+ altHe: ילדים שזה עתה הגיעו מעיראק ליד שולחן קבלה ועליו לחם, תפוזים וספלים, 1951.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -156,6 +172,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: a4ce290bdab3342189da25741919d8d8, type: 3}alt: David Ben-Gurion and Abba Eban present a menorah to President Harry Trumanin the Oval Office, May 1951.+ altHe: דוד בן-גוריון ואבא אבן מעניקים מנורה לנשיא הארי טרומן בחדר הסגלגל, מאי 1951.credit: "Abbie Rowe, National Park Service / U.S. National Archives (NARA 200318)\xB7 public domain \xB7 graded and cropped"sensitive: 0@@ -164,6 +181,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: df224a98a048241d9a46dfc713802e5e, type: 3}alt: Tank traps and roadblocks on Shmuel HaNavi Street, on the line between Israeli-and Jordanian-held Jerusalem, 1948-49.+ altHe: מחסומי נ״ט ומחסומי דרכים ברחוב שמואל הנביא, בקו שבין חלקי ירושלים שבידי ישראל וירדן, 1948-49.credit: "Willem van de Poll, Nationaal Archief (Van de Poll 255-0327) \xB7 CC0\xB7 graded and cropped"sensitive: 0@@ -172,6 +190,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 58b9f14a3ed1e4a9aba4e8a649be050a, type: 3}alt: One of Israel's first policemen directs traffic on Ussishkin Street, Jerusalem,June 1948.+ altHe: אחד מהשוטרים הראשונים של ישראל מכוון את התנועה ברחוב אוסישקין בירושלים, יוני 1948.credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel/ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -181,6 +200,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: f55b884d1a14b458a979e0b862f98b22, type: 3}alt: A Palmach squad walks across the rocky slopes to the Israeli positions facingLatrun, 1948.+ altHe: כיתת פלמ״ח צועדת במדרונות הסלעיים אל העמדות הישראליות מול לטרון, 1948.credit: "Boris Carmi / Meitar Collection / National Library of Israel / The PritzkerFamily National Photography Collection \xB7 CC BY 4.0 \xB7 graded and cropped"sensitive: 0@@ -188,6 +208,7 @@ MonoBehaviour:- eventId: law_of_returnimage: {fileID: 2800000, guid: 37245b3d68ea14b38b4acd5dca8169db, type: 3}alt: The Knesset building, Beit Froumine on King George Street, Jerusalem, 1950.+ altHe: בניין הכנסת, בית פרומין ברחוב המלך ג׳ורג׳ בירושלים, 1950.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -197,6 +218,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 30e66f07968ea470285400148cdda3ec, type: 3}alt: Immigrant women and children inside a large tent at a ma'abara on the roadto Jerusalem, 1950.+ altHe: נשים וילדים עולים בתוך אוהל גדול במעברה בדרך לירושלים, 1950.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -206,6 +228,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: dc210581e182c4a49a80c62a22465013, type: 3}alt: Customers at the counter of a Tel Aviv grocery with bare shelves under austerity,1950.+ altHe: לקוחות ליד הדלפק במכולת בתל אביב שמדפיה ריקים בתקופת הצנע, 1950.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -214,6 +237,7 @@ MonoBehaviour:- eventId: operation_hiramimage: {fileID: 2800000, guid: abf15c791a3374e62806e9976b5537e5, type: 3}alt: A soldier sweeps a Galilee road for mines after Operation Hiram, 1948.+ altHe: חייל סורק דרך בגליל בחיפוש אחר מוקשים לאחר מבצע חירם, 1948.credit: "Boris Carmi / Meitar Collection / National Library of Israel / The PritzkerFamily National Photography Collection \xB7 CC BY 4.0 \xB7 graded and cropped"sensitive: 1@@ -222,6 +246,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 53720b264363543d5862414d660c8b40, type: 3}alt: A column of IDF vehicles and a motorcyclist on a desert track in the Negevduring Operation Horev, December 1948.+ altHe: שיירת כלי רכב של צה״ל ורוכב אופנוע בדרך מדברית בנגב במהלך מבצע חורב, דצמבר 1948.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -231,6 +256,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 4dbff23757d784486a804849886fb63e, type: 3}alt: IDF officers study a map on a jeep as forces move south before OperationYoav, 13 October 1948.+ altHe: קציני צה״ל בוחנים מפה על ג׳יפ בעת שהכוחות נעים דרומה לפני מבצע יואב, 13 באוקטובר 1948.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 gradedand cropped"@@ -239,6 +265,7 @@ MonoBehaviour:- eventId: reparations_voteimage: {fileID: 2800000, guid: 06570f8e84c1493491e3a51b3fdf7c33, type: 3}alt: Police set up barbed-wire barriers before a planned demonstration near the Knesset against the reparations talks, Jerusalem, January 1952.+ altHe: שוטרים מקימים מחסומי תיל לפני הפגנה מתוכננת ליד הכנסת נגד המשא ומתן על השילומים, ירושלים, ינואר 1952.credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /The Pritzker Family National Photography Collection · CC BY 4.0 · gradedand cropped"@@ -248,6 +275,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: eeb2c6a1420f649d6b259c164df97e0a, type: 3}alt: Count Folke Bernadotte, the UN mediator, interviewed by a radio reporterat Schiphol airport, 17 July 1948.+ altHe: הרוזן פולקה ברנדוט, מתווך האו״ם, מתראיין לכתב רדיו בנמל התעופה סכיפהול, 17 ביולי 1948.credit: "Ben Merk / Anefo, Nationaal Archief (Anefo 934-6899) \xB7 CC0 \xB7 gradedand cropped"sensitive: 0@@ -256,6 +284,7 @@ MonoBehaviour:image: {fileID: 2800000, guid: 706abfabe556e4b3798cc6be35896d85, type: 3}alt: Two soldiers keep watch from an armoured car among eucalyptus trees duringthe capture of Lydda airport, 10 July 1948.+ altHe: שני חיילים שומרים מתוך משוריין בין עצי אקליפטוס במהלך כיבוש שדה התעופה לוד, 10 ביולי 1948.credit: "Boris Carmi / Meitar Collection / National Library of Israel / The PritzkerFamily National Photography Collection \xB7 CC BY 4.0 \xB7 graded and cropped"sensitive: 1diff --git a/unity/Assets/Resources/EventVideos/event-videos.yaml b/unity/Assets/Resources/EventVideos/event-videos.yamlindex af3c4c292..d477bfd5f 100644--- a/unity/Assets/Resources/EventVideos/event-videos.yaml+++ b/unity/Assets/Resources/EventVideos/event-videos.yaml@@ -5,7 +5,8 @@# hash and save compatibility, and this file must never move there (EventVideoMappingTests).# Each row: the event id; the shipped file (unity/Assets/StreamingAssets/video/); the promo shot it is made from (a path# under promo/, which is not in the repository) and its SHA-256; the generator; the date the shot was made (its file date);-# what it shows (the alt text, the switch's tooltip); and the sensitivity flags.+# what it shows (English alt and optional alt_he tooltip descriptions; Hebrew falls back to English when absent),+# alt_he_review: agent-checked beside every agent-drafted Hebrew description; and the sensitivity flags.# sensitive: true rows may not ship in a -shareable build until sensitivity_reviewed: true (an OWNER step; Build.cs).# Owner ruling of 2026-10-14, relayed by the coordinator, after watching the three sensitive clips (operation_yoav,# ten_days and the operation_horev outcome): "the 3 ilustration clips are great but no need to say there were created by@@ -39,6 +40,8 @@ clips:generator: "Veo 3.1 (ElevenLabs), from a GPT Image 2.5 still"generated: 2026-10-12alt: "Illustration: the police fort at Latrun on its hill above the road, smoke drifting across."+ alt_he: "המחשה: מצודת המשטרה בלטרון על הגבעה שמעל לכביש, ועשן נסחף לרוחב התמונה."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -50,6 +53,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-12alt: "Illustration: besieged Jerusalem, a water cart and a queue of people seen from behind."+ alt_he: "המחשה: ירושלים הנצורה, עגלת מים ותור של אנשים הנראים מאחור."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -61,6 +66,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-12alt: "Illustration: a ration of water drawn from a cart's tap into a tin in a Jerusalem street."+ alt_he: "המחשה: מנת מים נמזגת מברז של עגלה לתוך פח ברחוב בירושלים."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -72,6 +79,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-12alt: "Illustration: a shell-holed water tower over a Negev kibbutz, smoke on the horizon."+ alt_he: "המחשה: מגדל מים מנוקב מפגזים מעל קיבוץ בנגב, ועשן באופק."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-14 (relayed by the coordinator)@@ -83,6 +92,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-12alt: "Illustration: a transit camp in the rain, a queue at the tap seen from behind."+ alt_he: "המחשה: מחנה מעבר בגשם, ותור ליד הברז הנראה מאחור."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -94,6 +105,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-12alt: "Illustration: a jerrycan filled at a tap in a muddy transit camp, tents behind."+ alt_he: "המחשה: מכל מתמלא בברז במחנה מעבר בוצי, ואוהלים מאחור."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -105,6 +118,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-12alt: "Illustration: an immigrant ship crowded with passengers entering Haifa bay."+ alt_he: "המחשה: אוניית עולים עמוסה בנוסעים נכנסת למפרץ חיפה."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -116,6 +131,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-12alt: "Illustration: the Hula marsh at dawn, a dragline cutting a new channel."+ alt_he: "המחשה: ביצת החולה עם שחר, ומחפר כבלים חופר תעלה חדשה."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -127,6 +144,8 @@ clips:generator: "Seedance 2.0 (Dreamina); the Dreamina AI badge is kept"generated: 2026-10-12alt: "Illustration: a queue at a grocer's in a seaside town, as under rationing."+ alt_he: "המחשה: תור ליד מכולת בעיר חוף, כמו בתקופת הקיצוב."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -138,6 +157,8 @@ clips:generator: "Seedance 2.0 (Dreamina); the Dreamina AI badge is kept"generated: 2026-10-12alt: "Illustration: an airliner on the apron at Lydda at dusk, families coming down the steps with suitcases."+ alt_he: "המחשה: מטוס נוסעים ברחבת שדה התעופה בלוד בשעת בין ערביים, ומשפחות יורדות במדרגות עם מזוודות."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -149,6 +170,8 @@ clips:generator: "Veo 3.1 (ElevenLabs), from a GPT Image 2.5 still"generated: 2026-10-13alt: "Illustration: armoured cars of the Arab Legion climbing a road in the hills."+ alt_he: "המחשה: משוריינים של הלגיון הערבי עולים בדרך בין הגבעות."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-14 (relayed by the coordinator)@@ -160,6 +183,8 @@ clips:generator: "Veo 3.1 (ElevenLabs), from a GPT Image 2.5 still"generated: 2026-10-13alt: "Illustration: a ship burning off the Tel Aviv shore, smoke rising, small figures on the promenade seen from behind."+ alt_he: "המחשה: אונייה בוערת מול חוף תל אביב, עשן עולה ודמויות קטנות נראות מאחור על הטיילת."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-20 (#1102: watched the clip, "looks good")@@ -171,6 +196,8 @@ clips:generator: "Seedance 2.0 (Dreamina); the Dreamina AI badge is kept"generated: 2026-10-12alt: "Illustration: a column of jeeps and armoured carriers crossing the Negev dunes at dawn."+ alt_he: "המחשה: שיירת ג׳יפים ונגמ״שים חוצה את דיונות הנגב עם שחר."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-20 (#1102: watched the clip, "looks good")@@ -182,6 +209,8 @@ clips:generator: "Seedance 2.0 (Dreamina); the Dreamina AI badge is kept"generated: 2026-10-12alt: "Illustration: a model of a new Negev settlement, its tents and stockade giving way to huts, a water tower and fields."+ alt_he: "המחשה: דגם של יישוב חדש בנגב, שבו אוהלים וחומה מתחלפים בצריפים, במגדל מים ובשדות."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -193,6 +222,8 @@ clips:generator: "Veo 3.1 Fast (ElevenLabs)"generated: 2026-10-17alt: "Illustration: immigrants at a ship's rail seen from behind, a child on a man's shoulders pointing at a harbour town on the hills."+ alt_he: "המחשה: עולים ליד מעקה אונייה נראים מאחור, וילד על כתפי גבר מצביע לעבר עיר נמל על הגבעות."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -204,6 +235,8 @@ clips:generator: "Veo 3.1 (ElevenLabs), from a GPT Image 2.5 still made in Dreamina; the still's faint AI badge outline is kept"generated: 2026-10-12alt: "Illustration: a small tank halted and smoking just inside a kibbutz gate among eucalyptus trees, defenders in a sandbagged trench seen from behind."+ alt_he: "המחשה: טנק קטן עומד ומעלה עשן בתוך שער קיבוץ בין עצי אקליפטוס, ומגינים נראים מאחור בתעלה מבוצרת בשקי חול."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-31 (#1565: "Ship both clips")@@ -215,6 +248,8 @@ clips:generator: "Seedance 2.0 (Dreamina); the Dreamina AI badge is kept"generated: 2026-10-12alt: "Illustration: a crowd with umbrellas held back by a line of police on a wet street, before a stone building in Jerusalem at night."+ alt_he: "המחשה: קהל עם מטריות נבלם בידי שורת שוטרים ברחוב רטוב, לפני בניין אבן בירושלים בלילה."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-31 (#1564: "Ship both clips")@@ -237,6 +272,8 @@ outcomes:start_frame: 2frames: 84alt: "Illustration: a transit camp of tents and huts after rain, a water tanker, families walking."+ alt_he: "המחשה: מחנה מעבר של אוהלים וצריפים אחרי הגשם, מכלית מים ומשפחות הולכות."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -251,6 +288,8 @@ outcomes:start_frame: 12frames: 84alt: "Illustration: the drained valley, a dragline at work, new fields and channels."+ alt_he: "המחשה: העמק המנוקז, מחפר כבלים בעבודה, שדות ותעלות חדשים."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -266,6 +305,8 @@ outcomes:start_frame: 2frames: 84alt: "Illustration: jeeps and an armoured carrier crossing the Negev."+ alt_he: "המחשה: ג׳יפים ונגמ״ש חוצים את הנגב."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-14 (relayed by the coordinator)@@ -280,6 +321,8 @@ outcomes:start_frame: 12frames: 84alt: "Illustration: a ship burning off the Tel Aviv shore, smoke rising, small figures on the promenade seen from behind."+ alt_he: "המחשה: אונייה בוערת מול חוף תל אביב, עשן עולה ודמויות קטנות נראות מאחור על הטיילת."+ alt_he_review: agent-checkedai_generated: truesensitive: truesensitivity_reviewed: true # the owner, 2026-10-20 (#1102: watched the clip, "looks good")@@ -295,6 +338,8 @@ outcomes:start_frame: 37frames: 84alt: "Illustration: a model of a new Negev settlement growing, huts, a water tower, a pipeline and its first fields."+ alt_he: "המחשה: דגם של יישוב חדש בנגב המתפתח עם צריפים, מגדל מים, צינור והשדות הראשונים שלו."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -310,6 +355,8 @@ outcomes:start_frame: 34frames: 84alt: "Illustration: families arriving by air at Lydda, coming down an airliner's steps with suitcases at dusk."+ alt_he: "המחשה: משפחות מגיעות בטיסה ללוד ויורדות במדרגות מטוס נוסעים עם מזוודות בשעת בין ערביים."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -325,6 +372,8 @@ outcomes:start_frame: 10frames: 84alt: "Illustration: a queue with ration books outside a grocer's in a seaside town."+ alt_he: "המחשה: תור עם פנקסי קיצוב מחוץ למכולת בעיר חוף."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: false@@ -339,6 +388,8 @@ outcomes:start_frame: 11frames: 84alt: "Illustration: a child on a man's shoulders at a ship's rail, seen from behind, pointing at a harbour town on the hills."+ alt_he: "המחשה: ילד על כתפי גבר ליד מעקה אונייה, נראה מאחור ומצביע לעבר עיר נמל על הגבעות."+ alt_he_review: agent-checkedai_generated: truesensitive: falsesensitivity_reviewed: falsediff --git a/unity/Assets/Scripts/UI/EventCardPresenter.cs b/unity/Assets/Scripts/UI/EventCardPresenter.csindex b3797a6c9..af1f41725 100644--- a/unity/Assets/Scripts/UI/EventCardPresenter.cs+++ b/unity/Assets/Scripts/UI/EventCardPresenter.cs@@ -255,7 +255,8 @@ namespace Statecraft.Game.UI// while the card waits under the start screen (photoWaits): it is not seen, and the catalog is not loaded yet.var photo = photoWaits ? null : (photos ?? photosLater?.Invoke())?.Find(e.Id);var row = video != null && photo != null && !failed.Contains(e.Id) ? clipFor!(e.Id) : null;- clip = row == null ? null : CardVideo.Url(row.File); clipAlt = row?.Alt;+ clip = row == null ? null : CardVideo.Url(row.File);+ clipAlt = row == null ? null : LocalAlt(row.Alt, row.AltHe);ShowPhoto(photo);var image = card.Q<VisualElement>("event-image");var entry = photo == null && !photoWaits ? portraits?.Find(holder?.Id) : null;@@ -417,8 +418,9 @@ namespace Statecraft.Game.UI// (1366x657 at 100%, #1853). Dropped, the body shrinks and scrolls as the stylesheet says.scroll.style.flexShrink = photo != null ? 0f : (StyleFloat)StyleKeyword.Null;band.style.backgroundImage = photo == null ? (StyleBackground)StyleKeyword.None : new StyleBackground(photo.Value.image);- band.tooltip = photo?.alt ?? "";- PhotoAlt = photo?.alt;+ var photoAlt = photo == null ? null : LocalAlt(photo.Value.alt, photo.Value.altHe);+ band.tooltip = photoAlt ?? "";+ PhotoAlt = photoAlt;ApplyMediaHeight();ApplyIllustration();}@@ -445,9 +447,12 @@ namespace Statecraft.Game.UIvideo.Stop();if (current != null && PhotoAlt != null) band.style.backgroundImage = new StyleBackground(current.Value.image);}- if (current != null) { credit.text = current.Value.credit; if (PhotoAlt != null) band.tooltip = current.Value.alt; }+ if (current != null) { credit.text = current.Value.credit; if (PhotoAlt != null) band.tooltip = LocalAlt(current.Value.alt, current.Value.altHe); }}+ string LocalAlt(string english, string? hebrew) =>+ text["ui.lang"] == UiLanguage.Hebrew && !string.IsNullOrWhiteSpace(hebrew) ? hebrew! : english;+/// <summary>True while the header plays the event's clip (or is preparing it).</summary>public bool IllustrationShown => video?.Current != null;diff --git a/unity/Assets/Scripts/UI/EventImageCatalog.cs b/unity/Assets/Scripts/UI/EventImageCatalog.csindex 33b286857..7baa0c745 100644--- a/unity/Assets/Scripts/UI/EventImageCatalog.cs+++ b/unity/Assets/Scripts/UI/EventImageCatalog.cs@@ -23,6 +23,8 @@ namespace Statecraft.Game.UIpublic string eventId; public Texture2D image;/// <summary>What the picture shows, for accessibility (the element's tooltip).</summary>public string alt;+ /// <summary>The Hebrew description, or empty for English fallback.</summary>+ public string altHe;/// <summary>The credit line shown under the picture (artist, archive, licence, "graded and cropped").</summary>public string credit;/// <summary>The picture needs the owner's sensitivity review before a shareable build may carry it.</summary>diff --git a/unity/Assets/Scripts/UI/EventImageMapping.cs b/unity/Assets/Scripts/UI/EventImageMapping.csindex 433b53481..a621852d1 100644--- a/unity/Assets/Scripts/UI/EventImageMapping.cs+++ b/unity/Assets/Scripts/UI/EventImageMapping.cs@@ -35,6 +35,15 @@ namespace Statecraft.Game.UIpublic string Artist { get; set; } = "";public string Credit { get; set; } = "";public string Alt { get; set; } = "";+ public string AltHe { get; set; } = "";+ // The setter records even an explicit YAML null, which must differ from an omitted post-review marker.+ string? altHeReview;+ public string? AltHeReview+ {+ get => altHeReview;+ set { altHeReview = value; AltHeReviewPresent = true; }+ }+ [YamlIgnore] public bool AltHeReviewPresent { get; private set; }public List<double> Crop { get; set; } = new List<double>();public bool Sensitive { get; set; }public bool SensitivityReviewed { get; set; }@@ -54,7 +63,11 @@ namespace Statecraft.Game.UI{var doc = new DeserializerBuilder().WithNamingConvention(UnderscoredNamingConvention.Instance).WithDuplicateKeyChecking().Build().Deserialize<Doc>(yaml ?? "");- return doc?.Images ?? new List<Row>();+ var rows = doc?.Images ?? new List<Row>();+ foreach (var row in rows)+ if (AltHebrewProblem(row.AltHe, row.AltHeReview, row.AltHeReviewPresent) is string problem)+ throw new InvalidOperationException($"{Path}: {row.Event}: {problem}");+ return rows;}catch (YamlDotNet.Core.YamlException e) { throw new InvalidOperationException($"{Path}: {e.Message}", e); }}@@ -77,6 +90,8 @@ namespace Statecraft.Game.UIif (r.Artist == "" || !r.Credit.Contains(r.Artist)) problems.Add($"{r.Event}: credit does not name the artist '{r.Artist}'");if (!r.Credit.Contains(Adaptation)) problems.Add($"{r.Event}: credit does not say '{Adaptation}'");if (r.Alt.Trim().Length < 20) problems.Add($"{r.Event}: alt text missing or too short");+ if (AltHebrewProblem(r.AltHe, r.AltHeReview, r.AltHeReviewPresent) is string altProblem)+ problems.Add($"{r.Event}: {altProblem}");if (!r.Commons.StartsWith("https://commons.wikimedia.org/wiki/File:", StringComparison.Ordinal)) problems.Add($"{r.Event}: commons page missing");if (r.Sha1.Length != 40) problems.Add($"{r.Event}: sha1 of the original missing");if (r.Crop.Count != 3) problems.Add($"{r.Event}: crop must be [centre x, centre y, width]");@@ -85,5 +100,12 @@ namespace Statecraft.Game.UI}return problems;}++ static string? AltHebrewProblem(string? altHe, string? review, bool reviewPresent)+ {+ if (reviewPresent && string.IsNullOrWhiteSpace(altHe)) return "alt_he_review requires alt_he";+ if (reviewPresent && review != "agent-checked") return "alt_he_review must be agent-checked";+ return null;+ }}}diff --git a/unity/Assets/Scripts/UI/EventVideoMapping.cs b/unity/Assets/Scripts/UI/EventVideoMapping.csindex 682ee9dc4..a2bd1e3ed 100644--- a/unity/Assets/Scripts/UI/EventVideoMapping.cs+++ b/unity/Assets/Scripts/UI/EventVideoMapping.cs@@ -29,6 +29,15 @@ namespace Statecraft.Game.UIpublic string Generator { get; set; } = "";public string Generated { get; set; } = "";public string Alt { get; set; } = "";+ public string AltHe { get; set; } = "";+ // The setter records even an explicit YAML null, which must differ from an omitted post-review marker.+ string? altHeReview;+ public string? AltHeReview+ {+ get => altHeReview;+ set { altHeReview = value; AltHeReviewPresent = true; }+ }+ [YamlIgnore] public bool AltHeReviewPresent { get; private set; }public bool AiGenerated { get; set; }public bool Sensitive { get; set; }public bool SensitivityReviewed { get; set; }@@ -57,8 +66,12 @@ namespace Statecraft.Game.UI{try{- return new DeserializerBuilder().WithNamingConvention(UnderscoredNamingConvention.Instance)+ var doc = new DeserializerBuilder().WithNamingConvention(UnderscoredNamingConvention.Instance).WithDuplicateKeyChecking().Build().Deserialize<Doc>(yaml ?? "") ?? new Doc();+ foreach (var row in doc.Clips.Concat(doc.Outcomes))+ if (AltHebrewProblem(row.AltHe, row.AltHeReview, row.AltHeReviewPresent) is string problem)+ throw new InvalidOperationException($"{Path}: {row.Event}: {problem}");+ return doc;}catch (YamlDotNet.Core.YamlException e) { throw new InvalidOperationException($"{Path}: {e.Message}", e); }}@@ -107,6 +120,7 @@ namespace Statecraft.Game.UIif (!r.Source.StartsWith("promo/", StringComparison.Ordinal) || r.SourceSha256.Length != 64) problems.Add($"{r.Event}: source and its sha256 needed");if (r.Generator.Trim() == "" || r.Generated.Trim() == "") problems.Add($"{r.Event}: generator or date missing");if (!r.Alt.StartsWith("Illustration: ", StringComparison.Ordinal) || r.Alt.Length < 30) problems.Add($"{r.Event}: alt text must start 'Illustration: ' and say what it shows");+ if (AltHebrewProblem(r.AltHe, r.AltHeReview, r.AltHeReviewPresent) is string altProblem) problems.Add($"{r.Event}: {altProblem}");if (sensitiveEvents.Contains(ev.Id) && !r.Sensitive) problems.Add($"{r.Event}: the event has a sensitive tag, so its clip must be sensitive: true");if (r.SensitivityReviewed && !r.Sensitive) problems.Add($"{r.Event}: sensitivity_reviewed without sensitive");}@@ -137,12 +151,20 @@ namespace Statecraft.Game.UIif (r.SourceSha256.Length != 64) problems.Add($"{r.Event}: source_sha256 missing");if (r.Generator.Trim() == "" || r.Generated.Trim() == "") problems.Add($"{r.Event}: generator or date missing");if (!r.Alt.StartsWith("Illustration: ", StringComparison.Ordinal) || r.Alt.Length < 30) problems.Add($"{r.Event}: alt text must start 'Illustration: ' and say what it shows");+ if (AltHebrewProblem(r.AltHe, r.AltHeReview, r.AltHeReviewPresent) is string altProblem) problems.Add($"{r.Event}: {altProblem}");if (sensitiveEvents.Contains(ev.Id) && !r.Sensitive) problems.Add($"{r.Event}: the event has a sensitive tag, so its clip must be sensitive: true");if (r.SensitivityReviewed && !r.Sensitive) problems.Add($"{r.Event}: sensitivity_reviewed without sensitive");}return problems;}+ static string? AltHebrewProblem(string? altHe, string? review, bool reviewPresent)+ {+ if (reviewPresent && string.IsNullOrWhiteSpace(altHe)) return "alt_he_review requires alt_he";+ if (reviewPresent && review != "agent-checked") return "alt_he_review must be agent-checked";+ return null;+ }+/// <summary>The events whose clip is sensitive and not yet sensitivity-reviewed, in id order.</summary>public static IReadOnlyList<string> SensitiveUnreviewed(IReadOnlyList<Row> rows) =>rows.Where(r => r.Sensitive && !r.SensitivityReviewed).Select(r => r.Event).Distinct().OrderBy(x => x, StringComparer.Ordinal).ToList();diff --git a/unity/Assets/Scripts/UI/FeedbackPresenter.cs b/unity/Assets/Scripts/UI/FeedbackPresenter.csindex 59c8bd6e5..ebb29914a 100644--- a/unity/Assets/Scripts/UI/FeedbackPresenter.cs+++ b/unity/Assets/Scripts/UI/FeedbackPresenter.cs@@ -8,9 +8,9 @@ namespace Statecraft.Game.UI{/// <summary>"Report a bug or idea" (#1169): the button in the Settings screen's Community row and the one under the start/// screen's buttons open a small panel over everything, with three choices: GitHub's bug form, its feature form (both- /// prefilled, ReportLinks) and the itch page's comments for a player with no GitHub account. The panel shows, under each- /// GitHub choice, the exact lines that form opens with, so nothing goes anywhere the player has not seen; the game sends- /// nothing itself, the player submits on GitHub. Each choice opens through ExternalLink, inside the real press.+ /// prefilled, ReportLinks) and the itch page's comments for a player with no GitHub account. The panel previews each+ /// field in the UI language; GitHub's issue-title value remains English. The game sends nothing itself, the player+ /// submits on GitHub. Each choice opens through ExternalLink, inside the real press./// <para>While it shows, the root has <see cref="OpenClass"/> and every other part of the UI is disabled, so Tab stays/// in the panel; Close, Esc or Cancel give each part its own state back and the focus back to the button that opened it./// The platform line is read on each opening (a resized window changes the screen size).</para></summary>@@ -23,6 +23,7 @@ namespace Statecraft.Game.UIreadonly Button bug, feature, itch, close, settingsOpen, startOpen;readonly Label bugPreview, featurePreview;readonly string version;+ readonly UiText? text;readonly Action unbindFeature, unbindItch;readonly EventCallback<NavigationCancelEvent> onCancel;Action unbindBug = () => { };@@ -34,6 +35,7 @@ namespace Statecraft.Game.UIpublic FeedbackPresenter(VisualElement root, UiText? text, string version){this.version = version;+ this.text = text;hudRoot = root.Q("root") ?? root;layer = root.Q("feedback-layer");bug = layer.Q<Button>("feedback-bug"); feature = layer.Q<Button>("feedback-feature");@@ -47,7 +49,7 @@ namespace Statecraft.Game.UIbug.text = text["feedback.bug"]; feature.text = text["feedback.feature"];itch.text = text["feedback.itch"]; close.text = text["report.close"];}- featurePreview.text = Preview(ReportLinks.FeatureFields());+ featurePreview.text = Preview(ReportLinks.FeatureFields(), feature: true);unbindFeature = ExternalLink.Bind(feature, ReportLinks.Feature());unbindItch = ExternalLink.Bind(itch, ReportLinks.Itch);settingsOpen.clicked += OpenFromSettings;@@ -68,7 +70,7 @@ namespace Statecraft.Game.UIif (IsOpen) return;opener = from;var env = ReportLinks.Environment();- bugPreview.text = Preview(ReportLinks.BugFields(version, env));+ bugPreview.text = Preview(ReportLinks.BugFields(version, env), feature: false);unbindBug();unbindBug = ExternalLink.Bind(bug, ReportLinks.Bug(version, env));// Each part's own state comes back on Close. The panel takes every press meanwhile, so no screen opens or closes@@ -100,8 +102,11 @@ namespace Statecraft.Game.UIreturn closedAt == UnityEngine.Time.frameCount;}- /// <summary>The lines a form opens with, one per field, by the template's field id ("title: Bug: ").</summary>- static string Preview((string id, string value)[] fields) => string.Join("\n", fields.Select(f => $"{f.id}: {f.value}"));+ /// <summary>The form's fields, one per line. Only the preview labels and title prefix are localized; GitHub keeps+ /// the English title value supplied by <see cref="ReportLinks"/>.</summary>+ string Preview((string id, string value)[] fields, bool feature) => string.Join("\n", fields.Select(f =>+ $"{(text == null ? f.id : text["feedback.preview." + f.id])}: "+ + (f.id == "title" && text != null ? text[feature ? "feedback.preview.feature_title" : "feedback.preview.bug_title"] : f.value)));public void Dispose(){diff --git a/unity/Assets/Scripts/UI/OpeningContent.cs b/unity/Assets/Scripts/UI/OpeningContent.csindex 6721a0bdf..3e3da5451 100644--- a/unity/Assets/Scripts/UI/OpeningContent.cs+++ b/unity/Assets/Scripts/UI/OpeningContent.cs@@ -46,6 +46,15 @@ namespace Statecraft.Game.UIpublic string Artist { get; set; } = "";public string Credit { get; set; } = "";public string Alt { get; set; } = "";+ public string AltHe { get; set; } = "";+ // The setter records even an explicit YAML null, which must differ from an omitted post-review marker.+ string? altHeReview;+ public string? AltHeReview+ {+ get => altHeReview;+ set { altHeReview = value; AltHeReviewPresent = true; }+ }+ [YamlIgnore] public bool AltHeReviewPresent { get; private set; }public List<double> Crop { get; set; } = new List<double>();public bool Sensitive { get; set; }public bool SensitivityReviewed { get; set; }@@ -60,6 +69,15 @@ namespace Statecraft.Game.UIpublic string File { get; set; } = "";public string Shot { get; set; } = "";public string Alt { get; set; } = "";+ public string AltHe { get; set; } = "";+ // The setter records even an explicit YAML null, which must differ from an omitted post-review marker.+ string? altHeReview;+ public string? AltHeReview+ {+ get => altHeReview;+ set { altHeReview = value; AltHeReviewPresent = true; }+ }+ [YamlIgnore] public bool AltHeReviewPresent { get; private set; }public bool AiGenerated { get; set; }public bool Sensitive { get; set; }public bool SensitivityReviewed { get; set; }@@ -144,9 +162,13 @@ namespace Statecraft.Game.UI+ HePending + " or " + HeApproved);}foreach (var p in doc.Panels)+ {if (p.Image.File != "opening_" + p.Id + ".jpg" || string.IsNullOrWhiteSpace(p.Image.Credit)|| string.IsNullOrWhiteSpace(p.Image.Alt))throw new InvalidOperationException(SourcePath + ": photograph or credit missing for " + p.Id);+ if (AltHebrewProblem(p.Image.AltHe, p.Image.AltHeReview, p.Image.AltHeReviewPresent) is string problem)+ throw new InvalidOperationException(SourcePath + ": " + p.Id + "'s photograph: " + problem);+ }foreach (var p in doc.Panels.Where(p => p.Clip != null))if (ClipProblem(p) is string problem) throw new InvalidOperationException(SourcePath + ": " + p.Id + "'s clip: " + problem);foreach (var p in doc.Panels.Where(p => p.Caption != null))@@ -171,12 +193,20 @@ namespace Statecraft.Game.UIif (string.IsNullOrWhiteSpace(clip.Shot)) return "shot missing";if (clip.Alt == null || !clip.Alt.StartsWith("Illustration: ", StringComparison.Ordinal) || clip.Alt.Length < 30)return "alt text must start 'Illustration: ' and say what it shows";+ if (AltHebrewProblem(clip.AltHe, clip.AltHeReview, clip.AltHeReviewPresent) is string altProblem) return altProblem;if (!clip.AiGenerated) return "ai_generated must be true";if (p.Image.Sensitive && !clip.Sensitive) return "the photograph is sensitive, so its clip must be sensitive: true";if (clip.SensitivityReviewed && !clip.Sensitive) return "sensitivity_reviewed without sensitive";return null;}+ static string? AltHebrewProblem(string? altHe, string? review, bool reviewPresent)+ {+ if (reviewPresent && string.IsNullOrWhiteSpace(altHe)) return "alt_he_review requires alt_he";+ if (reviewPresent && review != "agent-checked") return "alt_he_review must be agent-checked";+ return null;+ }+public Document Read(){if (source == null) throw new InvalidOperationException(SourcePath + ": source is not assigned");diff --git a/unity/Assets/Scripts/UI/OpeningPresenter.cs b/unity/Assets/Scripts/UI/OpeningPresenter.csindex 2f1fdc4ce..6d04fac87 100644--- a/unity/Assets/Scripts/UI/OpeningPresenter.cs+++ b/unity/Assets/Scripts/UI/OpeningPresenter.cs@@ -118,12 +118,12 @@ namespace Statecraft.Game.UIscroll.scrollOffset = Vector2.zero;}- /// <summary>The shown panel's photograph, its English credit line and its alt text as the tooltip.</summary>+ /// <summary>The shown panel's photograph, its English credit line and its localized alt text as the tooltip.</summary>void ShowPhoto(){var panel = data.Panels[Index];photo.style.backgroundImage = new StyleBackground(catalog.photos[Index]);- photo.tooltip = panel.Image.Alt;+ photo.tooltip = LocalAlt(panel.Image.Alt, panel.Image.AltHe);SetCredit(panel.Image.Credit, english: true);caption.text = ""; caption.style.display = DisplayStyle.None;}@@ -147,7 +147,7 @@ namespace Statecraft.Game.UIvar panel = data.Panels[Index];if (panel.Clip == null || failed.Contains(panel.Id)) return;SetCredit(text["event.ai_label"], english: false);- photo.tooltip = panel.Clip.Alt;+ photo.tooltip = LocalAlt(panel.Clip.Alt, panel.Clip.AltHe);// The panel's caption line under the clip, as the outcome clips have theirs under the picture: in Hebrew once// a native speaker has read it, else in English.if (panel.Caption is OpeningContent.Caption line) // Parse requires one with every clip@@ -165,6 +165,9 @@ namespace Statecraft.Game.UI});}+ string LocalAlt(string english, string? hebrewAlt) =>+ hebrew && !string.IsNullOrWhiteSpace(hebrewAlt) ? hebrewAlt! : english;+/// <summary>Stops the clip, or its pending start; the caller puts the photograph back.</summary>void StopClip(){diff --git a/unity/Assets/Scripts/UI/OutcomePresenter.cs b/unity/Assets/Scripts/UI/OutcomePresenter.csindex f83a8c503..ec6e02fd4 100644--- a/unity/Assets/Scripts/UI/OutcomePresenter.cs+++ b/unity/Assets/Scripts/UI/OutcomePresenter.cs@@ -149,7 +149,8 @@ namespace Statecraft.Game.UIShowing = row;UnityEngine.Debug.Log("OUTCOME showing " + row.Event);caption.text = order;- media.tooltip = row.Alt;+ media.tooltip = text["ui.lang"] == UiLanguage.Hebrew && !string.IsNullOrWhiteSpace(row.AltHe)+ ? row.AltHe : row.Alt;media.style.backgroundImage = StyleKeyword.None;hudRoot.AddToClassList(OpenClass);ScreenNav.DisableCovered(hudRoot);diff --git a/unity/Assets/Tests/EditMode/BuildGateTests.cs b/unity/Assets/Tests/EditMode/BuildGateTests.csindex e3a08e06c..800afdf15 100644--- a/unity/Assets/Tests/EditMode/BuildGateTests.cs+++ b/unity/Assets/Tests/EditMode/BuildGateTests.cs@@ -357,6 +357,23 @@ public class BuildGateTestsfinally { UnityEngine.Object.DestroyImmediate(photos); }}+ [Test]+ public void TheGateRefusesAStaleHebrewAltInTheCatalog()+ {+ var photos = ShippedPhotos();+ try+ {+ var j = photos.entries.FindIndex(e => e.eventId == "maabarot_policy");+ Assert.GreaterOrEqual(j, 0, "fixture photograph");+ var entry = photos.entries[j]; entry.altHe += " ישן"; photos.entries[j] = entry;+ var refusal = (string?)Gate.Invoke(null, new object?[] { Shareable, ReviewedContent(), photos, true, Mapping, null, ReviewedSettlementControlStrings() });+ Assert.IsNotNull(refusal);+ StringAssert.Contains("does not match", refusal);+ StringAssert.Contains("maabarot_policy", refusal);+ }+ finally { UnityEngine.Object.DestroyImmediate(photos); }+ }+/// <summary>Review I1: every build writes event-photos.json beside its output, which tools/package_release.py reads/// (the pictures are packed into the data files, where the packager cannot see them).</summary>[Test]diff --git a/unity/Assets/Tests/EditMode/EventCardTests.cs b/unity/Assets/Tests/EditMode/EventCardTests.csindex d4e5efebb..347532981 100644--- a/unity/Assets/Tests/EditMode/EventCardTests.cs+++ b/unity/Assets/Tests/EditMode/EventCardTests.cs@@ -274,6 +274,32 @@ public class EventCardTestsAssert.AreEqual("Prime Minister: David Ben-Gurion", ui.Q<Label>("event-office").text, "the minister is still named");}+ [Test]+ public void APhotographUsesHebrewAltWithEnglishFallback()+ {+ var real = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(PhotosPath);+ var photos = Object.Instantiate(real);+ try+ {+ using (var ui = new UiTestKit())+ {+ var card = new EventCardPresenter(ui.Root, AtArmistice(), He, null, photos);+ var entry = photos.Find("armistice_egypt")!.Value;+ Assert.AreEqual(entry.altHe, ui.Q<VisualElement>("event-photo").tooltip);+ card.Dispose();+ }+ int at = photos.entries.FindIndex(e => e.eventId == "armistice_egypt");+ var blank = photos.entries[at]; blank.altHe = ""; photos.entries[at] = blank;+ using (var ui = new UiTestKit())+ {+ var card = new EventCardPresenter(ui.Root, AtArmistice(), He, null, photos);+ Assert.AreEqual(blank.alt, ui.Q<VisualElement>("event-photo").tooltip);+ card.Dispose();+ }+ }+ finally { Object.DestroyImmediate(photos); }+ }+[Test]public void AnEventWithoutAPhotographFallsBackToTheMinistersPortrait(){diff --git a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs b/unity/Assets/Tests/EditMode/EventImageMappingTests.csindex 9df0cd811..fe6597f93 100644--- a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs+++ b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs@@ -64,12 +64,38 @@ public class EventImageMappingTestsBad(r => r.Credit = "Meitar Collection · CC BY 4.0 · graded and cropped", "does not name the artist");Bad(r => r.Credit = "Benno Rothenberg · graded and cropped", "does not name the licence");Bad(r => r.Alt = "", "alt text");+ var cleared = Good(); cleared.AltHe = "תיאור בעברית";+ CollectionAssert.IsEmpty(EventImageMapping.Problems(new[] { cleared }, C), "a reviewed Hebrew alt keeps no marker");+ Bad(r => r.AltHeReview = "agent-checked", "requires alt_he");+ Bad(r => { r.AltHe = "תיאור בעברית"; r.AltHeReview = "pending"; }, "must be agent-checked");+ Bad(r => { r.AltHe = "תיאור בעברית"; r.AltHeReview = " "; }, "must be agent-checked");Bad(r => r.Event = "no_such_event", "no such event");Bad(r => { r.Event = "altalena"; r.File = "altalena.jpg"; }, "must be sensitive: true"); // tagged war-casualtiesvar twice = EventImageMapping.Problems(new[] { Good(), Good() }, C);Assert.IsTrue(twice.Any(p => p.Contains("more than one row")));}+ [Test]+ public void ParseEnforcesTheHebrewReviewLifecycle()+ {+ const string cleared = "images:\n - event: example\n alt_he: תיאור בעברית\n";+ Assert.DoesNotThrow(() => EventImageMapping.Parse(cleared));+ Assert.Throws<InvalidOperationException>(() => EventImageMapping.Parse(+ "images:\n - event: example\n alt_he_review: agent-checked\n"));+ Assert.Throws<InvalidOperationException>(() => EventImageMapping.Parse(+ "images:\n - event: example\n alt_he: תיאור בעברית\n alt_he_review: pending\n"));+ }++ [TestCase("")]+ [TestCase("\"\"")]+ [TestCase("' '")]+ public void ParseRefusesAPresentBlankHebrewReview(string blank)+ {+ var error = Assert.Throws<InvalidOperationException>(() => EventImageMapping.Parse(+ "images:\n - event: example\n alt_he: תיאור בעברית\n alt_he_review: " + blank + "\n"));+ StringAssert.Contains("alt_he_review must be agent-checked", error!.Message);+ }+/// <summary>The pictures live outside content/ and nothing in content/ names them, so the content hash, the goldens and/// save compatibility cannot change with them (the goldens and SaveGameTests run unchanged in the same suite).</summary>[Test]@@ -117,6 +143,9 @@ public class EventImageMappingTestsAssert.AreEqual(r.Event, e.eventId);Assert.AreEqual($"{EventImageMapping.Folder}/{r.File}", AssetDatabase.GetAssetPath(e.image), r.Event);Assert.AreEqual(r.Alt, e.alt, r.Event);+ Assert.IsNotEmpty(r.AltHe, r.Event + ": shipped Hebrew alt");+ Assert.AreEqual("agent-checked", r.AltHeReview, r.Event);+ Assert.AreEqual(r.AltHe, e.altHe, r.Event);Assert.AreEqual(r.Credit, e.credit, r.Event);Assert.AreEqual(r.Sensitive, e.sensitive, r.Event);Assert.AreEqual(r.SensitivityReviewed, e.sensitivityReviewed, r.Event);diff --git a/unity/Assets/Tests/EditMode/EventVideoTests.cs b/unity/Assets/Tests/EditMode/EventVideoTests.csindex 9ca100dd3..e83c425fd 100644--- a/unity/Assets/Tests/EditMode/EventVideoTests.cs+++ b/unity/Assets/Tests/EditMode/EventVideoTests.cs@@ -43,6 +43,7 @@ public class EventVideoTests{var rows = Rows;Assert.GreaterOrEqual(rows.Count, 10, "about 12 events have a clip");+ Assert.IsTrue(rows.All(r => !string.IsNullOrWhiteSpace(r.AltHe) && r.AltHeReview == "agent-checked"), "every shipped clip has agent-checked Hebrew alt text");var problems = EventVideoMapping.Problems(rows, C, id => Photos.Find(id) != null, f => File.Exists(Path.Combine(EventVideoMapping.ClipFolder, f)));Assert.IsEmpty(problems, string.Join("\n", problems));Assert.IsNotEmpty(EventVideoMapping.Load(), "the game finds the mapping in Resources");@@ -82,6 +83,34 @@ public class EventVideoTestsAssert.IsTrue(problems.Any(p => p.Contains("no archival photograph")), "no photograph");Assert.IsTrue(problems.Any(p => p.Contains("ai_generated must be true")), "not marked AI");Assert.IsTrue(problems.Any(p => p.Contains("alt text")), "no proper alt text");+ var blankReview = Rows.First(r => r.Event == "law_of_return");+ blankReview.AltHeReview = "";+ problems = EventVideoMapping.Problems(new[] { blankReview }, C, _ => true, _ => true);+ Assert.IsTrue(problems.Any(p => p.Contains("alt_he_review must be agent-checked")), "a present blank marker is invalid; remove the key after review");+ }++ [Test]+ public void ParseEnforcesTheHebrewReviewLifecycleForBothLists()+ {+ const string cleared = "clips:\n - event: example\n alt_he: תיאור בעברית\n";+ Assert.DoesNotThrow(() => EventVideoMapping.Parse(cleared));+ Assert.Throws<InvalidOperationException>(() => EventVideoMapping.Parse(+ "clips:\n - event: example\n alt_he_review: agent-checked\n"));+ Assert.Throws<InvalidOperationException>(() => EventVideoMapping.ParseOutcomes(+ "outcomes:\n - event: example\n alt_he: תיאור בעברית\n alt_he_review: pending\n"));+ }++ [TestCase("")]+ [TestCase("\"\"")]+ [TestCase("' '")]+ public void BothParsePathsRefuseAPresentBlankHebrewReview(string blank)+ {+ var clipError = Assert.Throws<InvalidOperationException>(() => EventVideoMapping.Parse(+ "clips:\n - event: example\n alt_he: תיאור בעברית\n alt_he_review: " + blank + "\n"));+ StringAssert.Contains("alt_he_review must be agent-checked", clipError!.Message);+ var outcomeError = Assert.Throws<InvalidOperationException>(() => EventVideoMapping.ParseOutcomes(+ "outcomes:\n - event: example\n alt_he: תיאור בעברית\n alt_he_review: " + blank + "\n"));+ StringAssert.Contains("alt_he_review must be agent-checked", outcomeError!.Message);}[Test]@@ -100,8 +129,9 @@ public class EventVideoTests{public readonly VisualElement Root; public readonly EventCardPresenter Card; public readonly CardVideo? Video;readonly GameObject go; readonly PanelSettings ps; readonly RenderTexture rt;- public Rig(string eventId, Func<string, EventVideoMapping.Row?>? clipFor, bool video = true)+ public Rig(string eventId, Func<string, EventVideoMapping.Row?>? clipFor, bool video = true, UiText? text = null){+ var t = text ?? Text;rt = new RenderTexture(1920, 1080, 0);ps = UnityEngine.Object.Instantiate(AssetDatabase.LoadAssetAtPath<PanelSettings>(UiPaths.Panel)); ps.targetTexture = rt;go = new GameObject("VideoCardTest"); go.SetActive(false);@@ -112,7 +142,7 @@ public class EventVideoTestsg.State.Date = C.Events.First(e => e.Id == eventId).From;g.State.PendingEvents.Clear(); g.State.PendingEvents.Add(eventId);Video = video ? new CardVideo() : null;- Card = new EventCardPresenter(Root, new SimBridge(g, Text), Text, null, Photos, Video, clipFor);+ Card = new EventCardPresenter(Root, new SimBridge(g, t), t, null, Photos, Video, clipFor);}public Button Switch => Root.Q<Button>("event-illustration");public Label Credit => Root.Q<Label>("event-photo-credit");@@ -165,6 +195,25 @@ public class EventVideoTests}}+ [UnityTest]+ public IEnumerator InHebrewTheIllustrationUsesHebrewAltAndFallsBackToEnglish()+ {+ LogAssert.ignoreFailingMessages = true;+ var he = UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.StringsHebrew).text, "strings.he.yaml");+ var row = Rows.First(x => x.Event == "law_of_return");+ using (var r = new Rig("law_of_return", From(Rows), text: he))+ {+ yield return Frames(4); Press(r.Switch); yield return Frames(2);+ Assert.AreEqual(row.AltHe, r.Root.Q("event-photo").tooltip);+ }+ var fallback = new EventVideoMapping.Row { Event = row.Event, File = row.File, Alt = row.Alt, AltHe = "" };+ using (var r = new Rig("law_of_return", _ => fallback, text: he))+ {+ yield return Frames(4); Press(r.Switch); yield return Frames(2);+ Assert.AreEqual(row.Alt, r.Root.Q("event-photo").tooltip);+ }+ }+/// <summary>The fallback, driven through CardVideo's own failure path (what errorReceived and the 8 s timeout call;/// the edit-mode VideoPlayer's own timing is not what is under test: the WebGL check renames a clip away and sees/// "VIDEO failed" and the photograph stay).</summary>diff --git a/unity/Assets/Tests/EditMode/OpeningClipTests.cs b/unity/Assets/Tests/EditMode/OpeningClipTests.csindex fcb28dff5..76e44983d 100644--- a/unity/Assets/Tests/EditMode/OpeningClipTests.cs+++ b/unity/Assets/Tests/EditMode/OpeningClipTests.cs@@ -195,8 +195,10 @@ public class OpeningClipTests{using var r = new Rig("he");r.Opening.Show(replay: false);+ Assert.AreEqual(r.Data.Panels[0].Image.AltHe, r.Photo.tooltip);Assert.AreEqual(LanguageDirection.LTR, r.Credit.languageDirection, "the photograph's English credit");r.Opening.HoldElapsed();+ Assert.AreEqual(r.Data.Panels[0].Clip!.AltHe, r.Photo.tooltip);Assert.AreEqual(Text("he")["event.ai_label"], r.Credit.text);Assert.AreEqual("איור שנוצר בבינה מלאכותית", r.Credit.text);Assert.AreEqual(LanguageDirection.RTL, r.Credit.languageDirection, "the Hebrew label reads right to left");@@ -219,6 +221,18 @@ public class OpeningClipTestsAssert.AreEqual(LanguageDirection.RTL, r.Caption.languageDirection);}+ [Test]+ public void HebrewMediaAltFallsBackToEnglishWhenMissing()+ {+ using var r = new Rig("he");+ r.Data.Panels[0].Image.AltHe = "";+ r.Data.Panels[0].Clip!.AltHe = "";+ r.Opening.Show(replay: false);+ Assert.AreEqual(r.Data.Panels[0].Image.Alt, r.Photo.tooltip);+ r.Opening.HoldElapsed();+ Assert.AreEqual(r.Data.Panels[0].Clip!.Alt, r.Photo.tooltip);+ }+[TestCase("file: law_of_return.mp4", "file: ../law_of_return.mp4", TestName = "ClipFileMustBeABareMp4Name")][TestCase("file: law_of_return.mp4", "file: law_of_return.webm", TestName = "ClipFileMustBeAnMp4")][TestCase("shot: K04a", "shot: \"\"", TestName = "ClipNeedsItsShot")]@@ -232,6 +246,8 @@ public class OpeningClipTests[TestCase(" he_review: approved\n image:\n file: opening_europe.jpg", " he_review: yes\n image:\n file: opening_europe.jpg",TestName = "ACaptionHeReviewIsPendingOrApproved")][TestCase("alt: \"Illustration: an immigrant ship", "alt: \"An immigrant ship", TestName = "ClipAltMustStartIllustration")]+ [TestCase(" alt_he_review: agent-checked\n ai_generated: true", " alt_he_review: pending\n ai_generated: true", TestName = "ClipAltHeReviewMustBeAgentChecked")]+ [TestCase(" alt_he: \"עצירים יהודים עם צרורותיהם וארגזיהם לפני צריפי מחנה מעצר בקפריסין, פברואר 1949.\"\n", "", TestName = "PhotoAltHeReviewNeedsItsAlt")][TestCase(" shot: K04a\n", " shot: K04a\n colour: sepia\n", TestName = "ClipUnknownFieldFailsClosed")]public void AMalformedClipRowFailsTheLoad(string from, string to){@@ -240,4 +256,33 @@ public class OpeningClipTestsAssert.DoesNotThrow(() => OpeningContent.Parse(yaml));Assert.Throws<InvalidOperationException>(() => OpeningContent.Parse(yaml.Replace(from, to)));}++ [Test]+ public void AReviewedMediaAltLoadsWithoutTheAgentMarker()+ {+ var yaml = Asset.source.text;+ Assert.DoesNotThrow(() => OpeningContent.Parse(yaml.Replace(" alt_he_review: agent-checked\n", "")));+ }++ [TestCase("")]+ [TestCase("\"\"")]+ [TestCase("' '")]+ public void PresentBlankClipAltReviewFailsTheLoad(string blank)+ {+ var yaml = Asset.source.text;+ Assert.Throws<InvalidOperationException>(() => OpeningContent.Parse(yaml.Replace(+ " alt_he_review: agent-checked\n ai_generated: true",+ " alt_he_review: " + blank + "\n ai_generated: true")), "clip");+ }++ [TestCase("")]+ [TestCase("\"\"")]+ [TestCase("' '")]+ public void PresentBlankPhotographAltReviewFailsTheLoad(string blank)+ {+ var yaml = Asset.source.text;+ Assert.Throws<InvalidOperationException>(() => OpeningContent.Parse(yaml.Replace(+ " alt_he_review: agent-checked\n crop:",+ " alt_he_review: " + blank + "\n crop:")), "photograph");+ }}diff --git a/unity/Assets/Tests/EditMode/OutcomeClipTests.cs b/unity/Assets/Tests/EditMode/OutcomeClipTests.csindex a2a728c49..d3627075c 100644--- a/unity/Assets/Tests/EditMode/OutcomeClipTests.cs+++ b/unity/Assets/Tests/EditMode/OutcomeClipTests.cs@@ -38,6 +38,7 @@ public class OutcomeClipTestsrows.Select(r => r.Event), "the three of 2026-10-14, the four the owner approved on 2026-10-20 (#1102) and absorb_immigrants (owner, 2026-10-24: \"Add v8, 6 s\")");var problems = EventVideoMapping.OutcomeProblems(rows, C, f => File.Exists(Path.Combine(EventVideoMapping.ClipFolder, f)));Assert.IsEmpty(problems, string.Join("\n", problems));+ Assert.IsTrue(rows.All(r => !string.IsNullOrWhiteSpace(r.AltHe) && r.AltHeReview == "agent-checked"), "every shipped outcome has agent-checked Hebrew alt text");Assert.AreEqual(8, EventVideoMapping.LoadOutcomes().Count, "the game finds them in Resources");}@@ -63,7 +64,8 @@ public class OutcomeClipTestspublic int Closed;readonly GameObject go; readonly PanelSettings ps; readonly RenderTexture rt; readonly List<IDisposable> owned = new List<IDisposable>();- public Rig(string[] events, Func<GameSession, IReadOnlyList<Command>, StepResult>? step = null, UiText? text = null, Content? content = null)+ public Rig(string[] events, Func<GameSession, IReadOnlyList<Command>, StepResult>? step = null, UiText? text = null,+ Content? content = null, IReadOnlyList<EventVideoMapping.Row>? outcomes = null){var t = text ?? Text; var c = content ?? C;rt = new RenderTexture(1920, 1080, 0);@@ -86,7 +88,7 @@ public class OutcomeClipTestsowned.Add(new HudPresenter(Root, Bridge, t));Nav = new ScreenNav(Root); owned.Add(Nav);Card = new EventCardPresenter(Root, Bridge, t, null, null, CardPlayer, _ => null); owned.Add(Card);- Outcomes = new OutcomePresenter(Root, Bridge, t, OutcomePlayer, EventVideoMapping.ParseOutcomes(Yaml), () => Closed++, () => Nav.Close());+ Outcomes = new OutcomePresenter(Root, Bridge, t, OutcomePlayer, outcomes ?? EventVideoMapping.ParseOutcomes(Yaml), () => Closed++, () => Nav.Close());owned.Add(Outcomes);owned.Add(CardPlayer); owned.Add(OutcomePlayer);}@@ -139,6 +141,7 @@ public class OutcomeClipTestsr.Order("maabarot_policy", "maabarot");r.Bridge.EndTurn();Assert.AreEqual(he.Format("outcome.order", option.TextHe), r.Outcomes.Caption);+ Assert.AreEqual(r.Outcomes.Showing!.AltHe, r.Root.Q("outcome-media").tooltip);StringAssert.DoesNotContain(option.Text, r.Outcomes.Caption, "no English in the Hebrew caption");}var c = ContentLoader.Load(Paths.Content);@@ -151,6 +154,18 @@ public class OutcomeClipTests}}+ [Test]+ public void InHebrewABlankOutcomeMediaAltFallsBackToEnglish()+ {+ LogAssert.ignoreFailingMessages = true;+ var source = EventVideoMapping.ParseOutcomes(Yaml).First(r => r.Event == "maabarot_policy");+ source.AltHe = " ";+ using var r = new Rig(new[] { source.Event }, text: He, outcomes: new[] { source });+ r.Order(source.Event, source.Option);+ r.Bridge.EndTurn();+ Assert.AreEqual(source.Alt, r.Root.Q("outcome-media").tooltip);+ }+/// <summary>Scenario A of the review: a screen is open at End Turn. The clip closes it and is drawn over the screens/// (it comes after them in the tree). Scenario B: something changes under it (bridge.Changed); the card re-renders,/// but it has its own player, so the outcome clip plays on.</summary>diff --git a/unity/Assets/Tests/EditMode/SettingsScreenTests.cs b/unity/Assets/Tests/EditMode/SettingsScreenTests.csindex b335cd4f7..0b09bc81d 100644--- a/unity/Assets/Tests/EditMode/SettingsScreenTests.cs+++ b/unity/Assets/Tests/EditMode/SettingsScreenTests.cs@@ -520,8 +520,11 @@ public class SettingsScreenTestsAssert.IsEmpty(opened, "nothing opens before a choice");Assert.IsFalse(ui.Q<VisualElement>("screen-settings").enabledSelf, "the screen under the panel is out of Tab's reach");var env = ReportLinks.Environment();- Assert.AreEqual($"title: {ReportLinks.BugTitle}\nversion: 0.1.0 / content ab12\nenv: {env}", ui.Q<Label>("feedback-bug-preview").text);- Assert.AreEqual($"title: {ReportLinks.FeatureTitle}", ui.Q<Label>("feedback-feature-preview").text);+ var bugTitle = text["feedback.preview.bug_title"];+ var featureTitle = text["feedback.preview.feature_title"];+ Assert.AreEqual($"{text["feedback.preview.title"]}: {bugTitle}\n{text["feedback.preview.version"]}: 0.1.0 / content ab12\n{text["feedback.preview.env"]}: {env}",+ ui.Q<Label>("feedback-bug-preview").text);+ Assert.AreEqual($"{text["feedback.preview.title"]}: {featureTitle}", ui.Q<Label>("feedback-feature-preview").text);PressWithPointer(ui.Q<Button>("feedback-bug"));UiTestKit.Press(ui.Q<Button>("feedback-feature"));UiTestKit.Press(ui.Q<Button>("feedback-itch"));diff --git a/unity/Assets/UI/EventImages/event-images.yaml b/unity/Assets/UI/EventImages/event-images.yamlindex 67403a765..bc8bffcbd 100644--- a/unity/Assets/UI/EventImages/event-images.yaml+++ b/unity/Assets/UI/EventImages/event-images.yaml@@ -3,7 +3,8 @@# content hash and save compatibility, and this file must never move there.# Each row: the event id, the shipped file (in this folder), the Commons file page and original (with its SHA-1), the# licence (ALLOWED_LICENCES spelling), the artist, the credit line shown under the picture (for CC BY 4.0, the credit-# line the licensor asks for on Commons, plus the licence and the adaptation), the alt text, the crop (centre x, centre y+# line the licensor asks for on Commons, plus the licence and the adaptation), the English alt text and optional Hebrew+# alt_he beside alt_he_review: agent-checked (the UI falls back to English when the pair is absent), the crop (centre x, centre y# and width, as shares of the original; the height follows from the 16:9 media header; re-cropped from 9:4 on 2026-10-13) and the sensitivity flags.# sensitive: true rows may not ship in a -shareable build until sensitivity_reviewed: true (an OWNER step; Build.cs).# Owner ruling 2026-10-11 (summarised in docs/CONTENT_POLICY.md section 4): CC BY 4.0 event photos allowed with a@@ -25,6 +26,8 @@ images:artist: "Moshe Marlin Levin"credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Officers and a rabbi with a banner at the Jerusalem ceremony founding the Israel Defense Forces, June 1948."+ alt_he: "קצינים ורב עם כרזה בטקס ייסוד צבא ההגנה לישראל בירושלים, יוני 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.52, 0.94]sensitive: falsesensitivity_reviewed: false@@ -39,6 +42,8 @@ images:artist: "Moshe Marlin Levin"credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "A quiet, tree-lined street in Jerusalem during a pause in the fighting, 1948."+ alt_he: "רחוב שקט עטור עצים בירושלים בזמן הפוגה בלחימה, 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.55, 1.0]sensitive: falsesensitivity_reviewed: false@@ -53,6 +58,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "The Altalena off the Tel Aviv shore, seen from a seafront café shortly before the shelling, June 1948."+ alt_he: "אלטלנה מול חוף תל אביב, כפי שנראתה מבית קפה על שפת הים זמן קצר לפני ההפגזה, יוני 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.58, 1.0]sensitive: truesensitivity_reviewed: true@@ -67,6 +74,8 @@ images:artist: "Boris Carmi"credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Two soldiers keep watch from an armoured car among eucalyptus trees during the capture of Lydda airport, 10 July 1948."+ alt_he: "שני חיילים שומרים מתוך משוריין בין עצי אקליפטוס במהלך כיבוש שדה התעופה לוד, 10 ביולי 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.4, 1.0]sensitive: truesensitivity_reviewed: true@@ -81,6 +90,8 @@ images:artist: "Ben Merk / Anefo"credit: "Ben Merk / Anefo, Nationaal Archief (Anefo 934-6899) · CC0 · graded and cropped"alt: "Count Folke Bernadotte, the UN mediator, interviewed by a radio reporter at Schiphol airport, 17 July 1948."+ alt_he: "הרוזן פולקה ברנדוט, מתווך האו״ם, מתראיין לכתב רדיו בנמל התעופה סכיפהול, 17 ביולי 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.35, 1.0]sensitive: falsesensitivity_reviewed: false@@ -95,6 +106,8 @@ images:artist: "Moshe Marlin Levin"credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "One of Israel's first policemen directs traffic on Ussishkin Street, Jerusalem, June 1948."+ alt_he: "אחד מהשוטרים הראשונים של ישראל מכוון את התנועה ברחוב אוסישקין בירושלים, יוני 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.64, 1.0]sensitive: falsesensitivity_reviewed: false@@ -109,6 +122,8 @@ images:artist: "Boris Carmi"credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "A Palmach squad walks across the rocky slopes to the Israeli positions facing Latrun, 1948."+ alt_he: "כיתת פלמ״ח צועדת במדרונות הסלעיים אל העמדות הישראליות מול לטרון, 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.56, 1.0]sensitive: falsesensitivity_reviewed: false@@ -122,6 +137,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "UN and Israeli officials salute at Lydda airport as Count Bernadotte's coffin leaves for Sweden, September 1948."+ alt_he: "נציגי האו״ם וישראל מצדיעים בשדה התעופה לוד בעת שארונו של הרוזן ברנדוט יוצא לשוודיה, ספטמבר 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.45, 1.0]sensitive: truesensitivity_reviewed: true@@ -136,6 +153,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "IDF officers study a map on a jeep as forces move south before Operation Yoav, 13 October 1948."+ alt_he: "קציני צה״ל בוחנים מפה על ג׳יפ בעת שהכוחות נעים דרומה לפני מבצע יואב, 13 באוקטובר 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.48, 1.0]sensitive: truesensitivity_reviewed: true@@ -150,6 +169,8 @@ images:artist: "Boris Carmi"credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "A soldier sweeps a Galilee road for mines after Operation Hiram, 1948."+ alt_he: "חייל סורק דרך בגליל בחיפוש אחר מוקשים לאחר מבצע חירם, 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.44, 1.0]sensitive: truesensitivity_reviewed: true@@ -164,6 +185,8 @@ images:artist: "Willem van de Poll"credit: "Willem van de Poll, Nationaal Archief (Van de Poll 255-0327) · CC0 · graded and cropped"alt: "Tank traps and roadblocks on Shmuel HaNavi Street, on the line between Israeli- and Jordanian-held Jerusalem, 1948-49."+ alt_he: "מחסומי נ״ט ומחסומי דרכים ברחוב שמואל הנביא, בקו שבין חלקי ירושלים שבידי ישראל וירדן, 1948-49."+ alt_he_review: agent-checkedcrop: [0.5, 0.6, 1.0]sensitive: falsesensitivity_reviewed: false@@ -178,6 +201,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "A column of IDF vehicles and a motorcyclist on a desert track in the Negev during Operation Horev, December 1948."+ alt_he: "שיירת כלי רכב של צה״ל ורוכב אופנוע בדרך מדברית בנגב במהלך מבצע חורב, דצמבר 1948."+ alt_he_review: agent-checkedcrop: [0.38, 0.6, 0.7]sensitive: truesensitivity_reviewed: true@@ -192,6 +217,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "A voter drops his envelope into the ballot box at a polling station on election day, 25 January 1949."+ alt_he: "בוחר משלשל את המעטפה לקלפי בתחנת הצבעה ביום הבחירות, 25 בינואר 1949."+ alt_he_review: agent-checkedcrop: [0.5, 0.48, 1.0]sensitive: falsesensitivity_reviewed: false@@ -205,6 +232,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "IDF and UN officers near the Faluja pocket during the siege of the Egyptian brigade, late 1948."+ alt_he: "קציני צה״ל והאו״ם ליד כיס פלוג׳ה במהלך המצור על החטיבה המצרית, סוף 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.5, 1.0]sensitive: falsesensitivity_reviewed: false@@ -219,6 +248,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Members of Israel's delegation beside a United Nations aircraft, leaving for armistice talks with Jordan, 1949."+ alt_he: "חברי המשלחת הישראלית לצד מטוס של האו״ם, בדרכם לשיחות שביתת הנשק עם ירדן, 1949."+ alt_he_review: agent-checkedcrop: [0.5, 0.45, 1.0]sensitive: falsesensitivity_reviewed: false@@ -233,6 +264,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "A clerk hands out the new government ration-coupon books, 1949."+ alt_he: "פקיד מחלק את פנקסי תלושי הקיצוב החדשים של הממשלה, 1949."+ alt_he_review: agent-checkedcrop: [0.5, 0.45, 1.0]sensitive: falsesensitivity_reviewed: false@@ -246,6 +279,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection / Israel State Archives · CC BY 4.0 · graded and cropped"alt: "Snow and slush at the Ras al-Ein (Rosh HaAyin) immigrant camp, winter 1950."+ alt_he: "שלג ובוץ במחנה העולים ראס אל-עין (ראש העין), חורף 1950."+ alt_he_review: agent-checkedcrop: [0.5, 0.52, 1.0]sensitive: falsesensitivity_reviewed: false@@ -259,6 +294,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Immigrant women and children inside a large tent at a ma'abara on the road to Jerusalem, 1950."+ alt_he: "נשים וילדים עולים בתוך אוהל גדול במעברה בדרך לירושלים, 1950."+ alt_he_review: agent-checkedcrop: [0.5, 0.55, 1.0]sensitive: falsesensitivity_reviewed: false@@ -272,6 +309,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "The Knesset building, Beit Froumine on King George Street, Jerusalem, 1950."+ alt_he: "בניין הכנסת, בית פרומין ברחוב המלך ג׳ורג׳ בירושלים, 1950."+ alt_he_review: agent-checkedcrop: [0.5, 0.55, 1.0]sensitive: falsesensitivity_reviewed: false@@ -285,6 +324,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Shops on Nahalat Binyamin Street, Tel Aviv, shut in protest after the government decided to ration clothing, 1950."+ alt_he: "חנויות ברחוב נחלת בנימין בתל אביב סגורות במחאה לאחר שהממשלה החליטה לקצב ביגוד, 1950."+ alt_he_review: agent-checkedcrop: [0.5, 0.62, 1.0]sensitive: falsesensitivity_reviewed: false@@ -298,6 +339,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Customers at the counter of a Tel Aviv grocery with bare shelves under austerity, 1950."+ alt_he: "לקוחות ליד הדלפק במכולת בתל אביב שמדפיה ריקים בתקופת הצנע, 1950."+ alt_he_review: agent-checkedcrop: [0.5, 0.5, 1.0]sensitive: falsesensitivity_reviewed: false@@ -312,6 +355,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Timber shuttering and earthworks for the dams that drained Lake Hula, 1951."+ alt_he: "טפסות עץ ועבודות עפר לסכרים שניקזו את אגם החולה, 1951."+ alt_he_review: agent-checkedcrop: [0.5, 0.42, 1.0]sensitive: falsesensitivity_reviewed: false@@ -325,6 +370,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Children newly arrived from Iraq at a reception table with bread, oranges and mugs, 1951."+ alt_he: "ילדים שזה עתה הגיעו מעיראק ליד שולחן קבלה ועליו לחם, תפוזים וספלים, 1951."+ alt_he_review: agent-checkedcrop: [0.5, 0.55, 1.0]sensitive: falsesensitivity_reviewed: false@@ -338,6 +385,8 @@ images:artist: "Abbie Rowe"credit: "Abbie Rowe, National Park Service / U.S. National Archives (NARA 200318) · public domain · graded and cropped"alt: "David Ben-Gurion and Abba Eban present a menorah to President Harry Truman in the Oval Office, May 1951."+ alt_he: "דוד בן-גוריון ואבא אבן מעניקים מנורה לנשיא הארי טרומן בחדר הסגלגל, מאי 1951."+ alt_he_review: agent-checkedcrop: [0.5, 0.58, 1.0]sensitive: falsesensitivity_reviewed: false@@ -352,6 +401,8 @@ images:artist: "Boris Carmi"credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Two men put up a barbed-wire fence on open ground in the first days of Kibbutz Mefalsim, June 1949."+ alt_he: "שני גברים מקימים גדר תיל בשטח פתוח בימיו הראשונים של קיבוץ מפלסים, יוני 1949."+ alt_he_review: agent-checkedcrop: [0.5, 0.53, 1.0]sensitive: falsesensitivity_reviewed: false@@ -366,6 +417,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "The opening of the Road of Valour, December 1948."+ alt_he: "פתיחת דרך הגבורה, דצמבר 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.5, 1.0]sensitive: truesensitivity_reviewed: true@@ -380,6 +433,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "New immigrants from Romania come down a ship's gangway at Haifa port, June 1951."+ alt_he: "עולים חדשים מרומניה יורדים בכבש אונייה בנמל חיפה, יוני 1951."+ alt_he_review: agent-checkedcrop: [0.5, 0.5, 1.0]sensitive: falsesensitivity_reviewed: false@@ -394,6 +449,8 @@ images:artist: "Moshe Marlin Levin"credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "A stopped tracked armoured carrier under the eucalyptus trees at Degania Alef; the archive's catalogue dates the slide to 20 May 1948."+ alt_he: "נגמ״ש זחלי עומד מתחת לעצי האקליפטוס בדגניה א׳; קטלוג הארכיון מתארך את השקופית ל־20 במאי 1948."+ alt_he_review: agent-checkedcrop: [0.5, 0.5, 1.0]sensitive: truesensitivity_reviewed: true@@ -408,6 +465,8 @@ images:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Police set up barbed-wire barriers before a planned demonstration near the Knesset against the reparations talks, Jerusalem, January 1952."+ alt_he: "שוטרים מקימים מחסומי תיל לפני הפגנה מתוכננת ליד הכנסת נגד המשא ומתן על השילומים, ירושלים, ינואר 1952."+ alt_he_review: agent-checkedcrop: [0.5, 0.55, 1.0]sensitive: truesensitivity_reviewed: truediff --git a/unity/Assets/UI/Game.uxml b/unity/Assets/UI/Game.uxmlindex f57e7fd09..2683fe769 100644--- a/unity/Assets/UI/Game.uxml+++ b/unity/Assets/UI/Game.uxml@@ -703,7 +703,7 @@form opens with under its button; the game sends nothing itself. Before the toast, which stays readable. --><ui:VisualElement name="feedback-layer" class="feedback-layer"><ui:VisualElement name="feedback-panel" class="panel feedback-panel">- <ui:VisualElement class="screen-header"><ui:Label name="feedback-title" text="Report a bug or idea" class="title" /><ui:Label name="feedback-intro" text="The form opens with these lines filled in. Nothing is sent until you submit it on GitHub." class="muted feedback-intro" /></ui:VisualElement>+ <ui:VisualElement class="screen-header"><ui:Label name="feedback-title" text="Report a bug or idea" class="title" /><ui:Label name="feedback-intro" text="The preview shows the fields that will be filled in. The GitHub issue title stays in English. Nothing is sent until you submit it on GitHub." class="muted feedback-intro" /></ui:VisualElement><ui:Button name="feedback-bug" text="Report a bug" class="feedback-choice" /><ui:Label name="feedback-bug-preview" class="muted feedback-preview" /><ui:Button name="feedback-feature" text="Suggest a feature" class="feedback-choice" />diff --git a/unity/Assets/UI/Opening/opening.yaml b/unity/Assets/UI/Opening/opening.yamlindex d317c93fd..ceb0d6a93 100644--- a/unity/Assets/UI/Opening/opening.yaml+++ b/unity/Assets/UI/Opening/opening.yaml@@ -22,6 +22,8 @@# and nothing added. They come together or not at all, with he_review: pending until a native speaker who did not write# them has read them (then approved); a shareable build needs every panel and the closing approved. The photo credits# stay English (a credit line, as the event cards' credits).+# Each image and clip may likewise carry alt_he beside alt_he_review: agent-checked; the UI falls back to its English alt+# when that pair is absent. These descriptions remain queued for the native read in #564.# Native read: the owner read the four Hebrew texts (europe, arab_countries, yemen, closing) on 2 Nov 2026: "Approve all 4".# For the native reviewer (#564): names as the game already writes them: עיראק and מבצע עזרא ונחמיה# (content/events/iraqi_exodus.yaml, he.wiki), תימן (content/events/frumkin_commission.yaml), לוד@@ -55,6 +57,8 @@ panels:file: law_of_return.mp4shot: K04aalt: "Illustration: an immigrant ship crowded with passengers entering Haifa bay."+ alt_he: "המחשה: אוניית עולים עמוסה בנוסעים נכנסת למפרץ חיפה."+ alt_he_review: agent-checkedai_generated: truesensitive: true# The owner's sensitivity review of this clip in the opening: owner, 2 Nov 2026: "Approve both".@@ -76,6 +80,8 @@ panels:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Jewish detainees with their bundles and crates in front of the huts of a detention camp on Cyprus, February 1949."+ alt_he: "עצירים יהודים עם צרורותיהם וארגזיהם לפני צריפי מחנה מעצר בקפריסין, פברואר 1949."+ alt_he_review: agent-checkedcrop: [0.505, 0.56, 0.98]sensitive: true# The owner's sensitivity review: approved for use: https://github.com/eyalgolan/statecraft-israel/pull/1093#issuecomment-6338281251@@ -106,6 +112,8 @@ panels:file: iraqi_exodus.mp4shot: A07alt: "Illustration: an airliner on the apron at Lydda at dusk, families coming down the steps with suitcases."+ alt_he: "המחשה: מטוס נוסעים ברחבת שדה התעופה בלוד בשעת בין ערביים, ומשפחות יורדות במדרגות עם מזוודות."+ alt_he_review: agent-checkedai_generated: truesensitive: true# The owner's sensitivity review of this clip in the opening: owner, 2 Nov 2026: "Approve both".@@ -129,6 +137,8 @@ panels:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"alt: "Immigrants from Iraq carry blankets and bundles away from the plane that brought them to Lydda airport, April 1951."+ alt_he: "עולים מעיראק נושאים שמיכות וצרורות הרחק מהמטוס שהביא אותם לשדה התעופה לוד, אפריל 1951."+ alt_he_review: agent-checkedcrop: [0.495, 0.58, 0.99]sensitive: true# The owner's sensitivity review: approved for use: https://github.com/eyalgolan/statecraft-israel/pull/1093#issuecomment-6338281251@@ -159,6 +169,8 @@ panels:file: opening_yemen.mp4shot: O3alt: "Illustration: a parked silver four-engined propeller airliner on a sandy apron, families with bundles walking toward its stair."+ alt_he: "המחשה: מטוס נוסעים כסוף בעל ארבעה מנועי מדחף חונה ברחבה חולית, ומשפחות עם צרורות הולכות לעבר המדרגות שלו."+ alt_he_review: agent-checkedai_generated: truesensitive: true# The owner's sensitivity review of this clip in the opening: owner, 2 Nov 2026: "Approve it".@@ -181,6 +193,8 @@ panels:artist: "Benno Rothenberg"credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection / Israel State Archives · CC BY 4.0 · graded and cropped"alt: "Yemenite Jewish immigrants wait with their bundles in the shade of a four-engined plane at Aden airport, May 1950."+ alt_he: "עולים יהודים מתימן ממתינים עם צרורותיהם בצל מטוס בעל ארבעה מנועים בנמל התעופה עדן, מאי 1950."+ alt_he_review: agent-checkedcrop: [0.47, 0.6, 0.94]sensitive: true# The owner's sensitivity review: approved for use: https://github.com/eyalgolan/statecraft-israel/pull/1093#issuecomment-6338281251diff --git a/unity/Assets/UI/strings.en.yaml b/unity/Assets/UI/strings.en.yamlindex ae47c99d0..204f8e5cb 100644--- a/unity/Assets/UI/strings.en.yaml+++ b/unity/Assets/UI/strings.en.yaml@@ -199,10 +199,15 @@ settings.community: "Community"community.star: "Star on GitHub"# "Report a bug or idea" (#1169, FeedbackPresenter): the button beside Star, the panel's title, and its three choices.feedback.open: "Report a bug or idea"-feedback.intro: "The form opens with these lines filled in. Nothing is sent until you submit it on GitHub."+feedback.intro: "The preview shows the fields that will be filled in. The GitHub issue title stays in English. Nothing is sent until you submit it on GitHub."feedback.bug: "Report a bug"feedback.feature: "Suggest a feature"feedback.itch: "No GitHub account? Comment on itch"+feedback.preview.title: "title"+feedback.preview.version: "version"+feedback.preview.env: "env"+feedback.preview.bug_title: "Bug: "+feedback.preview.feature_title: "Idea: "# "Share" (#1170, SharePresenter): the button beside Star and on the turn report, the panel, and the post, which gets the# in-game date ({0}), the turn ({1}) and the itch URL ({2}).share.open: "Share"diff --git a/unity/Assets/UI/strings.he.yaml b/unity/Assets/UI/strings.he.yamlindex 4065180a2..76ec484e4 100644--- a/unity/Assets/UI/strings.he.yaml+++ b/unity/Assets/UI/strings.he.yaml@@ -229,10 +229,16 @@ community.star: "סימון בכוכב בגיטהאב"# Hebrew letters, as the static texts carry no Latin (HebrewUiTests). Approved by Beri, a native speaker, on #1179# (20 Oct 2026). For the native reviewer (#564).feedback.open: "דיווח על באג או רעיון"-feedback.intro: "הטופס נפתח עם השורות האלה כבר ממולאות. שום דבר לא נשלח לפני השליחה בגיטהאב."+feedback.intro: "התצוגה המקדימה מציגה את השדות שימולאו. כותרת הבעיה בגיטהאב נשארת באנגלית. שום דבר לא נשלח לפני השליחה בגיטהאב."feedback.bug: "דיווח על באג"feedback.feature: "הצעה לתכונה חדשה"feedback.itch: "אין חשבון בגיטהאב? תגובה בדף המשחק באיץ׳"+# Agent-drafted for #2630; native review pending under #564.+feedback.preview.title: "כותרת"+feedback.preview.version: "גרסה"+feedback.preview.env: "סביבה"+feedback.preview.bug_title: "באג: "+feedback.preview.feature_title: "רעיון: "# "Share" (#1170, SharePresenter): the button and the panel's title ("sharing a picture from the game"), the post, Share,# "downloading the picture", and the note ("these sites do not take a picture through a link: the downloaded picture is# to be attached to the post"). The post opens with a noun phrase ("running the State of Israel in 1948 in the game