fix died_role localization
This commit is contained in:
parent
c9c6101eef
commit
a4272f83d9
@ -79,7 +79,7 @@ export default {
|
|||||||
let desc = undefined
|
let desc = undefined
|
||||||
let params = msg.split('|')
|
let params = msg.split('|')
|
||||||
let type = params.shift().substring(1)
|
let type = params.shift().substring(1)
|
||||||
if (["flipped", "respond", "play_card", "play_card_against", "play_card_for", "spilled_beer", "diligenza", "wellsfargo", "saloon", "special_calamity", 'won', 'choose_emporio'].indexOf(type) !== -1){
|
if (["flipped", "respond", "play_card", "play_card_against", "play_card_for", "spilled_beer", "diligenza", "wellsfargo", "saloon", "special_calamity", "won", "choose_emporio", "died_role"].indexOf(type) !== -1) {
|
||||||
desc = this.$t(`cards.${params[1]}.desc`)
|
desc = this.$t(`cards.${params[1]}.desc`)
|
||||||
params[1] = this.$t(`cards.${params[1]}.name`)
|
params[1] = this.$t(`cards.${params[1]}.name`)
|
||||||
} else if (type === "choose_character"){
|
} else if (type === "choose_character"){
|
||||||
|
Loading…
Reference in New Issue
Block a user