Repository navigation
fix(i18n): translate 148 missing Spanish native-chat strings for automations, imports, and goals - #48098
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Low Merge Risk:
|
|
A copy review found a few places where the Spanish preview and result could be clearer:
Please include the pending webhook URL label from #48100 as well. |
…mations, imports, and goals Adds 149 es.json leaves under components.native-chat (automationRun, automationSaved, automationResult, eventRow, importPlan, importDone, goal, goalControl): 148 keys plus the goal.checks_many Spanish plural form. Pull request event states agree with "solicitud de extracción", the cancelled wait label agrees with "espera", and GitHub workflow runs use "flujo de trabajo" like the rest of the catalog. Fixes stablyai#48099 Co-authored-by: Neil <neil@stably.ai>
c46f47c to
3ee210a
Compare
|
Thanks for the Spanish translations. #48186 covers the pending webhook label and remaining import and event wording and carries your co-author credit. |
ELI5
With Orca set to Spanish, parts of the chat about automations, bot imports and goals still showed English, because those sentences had never been translated. This PR adds the missing Spanish text, so those rows read fully in Spanish. Only the words change, not how anything works.
What Changed
components.native-chat(automationRun,automationSaved,automationResult,eventRow,importPlan,importDone,goal,goalControl) had no entry ines.json, so i18next fell back to English (Comes over,Import 2 items,Wait over,Merged,3 checks, the English no-goal sentence, and so on).Se importa,Importar 2 elementos,Espera terminada,Fusionada,3 comprobaciones, ...).src/renderer/src/i18n/locales/es.json: the 148 keys plusgoal.checks_many, the Spanish CLDR "many" plural form. Each one sits after the same sibling it follows inen.json. No existing Spanish value, English string or other locale changes.pr_merged,pr_closed,pr_ready) now use feminine forms (Fusionada, Cerrada, Lista para revisión) to match "Solicitud de extracción abierta".automationRun.cancelledbecame "Cancelada" to agree with "espera".automationSaved.gettingUrlis left out on purpose. The bot screens PR i18n: translate bot screens in all supported languages #45740 adds it.Why
These rows appear in every Spanish chat that runs an automation or imports a bot, and they showed up as English blocks on an otherwise Spanish screen. The wording reuses terms already in
es.json(automatización, ejecución, objetivo, solicitud de extracción, «» quotes, tú) so the new text matches the screens around it.Linked Issue
Fixes #48099
Visual Proof
Native chat fixtures in the Spanish UI,
main(top) vs this branch (bottom). The contributor captured these, before the gender and glossary review fixes. Text that stays English is fixture data or comes from strings outside this batch.Testing
mainand Spanish on this branch.verify:localization-catalog(s)gates check each value's{{placeholder}}and<tag>set against English.Checks run on macOS, on
main1c46ba5:verify:localization-catalog,verify:localization-catalogs(es 19793/24748),verify:localization-protected-copyandverify:localization-runtime-catalogpass.repair-locale-catalog --locale es, run in memory, changes none of the added values.bot-template-text,bot-app-lines,bot-failure-codesandaudit-localization-coveragepass (4 files, 16 tests).oxfmt --check, ast-grep and the changed-code quality gate are clean.Performance
None, because only the Spanish desktop catalog grows, and it is parsed once when Spanish loads.
es.jsongoes from 1,464,923 to 1,472,526 bytes (+0.5%). Over 30 runs,JSON.parsetakes a median of 2.55 ms on main and 2.39 ms on this branch, so the difference is within noise. Lookups, polling, I/O and rendering are unchanged.Risk
Level: Low
Only Spanish text is added. If a word is off, Spanish users see that word instead of English. A plain revert backs it out.
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Original fix by @yohangwak in #48098.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred). Targeted checks ran locally. CI covers the full suite.