Files
jobtrackingapp/docs/i18n/DIRECT_CATALOGUE_REVIEW.md
T
2026-11-03 09:50:59 +01:00

1.8 KiB

Historical direct catalogue access review

3 November 2026. All four entries in the frozen 00/DIRECT_CATALOGUE_ACCESS.json are in I18nProvider.tsx. Reviewed actual current callers and source, not re-extracted as a claim of complete current coverage.

Historical expression Context and disposition
translations[l].settingsLanguageSaveFailed Public static account-preference error copy, no runtime private value. Uses requested language, guarded by save sequence/current language before showing feedback. Deliberate provider-internal access; calling the context hook inside its owner is inappropriate. Retain.
translations[l].retry Static retry action label in the same guarded feedback; no interpolation/private data. Retain.
translations[language][key] Central typed message lookup inside t, passed to interpolation; all callers use this message owner. React callers render text; this review does not certify every sink. Retain.
translations.en[key] Deterministic English fallback for the central lookup. No country/document-language coupling. Retain.

The provider's TranslationKey/UiLanguage contracts and catalogue completeness tests constrain these accesses; sequence guards prevent obsolete-save feedback/retries. No new catalogue bypass or runtime change was required. Existing provider/catalogue tests pass within the40-case document-date qualification; this is not native linguistic or full security acceptance.

Original inventory/hash/line records are immutable historical evidence. Current source identity is bound in document-date SOURCE_MANIFEST.json. This closes contextual classification of the four historical direct accesses only. Current full re-extraction, non-catalogue/backend literal inventory and every-string sensitivity/caller review remain incomplete. No runtime user content was exported or translated externally.