diff --git a/modules/heritiers-utility.js b/modules/heritiers-utility.js index 51a4c11..d42b9da 100644 --- a/modules/heritiers-utility.js +++ b/modules/heritiers-utility.js @@ -821,11 +821,11 @@ export class HeritiersUtility { /* -------------------------------------------- */ static async confirmDelete(actorSheet, li) { let itemId = li.data("item-id"); - let msgTxt = "
Are you sure to remove this Item ?"; + let msgTxt = "
Certain de supprimer cet item ?"; let buttons = { delete: { icon: '', - label: "Yes, remove it", + label: "Oui !", callback: () => { actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); li.slideUp(200, () => actorSheet.render(false)); @@ -833,12 +833,12 @@ export class HeritiersUtility { }, cancel: { icon: '', - label: "Cancel" + label: "Non !" } } msgTxt += "
"; let d = new Dialog({ - title: "Confirm removal", + title: "Confirmer la suppression", content: msgTxt, buttons: buttons, default: "cancel"