update confirmation message

This commit is contained in:
Laurent Mazet 2020-11-16 11:22:37 +01:00
parent 4ddd84885b
commit b28dc47089
3 changed files with 7 additions and 8 deletions

View File

@ -196,8 +196,8 @@ msgstr "La vérification orthographique nécessite que Trivabble télécharge un
msgid "Spell checking is based on:"
msgstr "La vérification orthographique est basée sur :"
msgid "Do you want to add score to the current player?"
msgstr "Voulez-vous ajouter ce score au joueur actif ?"
msgid "{0} points will be added to the following player '{1}'"
msgstr "{0} points vont être ajouté au joueur '{1}'"
msgid "Settings"
msgstr "Paramètres"

View File

@ -196,7 +196,7 @@ msgstr ""
msgid "Spell checking is based on:"
msgstr ""
msgid "Do you want to add score to active player?"
msgid "{0} points will be added to the following player '{1}'"
msgstr ""
msgid "Settings"

View File

@ -1878,13 +1878,12 @@
}
/* Confirm score */
if (currentPlayer === "") {
setCurrentPlayer( getSetting("PlayerName"));
}
myConfirm(
_("Do you want to add score to the current player?") + " " + totalScore,
format(_("{0} points will be added to the following player '{1}'"), totalScore, currentPlayer),
function () {
if (currentPlayer === "") {
return;
}
const scoreCell = tablePlayers[currentPlayer].childNodes[2].childNodes[0];
sendCmds([{
cmd: "score",