From 4443548b0e5ecc09ce05e3cb0123280044e125d3 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Tue, 4 Oct 2022 23:45:14 +0200 Subject: [PATCH] Bouton "Toujours supprimer" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Label et icĂ´ne plus clairs --- module/rdd-confirm.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/rdd-confirm.js b/module/rdd-confirm.js index fe202677..e406b877 100644 --- a/module/rdd-confirm.js +++ b/module/rdd-confirm.js @@ -1,3 +1,4 @@ +import { Grammar } from "./grammar.js"; import { ReglesOptionelles } from "./regles-optionelles.js"; export class RdDConfirm { @@ -43,8 +44,8 @@ export class RdDConfirm { static _createButtonActionSave(options) { return { "actionSave": { - icon: '', - label: options.buttonLabel + "
(Ne plus demander)", + icon: '', + label: "Toujours "+ options.buttonLabel.toLowerCase(), callback: () => { ReglesOptionelles.set(options.settingConfirmer, false); options.onAction();