Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Spanish translation #483

Merged
merged 4 commits into from
Feb 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ learnr (development version)
* Feedback messages can now be an htmltools tag or tagList, or a character message ([#458](https://github.com/rstudio/learnr/pull/458))
* Added an option to reveal [default] (or hide) the solution to an exercise. Set `exercise.reveal_solution` in the chunk options of a `*-solution` chunk to choose whether or not the solution is revealed to the user. The option can also be set globally with `tutorial_options()`. In a future version of learnr, the default will be changed to hide solutions. ([#402](https://github.com/rstudio/learnr/issue/402))
* Added shortcuts for pipe (`Command/Control+Shift+M`) and assignment (`Alt+-`) operators in exercise code boxes. ([#472](https://github.com/rstudio/learnr/pull/472))
* Added Spanish language support (@yabellini [#483](https://github.com/rstudio/learnr/pull/483))

## Bug fixes

Expand Down
28 changes: 28 additions & 0 deletions data-raw/i18n_translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,115 +56,143 @@ button:
runcode:
en: "Run Code"
fr: "Lancer le Code"
es: "Ejecutar código"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: "🏃"
runcodetitle:
# {{kbd}} — The keyboard shortcut that triggers the runcode button
en: "$t(button.runcode) ({{kbd}})"
fr: "$t(button.runcode) ({{kbd}})"
es: "$t(button.runcode) ({{kbd}})"
emo: "$t(button.runcode) ({{kbd}})"
hint:
en: "Hint"
fr: "Indication"
es: "Pista"
emo: "💡"
hint_plural:
en: "Hints"
fr: "Indications"
es: "Pistas"
emo: "$t(button.hint)"
hinttitle:
en: "$t(button.hint)"
fr: "$t(button.hint)"
es: "$t(button.hint)"
emo: "$t(button.hint)"
hintnext:
en: "Next Hint"
fr: "Indication Suivante"
es: "Siguiente pista"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: ~
hintprev:
en: "Previous Hint"
fr: "Indication Précédente"
es: "Pista anterior"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: ~
solution:
en: "Solution"
fr: "Solution"
es: "Solución"
emo: "🎯"
solutiontitle:
en: "$t(button.solution)"
fr: "$t(button.solution)"
es: "$t(button.solution)"
emo: "$t(button.solution)"
copyclipboard:
en: "Copy to Clipboard"
fr: "Copier dans le Presse-papier"
es: "Copiar al portapapeles"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: "📋"
startover:
en: "Start Over"
fr: "Recommencer"
es: "Reiniciar"
emo: "⏮"
startovertitle:
en: "$t(button.startover)"
fr: "$t(button.startover)"
es: "$t(button.startover)"
emo: "Start Over"
continue:
en: "Continue"
fr: "Continuer"
es: "Continuar"
emo: "✅"
submitanswer:
en: "Submit Answer"
fr: "Soumettre"
es: "Enviar respuesta"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: "🆗"
submitanswertitle:
en: "$t(button.submitanswer)"
fr: "$t(button.submitanswer)"
es: "$t(button.submitanswer)"
emo: "Submit Answer"
previoustopic:
en: "Previous Topic"
fr: "Chapitre Précédent"
es: "Tema anterior"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: "⬅"
nexttopic:
en: "Next Topic"
fr: "Chapitre Suivant"
es: "Tema siguiente"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: "➡"
questionsubmit:
en: "$t(button.submitanswer)"
fr: "$t(button.submitanswer)"
es: "$t(button.submitanswer)"
emo: "$t(button.submitanswer)"
questiontryagain:
en: "Try Again"
fr: "Réessayer"
es: "Volver a intentar"
gadenbuie marked this conversation as resolved.
Show resolved Hide resolved
emo: "🔁"
text:
startover:
en: "Start Over"
fr: "Recommencer"
es: "Reiniciar"
emo: "⏮"
areyousure:
en: "Are you sure you want to start over? (all exercise progress will be reset)"
fr: "Êtes-vous certains de vouloir recommencer? (La progression sera remise à zéro)"
es: "¿De verdad quieres empezar de nuevo? (todo el progreso del ejercicio se perderá)"
emo: "🤔"
youmustcomplete:
en: "You must complete the"
fr: "Vous devez d'abord compléter"
es: "Debes completar"
emo: "⚠️ 👉 🧑‍💻"
exercise:
en: "exercise"
fr: "l'exercice"
es: "el ejercicio"
emo: ""
exercise_plural:
en: "exercises"
fr: "des exercices"
es: "los ejercicios"
emo: ""
inthissection:
en: "in this section before continuing."
fr: "de cette section avec de continuer."
es: "en esta sección antes de continuar."
emo: ""
code:
en: "Code"
fr: "Code"
es: "Código"
emo: "💻"
enginecap:
# {{engine}} — The code engine used by the exercise, e.g. "R", "SQL", "JavaScript"
en: "{{engine}} $t(text.code)"
fr: "$t(text.code) {{engine}}"
es: "$t(text.code) {{engine}}"
emo: "$t(text.code) {{engine}}"
quiz:
en: "Quiz"
fr: "Quiz"
es: "Cuestionario"
emo: ~
Binary file modified inst/i18n_translations
Binary file not shown.