From: Benjamin Auder Date: Sun, 23 Dec 2018 11:58:28 +0000 (+0100) Subject: Add some forgotten translations + fix typo X-Git-Url: https://git.auder.net/js/pieces/bundles/framework/css/body.css?a=commitdiff_plain;h=d289b0439d795580a6fcdc4b73521f246cd81450;p=vchess.git Add some forgotten translations + fix typo --- diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index 54334e30..e4b96748 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -404,7 +404,7 @@ Vue.component('my-game', { h('button', { on: { click: this.undoInGame }, - attrs: { "aria-label": trnaslations['Undo'] }, + attrs: { "aria-label": translations['Undo'] }, "class": { "play": true, "spaceleft": true, diff --git a/public/javascripts/components/problems.js b/public/javascripts/components/problems.js index 9288a393..7c588b24 100644 --- a/public/javascripts/components/problems.js +++ b/public/javascripts/components/problems.js @@ -45,10 +45,10 @@ Vue.component('my-problems', {

{{ translate("Safe HTML tags allowed") }}

+ :placeholder='translate("Describe the problem goal")'> + :placeholder='translate("How to solve the problem?")'> diff --git a/views/translations/en.pug b/views/translations/en.pug index 9630efc3..1e8555ee 100644 --- a/views/translations/en.pug +++ b/views/translations/en.pug @@ -66,7 +66,9 @@ "Full FEN string": "Full FEN string", "Safe HTML tags allowed": "Safe HTML tags allowed", "Instructions": "Instructions", + "Describe the problem goal": "Describe the problem goal", "Solution": "Solution", + "How to solve the problem?": "How to solve the problem?", "Preview": "Preview", "Cancel": "Cancel", "Solve": "Solve", diff --git a/views/translations/fr.pug b/views/translations/fr.pug index 3ec7a509..ee2e1829 100644 --- a/views/translations/fr.pug +++ b/views/translations/fr.pug @@ -66,7 +66,9 @@ "Full FEN string": "Chaîne FEN complète", "Safe HTML tags allowed": "HTML 'sûr' autorisé", "Instructions": "Instructions", + "Describe the problem goal": "Décrire le but du problème", "Solution": "Solution", + "How to solve the problem?": "Comment résoudre le problème ?", "Preview": "Prévisualiser", "Cancel": "Annuler", "Solve": "Résoudre",