|
@@ -440,7 +440,7 @@ class CRUDController extends Controller
|
|
|
$askConfirmation = isset($batchActions[$action]['ask_confirmation']) ? $batchActions[$action]['ask_confirmation'] : true;
|
|
|
|
|
|
if ($askConfirmation && $confirmation != 'ok') {
|
|
|
- $label = isset($batchActions[$action]['label']) ? $batchActions[$action]['label'] : $action;
|
|
|
+ $label = $this->admin->trans($this->admin->getLabelTranslatorStrategy()->getLabel($action, 'action'));
|
|
|
|
|
|
$formView = $datagrid->getForm()->createView();
|
|
|
|