diff --git a/scripts/i18n/scan-hardcoded.ts b/scripts/i18n/scan-hardcoded.ts index c7b1f060..b4139935 100755 --- a/scripts/i18n/scan-hardcoded.ts +++ b/scripts/i18n/scan-hardcoded.ts @@ -26,8 +26,12 @@ const AREAS = [ /** * Areas that have been converted and must stay converted. Add an area here the moment it reaches * zero — enabling every area on day one would just be red for weeks and get ignored. + * + * 'shared components' landed 2026-08-23 (localization phase 1). It holds three `new Error()` messages + * that must NEVER be translated; they are reported but excluded from the check, which is why the + * neverTranslate split below has to exist for this entry to be possible at all. */ -const ZEROED: string[] = []; +const ZEROED: string[] = ['shared components']; const SKIP = /node_modules|\.gen\.|[/\\]locales[/\\]|[/\\]vendor[/\\]|\.test\.|\.d\.ts$/;