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.

GDD 0.3 ledger: English and Hebrew text for the ledger refusals and sent_home_arms_returned, and the workshop limit reads the records (Refs #3020) (#3074)

Eyal Golan03dbcd5ef8ee
diff --git a/changelog.d/e21-3020-ledger-text.md b/changelog.d/e21-3020-ledger-text.md
new file mode 100644
index 000000000..580ed08fc
--- /dev/null
+++ b/changelog.d/e21-3020-ledger-text.md
@@ -0,0 +1,5 @@
+- GDD 0.3 dark start, player text (Refs #3020): the nine refusals that only a Historical ledger game gives (Train,
+ Reinforce, Send home, workshop staffing, and the craftsmen and pioneer orders) now have English and Hebrew strings,
+ and the Why line for the Arms that Send home returns has its wording. The hex panel's workshop staffing limit reads
+ the people records on a ledger game (owner, 8 November 2026: "Fix in the UI PR (Recommended)"). The Hebrew is a
+ draft for the native reviewer (#564). No player can start a ledger game yet (#1725), so the game does not change.
diff --git a/docs/UX_GLOSSARY.md b/docs/UX_GLOSSARY.md
index 10e8d0df2..a8a1ee75c 100644
--- a/docs/UX_GLOSSARY.md
+++ b/docs/UX_GLOSSARY.md
@@ -66,6 +66,7 @@ Revision 21 October 2026, localisation follow-up: the Cabinet reads government a
| terrain | use-with-caution | terrain | open | Native reviewer |
| front-line-and-control | preferred | the labels the strings use: 'Held by Israel', 'Held by Arab forces', 'Contested', "No-man's land", 'Israeli side of the armistice line', 'Arab side of the armistice line', 'Demilitarized zone' | open | Eyal; historian review for new labels |
| city | pending-gdd | city | open | Eyal |
+| population-ledger | preferred | population ledger | מרשם האוכלוסין | Eyal |
## Conventions
@@ -1615,3 +1616,31 @@ Category: gdd-term. Scope: ui, docs.
**Decision owner.** Eyal.
**Pending GDD.** Further city design and terminology proposals remain owner-gated; the twelve-city content and city panel already exist.
+
+### population-ledger (preferred)
+
+Category: system. Scope: ui.
+
+**Definition.** The gdd-0.3 record of every person in a Historical game (#1689), which refusals name when an order needs people the ledger does not track yet.
+
+**English.** Preferred: population ledger.
+
+| In use | Where |
+|---|---|
+| who are not on the population ledger yet | strings.en.yaml workshop.refused_ledger_builders |
+| Craftsmen are not on the population ledger yet (#2476) | strings.en.yaml city.qualification_refused.ledger_craftsmen |
+| Craft training does not run on the population ledger yet (#2476) | strings.en.yaml unit.reinforce_refused.ledger_craftsman |
+
+**Hebrew.** Preferred: מרשם האוכלוסין.
+
+| In use | Where |
+|---|---|
+| אינם במרשם האוכלוסין | strings.he.yaml workshop.refused_ledger_builders, city.qualification_refused.ledger_craftsmen |
+| אינה פועלת במרשם האוכלוסין | strings.he.yaml unit.reinforce_refused.ledger_craftsman |
+
+**Recommendation (see status).**
+- English: Use 'population ledger' in player text; 'ledger' alone stays in code and comments.
+- Hebrew: Decided (owner, 10 November 2026, "Approve the term (Recommended)", relayed by the coordinator, #3020): מרשם האוכלוסין. The surrounding strings still go to the native reviewer (#564).
+- Reasons: (1) The term is new in the UI with #3020; no other string names the ledger.
+
+**Decision owner.** Eyal.
diff --git a/docs/UX_GLOSSARY.yaml b/docs/UX_GLOSSARY.yaml
index c3f7670e2..d18c9267a 100644
--- a/docs/UX_GLOSSARY.yaml
+++ b/docs/UX_GLOSSARY.yaml
@@ -1995,3 +1995,35 @@ concepts:
decision_owner: Eyal
pending_gdd: Further city design and terminology proposals remain owner-gated; the twelve-city content and city panel already
exist.
+- id: population-ledger
+ status: preferred
+ category: system
+ definition: The gdd-0.3 record of every person in a Historical game (#1689), which refusals name when an order needs people
+ the ledger does not track yet.
+ scope:
+ - ui
+ en:
+ preferred: population ledger
+ avoid: []
+ in_use:
+ - form: who are not on the population ledger yet
+ where: strings.en.yaml workshop.refused_ledger_builders
+ - form: Craftsmen are not on the population ledger yet (#2476)
+ where: strings.en.yaml city.qualification_refused.ledger_craftsmen
+ - form: Craft training does not run on the population ledger yet (#2476)
+ where: strings.en.yaml unit.reinforce_refused.ledger_craftsman
+ he:
+ preferred: מרשם האוכלוסין
+ avoid: []
+ in_use:
+ - form: אינם במרשם האוכלוסין
+ where: strings.he.yaml workshop.refused_ledger_builders, city.qualification_refused.ledger_craftsmen
+ - form: אינה פועלת במרשם האוכלוסין
+ where: strings.he.yaml unit.reinforce_refused.ledger_craftsman
+ recommendation:
+ en: Use 'population ledger' in player text; 'ledger' alone stays in code and comments.
+ he: 'Decided (owner, 10 November 2026, "Approve the term (Recommended)", relayed by the coordinator, #3020): מרשם האוכלוסין.
+ The surrounding strings still go to the native reviewer (#564).'
+ reasons:
+ - The term is new in the UI with #3020; no other string names the ledger.
+ decision_owner: Eyal
diff --git a/sim/Statecraft.Sim.Tests/LedgerArmsWorkshopTests.cs b/sim/Statecraft.Sim.Tests/LedgerArmsWorkshopTests.cs
index 844bd3736..c093b12e1 100644
--- a/sim/Statecraft.Sim.Tests/LedgerArmsWorkshopTests.cs
+++ b/sim/Statecraft.Sim.Tests/LedgerArmsWorkshopTests.cs
@@ -451,4 +451,76 @@ public class LedgerArmsWorkshopTests
Assert.Contains("integration is held", Assert.Throws<NotSupportedException>(call).Message);
Assert.Equal(before, s.Describe()); Assert.Equal(hash, s.Hash()); Assert.Empty(why);
}
+
+ // #3020 item 3, owner, 8 November 2026: "Fix in the UI PR (Recommended)" (#2966; #1725 issuecomment-6725822701). On a
+ // ledger game Workshops.Check, the hex panel's staffing limit, reads the records as the order does: it gives exactly the
+ // refusal Cities.Assign gives (the builders refusal, then the count of unassigned free-civilian records), and accepts what
+ // the order accepts. Nothing changes. The aggregate twin's Check is the old one (it reads the city counts).
+ [Fact]
+ public void CheckOnTheLedgerGivesTheOrdersOwnRefusal()
+ {
+ var c = Gdd03();
+ var s = Dark(c); var twin = Aggregate(c);
+ Built(c, s, Haifa); Built(c, twin, Haifa);
+ Assert.Null(Cities.Assign(c, s, Haifa, Workshops.Role, 1, new List<Cause>()));
+ var left = Free(s, Haifa).Count;
+ for (int i = 0; i < left + 1; i++) Built(c, s, Haifa);
+ string? Order(int n) { var x = s.Clone(); return Cities.Assign(c, x, Haifa, Workshops.Role, n, new List<Cause>()); }
+ string? Check(int n, params Command[] pending)
+ {
+ var before = s.Describe(); var hash = s.Hash(); var ledger = s.PopulationLedger.Canonical().ToList();
+ var r = Workshops.Check(c, s, Haifa, n, pending);
+ Assert.Equal(before, s.Describe()); Assert.Equal(hash, s.Hash()); Assert.Equal(ledger, s.PopulationLedger.Canonical());
+ return r;
+ }
+
+ Assert.Equal($"Haifa has {left} free civilians without an assignment", Check(left + 2));
+ Assert.Equal(Order(left + 2), Check(left + 2));
+ Assert.Null(Check(left + 1));
+ Assert.Null(Order(left + 1));
+ Assert.Null(Check(0));
+ Assert.Equal($"Haifa has {left + 2} arms workshops", Check(left + 3));
+ Assert.Equal(Order(left + 3), Check(left + 3));
+ // The aggregate twin's Check still reads the city counts.
+ Assert.Null(Workshops.Check(c, twin, Haifa, 1, Array.Empty<Command>()));
+ }
+
+ // #3020 item 3: a city with a builder (R-CITY-011, a city count) gets the ledger order's builders refusal from Check too
+ // ("Refuse with a reason (Recommended)", owner, 8 November 2026), where the aggregate twin's Check, unchanged, accepts.
+ [Fact]
+ public void CheckOnTheLedgerRefusesACityWithABuilder()
+ {
+ var c = Gdd03();
+ var s = Dark(c); var twin = Aggregate(c);
+ foreach (var x in new[] { s, twin })
+ {
+ Built(c, x, Haifa);
+ var h = c.SettlementHexes.First(t => t.Id == Haifa);
+ var site = x.NextId++;
+ x.CityProjects.Add(site, new CityProject(site, "housing", Haifa, h.Q, h.R + 1, 2, builder: true));
+ }
+ const string reason = "Haifa has builders on city projects, who are not on the population ledger yet";
+ Assert.Equal(reason, Workshops.Check(c, s, Haifa, 1, Array.Empty<Command>()));
+ Assert.Equal(reason, Cities.Assign(c, s.Clone(), Haifa, Workshops.Role, 1, new List<Cause>()));
+ // LedgerStaff refuses before it reads the count, so an order to staff none is refused the same way.
+ Assert.Equal(reason, Workshops.Check(c, s, Haifa, 0, Array.Empty<Command>()));
+ Assert.Equal(reason, Cities.Assign(c, s.Clone(), Haifa, Workshops.Role, 0, new List<Cause>()));
+ Assert.Null(Workshops.Check(c, twin, Haifa, 1, Array.Empty<Command>()));
+ }
+
+ // #3020 item 3, as the aggregate Check does (#1722 slice E, #2289): this turn's queued Train orders in the city take
+ // their records first, so a count Check accepts is still accepted whichever order runs first.
+ [Fact]
+ public void CheckOnTheLedgerCountsThisTurnsTrainingOrders()
+ {
+ var c = Gdd03();
+ var s = Dark(c);
+ Built(c, s, Haifa);
+ Assert.Null(Cities.Assign(c, s, Haifa, Workshops.Role, 1, new List<Cause>()));
+ var left = Free(s, Haifa).Count;
+ for (int i = 0; i < 3; i++) Built(c, s, Haifa);
+ var train = new Train(Haifa, "recruit", left - 1);
+ Assert.Null(Workshops.Check(c, s, Haifa, 2, new Command[] { train }));
+ Assert.Equal("Haifa has 1 free civilians without an assignment", Workshops.Check(c, s, Haifa, 3, new Command[] { train }));
+ }
}
diff --git a/sim/Statecraft.Sim.Tests/PopulationLedgerTests.cs b/sim/Statecraft.Sim.Tests/PopulationLedgerTests.cs
index a29289379..ef8c03fd9 100644
--- a/sim/Statecraft.Sim.Tests/PopulationLedgerTests.cs
+++ b/sim/Statecraft.Sim.Tests/PopulationLedgerTests.cs
@@ -259,4 +259,20 @@ public class PopulationLedgerTests
Assert.Throws<ArgumentException>(() => s.PopulationLedger.Replace(WithTier(profession, tier)));
Assert.Equal(before, s.Describe());
}
+
+ // #3020: PopulationLedger.Refusals, the UI's way to the refusals only a Historical ledger game gives, holds every
+ // LedgerRefused* constant in the sim and only them, each by its "Class.Constant" name with its own text; the constants
+ // themselves stay internal (#2964 Q4, owner, 8 November 2026: "With the UI PR (Recommended)").
+ [Fact]
+ public void RefusalsHoldsEveryLedgerRefusalConstantByName()
+ {
+ var fields = typeof(PopulationLedger).Assembly.GetTypes()
+ .SelectMany(t => t.GetFields(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static))
+ .Where(f => f.IsLiteral && f.FieldType == typeof(string) && f.Name.StartsWith("LedgerRefused", StringComparison.Ordinal))
+ .ToList();
+ Assert.Equal(9, fields.Count);
+ Assert.All(fields, f => Assert.True(f.IsAssembly, f.Name + " stays internal"));
+ var expected = fields.ToDictionary(f => f.DeclaringType!.Name + "." + f.Name, f => (string)f.GetRawConstantValue()!);
+ Assert.Equal(expected.OrderBy(x => x.Key, StringComparer.Ordinal), PopulationLedger.Refusals.OrderBy(x => x.Key, StringComparer.Ordinal));
+ }
}
diff --git a/sim/Statecraft.Sim/PopulationLedger.cs b/sim/Statecraft.Sim/PopulationLedger.cs
index 39e1e41e0..bf8d79409 100644
--- a/sim/Statecraft.Sim/PopulationLedger.cs
+++ b/sim/Statecraft.Sim/PopulationLedger.cs
@@ -186,6 +186,22 @@ namespace Statecraft.Sim
if (state.PopulationLedger.IsInitialized)
throw new NotSupportedException("Population-ledger fixtures cannot run aggregate systems; gdd-0.3 integration is held.");
}
+ /// <summary>#3020: the refusals only a Historical ledger game gives, each internal constant's English (a format with
+ /// its values in {0}, {1}...) by its name, "Class.Constant". The constants stay internal (#2964 Q4, owner, 8 November
+ /// 2026: "With the UI PR (Recommended)"); the UI words each in its language (SimBridge.ReasonText).</summary>
+ public static readonly IReadOnlyDictionary<string, string> Refusals = new ReadOnlyDictionary<string, string>(new Dictionary<string, string>
+ {
+ ["Training.LedgerRefusedCraftsman"] = Training.LedgerRefusedCraftsman,
+ ["Training.LedgerRefusedCampFull"] = Training.LedgerRefusedCampFull,
+ ["Training.LedgerRefusedStrength"] = Training.LedgerRefusedStrength,
+ ["Training.LedgerRefusedCarried"] = Training.LedgerRefusedCarried,
+ ["Training.LedgerRefusedHalutzTrade"] = Training.LedgerRefusedHalutzTrade,
+ ["Workshops.LedgerRefusedFree"] = Workshops.LedgerRefusedFree,
+ ["Workshops.LedgerRefusedBuilders"] = Workshops.LedgerRefusedBuilders,
+ ["Qualification.LedgerRefusedCraftsmen"] = Qualification.LedgerRefusedCraftsmen,
+ ["Qualification.LedgerRefusedFreePioneers"] = Qualification.LedgerRefusedFreePioneers,
+ });
+
/// <summary>#1725 PR 5 (review S5-3): Pools.Init and StartingForces.Init read an initialized ledger only in the dark
/// start's shape, a Historical one (R-POP-004); a synthetic or Open ledger is refused as by <see cref="RefuseAggregate"/>.</summary>
internal static void RefuseUnlessHistorical(GameState state)
diff --git a/sim/Statecraft.Sim/Qualification.cs b/sim/Statecraft.Sim/Qualification.cs
index 8201228bd..559f82eed 100644
--- a/sim/Statecraft.Sim/Qualification.cs
+++ b/sim/Statecraft.Sim/Qualification.cs
@@ -76,8 +76,8 @@ namespace Statecraft.Sim
RefusedNotPioneer = "Only a pioneer unit takes that order", RefusedPioneerBusy = "That unit is at work; stop the work first",
RefusedNoQualification = "There is no such qualification";
- // #1725: the refusal only a Historical ledger game gives. Internal, not a Refused* constant: no player reaches it yet
- // (the turn, TurnResolver.Resolve, still refuses a ledger game, R-POP-002), and the UI string follows when it does.
+ // #1725: the refusal only a Historical ledger game gives. Internal, not a Refused* constant, as Training's are; the
+ // UI reads it through PopulationLedger.Refusals (#3020).
/// <summary>Owner, 9 November 2026, "Refuse for now (Recommended)": ReturnCraftsmen and ReassignCraftsmen are refused
/// with a plain reason until #2476 makes craftsmen exist on the ledger (the Historical start has none, and the craftsman
/// course is refused until then, Training.LedgerRefusedCraftsman).</summary>
@@ -223,7 +223,7 @@ namespace Statecraft.Sim
&& p.Assignment.Kind == PopulationAssignmentKind.Unassigned && p.Profession == CivilianProfession.Pioneer;
/// <summary>#1725 PR 7: R-QUAL-005's refusal on a Historical ledger game when the city has fewer free pioneer records
- /// than the groups asked for. Internal, as Training's ledger refusals are: no player reaches it yet (R-POP-002).</summary>
+ /// than the groups asked for. Internal, as Training's ledger refusals are; the UI reads it through PopulationLedger.Refusals (#3020).</summary>
internal const string LedgerRefusedFreePioneers = "{0} has {1} free pioneers without work";
/// <summary>R-QUAL-005: <paramref name="count"/> of the city's qualified halutz groups (<paramref name="track"/>
diff --git a/sim/Statecraft.Sim/Training.cs b/sim/Statecraft.Sim/Training.cs
index 7377fc071..188378f28 100644
--- a/sim/Statecraft.Sim/Training.cs
+++ b/sim/Statecraft.Sim/Training.cs
@@ -43,9 +43,8 @@ namespace Statecraft.Sim
public const string RefusedIdle = "{0} has {1} civilians without work";
public const string RefusedArms = "{0}: not enough Arms for {1} (need {2}, have {3})";
- // #1725 PR 7, producer 12: the refusals only a Historical ledger game gives. Internal, not Refused* constants: no
- // player reaches them yet (the turn, TurnResolver.Resolve, still refuses a ledger game, R-POP-002), and the UI strings follow when it
- // does.
+ // #1725 PR 7, producer 12: the refusals only a Historical ledger game gives. Internal, not Refused* constants (#2964
+ // Q4); the UI reads them through PopulationLedger.Refusals (#3020).
/// <summary>Owner, 8 November 2026, "Recruit+crews+halutz (Rec.)" (#1725 issuecomment-6724941867): the craftsman track is refused with a plain reason until #2476.</summary>
internal const string LedgerRefusedCraftsman = "Craft training does not run on the population ledger yet (#2476)";
/// <summary>Owner, 8 November 2026, "Enforce it here (Rec.)" (#1725 issuecomment-6724941867): the camp capacity, 50 records per camp city, over all military tracks.</summary>
diff --git a/sim/Statecraft.Sim/Workshops.cs b/sim/Statecraft.Sim/Workshops.cs
index b64898e73..e3a5ed9fc 100644
--- a/sim/Statecraft.Sim/Workshops.cs
+++ b/sim/Statecraft.Sim/Workshops.cs
@@ -71,6 +71,7 @@ namespace Statecraft.Sim
var built = Built(c, s, city);
if (count > built) return built == 1 ? Refused(RefusedBuiltOne, name) : Refused(RefusedBuilt, name, built);
var list = pending as IReadOnlyCollection<Command> ?? pending.ToList();
+ if (s.PopulationLedger.IsHistorical) return LedgerCheck(c, s, city, count, list, name);
var job = list.OfType<AssignWorkers>().Where(w => w.City == city && w.Role == "job").Select(w => (int?)w.Count).Max();
var byDefault = x.JobsDefault && job == null;
var staffed = Staffed(s, city);
@@ -82,6 +83,30 @@ namespace Statecraft.Sim
return null;
}
+ /// <summary><see cref="Check"/> on a Historical ledger game, past its city, ruleset, count and built checks (#3020; owner,
+ /// 8 November 2026, "Fix in the UI PR (Recommended)", #2966): the records, as <see cref="LedgerStaff"/> reads them. The
+ /// builders refusal, then the newly staffed workshops against the city's unassigned free-civilian records (and the
+ /// workers the order would release), less the records this turn's queued Train and reassignment orders there take
+ /// (Training.Ordered) and the builder each queued start may take (R-CITY-011), as the aggregate check counts them. No
+ /// city field is read. Nothing changes.</summary>
+ static string? LedgerCheck(Content c, GameState s, string city, int count, IReadOnlyCollection<Command> pending, string name)
+ {
+ if (Projects.Builders(s, city) > 0) return Refused(LedgerRefusedBuilders, name);
+ var built = BuiltIn(c, s, city);
+ int on = 0, released = 0;
+ for (int i = 0; i < built.Count; i++)
+ {
+ var staffed = s.Workshops.TryGetValue(built[i].Id, out var w) && w.Staffed;
+ if (i < count && !staffed) on++;
+ else if (i >= count && staffed)
+ released += OnTarget(s, built[i].Id).Count(p => p.Status == PopulationStatus.FreeCivilian
+ && string.Equals(p.Location?.City, city, StringComparison.Ordinal));
+ }
+ if (on == 0) return null;
+ var free = LedgerFree(s, city).Count + released - Training.Ordered(city, pending) - Projects.Starting(s, city, pending);
+ return on > free ? Refused(LedgerRefusedFree, name, Math.Max(0, free)) : null;
+ }
+
/// <summary>R-ARMS-005: the city's built workshops (a project whose kind has a worker slot, R-ARMS-004), in ascending id.</summary>
static List<CityProject> BuiltIn(Content c, GameState s, string city) =>
s.CityProjects.Values.Where(p => p.City == city && IsBuilt(c, p)).ToList();
@@ -139,8 +164,8 @@ namespace Statecraft.Sim
new Cause("city", city, delta, FormattableString.Invariant($"{name}: arms workshops staffed: {count}"),
key: CauseKeys.WorkshopWorkers, args: new[] { CauseKeys.Number(count) });
- // #1725 PR 7, producer 07: the refusal only a Historical ledger game gives. Internal, not a Refused* constant: no
- // player reaches it yet (the turn, TurnResolver.Resolve, still refuses a ledger game, R-POP-002), and the UI string follows when it does.
+ // #1725 PR 7, producer 07: the refusals only a Historical ledger game gives. Internal, not Refused* constants, as
+ // Training's are; the UI reads them through PopulationLedger.Refusals (#3020).
/// <summary>Owner, 8 November 2026, Q7 "Unassigned, lowest id (Rec.)": more newly staffed workshops than the city's
/// unassigned free-civilian records.</summary>
internal const string LedgerRefusedFree = "{0} has {1} free civilians without an assignment";
diff --git a/unity/Assets/Scripts/UI/CauseText.cs b/unity/Assets/Scripts/UI/CauseText.cs
index 74a202f13..1fd0d73a5 100644
--- a/unity/Assets/Scripts/UI/CauseText.cs
+++ b/unity/Assets/Scripts/UI/CauseText.cs
@@ -130,7 +130,7 @@ namespace Statecraft.Game.UI
// #1682: these branches use captured ids, values and resident flags, never the live GameState.
static readonly HashSet<string> RemainingKeys = new HashSet<string>
{
- CauseKeys.WorkersAssigned, CauseKeys.WagesPaid, CauseKeys.ImmigrantsHoused, CauseKeys.HousingShortage, CauseKeys.ImmigrantsWaiting, CauseKeys.RecruitsVeteran, CauseKeys.CorridorStarted, CauseKeys.CorridorCancelled, CauseKeys.CorridorCompleted, CauseKeys.PioneersVeteran, CauseKeys.MapBorrowed, CauseKeys.MapBuilt, CauseKeys.LandWorkStarted, CauseKeys.SiteStarted, CauseKeys.SiteCancelled, CauseKeys.SiteCompleted, CauseKeys.ProjectStarted, CauseKeys.ProjectCancelled, CauseKeys.ProjectCompleted, CauseKeys.ProjectBuilder, CauseKeys.ProjectBuilderFreed, CauseKeys.ProjectWaiting, CauseKeys.ArmsBought, CauseKeys.WorkshopWorkers, CauseKeys.WorkshopArms, CauseKeys.WorkshopPaused, CauseKeys.DollarsConverted, CauseKeys.DollarsConvertedFx, CauseKeys.FoodHarvest, CauseKeys.FoodShortage, CauseKeys.FoodWithoutImports, CauseKeys.FoodImported, CauseKeys.PrisonerFood, CauseKeys.PrisonerFoodShortage, CauseKeys.CraftsmenReturned, CauseKeys.CraftsmenReassigned, CauseKeys.PioneerReturned, CauseKeys.PioneersReassigned, CauseKeys.TrainingStarted, CauseKeys.TrainingArms, CauseKeys.TrainingCancelled, CauseKeys.TrainingArmsReturned, CauseKeys.ReplacementsStopped, CauseKeys.ReplacementsJoined, CauseKeys.MilitaryTrained, CauseKeys.PioneersTrained, CauseKeys.CraftsmenTrained, CauseKeys.Appointed, CauseKeys.Reshuffle, CauseKeys.AppointmentsEnded, CauseKeys.ApprovalStability, CauseKeys.CoalitionCollapsed, CauseKeys.LegislatureConvened, CauseKeys.GovernmentTookOffice, CauseKeys.CoalitionChanged, CauseKeys.EraEnded, CauseKeys.AdvisoryPolicyRejected, CauseKeys.PolicyRejected, CauseKeys.PolicySet, CauseKeys.AdvisoryBudgetRejected, CauseKeys.BudgetRejected, CauseKeys.PlaceCaptured, CauseKeys.EnemyRegained, CauseKeys.PlaceLost, CauseKeys.PlaceRetaken, CauseKeys.PlaceAnnexed, CauseKeys.PlaceWithdrawn, CauseKeys.PlaceDeported, CauseKeys.DeportEffect, CauseKeys.DeportCost, CauseKeys.OccupationStarted, CauseKeys.PendingBecameRaid, CauseKeys.OccupationLostUnit, CauseKeys.OccupationCountdown, CauseKeys.DepopulationSupport, CauseKeys.CityHeld
+ CauseKeys.WorkersAssigned, CauseKeys.WagesPaid, CauseKeys.ImmigrantsHoused, CauseKeys.HousingShortage, CauseKeys.ImmigrantsWaiting, CauseKeys.RecruitsVeteran, CauseKeys.CorridorStarted, CauseKeys.CorridorCancelled, CauseKeys.CorridorCompleted, CauseKeys.PioneersVeteran, CauseKeys.MapBorrowed, CauseKeys.MapBuilt, CauseKeys.LandWorkStarted, CauseKeys.SiteStarted, CauseKeys.SiteCancelled, CauseKeys.SiteCompleted, CauseKeys.ProjectStarted, CauseKeys.ProjectCancelled, CauseKeys.ProjectCompleted, CauseKeys.ProjectBuilder, CauseKeys.ProjectBuilderFreed, CauseKeys.ProjectWaiting, CauseKeys.ArmsBought, CauseKeys.WorkshopWorkers, CauseKeys.WorkshopArms, CauseKeys.WorkshopPaused, CauseKeys.DollarsConverted, CauseKeys.DollarsConvertedFx, CauseKeys.FoodHarvest, CauseKeys.FoodShortage, CauseKeys.FoodWithoutImports, CauseKeys.FoodImported, CauseKeys.PrisonerFood, CauseKeys.PrisonerFoodShortage, CauseKeys.CraftsmenReturned, CauseKeys.CraftsmenReassigned, CauseKeys.PioneerReturned, CauseKeys.PioneersReassigned, CauseKeys.TrainingStarted, CauseKeys.TrainingArms, CauseKeys.TrainingCancelled, CauseKeys.TrainingArmsReturned, CauseKeys.SentHomeArmsReturned, CauseKeys.ReplacementsStopped, CauseKeys.ReplacementsJoined, CauseKeys.MilitaryTrained, CauseKeys.PioneersTrained, CauseKeys.CraftsmenTrained, CauseKeys.Appointed, CauseKeys.Reshuffle, CauseKeys.AppointmentsEnded, CauseKeys.ApprovalStability, CauseKeys.CoalitionCollapsed, CauseKeys.LegislatureConvened, CauseKeys.GovernmentTookOffice, CauseKeys.CoalitionChanged, CauseKeys.EraEnded, CauseKeys.AdvisoryPolicyRejected, CauseKeys.PolicyRejected, CauseKeys.PolicySet, CauseKeys.AdvisoryBudgetRejected, CauseKeys.BudgetRejected, CauseKeys.PlaceCaptured, CauseKeys.EnemyRegained, CauseKeys.PlaceLost, CauseKeys.PlaceRetaken, CauseKeys.PlaceAnnexed, CauseKeys.PlaceWithdrawn, CauseKeys.PlaceDeported, CauseKeys.DeportEffect, CauseKeys.DeportCost, CauseKeys.OccupationStarted, CauseKeys.PendingBecameRaid, CauseKeys.OccupationLostUnit, CauseKeys.OccupationCountdown, CauseKeys.DepopulationSupport, CauseKeys.CityHeld
};
static string Remaining(Cause cause, Content c, UiText text, IReadOnlyDictionary<string, string>? namesHe)
@@ -244,6 +244,8 @@ namespace Statecraft.Game.UI
return text.Format(key, Settlement(cause.Target), Groups(A(0)), Course(A(1)));
case CauseKeys.TrainingArmsReturned:
return text.Format(key, Settlement(A(0)), Course(A(1)), cause.Delta);
+ case CauseKeys.SentHomeArmsReturned: // #3020: Send home on a Historical ledger game (#1725 PR 7, #2975)
+ return text.Format(key, Settlement(A(0)), A(1), cause.Delta);
case CauseKeys.ReplacementsStopped:
return text.Format(key, Settlement(cause.Target), A(0));
case CauseKeys.ReplacementsJoined:
diff --git a/unity/Assets/Scripts/UI/SimBridge.cs b/unity/Assets/Scripts/UI/SimBridge.cs
index c9314448f..a01683b88 100644
--- a/unity/Assets/Scripts/UI/SimBridge.cs
+++ b/unity/Assets/Scripts/UI/SimBridge.cs
@@ -329,6 +329,10 @@ namespace Statecraft.Game.UI
[Cabinet.RefusedPresident] = "cabinet.reason.president",
[Cabinet.RefusedPersonUnknown] = "cabinet.reason.person_unknown",
[Cabinet.RefusedNoGovernment] = "cabinet.reason.no_government",
+ // #3020: the refusals only a Historical ledger game gives (#1725 PR 7), with no values. Their constants stay internal
+ // (#2964 Q4), so they are read by name from PopulationLedger.Refusals.
+ [PopulationLedger.Refusals["Training.LedgerRefusedCraftsman"]] = "unit.reinforce_refused.ledger_craftsman",
+ [PopulationLedger.Refusals["Qualification.LedgerRefusedCraftsmen"]] = "city.qualification_refused.ledger_craftsmen",
};
/// <summary>The sim's refusals that carry values (#2072: Combat.Check's Arms, Training.Reinforce's unit, settlement,
@@ -379,6 +383,15 @@ namespace Statecraft.Game.UI
(Cabinet.RefusedAlreadyHolds, "cabinet.reason.already_holds"),
(Cabinet.RefusedNotCareerOfficer, "cabinet.reason.not_career_officer"),
(Cabinet.RefusedPartyNotCoalition, "cabinet.reason.party_not_coalition"),
+ // #3020: the refusals only a Historical ledger game gives (#1725 PR 7) that carry values: Train's and Reinforce's
+ // (LedgerRefusedStrength is Send home's too), a workshop staffing order's and a pioneer reassignment's.
+ (PopulationLedger.Refusals["Training.LedgerRefusedCampFull"], "unit.reinforce_refused.ledger_camp_full"),
+ (PopulationLedger.Refusals["Training.LedgerRefusedStrength"], "unit.reinforce_refused.ledger_strength"),
+ (PopulationLedger.Refusals["Training.LedgerRefusedCarried"], "unit.reinforce_refused.ledger_carried"),
+ (PopulationLedger.Refusals["Training.LedgerRefusedHalutzTrade"], "unit.reinforce_refused.ledger_halutz_trade"),
+ (PopulationLedger.Refusals["Workshops.LedgerRefusedFree"], "workshop.refused_ledger_free"),
+ (PopulationLedger.Refusals["Workshops.LedgerRefusedBuilders"], "workshop.refused_ledger_builders"),
+ (PopulationLedger.Refusals["Qualification.LedgerRefusedFreePioneers"], "city.qualification_refused.ledger_free_pioneers"),
}.Select(x => (new Regex("^" + string.Join("(.+?)", Regex.Split(x.format, @"\{\d+(?::[^}]*)?\}").Select(Regex.Escape)) + "$"), x.key)).ToArray();
/// <summary>A sim refusal in the UI's language where it has a string (<see cref="ReasonKeys"/>, <see cref="ReasonFormats"/>),
@@ -416,6 +429,8 @@ namespace Statecraft.Game.UI
"unit.reinforce_refused.idle" => n == "1" ? "1 civilian without work" : n + " civilians without work",
"workshop.refused_people" => n == "1" ? "1 civilian or craftsman" : n + " civilians and craftsmen",
"workshop.refused_people_no_job" => n == "1" ? "1 civilian or craftsman without a job" : n + " civilians and craftsmen without a job",
+ "workshop.refused_ledger_free" => n == "1" ? "1 free civilian without an assignment" : n + " free civilians without an assignment", // #3020
+ "city.qualification_refused.ledger_free_pioneers" => n == "1" ? "1 free pioneer without work" : n + " free pioneers without work", // #3020
_ => values[1],
};
return values;
diff --git a/unity/Assets/Tests/EditMode/CauseTextTests.cs b/unity/Assets/Tests/EditMode/CauseTextTests.cs
index 24cfc1158..a2c86284c 100644
--- a/unity/Assets/Tests/EditMode/CauseTextTests.cs
+++ b/unity/Assets/Tests/EditMode/CauseTextTests.cs
@@ -569,6 +569,7 @@ public class CauseTextTests
new Cause("draft", "arms", -3, "Town: basic training took 3 Arms", key: CauseKeys.TrainingArms, args: new[] { "town", "basic" }),
new Cause("draft", "town", 3, "Town: 3 groups left basic training; the Money spent is not returned", key: CauseKeys.TrainingCancelled, args: new[] { "3", "basic" }),
new Cause("draft", "arms", 3, "Town: basic training returned 3 Arms", key: CauseKeys.TrainingArmsReturned, args: new[] { "town", "basic" }),
+ new Cause("city", "arms", 3, "Town: unit 42 returned 3 Arms", key: CauseKeys.SentHomeArmsReturned, args: new[] { "town", "42" }), // #3020 (Demobilization.ArmsReturnedLine)
new Cause("draft", "town", 0, "Town: unit 42 is no longer in Town, so its replacements stop training", key: CauseKeys.ReplacementsStopped, args: new[] { "42" }),
new Cause("draft", "town", 3, "Town: 3 groups finished basic training and joined unit 42", key: CauseKeys.ReplacementsJoined, args: new[] { "3", "basic", "42" }),
new Cause("draft", "town", 3, "Town: 3 groups finished artillery training and are artillery", key: CauseKeys.MilitaryTrained, args: new[] { "3", "artillery", "artillery" }),
@@ -647,11 +648,28 @@ public class CauseTextTests
CauseKeys.EventRejoin, CauseKeys.EventSetRung, CauseKeys.EventStock, CauseKeys.EventUnlock,
CauseKeys.MilitaryUpkeep, CauseKeys.HousingSurcharge, CauseKeys.HousingCohesion,
CauseKeys.ObjectiveCompleted, CauseKeys.PrisonersReturned, CauseKeys.SoldiersReturned,
- CauseKeys.FieldFood, CauseKeys.SentHomeArmsReturned }), rows.Select(x => x.Key).Distinct(), "all remaining keys"); // FieldFood (#2471): only the gdd-0.3 field fixture makes it, no turn yet, so no wording yet; SentHomeArmsReturned (#1725 PR 7): only a Historical ledger game's Send home makes it, no turn yet, so no wording yet
+ CauseKeys.FieldFood }), rows.Select(x => x.Key).Distinct(), "all remaining keys"); // FieldFood (#2471): only the gdd-0.3 field fixture makes it, no turn yet, so no wording yet ("Per field, words later (Recommended)")
var appointed = rows.Single(x => x.Key == CauseKeys.Appointed);
StringAssert.Contains("התפקיד שנשמר", CauseText.Line(appointed, c, NoRows, he, names), "historical title, not current title");
}
+ // #3020 (#2975): Send home's Arms line on a Historical ledger game names the city, the unit and the Arms back, in English
+ // as the sim's own message and in Hebrew as why.cause.training_arms_returned does, with the city's Hebrew name.
+ [Test]
+ public void SentHomeArmsReturnedNamesTheCityTheUnitAndTheArms()
+ {
+ var c = RemainingFixture();
+ var names = new Dictionary<string, string> { ["town"] = "עיר" };
+ var row = new Cause("city", "arms", 3, "Town: unit 42 returned 3 Arms", key: CauseKeys.SentHomeArmsReturned, args: new[] { "town", "42" });
+ Assert.IsTrue(string.Equals("{0}: unit {1} returned {2} Arms", En["why.cause.sent_home_arms_returned"], StringComparison.Ordinal));
+ Assert.IsTrue(string.Equals(row.Message, CauseText.Line(row, c, NoRows, En), StringComparison.Ordinal));
+ var he = CauseText.Line(row, c, NoRows, He, names);
+ AssertHebrew(he, row.Key);
+ Assert.IsTrue(string.Equals(He.Format("why.cause.sent_home_arms_returned", "עיר", "42", 3.0), he, StringComparison.Ordinal), he);
+ foreach (var part in new[] { "עיר", "יחידה", "42", "3" })
+ Assert.GreaterOrEqual(he.IndexOf(part, StringComparison.Ordinal), 0, part);
+ }
+
[Test]
public void RemainingOptionalBranchesKeepExactEnglishAndResidentSnapshots()
{
diff --git a/unity/Assets/Tests/EditMode/HebrewUiTests.cs b/unity/Assets/Tests/EditMode/HebrewUiTests.cs
index 6e21def46..3c1462051 100644
--- a/unity/Assets/Tests/EditMode/HebrewUiTests.cs
+++ b/unity/Assets/Tests/EditMode/HebrewUiTests.cs
@@ -239,6 +239,52 @@ public class HebrewUiTests
Assert.IsEmpty(missing, "no Hebrew string for:\n" + string.Join("\n", missing));
}
+ // #3020 (#2964 Q4, owner, 8 November 2026: "With the UI PR (Recommended)"; #2986): each of the nine refusals only a
+ // Historical ledger game gives maps to its own key. Their constants stay internal; PopulationLedger.Refusals names each
+ // (the sim's PopulationLedgerTests.RefusalsHoldsEveryLedgerRefusalConstantByName proves it holds every LedgerRefused*
+ // constant and only them). Each format is filled with distinct values as the sim fills it: the English is the sim's own
+ // text, the Hebrew is its line with the Hebrew town in its slot, its placeholders in the English's order, and no Latin
+ // letter left.
+ [Test]
+ public void EveryLedgerRefusalHasItsOwnKeyInBothLanguages()
+ {
+ var c = Statecraft.Sim.ContentLoader.Load(Paths.Content);
+ var namesHe = SettlementPlacer.Parse(File.ReadAllText(Path.Combine(Paths.Content, "map", SettlementPlacer.DefaultFileName))).ToDictionary(t => t.Id, t => t.NameHe);
+ var place = c.SettlementNames.Single(x => x.Value == "Rishon LeZion");
+ object townSlot = new object();
+ var filled = new Dictionary<string, (string key, object[] values)>
+ {
+ ["Training.LedgerRefusedCraftsman"] = ("unit.reinforce_refused.ledger_craftsman", new object[0]),
+ ["Training.LedgerRefusedCampFull"] = ("unit.reinforce_refused.ledger_camp_full", new object[] { townSlot, 7, 50 }),
+ ["Training.LedgerRefusedStrength"] = ("unit.reinforce_refused.ledger_strength", new object[] { 41, 3, 5 }),
+ ["Training.LedgerRefusedCarried"] = ("unit.reinforce_refused.ledger_carried", new object[] { townSlot }),
+ ["Training.LedgerRefusedHalutzTrade"] = ("unit.reinforce_refused.ledger_halutz_trade", new object[] { townSlot }),
+ ["Workshops.LedgerRefusedFree"] = ("workshop.refused_ledger_free", new object[] { townSlot, 6 }),
+ ["Workshops.LedgerRefusedBuilders"] = ("workshop.refused_ledger_builders", new object[] { townSlot }),
+ ["Qualification.LedgerRefusedCraftsmen"] = ("city.qualification_refused.ledger_craftsmen", new object[0]),
+ ["Qualification.LedgerRefusedFreePioneers"] = ("city.qualification_refused.ledger_free_pioneers", new object[] { townSlot, 6 }),
+ };
+ CollectionAssert.AreEquivalent(filled.Keys, Statecraft.Sim.PopulationLedger.Refusals.Keys, "every ledger refusal is filled here");
+ object English(object v) => v == townSlot ? place.Value : v;
+ object Hebrew(object v) => v == townSlot ? namesHe[place.Key] : v;
+ string Slots(string line) => string.Join(",", Regex.Matches(line, @"\{\d+\}").Cast<Match>().Select(m => m.Value));
+ Assert.AreEqual(filled.Count, filled.Values.Select(v => v.key).Distinct().Count(), "each refusal has its own key");
+ foreach (var entry in filled)
+ {
+ var (key, values) = entry.Value;
+ var format = Statecraft.Sim.PopulationLedger.Refusals[entry.Key];
+ Assert.AreEqual(Regex.Matches(format, @"\{\d+\}").Count, values.Length, entry.Key + ": one value a slot");
+ var reason = string.Format(System.Globalization.CultureInfo.InvariantCulture, format, values.Select(English).ToArray());
+ Assert.IsTrue(string.Equals(reason, SimBridge.ReasonText(En, reason, c, namesHe), StringComparison.Ordinal), "the English string is the sim's own: " + reason);
+ var he = SimBridge.ReasonText(He, reason, c, namesHe);
+ Assert.IsTrue(Regex.IsMatch(he, "[\u05D0-\u05EA]"), "no Hebrew string for: " + reason);
+ Assert.IsFalse(Regex.IsMatch(he, "[A-Za-z]"), "Latin letters in the Hebrew for " + reason + ": " + he);
+ Assert.AreEqual(Slots(En[key]), Slots(He[key]), key + ": the Hebrew line takes its values in the English's order");
+ var expected = values.Length == 0 ? He[key] : He.Format(key, values.Select(Hebrew).ToArray());
+ Assert.IsTrue(string.Equals(expected, he, StringComparison.Ordinal), key + ": expected '" + expected + "', got '" + he + "'");
+ }
+ }
+
// #2707 batch 3, the owner's option (b): a capture or end-of-occupation answer the end of turn refuses reuses the capture
// dialog's reviewed capture.refusal.* line in both languages (settlement-control-strings-review.yaml gains nothing), with
// the place's Hebrew name in its slot. The answers with no reviewed line that fits stay the sim's English.
diff --git a/unity/Assets/Tests/EditMode/RefusalTextTests.cs b/unity/Assets/Tests/EditMode/RefusalTextTests.cs
index 7988dca55..c55f36a67 100644
--- a/unity/Assets/Tests/EditMode/RefusalTextTests.cs
+++ b/unity/Assets/Tests/EditMode/RefusalTextTests.cs
@@ -24,6 +24,11 @@ public class RefusalTextTests
SimBridge.ReasonText(En, string.Format(System.Globalization.CultureInfo.InvariantCulture, Workshops.RefusedPeople, town, 1)));
Assert.AreEqual(town + " has 1 civilian or craftsman without a job",
SimBridge.ReasonText(En, string.Format(System.Globalization.CultureInfo.InvariantCulture, Workshops.RefusedPeopleNoJob, town, 1)));
+ // #3020: the ledger game's free-record counts name theirs too.
+ Assert.AreEqual(town + " has 1 free civilian without an assignment",
+ SimBridge.ReasonText(En, string.Format(System.Globalization.CultureInfo.InvariantCulture, PopulationLedger.Refusals["Workshops.LedgerRefusedFree"], town, 1)));
+ Assert.AreEqual(town + " has 1 free pioneer without work",
+ SimBridge.ReasonText(En, string.Format(System.Globalization.CultureInfo.InvariantCulture, PopulationLedger.Refusals["Qualification.LedgerRefusedFreePioneers"], town, 1)));
// Every other count is the sim's own English, word for word.
var reason = string.Format(System.Globalization.CultureInfo.InvariantCulture, Training.RefusedIdle, town, 6);
Assert.AreEqual(reason, SimBridge.ReasonText(En, reason));
diff --git a/unity/Assets/UI/strings.en.yaml b/unity/Assets/UI/strings.en.yaml
index f0258d164..259897348 100644
--- a/unity/Assets/UI/strings.en.yaml
+++ b/unity/Assets/UI/strings.en.yaml
@@ -908,6 +908,9 @@ workshop.refused_built_one: "{0} has 1 arms workshop"
workshop.refused_built: "{0} has {1} arms workshops"
workshop.refused_people: "{0} has {1}" # the count names its noun (SimBridge.CountNoun, #2530)
workshop.refused_people_no_job: "{0} has {1}" # the count names its noun (SimBridge.CountNoun, #2530)
+# #3020: a staffing order's refusals only a Historical ledger game gives (Workshops.LedgerRefused*), the sim's own English.
+workshop.refused_ledger_free: "{0} has {1}" # the count names its noun (SimBridge.CountNoun, #2530)
+workshop.refused_ledger_builders: "{0} has builders on city projects, who are not on the population ledger yet"
# R-CITY-011 (#1700, #2477), gdd-0.3 only: a city project being built, whether it has a builder, and its city's builder
# stepper: {0} the city's projects with a builder (or the ordered count), {1} its projects being built. The refusals are
# the sim's own English (Projects.RefusedBeingBuilt*), {0} the city, {1} a count; past its free people the build order
@@ -1202,6 +1205,9 @@ city.assign_refused.negative: "The number of workers cannot be negative"
city.qualification_refused.return_count: "Return at least one group"
city.qualification_refused.reassign_count: "Reassign at least one group"
city.qualification_refused.no_qualification: "There is no such qualification"
+# #3020: the craftsmen and pioneer orders' refusals only a Historical ledger game gives (Qualification.LedgerRefused*).
+city.qualification_refused.ledger_craftsmen: "Craftsmen are not on the population ledger yet (#2476)"
+city.qualification_refused.ledger_free_pioneers: "{0} has {1}" # the count names its noun (SimBridge.CountNoun, #2530)
unit.order_refused.not_pioneer: "Only a pioneer unit takes that order"
unit.order_refused.pioneer_busy: "That unit is at work; stop the work first"
training.cancel_refused.no_group: "There is no such training group"
@@ -1241,6 +1247,13 @@ unit.reinforce_refused.no_industry: "{0} has no completed industry project"
unit.reinforce_refused.no_hakhshara: "{0} has no Hakhshara"
unit.reinforce_refused.idle: "{0} has {1}" # the count names its noun (SimBridge.CountNoun, #2530)
unit.reinforce_refused.arms: "{0}: not enough Arms for {1} (need {2}, have {3})"
+# #3020: Train's and Reinforce's refusals only a Historical ledger game gives (Training.LedgerRefused*); ledger_strength is
+# Send home's too. The sim's own English.
+unit.reinforce_refused.ledger_craftsman: "Craft training does not run on the population ledger yet (#2476)"
+unit.reinforce_refused.ledger_camp_full: "{0}'s military camp has room for {1} more trainees (capacity {2})"
+unit.reinforce_refused.ledger_strength: "Unit {0} has {1} soldiers on record but strength {2}"
+unit.reinforce_refused.ledger_carried: "A civilian without work in {0} already carries a military item"
+unit.reinforce_refused.ledger_halutz_trade: "A farmer or craftsman in {0} cannot train as a halutz"
# #1682 remaining Cause producers. English report wording preserved.
why.cause.workers_assigned: "{0}: {1} in work" # {1} is "1 group"/"N groups" (CauseText.Groups, #2530)
@@ -1287,6 +1300,8 @@ why.cause.training_started: "{0}: {1} began {2}{3}, cost {4}"
why.cause.training_arms: "{0}: {1} took {2} Arms"
why.cause.training_cancelled: "{0}: {1} left {2}; the Money spent is not returned"
why.cause.training_arms_returned: "{0}: {1} returned {2} Arms"
+# #3020: Send home on a Historical ledger game (#2975): {0} the city, {1} the unit's number, {2} the Arms back in the stock.
+why.cause.sent_home_arms_returned: "{0}: unit {1} returned {2} Arms"
why.cause.replacements_stopped: "{0}: unit {1} is no longer in {0}, so its replacements stop training"
why.cause.replacements_joined: "{0}: {1} finished {2} and joined unit {3}"
why.cause.military_trained: "{0}: {1} finished {2} and are {3}"
diff --git a/unity/Assets/UI/strings.he.yaml b/unity/Assets/UI/strings.he.yaml
index bfb6faa73..60ae9cba6 100644
--- a/unity/Assets/UI/strings.he.yaml
+++ b/unity/Assets/UI/strings.he.yaml
@@ -1088,6 +1088,10 @@ workshop.refused_built: "{0}: סדנאות נשק בנויות: {1}"
# issuecomment-6610635087).
workshop.refused_people: "{0}: אין די אזרחים ובעלי מלאכה (יש\u00A0{1})"
workshop.refused_people_no_job: "{0}: אין די אזרחים ובעלי מלאכה ללא משרה (יש\u00A0{1})"
+# #3020: a staffing order's refusals only a Historical ledger game gives, as in strings.en.yaml. "מרשם האוכלוסין" is the
+# population ledger. For the native reviewer (#564): agent-drafted, #3020.
+workshop.refused_ledger_free: "{0}: אין די אזרחים פנויים ללא שיבוץ (יש\u00A0{1})"
+workshop.refused_ledger_builders: "{0}: יש בונים במיזמים עירוניים, והם עדיין אינם במרשם האוכלוסין"
# R-CITY-011 (#1700, #2477), gdd-0.3 only: a city project being built and its city's builder stepper, as in
# strings.en.yaml. Counts as "Label: N" (HE-04), as city.workshops_*. Agent-drafted Hebrew, for the native reviewer (#564).
city.project_builder: "המיזם הזה: יש בונה"
@@ -1451,6 +1455,9 @@ city.assign_refused.negative: "מספר העובדים לא יכול להיות
city.qualification_refused.return_count: "יש להחזיר לפחות קבוצה אחת"
city.qualification_refused.reassign_count: "יש לשבץ מחדש לפחות קבוצה אחת"
city.qualification_refused.no_qualification: "אין הכשרה כזאת"
+# #3020, as in strings.en.yaml; the English's issue number is left out. For the native reviewer (#564): agent-drafted, #3020.
+city.qualification_refused.ledger_craftsmen: "בעלי מלאכה עדיין אינם במרשם האוכלוסין"
+city.qualification_refused.ledger_free_pioneers: "{0}: אין די חלוצים פנויים ללא עבודה (יש\u00A0{1})"
unit.order_refused.not_pioneer: "הפקודה הזאת מתאימה רק ליחידת חלוצים"
unit.order_refused.pioneer_busy: "היחידה עסוקה בעבודה; יש לעצור את העבודה קודם"
training.cancel_refused.no_group: "אין קבוצת אימון כזאת"
@@ -1491,6 +1498,13 @@ unit.reinforce_refused.no_industry: "{0}: אין מיזם תעשייה שהוש
unit.reinforce_refused.no_hakhshara: "{0}: אין מחנה הכשרה"
unit.reinforce_refused.idle: "{0}: אין די אזרחים ללא עבודה (יש {1})"
unit.reinforce_refused.arms: "{0}: אין די כלי נשק ל{1} (נדרשים {2}, יש {3})"
+# #3020: Train's and Reinforce's refusals only a Historical ledger game gives, as in strings.en.yaml; the English's issue
+# number is left out. Counts as "Label: N" (HE-04). For the native reviewer (#564): agent-drafted, #3020.
+unit.reinforce_refused.ledger_craftsman: "הכשרת בעלי מלאכה עדיין אינה פועלת במרשם האוכלוסין"
+unit.reinforce_refused.ledger_camp_full: "{0}: אין די מקום במחנה הצבאי (מקומות פנויים: {1}, קיבולת: {2})"
+unit.reinforce_refused.ledger_strength: "יחידה {0}: חיילים רשומים: {1}, אך הכוח: {2}"
+unit.reinforce_refused.ledger_carried: "{0}: אזרח ללא עבודה כבר מחזיק בפריט צבאי"
+unit.reinforce_refused.ledger_halutz_trade: "{0}: חקלאי או בעל מלאכה אינו יכול לעבור הכשרת חלוצים"
# #1682 remaining Cause producers. Agent-drafted Hebrew: native-review-pending (#564). why.cause.wages_paid:
# native review: owner, 3 Nov 2026 (HE batch 1: "All fine as they are").
@@ -1544,6 +1558,8 @@ why.cause.training_started: "{0}: תחילת {2}{3}, קבוצות: {1}, עלות
why.cause.training_arms: "{0}: {1}, נשק שנצרך: {2}"
why.cause.training_cancelled: "{0}: הפסקת {2}, קבוצות: {1}; הכסף שהוצא לא יוחזר"
why.cause.training_arms_returned: "{0}: {1}, נשק שהוחזר: {2}"
+# #3020, as in strings.en.yaml and as why.cause.training_arms_returned. For the native reviewer (#564): agent-drafted, #3020.
+why.cause.sent_home_arms_returned: "{0}: יחידה {1}, נשק שהוחזר: {2}"
why.cause.replacements_stopped: "{0}: יחידה {1} כבר אינה ב{0}, ולכן הופסק אימון התגבורת שלה"
why.cause.replacements_joined: "{0}: סיום {2} והצטרפות ליחידה {3}, קבוצות: {1}"
why.cause.military_trained: "{0}: סיום {2}, קבוצות: {1}, הכשרה: {3}"