Simpl-Resultat/src
le king fu 8a250b98b5 test: guard the key parity of fr.json and en.json (#453)
No test compared the key trees of the two locale files: a key added to one
language only passed the build and the suite, then showed raw to an English
user (missing from en.json) or in English to a French user (missing from
fr.json, English being the fallback).

src/i18n/locales.keys.test.ts imports both files statically, flattens every
node to a dotted path, array indices included (docs.dashboard.features.6),
and fails with the keys missing from each language in a test of its own,
plus a third test for a path held with another kind in each file (an array
against an object, a leaf against an object or an array). Values are never
compared. A canary checks both files were read whole, array items included,
and four tests on small fixtures pin the rules of the comparison.

Run on the base (6e8e157): 1712 leaves on each side, no gap, so no
translation to add.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:12:32 -04:00
..
__fixtures__ feat(onboarding): create_sample_import_folders command, sample CSV templates and detection test (#354) 2026-10-03 19:50:41 -04:00
__integration__ test(dialogs): guard against aliases of confirmAction and other native forms 2026-10-18 14:29:17 -04:00
components fix(dialogs): wait for the confirmation before deleting or removing the key 2026-10-18 14:29:17 -04:00
contexts feat(onboarding): visit steps, eight rows, "Got it" and one-time initialization 2026-10-13 21:32:20 -04:00
data feat(categories): add v1 IPC seed, i18n keys, and migration v8 (#115) 2026-04-19 16:41:55 -04:00
hooks fix(dialogs): wait for the confirmation before deleting or removing the key 2026-10-18 14:29:17 -04:00
i18n test: guard the key parity of fr.json and en.json (#453) 2026-10-18 17:12:32 -04:00
pages fix(dialogs): wait for the confirmation before deleting or removing the key 2026-10-18 14:29:17 -04:00
services fix(dialogs): wait for the confirmation before deleting or removing the key 2026-10-18 14:29:17 -04:00
shared refactor(gating): one constant for the split's feature key 2026-10-17 07:36:33 -04:00
test test(harness): follow-ups of the review of PR #434 2026-10-13 19:51:20 -04:00
utils feat(onboarding): step cards of the Categories and Reports pages 2026-10-13 21:45:05 -04:00
App.tsx fix(startup): clear the startup error when the profile opens after the delay 2026-10-12 20:18:18 -04:00
main.tsx feat(gating): license provider + entitlements matrix + useEntitlement (#297) 2026-07-19 21:05:10 -04:00
styles.contrast.test.ts fix(onboarding): give the focus ring back to the highlighted control 2026-10-08 21:05:30 -04:00
styles.css fix(onboarding): give the focus ring back to the highlighted control 2026-10-08 21:05:30 -04:00
vite-env.d.ts Initial project scaffold: Tauri v2 + React + TypeScript + TailwindCSS v4 2026-02-07 11:05:11 +00:00