feat(i18n): add scoped i18n foundation with one migrated page (#2097)
Co-authored-by: Kandev Agent <agent@kandev.dev>
This commit is contained in:
@@ -146,6 +146,15 @@ jobs:
|
||||
- name: Run lint
|
||||
run: pnpm --filter @kandev/web lint
|
||||
|
||||
# Unlike the eslint literal-string guard (scoped to already-migrated paths
|
||||
# via i18nGuardFiles), these four checks scan components/app/hooks/lib
|
||||
# repo-wide. Each one pins a class of i18n bug that fails silently at
|
||||
# runtime: a key with no catalog entry, <Trans> tag markup rendered
|
||||
# verbatim, an English plural ending passed as a value, and t() at module
|
||||
# scope frozen at the boot locale. See docs/i18n.md.
|
||||
- name: Run i18n checks
|
||||
run: pnpm --filter @kandev/web i18n:check
|
||||
|
||||
- name: Run tests
|
||||
run: pnpm --filter @kandev/web test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user