fix: category bulk-delete had no confirmation, single-delete used native dialogs
Bulk-delete called facade.applyBulkDelete() straight from the button with zero confirmation. Single-delete had a confirm gate but via raw window.confirm/alert instead of the themed dialog used elsewhere. Migrated both to app-confirm-dialog (single + new bulk), and the delete-blocked message to a themed app-dialog instead of window.alert. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1544,6 +1544,8 @@ export const hy: Translations = {
|
||||
saveDraft: 'Պահպանել սևագիրը',
|
||||
publish: 'Հրապարակել',
|
||||
confirmDelete: 'Ջնջե՞լ այս կատեգորիան։ Հնարավոր չէ հետարկել։',
|
||||
confirmBulkDelete: 'Ջնջե՞լ ընտրված կատեգորիաները։ Հնարավոր չէ հետարկել։',
|
||||
deleteTitle: 'Ջնջել կատեգորիան',
|
||||
confirmLeaveUnsaved: 'Դուք ունեք չպահպանված փոփոխություններ։ Դո՞ւրս գալ առանց պահպանելու։',
|
||||
deleteBlocked: 'Այս կատեգորիան հնարավոր չէ ջնջել, քանի դեռ ունի ենթակատեգորիաներ կամ նշանակված ապրանքներ։',
|
||||
emptyTitle: 'Կատեգորիաներ դեռ չկան',
|
||||
|
||||
Reference in New Issue
Block a user