From abe6d1573d8df26aff0019597a2361dd272242b5 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Fri, 25 Jun 2021 14:21:30 +0200 Subject: [PATCH] add disconnected tip --- frontend/src/components/Menu.vue | 2 +- frontend/src/i18n/en.json | 1 + frontend/src/i18n/it.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Menu.vue b/frontend/src/components/Menu.vue index c4bc3b4..d0e0109 100644 --- a/frontend/src/components/Menu.vue +++ b/frontend/src/components/Menu.vue @@ -147,7 +147,7 @@ export default { }, }, mounted() { - this.randomTip = `tip_${1+Math.floor(Math.random() * 7)}` + this.randomTip = `tip_${1+Math.floor(Math.random() * 8)}` if (localStorage.getItem('username')) this.username = localStorage.getItem('username') else { diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 48f5ee9..372b201 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -7,6 +7,7 @@ "tip_5": "Found a bug? Message us on discord!", "tip_6": "Now with a discord server!", "tip_7": "If you want to help us translate the game in your language, ping us on discord!", + "tip_8": "If you disconnect during in an ongoing game you will be replaced by a bot (while you are gone)!", "online_players": "Online players: ", "choose_username": "Pick an username:", "available_lobbies": "Available Lobbies:", diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json index e00b670..6ef3b10 100644 --- a/frontend/src/i18n/it.json +++ b/frontend/src/i18n/it.json @@ -7,6 +7,7 @@ "tip_5": "Se trovi un bug comunicacelo su discord!", "tip_6": "Adesso con un server discord!", "tip_7": "Se vuoi aiutarci a tradurre il gioco nella tua lingua scrivicelo su discord!", + "tip_8": "Se ti disconnetti durante una partita verrai sostituito da un bot (durante la tua assenza)!", "online_players": "Giocatori online: ", "choose_username": "Scegli un username:", "available_lobbies": "Stanze disponibili:",