Skip to content

Commit

Permalink
Add Spanish translation (#483)
Browse files Browse the repository at this point in the history
Co-authored-by: Garrick Aden-Buie <garrick@adenbuie.com>
  • Loading branch information
yabellini and gadenbuie committed Feb 3, 2021
1 parent 1ac35b1 commit 197f162
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
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"
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"
emo: ~
hintprev:
en: "Previous Hint"
fr: "Indication Précédente"
es: "Pista anterior"
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"
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"
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"
emo: ""
nexttopic:
en: "Next Topic"
fr: "Chapitre Suivant"
es: "Tema siguiente"
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"
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.

0 comments on commit 197f162

Please sign in to comment.