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']);