From 2e9c55802757eae8041049c5a684e3dd1157aeec Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 17 Nov 2024 22:46:52 +0100 Subject: [PATCH] Ajout arts obscurs --- modules/heritiers-utility.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"