Added Spanish translation.#113
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis pull request adds comprehensive Spanish language support to the application by introducing a new Spanish translation file containing 741 UI strings, registering the ChangesSpanish Language Support
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/routes/settings.index.tsx`:
- Line 176: Update the language dropdown entry that currently renders the option
with value "es-ES" so its visible label uses the native name "Español" instead
of the English "Spanish"; locate the option element with value="es-ES" in the
settings UI (in settings.index.tsx) and replace the display text while leaving
the value attribute intact to preserve form behavior.
In `@src/translations/es-ES.json`:
- Line 371: Three translation keys remain in English; update the Spanish locale
values for online.agreementSignUp, settings.updateDb.progressLabel, and
settings.logs.uploadError to the provided Spanish strings ("Al pulsar
registrarse o acceder, acepta nuestros", "Progreso de actualización de la base
de datos", "Fallo al subir los logs") so the file src/translations/es-ES.json
returns Spanish text for those keys before shipping.
- Line 18: Update the four Spanish strings in src/translations/es-ES.json:
change the value for key "yes" from "Si" to "Sí"; change
"settings.updateDb.status.ready" from "La base de datos esta lista" to "La base
de datos está lista"; change "settings.readers.noReadersDetected" from "No se
han encontrados lectores" to "No se han encontrado lectores"; and change
"tagSelector.noTags" from "No hay disponible etiquetas" to "No hay etiquetas
disponibles".
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: aa0cce99-2457-4183-a9f0-dd4c5ad933c5
📒 Files selected for processing (4)
AGENTS.mdsrc/i18n.tssrc/routes/settings.index.tsxsrc/translations/es-ES.json
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
# Conflicts: # AGENTS.md
|
@crodriguezdominguez thank you so much! |
I have added support to Spanish in the app.
Summary by CodeRabbit
New Features
Documentation