From c71a70c26d8f5c1f1615740882b143576a954999 Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 17 Nov 2023 11:20:39 +0100 Subject: [PATCH] renamed some button on concernement admin #2336 --- .../themes/custom/ouatminimal_theme/ouatminimal.theme | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/web/themes/custom/ouatminimal_theme/ouatminimal.theme b/src/web/themes/custom/ouatminimal_theme/ouatminimal.theme index a244bb5..9aafb47 100644 --- a/src/web/themes/custom/ouatminimal_theme/ouatminimal.theme +++ b/src/web/themes/custom/ouatminimal_theme/ouatminimal.theme @@ -210,8 +210,15 @@ function ouatminimal_preprocess_input(&$variables) { $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Créer le besoin"; } - - + // doléancer + // edit-field-doleancer-actions-ief-add + if (preg_match('/^ief-field_doleancer-form-add$/', $name)) { + $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter un cercle politique"; + } + // edit-field-doleancer-form-0-actions-ief-add-save--E6Z4e2r-uAU + if (preg_match('/^ief-add-submit-field_doleancer-form$/', $name)) { + $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Enregistrer le cercle politique"; + } } if ($element['#type'] === "text" || $element['#type'] === "url") { unset($variables['element']['#size']);