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.

docs: WRITING_UI and glossary: event.more, event.hide and the Defence spelling rule match the strings (#2852)

Beric4002ca1a9e1
diff --git a/docs/UX_GLOSSARY.md b/docs/UX_GLOSSARY.md
index 5c359df9b..46241bba0 100644
--- a/docs/UX_GLOSSARY.md
+++ b/docs/UX_GLOSSARY.md
@@ -71,7 +71,7 @@ Revision 21 October 2026, localisation follow-up: the Cabinet reads government a
### spelling (preferred)
-The rule exists but only as a comment in content/offices.yaml: office titles keep Israel's official English ('Ministry of Defense', 'Minister of Defense') because they are proper nouns, and the UI is otherwise British English, so the screen and its button say 'Defence'. The comment says not to 'fix' it (playtest 1, item 8). No document in docs/ or CONTRIBUTING.md states it, no reference dictionary is named, and docs/GDD.md mixes both spellings ('defence' in the soldier actions table, 'defense' under settlement control).
+The rule is written in the defence-screen-and-office entry below and in a comment in content/offices.yaml: office titles keep Israel's official English ('Ministry of Defense', 'Minister of Defense') because they are proper nouns, and the UI is otherwise British English, so the screen and its button say 'Defence'. The comment says not to 'fix' it (playtest 1, item 8). `docs/WRITING_GUIDE.md` does not state it, no reference dictionary is named, and docs/GDD.md mixes both spellings ('defence' in the soldier actions table, 'defense' under settlement control).
Recommendation (see status): Move the rule from the offices.yaml comment into docs/WRITING_GUIDE.md so it covers every surface, name one reference dictionary for the British spelling, and say which spelling the GDD and docs follow. Pattern from the Google developer documentation style guide and the GOV.UK style guide.
diff --git a/docs/UX_GLOSSARY.yaml b/docs/UX_GLOSSARY.yaml
index 59b031c09..9140efb6e 100644
--- a/docs/UX_GLOSSARY.yaml
+++ b/docs/UX_GLOSSARY.yaml
@@ -10,10 +10,10 @@ snapshot_commit: 46abd99c
conventions:
- id: spelling
status: preferred
- summary: 'The rule exists but only as a comment in content/offices.yaml: office titles keep Israel''s official English (''Ministry
+ summary: 'The rule is written in the defence-screen-and-office entry and in a comment in content/offices.yaml: office titles keep Israel''s official English (''Ministry
of Defense'', ''Minister of Defense'') because they are proper nouns, and the UI is otherwise British English, so the
- screen and its button say ''Defence''. The comment says not to ''fix'' it (playtest 1, item 8). No document in docs/ or
- CONTRIBUTING.md states it, no reference dictionary is named, and docs/GDD.md mixes both spellings (''defence'' in the
+ screen and its button say ''Defence''. The comment says not to ''fix'' it (playtest 1, item 8). `docs/WRITING_GUIDE.md` does not state it, no reference
+ dictionary is named, and docs/GDD.md mixes both spellings (''defence'' in the
soldier actions table, ''defense'' under settlement control).'
recommendation: Move the rule from the offices.yaml comment into docs/WRITING_GUIDE.md so it covers every surface, name
one reference dictionary for the British spelling, and say which spelling the GDD and docs follow. Pattern from the Google
diff --git a/docs/WRITING_UI.md b/docs/WRITING_UI.md
index 5f7efce6a..d09afb0d1 100644
--- a/docs/WRITING_UI.md
+++ b/docs/WRITING_UI.md
@@ -67,8 +67,8 @@ Status: observed. Reason: the file already does this, and it keeps lines scannab
Check: manual.
### UI-04 Counts: write "Label: N"; no "(s)"
-Status: observed in Hebrew, proposed for English. Reason: Google advises against optional plurals such as "key(s)" because they are ambiguous and translate badly, and Hebrew needs a separate form for exactly 2 (Unicode CLDR 48). A "Label: N" line needs no plural form in either language. The game has no general plural mechanism (`UiText` is a key to `string.Format` lookup), so this pattern is the way to avoid the problem. The repo's own Hebrew test pins `event.more` as "Label: N" and names the test "count neutral" (`test_hebrew_review_wording_is_count_neutral_and_uses_knesset_terms`), so the maintainer already treats this as the rule for Hebrew. Some messages already choose singular and plural keys explicitly (UI-17), including the city-panel group and turn counts added in #869.
-- Weak: "{0} more decision(s) waiting" (`event.more`, English).
+Status: observed in both. Reason: Google advises against optional plurals such as "key(s)" because they are ambiguous and translate badly, and Hebrew needs a separate form for exactly 2 (Unicode CLDR 48). A "Label: N" line needs no plural form in either language. The game has no general plural mechanism (`UiText` is a key to `string.Format` lookup), so this pattern is the way to avoid the problem. The repo's own Hebrew test pins `event.more` as "Label: N" and names the test "count neutral" (`test_hebrew_review_wording_is_count_neutral_and_uses_knesset_terms`), so the maintainer already treats this as the rule for Hebrew. Some messages already choose singular and plural keys explicitly (UI-17), including the city-panel group and turn counts added in #869.
+- Done: English no longer writes "(s)". `event.more` is "{0} more decisions waiting" and `event.more_one` is "{0} more decision waiting", chosen by count (UI-17).
- Good: the Hebrew counterpart "החלטות ממתינות נוספות: {0}" (`event.more`, Hebrew), which is already "Label: N".
- Candidate English rewrite: "More decisions waiting: {0}".
Check: a pattern search over the strings files.
@@ -133,7 +133,7 @@ Check: the repo's formatting tests and the actual caller for the screen being ed
### UI-14 Use the glossary's terms
Status: proposed. Reason: terminology drifts between files and between English and Hebrew (see the glossary). A string should use the preferred term for its concept.
-- Spelling: the UI is British ("Defence"), and an office keeps the official US spelling of its title ("Minister of Defense"). The maintainer wrote this rule in a comment in `content/offices.yaml` ("Spelling is deliberate, do not \"fix\" it"), so `defence.command` ("Minister of Defense {0} · Chief of Staff {1}") follows it. The check script skips "Minister of Defense" for that reason. The open point is only that the rule lives in a YAML comment, not in a style document.
+- Spelling: the UI is British ("Defence"), and an office keeps the official US spelling of its title ("Minister of Defense"). The maintainer wrote this rule in a comment in `content/offices.yaml` ("Spelling is deliberate, do not \"fix\" it"), and `docs/UX_GLOSSARY.md` carries it in its `defence-screen-and-office` entry, so `defence.command` ("Minister of Defense {0} · Chief of Staff {1}") follows it. The check script skips "Minister of Defense" for that reason. The rule is not yet in `docs/WRITING_GUIDE.md`; that is the open point below.
- Resource and meter names: the owner decided on 15 October that the five resources are Money, Food, Arms, Social cohesion and International Support, with approval shown as Public support (`docs/gdd/cutover-resource-layer.md`). The current top bar uses Money (net), International support and Public support. Social cohesion is exposed for the GDD loop. These names are adopted; future screens must follow them. The glossary carries each name under `resources-and-meters`.
Check: a pattern search over the strings files; the glossary lists the terms.
@@ -149,13 +149,13 @@ Status: gershayim adopted (maintainer, #630); other language recommendations nee
- Three strings to test: "ספיטפייר LF Mk IXe" (`unit.aircraft.spitfire`), "לא ניתן היה להפעיל את Statecraft: {0}. יש לטעון את הדף מחדש." (`boot.failed`), where a colon follows a Latin word, and "לחיצה, Enter או רווח לדילוג · Esc מדלג על הכול" (`outcome.skip`).
- Settled since 14 October: the recording credit no longer keeps a name in Latin letters. It is "הקלטה: ראלף הלינגר, ארכיון המדינה" (`start.recording_credit`), spelt as the Israel State Archives' own description spells it, and the Hebrew UI test now rejects Latin letters in any static Hebrew text, names included.
- How to test: the original explicit-language path was pinned by `HebrewIsOnlyAskedForByHand`; since #1058 Settings also offers English / עברית. Test the current switch and the `?lang=he` path (#506).
-- Address and register on buttons and instructions: the Israeli National Digital Agency's guide to government language (section 1.3.3, read by the author as rendered slides; reuse terms not found, paraphrased) says not to address users only in the masculine singular and not to use slash or dot forms. It prefers, in order: a setting that adapts the form to the user; a second person without a gender marker (words ending in ך, ת or ה, such as "שלך"); a neutral first person; then an action noun, an infinitive, or rephrasing such as "יש לשלוח". The strings already follow this apart from one masculine imperative: "הסתר" (`event.hide`). Examples using "יש ל..." include (`info.hint`, `newgame.confirm`, `why.empty`, `budget.unsaved`, `boot.failed`) and action labels use action nouns ("הקמת מעברה", "בניית דיור", "מינוי לתפקיד", "פתיחת מסך הביטחון"). Candidate: replace "הסתר" with "הסתרה" or "להסתיר". A setting that lets the player choose a form of address is the guide's first priority, but it is a design decision for the owner. The native reviewer confirms all of this.
+- Address and register on buttons and instructions: the Israeli National Digital Agency's guide to government language (section 1.3.3, read by the author as rendered slides; reuse terms not found, paraphrased) says not to address users only in the masculine singular and not to use slash or dot forms. It prefers, in order: a setting that adapts the form to the user; a second person without a gender marker (words ending in ך, ת or ה, such as "שלך"); a neutral first person; then an action noun, an infinitive, or rephrasing such as "יש לשלוח". The strings follow this. The one masculine imperative, "הסתר" (`event.hide`), is now the action noun "הסתרה". Examples using "יש ל..." include (`info.hint`, `newgame.confirm`, `why.empty`, `budget.unsaved`, `boot.failed`) and action labels use action nouns ("הקמת מעברה", "בניית דיור", "מינוי לתפקיד", "פתיחת מסך הביטחון"). A setting that lets the player choose a form of address is the guide's first priority, but it is a design decision for the owner. The native reviewer confirms all of this.
- Then changed (3 Nov 2026): the live Hebrew `info.hint` uses action nouns ("לחיצה ...", "גרירה ..."), not "יש ל...".
Check: a pattern search over the strings files.
### UI-17 Plurals
-Status: proposed, maintainer. Reason: English has two plural categories and Hebrew has three (one, two, other; Unicode CLDR 48). The game has no general plural mechanism, so UI-04 is the rule and new sentences whose wording changes with a number should be avoided. Existing precedents include city.groups_one/city.groups and city.turns_one/city.turns (#869), objective early/late month messages in EventCardPresenter.ObjectiveLine, and the top bar's spoken form, which picks between two keys by count, `hud.say_point` and `hud.say_points` (`HudModel.cs`, by `git grep`), in Hebrew "{0:0} נקודה" and "{0:0} נקודות". Two keys cover one and other. They have no key for exactly 2, which the Hebrew categories name; the native reviewer should say whether that matters for a digit numeral. A general mechanism is a code change in `unity/` and a proposal to the maintainer; these explicit selectors are precedents to assess before introducing a general mechanism.
-Check: a pattern search over the strings files: one string today, `event.more` in English.
+Status: proposed, maintainer. Reason: English has two plural categories and Hebrew has three (one, two, other; Unicode CLDR 48). The game has no general plural mechanism, so UI-04 is the rule and new sentences whose wording changes with a number should be avoided. Existing precedents include event.more_one/event.more, city.groups_one/city.groups and city.turns_one/city.turns (#869), objective early/late month messages in EventCardPresenter.ObjectiveLine, and the top bar's spoken form, which picks between two keys by count, `hud.say_point` and `hud.say_points` (`HudModel.cs`, by `git grep`), in Hebrew "{0:0} נקודה" and "{0:0} נקודות". Two keys cover one and other. They have no key for exactly 2, which the Hebrew categories name; the native reviewer should say whether that matters for a digit numeral. A general mechanism is a code change in `unity/` and a proposal to the maintainer; these explicit selectors are precedents to assess before introducing a general mechanism.
+Check: a pattern search over the strings files: no "(s)" string today; `event.more` in English has its own `event.more_one`.
### UI-18 Text and accessibility
Status: proposed. Reason: WCAG 2.2 is a design target for the web, not a conformance claim for this game. The criteria that affect copy are: labels name their purpose, an error says what is wrong and how to fix it, colour is not the only signal, and abbreviations are explained. Contrast and size are design checks and belong to issue #41.
@@ -171,7 +171,7 @@ Check: manual.
| `why.empty` | Nothing has happened yet: end the turn to see its causes. | Good, empty state with a next step | UI-10 |
| `budget.queued` | Submitted: takes effect at End turn | Good, state and consequence | UI-03 |
| `budget.unsaved` | Changed: submit to put it to the vote | Good, state and next step | UI-05 |
-| `event.more` (en) | {0} more decision(s) waiting | Weak | UI-04 |
+| `event.more`, `event.more_one` (en) | {0} more decisions waiting; {0} more decision waiting | Fixed: two-key plural (UI-17) | UI-04, UI-17 |
| `order.invalid` | That order is not valid | Weak | UI-06, UI-07 |
| `order.failed` | The turn could not run. Your orders were cleared. Give them again. | Adopted recovery wording, #676 | UI-07 |
| `order.unknown` | Unknown {0} | Fixed in #630 (kind only) | UI-07 |
@@ -213,7 +213,7 @@ For the maintainer:
- Confirm the punctuation rule (UI-08). The capitalisation rule (UI-02, glossary `label-capitalisation`) is settled by #630.
- The remaining refusal rewrites, such as order.no_attention (UI-05). The order.failed recovery wording is already adopted and implemented (#676).
- Whether the two-key plural (`hud.say_point`, `hud.say_points`) is enough, or a general mechanism is wanted (UI-04, UI-17).
-- Where the spelling rule is written: today only in a comment in `content/offices.yaml` (UI-14).
+- Where the spelling rule is written: a comment in `content/offices.yaml` and the glossary's `defence-screen-and-office` entry, not yet `docs/WRITING_GUIDE.md` (UI-14).
- Optional: the "Majority" label (UI-03).
For the native Hebrew reviewer: every point in UI-16, and the Hebrew of any candidate rewrite.