Merge pull request #25015 from inovea-conseil/FIX_translation_extra_field_mass_action
FIX translation extrafield mass action #24080
This commit is contained in:
commit
8a1e7aaa66
1 changed files with 4 additions and 0 deletions
|
|
@ -224,6 +224,10 @@ if ($massaction == 'edit_extrafields') {
|
|||
if (!empty($extrafields_list)) {
|
||||
$myParamExtra = $object->showOptionals($extrafields, 'create');
|
||||
|
||||
foreach ($extrafields_list as $extraKey => $extraLabel) {
|
||||
$extrafields_list[$extraKey] = $langs->trans($extraLabel);
|
||||
}
|
||||
|
||||
$formquestion[] = array(
|
||||
'type' => 'other',
|
||||
'value' => $form->selectarray('extrafield-key-to-update', $extrafields_list, GETPOST('extrafield-key-to-update'), 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue