Files
jobtrackingapp/docs/ui-modernisation/DIALOG_DEFAULT_LOCALE.md
T

1.7 KiB

Live default confirmation and prompt labels

16 November 2026. Bounded EN/NB maintenance source 121627ff, branch codex/a3-ui-10.

Both providers keep omitted titles/action labels omitted in state and resolve existing default keys during rendering. An open dialog now follows EN↔NB changes without resetting its promise, focus, input or selection. Explicit caller strings, including empty values, remain verbatim. No API, catalogue, caller, resolver, destructive/close or prompt-length contract changed.

RED:four default drift failures and four explicit/empty literal controls passed; six other provider cases filtered. Intermediate16 pass/four failures were test setup: fireEvent.click did not focus the opener, so the existing modal correctly restored the body. Tests now focus the opener before opening; no production focus change was made. Final20 provider/modal/flow cases passed. Root affected143 cases across nine suites (including current CV/mail/backup/Career-evidence callers), project TypeScript, four-file scoped lint and whitespace check passed. Earlier20 overlaps143. Root independently matched the worker's exact four source/test hashes. AST graph update passed19,255 nodes/47,326 edges.

This does not make explicit t(...) snapshot strings reactive. The separately planned opt-in key/params contract is tracked in DIALOG_TEXT_CONTRACT.md. Formal I18N stage/new-locale, actual browser/device/AT/native-language and final A3/security/release acceptance remain open; Next build is still FAILED pending advisory qualification. Source facts, generated document language, RD21 and canonical profile ownership are untouched.

Native logs use .txt artifact names and exact gzip copies. Source/canonical/native bindings.