From 3b959cfaf3d3a28373d7ebb48d80087150a98006 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Sat, 29 Feb 2020 13:45:03 +0100 Subject: [PATCH] Forgot two translations --- client/src/components/Chat.vue | 2 +- client/src/components/Settings.vue | 2 +- client/src/views/Game.vue | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/components/Chat.vue b/client/src/components/Chat.vue index 7f807676..6eb7ef31 100644 --- a/client/src/components/Chat.vue +++ b/client/src/components/Chat.vue @@ -1,7 +1,7 @@ <template lang="pug"> div button(@click="clearHistory()") - | {{ st.tr["Clear chat"] }} + | {{ st.tr["Clear history"] }} input#inputChat( type="text" :placeholder="st.tr['Chat here']" diff --git a/client/src/components/Settings.vue b/client/src/components/Settings.vue index d01f2cd4..6e623ba4 100644 --- a/client/src/components/Settings.vue +++ b/client/src/components/Settings.vue @@ -47,7 +47,7 @@ div option(value="chesstempo") {{ st.tr["blue"] }} fieldset label(for="setSound") - | {{ st.tr["Sound on new game?"] }} + | {{ st.tr["Sound alert when game starts?"] }} input#setSound( type="checkbox" v-model="st.settings.sound" diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 23c45783..b52de829 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -212,6 +212,7 @@ export default { "DELETE", {gid: this.game.id}, () => { + // TODO: this.game.pastChats = [] could be enough here? this.$set(this.game, "pastChats", []); } ); -- 2.44.0