Skip to content

Commit cbb36cb

Browse files
authored
Merge pull request #614 from devforth/feature/AdminForth/1598/bulk-delete-modal-translation-
fix: update confirmation message for bulk deletion action
2 parents efdff16 + 3841690 commit cbb36cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/spa/src/utils/listUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export async function startBulkAction(actionId: string, resource: AdminForthReso
6161
if (action?.confirm) {
6262
const confirmed = await confirm({
6363
title: action.confirm,
64-
message: `${t('Deleting')} ${checkboxes.value.length} ${checkboxes.value.length === 1 ? t('item') : t('items')}. ${t('This process is irreversible.')}`,
64+
message: t('Deleting {count} item. This process is irreversible. | Deleting {count} items. This process is irreversible.', { count: checkboxes.value.length }),
6565
});
6666
if (!confirmed) {
6767
return;

0 commit comments

Comments
 (0)