fix to be precise

This commit is contained in:
Giulio 2021-05-06 11:12:19 +02:00
parent 5746a67941
commit 111aad0d44
3 changed files with 9 additions and 2 deletions

View File

@ -48,6 +48,11 @@ export default {
params[i] = this.$t(`cards.${params[i]}.name`)
}
})
if (params.length <= 6){
type += "3"
} else {
type += "4"
}
}
this.messages.push({text:this.$t(`chat.${type}`, params)});
if (type == 'turn' && params[0] == this.username) {

View File

@ -91,7 +91,8 @@
"special_bart_cassidy": "{0} received a compensation because he was injured.",
"special_el_gringo": "{0} stole a card from {1} when he was was injured.",
"special_calamity": "{0} played {1} as Bang! against {2}.",
"allroles": "In the game there are: {1} {0}, {3} {2}, {5} {4}, {7} {6}.",
"allroles3": "In the game there are: {1} {0}, {3} {2}, {5} {4}.",
"allroles4": "In the game there are: {1} {0}, {3} {2}, {5} {4}, {7} {6}.",
"guess": "{0} guesses {1}.",
"guess_right": "{0} was right.",
"guess_wrong": "{0} was wrong.",

View File

@ -91,7 +91,8 @@
"special_bart_cassidy": "{0} ha ricevuto un risarcimento perchè è stato ferito.",
"special_el_gringo": "{0} rubato una carta a {1} mentre veniva colpito.",
"special_calamity": "{0} ha giocato {1} come un Bang! contro {2}.",
"allroles": "Nella partita ci sono: {1} {0}, {3} {2}, {5} {4}, {7} {6}.",
"allroles3": "Nella partita ci sono: {1} {0}, {3} {2} e {5} {4}.",
"allroles4": "Nella partita ci sono: {1} {0}, {3} {2}, {5} {4} e {7} {6}.",
"guess": "{0} pensa sia {1}.",
"guess_right": "{0} ha indovinato.",
"guess_wrong": "{0} ha sbagliato.",