mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-05 08:22:24 +01:00
New scripts: - i18n-leaks.mjs / i18n-apply-leaks.mjs — detect+merge per-locale values that are identical to en.json/de.json source (untranslated leaks) - i18n-hardcoded-audit.mjs — catches German UI strings hardcoded in tsx outside messages/ AND wrong-language values inside messages/<locale>.json - i18n-split-chunks.mjs / i18n-merge-chunks.mjs — split _missing/<locale>.json into N chunks for parallel translation, then reassemble Modified: - i18n-apply.mjs / i18n-audit.mjs / i18n-missing.mjs / merge-messages.ts — accept 'ru' as a valid locale - package.json — new npm scripts: compliance:i18n-hardcoded, i18n:leaks, i18n:apply-leaks; bundled into the compliance umbrella Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
25 lines
400 B
JSON
25 lines
400 B
JSON
{
|
|
"description": "Known missing translation keys. The audit fails only on regressions beyond this baseline.",
|
|
"defaultLocale": "de",
|
|
"locales": [
|
|
"fr",
|
|
"en",
|
|
"it",
|
|
"es",
|
|
"ja",
|
|
"ko",
|
|
"ru"
|
|
],
|
|
"missing": {
|
|
"fr": [],
|
|
"en": [],
|
|
"it": [],
|
|
"es": [],
|
|
"ja": [],
|
|
"ko": [],
|
|
"ru": [
|
|
"services.catalog.buildYourComputer.pricing"
|
|
]
|
|
}
|
|
}
|