Skip to content

Adds full es.json translation (1170 keys, parity-checked against - #525

Open
Stivenavila wants to merge 1 commit into
chaitanyagiri:mainfrom
Stivenavila:main
Open

Stivenavila wants to merge 1 commit into
chaitanyagiri:mainfrom
Stivenavila:main

Conversation

@Stivenavila

Copy link
Copy Markdown

en.json), registers 'es' in LANGUAGES/resources/supportedLngs, and covers it in the anti-"Michael" hardcode test.

What & why

Adds Spanish (es) as a supported UI language. Fills es.json with a full
translation of en.json (1170 keys, parity-checked so no key is missing
or extra), registers 'es' in LANGUAGES/resources/supportedLngs in i18n/
index.ts, and extends the anti-"Michael" hardcode test to cover it.

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Docs
  • Build / CI

Evidence

image

Before

before-language-picker

After

after-spanish-ui

How I tested it

  • OS: Debian
  • Steps:
    1. npm run typecheck → pasa sin errores (typecheck:node + typecheck:web)
    2. npm run test:focused → 834/834 tests pasan (incluye i18n-god-name.test.cjs con 'es' cubierto)
    3. npm run build → build exitoso (electron-vite build + copy:main-assets)
    4. Verificación manual en Settings → General → Language: app lanzada bajo xvfb con Playwright,
      confirmado por DOM que el pasa de ["English","简体中文","العربية"] a ["English","Español","简体中文","العربية"], y la UI se traduce al seleccionar Español (ver capturas Before/After) Credit (optional) Discord: X: xtaku Checklist [x] Before and after evidence is attached above, under both headings. [x] npm run typecheck passes. [x] npm run test:focused passes. [x] npm run build succeeds. [x] This PR is one change. Unrelated fixes belong in their own PR. [x] I read the diff myself before opening this, and there is no debug output, commented-out code, or unrelated formatting churn in it. [x] Any new UI derives from DESIGN.md / tokens.ts — no ad-hoc colors, spacing, or fonts. [ ] If I added art, it's my own or compatibly licensed, and listed in ATTRIBUTION.md.

en.json), registers 'es' in LANGUAGES/resources/supportedLngs, and
covers it in the anti-"Michael" hardcode test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant