Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(scripts): handle missing translation keys in i18n audit

Steven Enamakel6fb497670c24
diff --git a/scripts/i18n-react-audit.ts b/scripts/i18n-react-audit.ts
index 5ee3870bc4..f73a46c13d 100644
--- a/scripts/i18n-react-audit.ts
+++ b/scripts/i18n-react-audit.ts
@@ -41,6 +41,20 @@ const IGNORED_TEXT = new Set([
'status', // example field name
'type', // example field name
'return items;', // example code snippet
+ // EmbeddingsSetupModal.tsx placeholders — example custom-endpoint config
+ // values (a URL and a model-name example), not prose.
+ 'https://your-endpoint.com/v1', // example custom embeddings endpoint URL
+ 'text-embedding-3-small', // example embeddings model name
+ // ThemeStudioPanel.tsx placeholders — non-linguistic examples (an image URL
+ // and a JSON shape) shown as field placeholders, not prose.
+ 'https://…/background.jpg', // example background image URL
+ '{ "name": "...", "isDark": false, "colors": { ... } }', // example theme JSON shape
+ // VoicePanelRoutingSection.tsx placeholder — an opaque ElevenLabs voice-ID
+ // example, not English text.
+ 'JBFqnCBsd6RMkjVDRZzb', // example ElevenLabs voice ID
+ // NumberField.tsx range separator — a decorative en-dash entity between
+ // {min} and {max}, not translatable content.
+ '–', // en-dash range separator
]);
const IGNORED_SHORT_TOKENS = new Set([
'v',