Repository navigation
Bugfix Issue 2131 Authored Chapter I18n
Issue #2130 added a project-specific text area to the Maintainability &
Portability chapter and 15 locale keys to all ten bundles. Commit a021fc580
(#1151, linked requirements in execTest.html) rewrote the tail block of every
bundle and removed those keys again, including ts.maintAuthoredTitle,
ts.maintAuthoredHint, ts.maintTextLabel and ts.maintEmpty. Because the
English reference en.json lost the same keys, the coverage gate saw equal
counts and reported 9/9 PASS.
The screens therefore painted raw keys — before the fix:

- Restored each key with its original locale translation from
f21665fb7, appended after the currentexe.*tail in de/en/es/fr/it/ja/pt/ro/ru/zh — no existing line was rewritten, so concurrent additions survive. - Added
ai/required_i18n_keys.txtwith the 15 keys and a new check inai/verify_i18n_coverage.shthat fails when a pinned key is missing fromen.jsonor any bundle. Rejected: English fallbacks in every bundle, a full-file JSON rewrite, or scanning all templates for keys (the repo has unrelated historical gaps that would make the gate permanently red).
After the fix, the editor and the report show the translated labels:

python3 -m json.tool OK ×10; real gate 14138 keys, 9/9 PASS; negative test
with ts.maintEmpty removed from all ten bundles in a temp copy → exit 1 with
FAIL en.json plus 9 bundle FAILs. Browser: editor shows Project-specific
notes, Maintainability & portability notes, Save notes, No notes have
been saved…; report panel 11 shows 11. Authored chapter notes and its
localized empty state; console clean. BFF strategychapter (init/list) and
strategyreport (init) → 200; 0 Error/Warning rows in events. Regression
suite Issue #2131 appended, own suite-gate checks PASS.
Refs #2130, #1151. Fixes #2131.