Commit Graph
2 Commits
Author SHA1 Message Date
Mao NakamotoandClaude Opus 4.7 aab03321bf tools(i18n): expand audit + translation-pipeline scripts
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>
2026-06-09 09:30:46 +02:00
g-butandClaude Sonnet 4.6 6e92b316ba chore: add compliance audit scripts, simplify ship.sh, fix i18n badge key
- npm run compliance:ssot / compliance:i18n — new audit scripts that detect
  SSOT and i18n violations in CI or local runs
- scripts/baselines/ — snapshot files for the audits
- ship.sh simplified to a minimal quality gate (lint, typecheck, test)
- services/data.ts: badgeKey replaces hardcoded badge string so the 'soon'
  label is driven by translations (messages/*.json services.badges.soon)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 10:31:49 +02:00