mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-01 19:48:28 +01:00
ci(i18n): add unused & missing translation-key check to Quality Gate
Dependency-free Bun script (bun run i18n:check, added to the linting matrix): flags keys referenced in code but missing from en.json, and keys in en.json referenced nowhere. Handles dynamic t(\prefix.\\) and keys stored as string constants (exact delimited-literal match). Source-only: only en.json is checked/edited; Crowdin syncs the other locales. Planned-feature keys are allow-listed in scripts/i18n-keys.config.json.
This commit is contained in:
1
.github/workflows/linting.yml
vendored
1
.github/workflows/linting.yml
vendored
@@ -97,6 +97,7 @@ jobs:
|
||||
- "check"
|
||||
- "format"
|
||||
- "typecheck"
|
||||
- "i18n:check"
|
||||
|
||||
steps:
|
||||
- name: "📥 Checkout PR code"
|
||||
|
||||
Reference in New Issue
Block a user