fix tooltip for english and emporio
This commit is contained in:
parent
ab22c3d52d
commit
24ff63d4c2
@ -79,9 +79,9 @@ export default {
|
||||
let desc = undefined
|
||||
let params = msg.split('|')
|
||||
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'].indexOf(type) !== -1){
|
||||
params[1] = this.$t(`cards.${params[1]}.name`)
|
||||
if (["flipped", "respond", "play_card", "play_card_against", "play_card_for", "spilled_beer", "diligenza", "wellsfargo", "saloon", "special_calamity", 'won', 'choose_emporio'].indexOf(type) !== -1){
|
||||
desc = this.$t(`cards.${params[1]}.desc`)
|
||||
params[1] = this.$t(`cards.${params[1]}.name`)
|
||||
} else if (type === "choose_character"){
|
||||
params.push(this.$t(`cards.${params[1]}.desc`))
|
||||
} else if (type === "allroles") {
|
||||
|
Loading…
Reference in New Issue
Block a user