From f3857311d52e25584b537e75c1a94818ef12cb6c Mon Sep 17 00:00:00 2001 From: Alberto Date: Sun, 20 Jun 2021 18:29:05 +0200 Subject: [PATCH] add translation 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 d9cbd0a..c4bc3b4 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() * 6)}` + this.randomTip = `tip_${1+Math.floor(Math.random() * 7)}` 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 87dcb9b..c013cad 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -6,6 +6,7 @@ "tip_4": "Dodge City, High Noon, Fistful Of Cards included!", "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!", "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 1c8a8c3..2804664 100644 --- a/frontend/src/i18n/it.json +++ b/frontend/src/i18n/it.json @@ -6,6 +6,7 @@ "tip_4": "Dodge City, High Noon, Fistful Of Cards inclusi!", "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!", "online_players": "Giocatori online: ", "choose_username": "Scegli un username:", "available_lobbies": "Stanze disponibili:",