add more tips and fix translations

This commit is contained in:
Alberto Xamin 2023-01-24 20:52:52 +01:00
parent 37eaa751c9
commit 19be866323
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2
3 changed files with 8 additions and 4 deletions

View File

@ -188,7 +188,7 @@ export default {
this.$socket.emit('discord_auth', {code:this.$route.query.code, origin:window.location.origin}) this.$socket.emit('discord_auth', {code:this.$route.query.code, origin:window.location.origin})
this.$router.replace({query: []}) this.$router.replace({query: []})
} }
this.randomTip = `tip_${1+Math.floor(Math.random() * 8)}` this.randomTip = `tip_${1+Math.floor(Math.random() * 10)}`
if (localStorage.getItem('username')) if (localStorage.getItem('username'))
this.username = localStorage.getItem('username') this.username = localStorage.getItem('username')
else { else {

View File

@ -8,6 +8,8 @@
"tip_6": "Now with a discord server!", "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_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)!", "tip_8": "If you disconnect during in an ongoing game you will be replaced by a bot (while you are gone)!",
"tip_9": "If you are on mobile hold on a card to read the description!",
"tip_10": "If in doubt shoot all the other players!",
"online_players": "Online players: ", "online_players": "Online players: ",
"shuffle_players": "Shuffle Players", "shuffle_players": "Shuffle Players",
"choose_username": "Pick an username:", "choose_username": "Pick an username:",
@ -201,7 +203,7 @@
}, },
"Bang!": { "Bang!": {
"name": "Bang!", "name": "Bang!",
"desc": "Shoot a player in sight. If you do not have weapons, your is sight is 1" "desc": "Shoot a player in sight. If you do not have weapons, your sight is 1"
}, },
"Birra": { "Birra": {
"name": "Beer", "name": "Beer",
@ -329,7 +331,7 @@
}, },
"Pepperbox": { "Pepperbox": {
"name": "Pepperbox", "name": "Pepperbox",
"desc": "Shoot a player in sight. If you do not have weapons, your is sight is 1" "desc": "Shoot a player in sight. If you do not have weapons, your sight is 1"
}, },
"Howitzer": { "Howitzer": {
"name": "Howitzer", "name": "Howitzer",
@ -477,7 +479,7 @@
}, },
"Il Giudice": { "Il Giudice": {
"name": "The Judge", "name": "The Judge",
"desc": "You can't equip cards on your or other players" "desc": "You can't equip cards on yourself or other players"
}, },
"Agguato": { "Agguato": {
"name": "Ambush", "name": "Ambush",

View File

@ -8,6 +8,8 @@
"tip_6": "Adesso con un server discord!", "tip_6": "Adesso con un server discord!",
"tip_7": "Se vuoi aiutarci a tradurre il gioco nella tua lingua scrivicelo su 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)!", "tip_8": "Se ti disconnetti durante una partita verrai sostituito da un bot (durante la tua assenza)!",
"tip_9": "Se sei da cellulare tieni premuto su una carta per vedere la descrizione!",
"tip_10": "Se in dubbio spara a tutti gli altri giocatori!",
"online_players": "Giocatori online: ", "online_players": "Giocatori online: ",
"shuffle_players": "Riordina Giocatori", "shuffle_players": "Riordina Giocatori",
"choose_username": "Scegli un username:", "choose_username": "Scegli un username:",