From: Benjamin Auder Date: Fri, 14 Feb 2020 16:43:50 +0000 (+0100) Subject: Give move notation with confirm message in Game (corr) X-Git-Url: https://git.auder.net/variants/img/pieces/scripts/doc/html/packages.html?a=commitdiff_plain;h=d8b1800bcec983faabc34bdb1057ef880488a160;p=vchess.git Give move notation with confirm message in Game (corr) --- diff --git a/client/src/translations/en.js b/client/src/translations/en.js index b912ef39..0393101e 100644 --- a/client/src/translations/en.js +++ b/client/src/translations/en.js @@ -52,6 +52,7 @@ export const translations = "Logout": "Logout", "Logout successful!": "Logout successful!", "Modifications applied!": "Modifications applied!", + "Move played:": "Move played:", "Mutual agreement": "Mutual agreement", "My games": "My games", "My problems": "My problems", diff --git a/client/src/translations/es.js b/client/src/translations/es.js index cbc5c640..2eca34b4 100644 --- a/client/src/translations/es.js +++ b/client/src/translations/es.js @@ -52,6 +52,7 @@ export const translations = "Logout": "Logout", "Logout successful!": "¡Desconexión exitosa!", "Modifications applied!": "¡Modificaciones aplicadas!", + "Move played:": "Movimiento jugado:", "Mutual agreement": "Acuerdo mutuo", "My games": "Mis partidas", "My problems": "Mis problemas", diff --git a/client/src/translations/fr.js b/client/src/translations/fr.js index 1510f44c..dbebfbb4 100644 --- a/client/src/translations/fr.js +++ b/client/src/translations/fr.js @@ -52,6 +52,7 @@ export const translations = "Logout": "Logout", "Logout successful!": "Déconnection réussie !", "Modifications applied!": "Modifications effectuées !", + "Move played:": "Coup joué :", "Mutual agreement": "Accord mutuel", "My games": "Mes parties", "My problems": "Mes problèmes", diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 1b82d81f..a79cf803 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -563,7 +563,7 @@ export default { processMove: function(move) { if (this.game.type == "corr" && move.color == this.game.mycolor) { - if (!confirm(this.st.tr["Are you sure?"])) + if (!confirm(this.st.tr["Move played:"] + " " + move.notation + "\n" + this.st.tr["Are you sure?"])) return this.$set(this.game, "moveToUndo", move); } // Update storage (corr or live) if I play in the game