Skip to content

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

Advisors: the Security and Public support encyclopedia pages are Hebrew-approved (Refs #564) (#2369)

Eyal Golana5ee731375dd
diff --git a/changelog.d/e21-advisor-pages-he.md b/changelog.d/e21-advisor-pages-he.md
new file mode 100644
index 000000000..f2f8c2df0
--- /dev/null
+++ b/changelog.d/e21-advisor-pages-he.md
@@ -0,0 +1,2 @@
+### Changed
+- The Security and Public support encyclopedia pages now show in Hebrew (Refs #564).
diff --git a/unity/Assets/Resources/Advisors/advisor-messages.yaml b/unity/Assets/Resources/Advisors/advisor-messages.yaml
index c3261146b..96084e74f 100644
--- a/unity/Assets/Resources/Advisors/advisor-messages.yaml
+++ b/unity/Assets/Resources/Advisors/advisor-messages.yaml
@@ -57,6 +57,7 @@ messages:
# changed the Hebrew of projects, standing_orders, combat and units_movement after those reads. The opening steps'
# Tell me more opens the page of what each step points at (plan Task 13). Security and Public support (#2223) are pending:
# agent-drafted Hebrew, not shown in Hebrew until a native read.
+# Then changed (3 Nov 2026): the owner read their Hebrew as a native speaker (HE batch 2): "approved", so both now show in Hebrew.
pages:
- { id: turns, advisor: ben_gurion, he_review: approved }
- { id: attention, advisor: ben_gurion, show_me: attention, he_review: approved }
@@ -76,8 +77,8 @@ pages:
- { id: cabinet, advisor: meyerson, show_me: nav_cabinet, he_review: approved }
- { id: food, advisor: meyerson, he_review: approved }
- { id: national_meters, advisor: meyerson, he_review: approved }
- - { id: security, advisor: meyerson, he_review: pending }
- - { id: public_support, advisor: meyerson, he_review: pending }
+ - { id: security, advisor: meyerson, he_review: approved }
+ - { id: public_support, advisor: meyerson, he_review: approved }
- { id: units_movement, advisor: dayan, show_me: unit_move, he_review: approved }
- { id: standing_orders, advisor: dayan, he_review: approved }
- { id: combat, advisor: dayan, show_me: nav_defence, he_review: approved }
diff --git a/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs b/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs
index 9887fb3f0..f18a0618c 100644
--- a/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs
+++ b/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs
@@ -21,6 +21,7 @@ public class EncyclopediaScreenTests
static UiText En => UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.Strings).text);
static UiText He => UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.StringsHebrew).text, "strings.he.yaml");
// A copy with every page approved, so the Hebrew checks also read the pages still pending (security and public_support, #2223).
+ // Then changed (3 Nov 2026): those two were approved (HE batch 2), so no shipped page is pending now.
static AdvisorCatalog Approved() => AdvisorCatalog.Parse(File.ReadAllText(AdvisorCatalog.Path).Replace("he_review: pending", "he_review: approved"));
[Test]
@@ -157,13 +158,15 @@ public class EncyclopediaScreenTests
/// <summary>On the SHIPPED catalogue (AdvisorCatalog.Load(), not Approved()), the Hebrew encyclopedia lists every
/// approved page: the nine that replace How to play, which Beri read as a native speaker on #2095 (1 Nov 2026), and the
/// other 16, which the owner read as a native speaker the same day ("all 16 pages look good"). Security and Public
- /// support (#2223) wait for their native read (OQ-4), so they are the only pages the Hebrew list leaves out.</summary>
+ /// support (#2223) wait for their native read (OQ-4), so they are the only pages the Hebrew list leaves out.
+ /// Then changed (3 Nov 2026): the owner read Security and Public support as a native speaker (HE batch 2: "approved"),
+ /// so no page is pending and the Hebrew list leaves none out.</summary>
[Test]
public void TheShippedHebrewEncyclopediaListsEveryApprovedPage()
{
var shipped = AdvisorCatalog.Load();
Assert.AreEqual(27, shipped.Pages.Count, "shipped pages");
- CollectionAssert.AreEquivalent(new[] { "security", "public_support" }, shipped.Pages.Where(p => !p.ApprovedIn(true)).Select(p => p.Id), "pending pages");
+ CollectionAssert.IsEmpty(shipped.Pages.Where(p => !p.ApprovedIn(true)).Select(p => p.Id), "pending pages");
using var ui = new UiTestKit();
using var nav = new ScreenNav(ui.Root);
using var pedia = new EncyclopediaPresenter(ui.Root, He, shipped, nav, null);
@@ -171,8 +174,8 @@ public class EncyclopediaScreenTests
var entries = ui.Q<ScrollView>("encyclopedia-list").contentContainer.Children().Select(c => c.name).ToList();
var missing = shipped.Pages.Where(p => p.ApprovedIn(true)).Select(p => p.Id).Where(p => !entries.Contains("encyclopedia-page-" + p)).ToList();
Assert.IsEmpty(missing, "pages missing from the shipped Hebrew list: " + string.Join(", ", missing));
- CollectionAssert.DoesNotContain(entries, "encyclopedia-page-security", "pending in Hebrew");
- CollectionAssert.DoesNotContain(entries, "encyclopedia-page-public_support", "pending in Hebrew");
+ CollectionAssert.Contains(entries, "encyclopedia-page-security", "approved in Hebrew on 3 Nov 2026");
+ CollectionAssert.Contains(entries, "encyclopedia-page-public_support", "approved in Hebrew on 3 Nov 2026");
}
/// <summary>Under gdd-0.3 a lost city alone does not end the game (R-END-003, #1668): the defeat page says so.</summary>