Improve translations
[vchess.git] / client / src / views / Game.vue
index e3a9408..022e3cb 100644 (file)
@@ -165,8 +165,9 @@ export default {
       switch (data.code)
       {
         case "duplicate":
-          this.st.conn.send(JSON.stringify({code:"duplicate"}));
-          alert(this.st.tr["Warning: multi-tabs not supported"]);
+          this.st.conn.send(JSON.stringify({code:"duplicate",
+            page:"/game/" + this.game.id}));
+          alert(this.st.tr["This tab is now offline"]);
           break;
         // 0.2] Receive clients list (just socket IDs)
         case "pollclients":