diff --git a/assets/js/app.js b/assets/js/app.js
index 6c792ed339..9e30338e9b 100644
--- a/assets/js/app.js
+++ b/assets/js/app.js
@@ -30,6 +30,7 @@ class App {
this.#createAutoCompleteFields();
this.#createBatchActions();
this.#createModalWindowsForDeleteActions();
+ this.#createModalWindowsForConfirmationActions();
this.#createPopovers();
this.#createTooltips();
@@ -396,6 +397,15 @@ class App {
});
}
+ #createModalWindowsForConfirmationActions() {
+ const modalTitles = document.querySelectorAll('.action-confirmation-title');
+ modalTitles.forEach((modalTitle) => {
+ const titleContentWithPlaceholders = modalTitle.textContent;
+ const actionName = modalTitle.getAttribute('data-action-title');
+ modalTitle.textContent = titleContentWithPlaceholders.replace('%action_name%', actionName);
+ });
+ }
+
#createPopovers() {
document.querySelectorAll('[data-bs-toggle="popover"]').forEach((popoverElement) => {
new bootstrap.Popover(popoverElement);
diff --git a/src/Config/Action.php b/src/Config/Action.php
index 1b1116fd44..50cda78575 100644
--- a/src/Config/Action.php
+++ b/src/Config/Action.php
@@ -123,6 +123,13 @@ public function setIcon(?string $icon): self
return $this;
}
+ public function setConfirmationModal(string $modalText): self
+ {
+ $this->dto->setConfirmationModal($modalText);
+
+ return $this;
+ }
+
/**
* Use this to override the default CSS classes applied to actions and use instead your own CSS classes.
* See also addCssClass() to add your own custom classes without removing the default ones.
diff --git a/src/Dto/ActionDto.php b/src/Dto/ActionDto.php
index 78344dbb36..dc4b1f115e 100644
--- a/src/Dto/ActionDto.php
+++ b/src/Dto/ActionDto.php
@@ -39,6 +39,7 @@ final class ActionDto
private ButtonType $butonType = ButtonType::Submit;
private ButtonVariant $variant = ButtonVariant::Default;
private ButtonStyle $style = ButtonStyle::Solid;
+ private ?string $modalText = null;
public function getType(): string
{
@@ -357,6 +358,21 @@ public function usesTextStyle(): bool
return ButtonStyle::Text === $this->style;
}
+ public function hasConfirmationModal(): bool
+ {
+ return isset($this->modalText);
+ }
+
+ public function setConfirmationModal(string $modalText): void
+ {
+ $this->modalText = $modalText;
+ }
+
+ public function getModalText(): ?string
+ {
+ return $this->modalText;
+ }
+
/**
* @internal
*/
diff --git a/src/Factory/ActionFactory.php b/src/Factory/ActionFactory.php
index f258a321ad..798ad3ea3e 100644
--- a/src/Factory/ActionFactory.php
+++ b/src/Factory/ActionFactory.php
@@ -195,6 +195,13 @@ private function processAction(string $pageName, ActionDto $actionDto, ?EntityDt
}
}
+ if ($actionDto->hasConfirmationModal()) {
+ $actionDto->addHtmlAttributes([
+ 'data-bs-toggle' => 'modal',
+ 'data-bs-target' => '#modal-confirmation-'.$actionDto->getName(),
+ ]);
+ }
+
if (Action::DELETE === $actionDto->getName()) {
$actionDto->addHtmlAttributes([
'formaction' => $this->adminUrlGenerator->setController($adminContext->getCrud()->getControllerFqcn())->setAction(Action::DELETE)->setEntityId($entityDto->getPrimaryKeyValue())->generateUrl(),
diff --git a/templates/crud/action.html.twig b/templates/crud/action.html.twig
index f5ddb82c24..bbd7541696 100644
--- a/templates/crud/action.html.twig
+++ b/templates/crud/action.html.twig
@@ -10,8 +10,8 @@
htmlElement="{{ action.htmlElement }}"
type="{{ action.buttonType.value }}"
icon="{{ action.icon }}"
- href="{{ action.htmlElement.isLink ? action.linkUrl : null }}"
- action="{{ action.htmlElement.isForm ? action.linkUrl : null }}"
+ href="{{ action.hasConfirmationModal == false and action.htmlElement.isLink ? action.linkUrl : null }}"
+ action="{{ action.hasConfirmationModal == false and action.htmlElement.isForm ? action.linkUrl : null }}"
method="{{ action.htmlElement.isForm ? 'POST' : null }}"
>
{%- if outerScope.action.label is not empty -%}{{ outerScope.action.label|trans|raw }}{%- endif -%}
diff --git a/templates/crud/action_group.html.twig b/templates/crud/action_group.html.twig
index 5068a17a57..60df22cfe3 100644
--- a/templates/crud/action_group.html.twig
+++ b/templates/crud/action_group.html.twig
@@ -55,7 +55,7 @@
label="{{ item.label }}" icon="{{ item.icon }}" class="{{ item.cssClass }} dropdown-item-variant-{{ item.variant.value }}"
htmlAttributes="{{ item.htmlAttributes }}"
renderAsForm="{{ item.isRenderedAsForm }}"
- url="{{ item.linkUrl }}" renderLabelRaw="true"
+ url="{{ item.hasConfirmationModal == false ? item.linkUrl : null }}" renderLabelRaw="true"
showBlankIcons="{{ group.hasAnyActionWithIcon }}"
/>
{% endif %}
diff --git a/templates/crud/detail.html.twig b/templates/crud/detail.html.twig
index d2633ceef5..82f41b3681 100644
--- a/templates/crud/detail.html.twig
+++ b/templates/crud/detail.html.twig
@@ -65,6 +65,18 @@
{% block delete_form %}
{{ include('@EasyAdmin/crud/includes/_delete_form.html.twig', {entity_id: entity.primaryKeyValue}, with_context: false) }}
{% endblock delete_form %}
+
+ {% for action in entity.actions %}
+ {% if action.isActionGroup %}
+ {% for item in action.items %}
+ {% if item.hasConfirmationModal %}
+ {{ include('@EasyAdmin/crud/includes/_confirm_action_modal.html.twig', {action: item}, with_context: false) }}
+ {% endif %}
+ {% endfor %}
+ {% elseif action.hasConfirmationModal %}
+ {{ include('@EasyAdmin/crud/includes/_confirm_action_modal.html.twig', {action: action}, with_context: false) }}
+ {% endif %}
+ {% endfor %}
{% endblock %}
{% macro render_field_contents(entity, field) %}
diff --git a/templates/crud/edit.html.twig b/templates/crud/edit.html.twig
index af9e7b495c..50023a9ac7 100644
--- a/templates/crud/edit.html.twig
+++ b/templates/crud/edit.html.twig
@@ -67,4 +67,16 @@
{% block delete_form %}
{{ include('@EasyAdmin/crud/includes/_delete_form.html.twig', {entity_id: entity.primaryKeyValue}, with_context: false) }}
{% endblock delete_form %}
+
+ {% for action in entity.actions %}
+ {% if action.isActionGroup %}
+ {% for item in action.items %}
+ {% if item.hasConfirmationModal %}
+ {{ include('@EasyAdmin/crud/includes/_confirm_action_modal.html.twig', {action: item}, with_context: false) }}
+ {% endif %}
+ {% endfor %}
+ {% elseif action.hasConfirmationModal %}
+ {{ include('@EasyAdmin/crud/includes/_confirm_action_modal.html.twig', {action: action}, with_context: false) }}
+ {% endif %}
+ {% endfor %}
{% endblock %}
diff --git a/templates/crud/includes/_confirm_action_modal.html.twig b/templates/crud/includes/_confirm_action_modal.html.twig
new file mode 100644
index 0000000000..dad664ff86
--- /dev/null
+++ b/templates/crud/includes/_confirm_action_modal.html.twig
@@ -0,0 +1,24 @@
+
+
+
+
+
{{ 'confirmation_modal.title'|trans(domain: 'EasyAdminBundle') }}
+
{{ action.modalText }}
+
+
+
+
+
diff --git a/templates/crud/index.html.twig b/templates/crud/index.html.twig
index 5b57513268..b3c635a057 100644
--- a/templates/crud/index.html.twig
+++ b/templates/crud/index.html.twig
@@ -196,8 +196,16 @@
{% for action in entity.actions %}
{% if action.isActionGroup %}
{{ include(action.templatePath, {group: action, entity: entity}, with_context: false) }}
+ {% for item in action.items %}
+ {% if item.hasConfirmationModal %}
+ {{ include('@EasyAdmin/crud/includes/_confirm_action_modal.html.twig', {action: item}, with_context: false) }}
+ {% endif %}
+ {% endfor %}
{% else %}
{{ include(action.templatePath, {action: action, entity: entity, isIncludedInDropdown: ea.crud.showEntityActionsAsDropdown}, with_context: false) }}
+ {% if action.hasConfirmationModal %}
+ {{ include('@EasyAdmin/crud/includes/_confirm_action_modal.html.twig', {action: action}, with_context: false) }}
+ {% endif %}
{% endif %}
{% endfor %}
{% endif %}
diff --git a/translations/EasyAdminBundle.ar.php b/translations/EasyAdminBundle.ar.php
index 128dcd6425..180710f944 100644
--- a/translations/EasyAdminBundle.ar.php
+++ b/translations/EasyAdminBundle.ar.php
@@ -67,6 +67,11 @@
'action' => 'استمرار',
],
+ 'confirmation_modal' => [
+ 'title' => 'سوف تقوم بتطبيق الأجراء "%action_name%"',
+ 'action' => 'استمرار',
+ ],
+
'delete_modal' => [
'title' => 'هل تريد حذف هذا العنصر؟',
'content' => 'هذا الإجراء غير قابل للإلغاء.',
diff --git a/translations/EasyAdminBundle.bg.php b/translations/EasyAdminBundle.bg.php
index 44e3b9cb8d..aad38f1ff9 100644
--- a/translations/EasyAdminBundle.bg.php
+++ b/translations/EasyAdminBundle.bg.php
@@ -67,6 +67,11 @@
'action' => 'Извърши',
],
+ 'confirmation_modal' => [
+ 'title' => 'Ще приложите действието "%action_name%".',
+ 'action' => 'Извърши',
+ ],
+
'delete_modal' => [
'title' => 'Наистина ли желаете да изтриете записа?',
'content' => 'Това действие е необратимо.',
diff --git a/translations/EasyAdminBundle.ca.php b/translations/EasyAdminBundle.ca.php
index 00941664e0..5a9a9505e3 100644
--- a/translations/EasyAdminBundle.ca.php
+++ b/translations/EasyAdminBundle.ca.php
@@ -67,6 +67,11 @@
'action' => 'Continuar',
],
+ 'confirmation_modal' => [
+ 'title' => 'Du vil anvende "%action_name%" handlingen.',
+ 'action' => 'Continuar',
+ ],
+
'delete_modal' => [
'title' => 'Realment vols esborrar aquest element?',
'content' => 'Aquesta acció no es pot desfer.',
diff --git a/translations/EasyAdminBundle.cs.php b/translations/EasyAdminBundle.cs.php
index 7d8bc9868b..6775eee64b 100644
--- a/translations/EasyAdminBundle.cs.php
+++ b/translations/EasyAdminBundle.cs.php
@@ -67,6 +67,11 @@
'action' => 'Pokračovat',
],
+ 'confirmation_modal' => [
+ 'title' => 'Chcete použít akci "%action_name%".',
+ 'action' => 'Pokračovat',
+ ],
+
'delete_modal' => [
'title' => 'Opravdu chcete smazat tuto položku?',
'content' => 'Tuto akci není možné vrátit zpět.',
diff --git a/translations/EasyAdminBundle.da.php b/translations/EasyAdminBundle.da.php
index 5b0d071d43..122c7f9af8 100644
--- a/translations/EasyAdminBundle.da.php
+++ b/translations/EasyAdminBundle.da.php
@@ -67,6 +67,11 @@
'action' => 'Udfør handling',
],
+ 'confirmation_modal' => [
+ 'title' => 'Du vil anvende "%action_name%" handlingen.',
+ 'action' => 'Udfør handling',
+ ],
+
'delete_modal' => [
'title' => 'Er du sikker på du vil slette dette element?',
'content' => 'Denne operation kan ikke fortrydes.',
diff --git a/translations/EasyAdminBundle.de.php b/translations/EasyAdminBundle.de.php
index 5acf5206b5..8f834edc92 100644
--- a/translations/EasyAdminBundle.de.php
+++ b/translations/EasyAdminBundle.de.php
@@ -67,6 +67,11 @@
'action' => 'Fortfahren',
],
+ 'confirmation_modal' => [
+ 'title' => 'Sie möchten die Aktion „%action_name%“ verwenden.',
+ 'action' => 'Fortfahren',
+ ],
+
'delete_modal' => [
'title' => 'Soll das Element wirklich gelöscht werden?',
'content' => 'Diese Aktion kann nicht rückgängig gemacht werden.',
diff --git a/translations/EasyAdminBundle.el.php b/translations/EasyAdminBundle.el.php
index dd6116a9a2..00c8f7a3d5 100644
--- a/translations/EasyAdminBundle.el.php
+++ b/translations/EasyAdminBundle.el.php
@@ -67,6 +67,11 @@
'action' => 'Συνεχίστε.',
],
+ 'confirmation_modal' => [
+ 'title' => 'Θα εφαρμόσετε την ενέργεια "%action_name%".',
+ 'action' => 'Συνεχίστε.',
+ ],
+
'delete_modal' => [
'title' => 'Θέλετε σίγουρα να διαγράψετε αυτό το αντικείμενο;',
'content' => 'Αυτή η ενέργεια δεν αναιρείται.',
diff --git a/translations/EasyAdminBundle.en.php b/translations/EasyAdminBundle.en.php
index 866667b0c6..4a0f291cde 100644
--- a/translations/EasyAdminBundle.en.php
+++ b/translations/EasyAdminBundle.en.php
@@ -67,6 +67,11 @@
'action' => 'Proceed',
],
+ 'confirmation_modal' => [
+ 'title' => 'You are going to apply the "%action_name%" action.',
+ 'action' => 'Proceed',
+ ],
+
'delete_modal' => [
'title' => 'Do you really want to delete this item?',
'content' => 'There is no undo for this operation.',
diff --git a/translations/EasyAdminBundle.es.php b/translations/EasyAdminBundle.es.php
index 23ab6a104f..7e7ebf31a5 100644
--- a/translations/EasyAdminBundle.es.php
+++ b/translations/EasyAdminBundle.es.php
@@ -67,6 +67,11 @@
'action' => 'Continuar',
],
+ 'confirmation_modal' => [
+ 'title' => 'Desea utilizar la acción "%action_name%".',
+ 'action' => 'Continuar',
+ ],
+
'delete_modal' => [
'title' => '¿Realmente quieres borrar este elemento?',
'content' => 'Esta acción no se puede deshacer.',
diff --git a/translations/EasyAdminBundle.eu.php b/translations/EasyAdminBundle.eu.php
index 1e099497be..e16343e1e8 100644
--- a/translations/EasyAdminBundle.eu.php
+++ b/translations/EasyAdminBundle.eu.php
@@ -67,6 +67,11 @@
'action' => 'Aurrera',
],
+ 'confirmation_modal' => [
+ 'title' => '"%action_name%" ekintza erabili nahi duzu.',
+ 'action' => 'Aurrera',
+ ],
+
'delete_modal' => [
'title' => 'Ziur zaude elementu hau ezabatu nahi duzula?',
'content' => 'Ekintza hau ezin da desegin.',
diff --git a/translations/EasyAdminBundle.fa.php b/translations/EasyAdminBundle.fa.php
index c9edd91b20..de0413dbfd 100644
--- a/translations/EasyAdminBundle.fa.php
+++ b/translations/EasyAdminBundle.fa.php
@@ -67,6 +67,11 @@
'action' => 'ادامه دهید',
],
+ 'confirmation_modal' => [
+ 'title' => 'شما قصد دارید اکشن "%action_name%" را اعمال کنید.',
+ 'action' => 'ادامه دهید',
+ ],
+
'delete_modal' => [
'title' => 'واقعا میخواهید این آیتم را حذف کنید؟',
'content' => 'این عملیات غیرقابل بازگشت است.',
diff --git a/translations/EasyAdminBundle.fi.php b/translations/EasyAdminBundle.fi.php
index de6a320817..a5f49b5ef4 100644
--- a/translations/EasyAdminBundle.fi.php
+++ b/translations/EasyAdminBundle.fi.php
@@ -67,6 +67,11 @@
// 'action' => '',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ // 'action' => '',
+ ],
+
'delete_modal' => [
'title' => 'Oletko varma että haluat poistaa tämän?',
'content' => 'Toimintoa ei voi peruuttaa.',
diff --git a/translations/EasyAdminBundle.fr.php b/translations/EasyAdminBundle.fr.php
index c1837ab41b..7dac7bb042 100644
--- a/translations/EasyAdminBundle.fr.php
+++ b/translations/EasyAdminBundle.fr.php
@@ -67,6 +67,11 @@
'action' => 'Procéder',
],
+ 'confirmation_modal' => [
+ 'title' => 'Vous allez appliquer l\'action "%action_name%".',
+ 'action' => 'Procéder',
+ ],
+
'delete_modal' => [
'title' => 'Voulez-vous supprimer cet élément ?',
'content' => 'Cette action est irréversible.',
diff --git a/translations/EasyAdminBundle.gl.php b/translations/EasyAdminBundle.gl.php
index 63886a0596..836a810faa 100644
--- a/translations/EasyAdminBundle.gl.php
+++ b/translations/EasyAdminBundle.gl.php
@@ -67,6 +67,11 @@
// 'action' => '',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ // 'action' => '',
+ ],
+
'delete_modal' => [
'title' => '¿Queres realmente borrar este elemento?',
'content' => 'Esta acción non se pode desfacer.',
diff --git a/translations/EasyAdminBundle.he.php b/translations/EasyAdminBundle.he.php
index 474b00f455..294631378d 100644
--- a/translations/EasyAdminBundle.he.php
+++ b/translations/EasyAdminBundle.he.php
@@ -67,6 +67,11 @@
'action' => 'המשך',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ // 'action' => '',
+ ],
+
'delete_modal' => [
'title' => 'האם הנך בטוח שברצונך למחוק פריט זה?',
'content' => 'לא ניתן לבטל פעולה זו לאחר ביצועה.',
diff --git a/translations/EasyAdminBundle.hr.php b/translations/EasyAdminBundle.hr.php
index d1514fb3d7..626e0e9379 100644
--- a/translations/EasyAdminBundle.hr.php
+++ b/translations/EasyAdminBundle.hr.php
@@ -67,6 +67,11 @@
// 'action' => '',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ // 'action' => '',
+ ],
+
'delete_modal' => [
'title' => 'Jeste li sigurni da želite izbrisati ovu stavku?',
'content' => 'Izbrisana stavka se ne može povratiti',
diff --git a/translations/EasyAdminBundle.hu.php b/translations/EasyAdminBundle.hu.php
index be923dcbe3..0b232cac27 100644
--- a/translations/EasyAdminBundle.hu.php
+++ b/translations/EasyAdminBundle.hu.php
@@ -67,6 +67,11 @@
'action' => 'Folytatás',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Folytatás',
+ ],
+
'delete_modal' => [
'title' => 'Biztos benne, hogy törli ezt az elemet?',
'content' => 'Ez a művelet visszavonhatatlan.',
diff --git a/translations/EasyAdminBundle.hy.php b/translations/EasyAdminBundle.hy.php
index 226419bd95..6ff923d9c6 100644
--- a/translations/EasyAdminBundle.hy.php
+++ b/translations/EasyAdminBundle.hy.php
@@ -67,6 +67,11 @@
'action' => 'Շարունակել',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Շարունակել',
+ ],
+
'delete_modal' => [
'title' => 'Խնդրում ենք հաստատել, Դուք իրոք ցանկանում եք հեռացնել',
'content' => 'Այս գործողությունը չի կարող չեղարկվել։',
diff --git a/translations/EasyAdminBundle.id.php b/translations/EasyAdminBundle.id.php
index 9dcdc1d43e..52df1fd1c3 100644
--- a/translations/EasyAdminBundle.id.php
+++ b/translations/EasyAdminBundle.id.php
@@ -67,6 +67,11 @@
'action' => 'Proses',
],
+ 'confirmation_modal' => [
+ 'title' => 'Anda akan menerapkan tindakan "%action_name%"',
+ 'action' => 'Proses',
+ ],
+
'delete_modal' => [
'title' => 'Apakah Anda benar-benar ingin menghapus item ini?',
'content' => 'Tidak ada pembatalan untuk operasi ini.',
diff --git a/translations/EasyAdminBundle.it.php b/translations/EasyAdminBundle.it.php
index 25b8aa3f11..b467570132 100644
--- a/translations/EasyAdminBundle.it.php
+++ b/translations/EasyAdminBundle.it.php
@@ -67,6 +67,11 @@
'action' => 'Procedi',
],
+ 'confirmation_modal' => [
+ 'title' => 'Stai per applicare l\'azione "%action_name%".',
+ 'action' => 'Procedi',
+ ],
+
'delete_modal' => [
'title' => 'Vuoi eliminare questo elemento?',
'content' => 'Questa azione è irreversibile.',
diff --git a/translations/EasyAdminBundle.lb.php b/translations/EasyAdminBundle.lb.php
index 8349ce51eb..8bae952c04 100644
--- a/translations/EasyAdminBundle.lb.php
+++ b/translations/EasyAdminBundle.lb.php
@@ -67,6 +67,11 @@
'action' => 'Weidermaachen',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Weidermaachen',
+ ],
+
'delete_modal' => [
'title' => 'Soll dat Element wierklich geläscht ginn?',
'content' => 'Dës Aktioun kann net réckgängeg gemaach ginn.',
diff --git a/translations/EasyAdminBundle.lt.php b/translations/EasyAdminBundle.lt.php
index dbfb37ab64..dbe6d8da60 100644
--- a/translations/EasyAdminBundle.lt.php
+++ b/translations/EasyAdminBundle.lt.php
@@ -67,6 +67,11 @@
'action' => 'Tęsti',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Tęsti',
+ ],
+
'delete_modal' => [
'title' => 'Ar tikrai norite ištrinti šį elementą?',
'content' => 'Šios operacijos atkurti nebegalėsite.',
diff --git a/translations/EasyAdminBundle.mk.php b/translations/EasyAdminBundle.mk.php
index 287d47e5ba..50613ac4ac 100644
--- a/translations/EasyAdminBundle.mk.php
+++ b/translations/EasyAdminBundle.mk.php
@@ -67,6 +67,11 @@
'action' => 'Продолжи',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Продолжи',
+ ],
+
'delete_modal' => [
'title' => 'Дали навистина сакате да го избришете овој запис?',
'content' => 'За оваа операција нема поништување.',
diff --git a/translations/EasyAdminBundle.nl.php b/translations/EasyAdminBundle.nl.php
index 0ec572c64e..f2abb9fb79 100644
--- a/translations/EasyAdminBundle.nl.php
+++ b/translations/EasyAdminBundle.nl.php
@@ -67,6 +67,11 @@
'action' => 'Verdergaan',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Verdergaan',
+ ],
+
'delete_modal' => [
'title' => 'Weet je zeker dat je dit item wilt verwijderen?',
'content' => 'Deze actie kan niet ongedaan worden gemaakt.',
diff --git a/translations/EasyAdminBundle.no.php b/translations/EasyAdminBundle.no.php
index 7f78882f01..9c5585d892 100644
--- a/translations/EasyAdminBundle.no.php
+++ b/translations/EasyAdminBundle.no.php
@@ -67,6 +67,11 @@
'action' => 'Utfør handlinger',
],
+ 'confirmation_modal' => [
+ 'title' => 'Du vil utføre "%action_name%" handlingen.',
+ 'action' => 'Utfør handlinger',
+ ],
+
'delete_modal' => [
'title' => 'Vil du virkelig slette dette elementet?',
'content' => 'Du kan ikke angre dette valget.',
diff --git a/translations/EasyAdminBundle.pl.php b/translations/EasyAdminBundle.pl.php
index 285778a871..1727b4e248 100644
--- a/translations/EasyAdminBundle.pl.php
+++ b/translations/EasyAdminBundle.pl.php
@@ -67,6 +67,11 @@
'action' => 'Wykonaj',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Wykonaj',
+ ],
+
'delete_modal' => [
'title' => 'Czy na pewno chcesz usunąć ten element?',
'content' => 'Tej operacji nie można cofnąć.',
diff --git a/translations/EasyAdminBundle.pt.php b/translations/EasyAdminBundle.pt.php
index 7feed57475..85dbdc12ba 100644
--- a/translations/EasyAdminBundle.pt.php
+++ b/translations/EasyAdminBundle.pt.php
@@ -67,6 +67,11 @@
'action' => 'Proceder',
],
+ 'confirmation_modal' => [
+ 'title' => 'Vai aplicar a ação "%action_name%".',
+ 'action' => 'Proceder',
+ ],
+
'delete_modal' => [
'title' => 'Tem a certeza que deseja excluir este item?',
'content' => 'Esta operação é irreversível.',
diff --git a/translations/EasyAdminBundle.pt_BR.php b/translations/EasyAdminBundle.pt_BR.php
index 29ebb811e6..4fa6ca833a 100644
--- a/translations/EasyAdminBundle.pt_BR.php
+++ b/translations/EasyAdminBundle.pt_BR.php
@@ -67,6 +67,11 @@
'action' => 'Continuar',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Continuar',
+ ],
+
'delete_modal' => [
'title' => 'Você realmente deseja excluir esse item?',
'content' => 'Não há como desfazer essa operação.',
diff --git a/translations/EasyAdminBundle.ro.php b/translations/EasyAdminBundle.ro.php
index 9e9e5b2ae9..032d4aec55 100644
--- a/translations/EasyAdminBundle.ro.php
+++ b/translations/EasyAdminBundle.ro.php
@@ -67,6 +67,11 @@
'action' => 'Procedează',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Procedează',
+ ],
+
'delete_modal' => [
'title' => 'Ești sigur că vrei să ștergi acest item?',
'content' => 'Nu există posibilitatea de a reveni asupra acestei decizii.',
diff --git a/translations/EasyAdminBundle.ru.php b/translations/EasyAdminBundle.ru.php
index d23da4520a..b96c2f66a7 100644
--- a/translations/EasyAdminBundle.ru.php
+++ b/translations/EasyAdminBundle.ru.php
@@ -67,6 +67,11 @@
'action' => 'Продолжить',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Продолжить',
+ ],
+
'delete_modal' => [
'title' => 'Вы действительно хотите удалить этот объект?',
'content' => 'Эту операцию нельзя отменить.',
diff --git a/translations/EasyAdminBundle.sk.php b/translations/EasyAdminBundle.sk.php
index dd8312c3fe..e1dc15dd74 100644
--- a/translations/EasyAdminBundle.sk.php
+++ b/translations/EasyAdminBundle.sk.php
@@ -67,6 +67,11 @@
'action' => 'Pokračovať',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Pokračovať',
+ ],
+
'delete_modal' => [
'title' => 'Naozaj chcete vymazať túto položku?',
'content' => 'Táto akcia sa nedá zvrátiť.',
diff --git a/translations/EasyAdminBundle.sl.php b/translations/EasyAdminBundle.sl.php
index 2d784d45da..35c3469cde 100644
--- a/translations/EasyAdminBundle.sl.php
+++ b/translations/EasyAdminBundle.sl.php
@@ -67,6 +67,11 @@
'action' => 'Nadaljuj',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Nadaljuj',
+ ],
+
'delete_modal' => [
'title' => 'Ali res želite izbrisati ta element?',
'content' => 'Razveljavitev za to operacijo ne obstaja.',
diff --git a/translations/EasyAdminBundle.sr_RS.php b/translations/EasyAdminBundle.sr_RS.php
index 9850331f8a..29520f78a4 100644
--- a/translations/EasyAdminBundle.sr_RS.php
+++ b/translations/EasyAdminBundle.sr_RS.php
@@ -67,6 +67,11 @@
'action' => 'Nastavi',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Nastavi',
+ ],
+
'delete_modal' => [
'title' => 'Da li sigurno želite da obrišete ovaj zapis?',
'content' => 'Ova operacija je nepovratna.',
diff --git a/translations/EasyAdminBundle.sv.php b/translations/EasyAdminBundle.sv.php
index f27c83042a..9d22f77f68 100644
--- a/translations/EasyAdminBundle.sv.php
+++ b/translations/EasyAdminBundle.sv.php
@@ -67,6 +67,11 @@
// 'action' => '',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ // 'action' => '',
+ ],
+
'delete_modal' => [
'title' => 'Vill du verkligen ta bort detta?',
'content' => 'Du kan inte ångra det här.',
diff --git a/translations/EasyAdminBundle.tr.php b/translations/EasyAdminBundle.tr.php
index e216b13b72..e5aec6ba72 100644
--- a/translations/EasyAdminBundle.tr.php
+++ b/translations/EasyAdminBundle.tr.php
@@ -67,6 +67,11 @@
'action' => 'İlerle',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'İlerle',
+ ],
+
'delete_modal' => [
'title' => 'Bu öğeyi silmek istediğinize emin misiniz?',
'content' => 'Bu işlem geri alınamaz.',
diff --git a/translations/EasyAdminBundle.uk.php b/translations/EasyAdminBundle.uk.php
index 1154e3d945..060683ea7a 100644
--- a/translations/EasyAdminBundle.uk.php
+++ b/translations/EasyAdminBundle.uk.php
@@ -67,6 +67,11 @@
'action' => 'Продовжити',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => 'Продовжити',
+ ],
+
'delete_modal' => [
'title' => 'Ви дійсно бажаєте видалити цей об\'єкт?',
'content' => 'Цю дію не можна буде відмінити.',
diff --git a/translations/EasyAdminBundle.zh_CN.php b/translations/EasyAdminBundle.zh_CN.php
index 996471b9c2..35342f01d7 100644
--- a/translations/EasyAdminBundle.zh_CN.php
+++ b/translations/EasyAdminBundle.zh_CN.php
@@ -67,6 +67,11 @@
'action' => '继续',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => '继续',
+ ],
+
'delete_modal' => [
'title' => '是否删除',
'content' => '是否删除,该操作不可恢复',
diff --git a/translations/EasyAdminBundle.zh_TW.php b/translations/EasyAdminBundle.zh_TW.php
index 3e9855e598..8eee7e979a 100644
--- a/translations/EasyAdminBundle.zh_TW.php
+++ b/translations/EasyAdminBundle.zh_TW.php
@@ -67,6 +67,11 @@
'action' => '繼續',
],
+ 'confirmation_modal' => [
+ // 'title' => '',
+ 'action' => '繼續',
+ ],
+
'delete_modal' => [
'title' => '您確定要刪除此項目嗎?',
'content' => '此動作無法復原。',