Cosmetics: 'type first letters' inlined in input text field on Variants page
[vchess.git] / client / src / views / Hall.vue
index 5fcbb31..2395f60 100644 (file)
@@ -293,7 +293,7 @@ export default {
           if (!targetSid)
           {
             if (!!warnDisconnected)
-              alert(this.st.tr["Warning: target is not connected"]);
+              alert(this.st.tr["Target is not connected"]);
             return false;
           }
         }
@@ -307,9 +307,9 @@ export default {
       switch (data.code)
       {
         case "duplicate":
-          this.st.conn.send(JSON.stringify({code:"duplicate"}));
+          this.st.conn.send(JSON.stringify({code:"duplicate", page:"/"}));
           this.st.conn.send = () => {};
-          alert(this.st.tr["Warning: multi-tabs not supported"]);
+          alert(this.st.tr["This tab is now offline"]);
           break;
         // 0.2] Receive clients list (just socket IDs)
         case "pollclients":