From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sat, 29 Feb 2020 12:45:03 +0000 (+0100)
Subject: Forgot two translations
X-Git-Url: https://git.auder.net/doc/current/%7B%7B%20asset('mixstore/css/user/%3C?a=commitdiff_plain;h=3b959cfaf3d3a28373d7ebb48d80087150a98006;p=vchess.git

Forgot two translations
---

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", []);
           }
         );