window title notification

This commit is contained in:
Alberto Xamin 2020-12-13 16:04:14 +01:00
parent 6309a9c8ff
commit dd044f5062
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2
4 changed files with 12 additions and 4 deletions

View File

@ -66,7 +66,7 @@ class Rissa(CatBalou):
self.name = 'Rissa' self.name = 'Rissa'
self.icon = '🥊' self.icon = '🥊'
self.desc = "Fai scartare una carta a tutti gli altri giocatori, scegli a caso dalla mano, oppure fra quelle che hanno in gioco" self.desc = "Fai scartare una carta a tutti gli altri giocatori, scegli a caso dalla mano, oppure fra quelle che hanno in gioco"
self.desc_eng = "Choose a card to discard from the hand/equipment ofc all the other players" self.desc_eng = "Choose a card to discard from the hand/equipment of all the other players"
self.need_with = True self.need_with = True
self.need_target = False self.need_target = False
self.alt_text = '2🃏' self.alt_text = '2🃏'

View File

@ -117,7 +117,9 @@ export default {
this.max_lives = self.max_lives this.max_lives = self.max_lives
this.has_played_bang = self.has_played_bang this.has_played_bang = self.has_played_bang
this.is_my_turn = self.is_my_turn this.is_my_turn = self.is_my_turn
if (this.is_my_turn) document.title = 'È il tuo turno! | PewPew!' if (this.is_my_turn) document.title = this.$t('your_turn')+' | PewPew!'
else if (this.pending_action == 3) document.title = this.$t('your_response')+' | PewPew!'
else if (this.pending_action == 5) document.title = this.$t('your_choose')+' | PewPew!'
else document.title = 'PewPew!' else document.title = 'PewPew!'
this.expected_response = self.expected_response this.expected_response = self.expected_response
this.available_cards = self.available_cards this.available_cards = self.available_cards

View File

@ -83,5 +83,8 @@
}, },
"mods": "Modifiers", "mods": "Modifiers",
"mod_comp": "Competitive mode (disables automatic take damage)", "mod_comp": "Competitive mode (disables automatic take damage)",
"disconnect_bot": "Replace players that disconnect with bots" "disconnect_bot": "Replace players that disconnect with bots",
"your_turn": "Play your turn!",
"your_response": "Respond!",
"your_choose": "Choose a card!"
} }

View File

@ -83,5 +83,8 @@
}, },
"mods": "Modificatori", "mods": "Modificatori",
"mod_comp": "Modalità competitiva (disattiva il prendi danno automatico)", "mod_comp": "Modalità competitiva (disattiva il prendi danno automatico)",
"disconnect_bot": "Sostituisci i giocatori che si disconnettono con bot" "disconnect_bot": "Sostituisci i giocatori che si disconnettono con bot",
"your_turn": "È il tuo turno!",
"your_response": "Rispondi!",
"your_choose": "Scegli una carta!"
} }