diff --git a/backend/bang/expansions/dodge_city/cards.py b/backend/bang/expansions/dodge_city/cards.py index 3add899..a431a58 100644 --- a/backend/bang/expansions/dodge_city/cards.py +++ b/backend/bang/expansions/dodge_city/cards.py @@ -66,7 +66,7 @@ class Rissa(CatBalou): self.name = 'Rissa' 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_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_target = False self.alt_text = '2🃏' diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index 2bdb9f7..3f20874 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -117,7 +117,9 @@ export default { this.max_lives = self.max_lives this.has_played_bang = self.has_played_bang 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!' this.expected_response = self.expected_response this.available_cards = self.available_cards diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index a47424a..2000565 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -83,5 +83,8 @@ }, "mods": "Modifiers", "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!" } \ No newline at end of file diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json index 986b153..b3f4e0b 100644 --- a/frontend/src/i18n/it.json +++ b/frontend/src/i18n/it.json @@ -83,5 +83,8 @@ }, "mods": "Modificatori", "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!" } \ No newline at end of file