show no players in range message
This commit is contained in:
parent
9659e3574a
commit
b3daa8d958
@ -37,7 +37,7 @@
|
||||
<p v-if="hint"><i>{{hint}}</i></p>
|
||||
</transition>
|
||||
<Chooser v-if="is_my_turn && pending_action == 4 && (lives > 0 || is_ghost)" :text="$t('wait')" :cards="[]"/>
|
||||
<Chooser v-if="card_against" :text="$t('card_against')" :cards="visiblePlayers" :select="selectAgainst" :cancel="cancelCardAgainst"/>
|
||||
<Chooser v-if="card_against" :text="$t('card_against')" :hint-text="visiblePlayers.length === 0 ? $t('no_players_in_range'):''" :cards="visiblePlayers" :select="selectAgainst" :cancel="cancelCardAgainst"/>
|
||||
<Chooser v-if="pending_action == 3" :text="respondText" :cards="respondCards" :select="respond"/>
|
||||
<Chooser v-if="shouldChooseCard" :text="$t(choose_text)" :cards="available_cards" :select="choose"/>
|
||||
<Chooser v-if="lives <= 0 && max_lives > 0 && !is_ghost" :text="$t('you_died')" :cancelText="$t('spectate')" :cancel="()=>{max_lives = 0}"/>
|
||||
|
@ -61,6 +61,7 @@
|
||||
"to_defend_from": "TO DEFEND YOURSELF FROM",
|
||||
"submit": "Submit",
|
||||
"copy": "Copy invite",
|
||||
"no_players_in_range": "You can't see the other players, equip a weapon or a scope!",
|
||||
"chat": {
|
||||
"chat": "Chat",
|
||||
"joined": "{0} joined the lobby",
|
||||
|
@ -61,6 +61,7 @@
|
||||
"to_defend_from": "PER DIFENDERTI DA",
|
||||
"submit": "Invia",
|
||||
"copy": "Copia invito",
|
||||
"no_players_in_range": "Non vedi nessun giocatore, equipaggia un arma o un mirino!",
|
||||
"chat": {
|
||||
"chat": "Chat",
|
||||
"joined": "{0} è entrato nella stanza",
|
||||
|
Loading…
Reference in New Issue
Block a user