feat(ui): use recipes terminology in bulk delete confirmation for recipes page

The bulk delete confirmation modal always displayed "models" in its
text (title, message, countMessage) regardless of the current page
type. On the recipes page this is misleading since users are managing
recipes, not models.

- Add bulkDeleteRecipes i18n keys to all 10 locale files
- Update showBulkDeleteModal() to detect currentPageType and use
  recipes-specific wording when on the recipes page
This commit is contained in:
Will Miao
2026-05-15 20:55:02 +08:00
parent 1352c6ecbe
commit bcfed4b874
11 changed files with 86 additions and 12 deletions

View File

@@ -1085,6 +1085,12 @@
"countMessage": "моделей будут удалены навсегда.",
"action": "Удалить все"
},
"bulkDeleteRecipes": {
"title": "Удалить несколько рецептов",
"message": "Вы уверены, что хотите удалить все выбранные рецепты и связанные с ними файлы?",
"countMessage": "рецептов будут удалены навсегда.",
"action": "Удалить все"
},
"checkUpdates": {
"title": "Проверить обновления для всех {typePlural}?",
"message": "Будут проверены обновления для всех {typePlural} в вашей библиотеке. Для больших коллекций это может занять немного больше времени.",
@@ -1957,4 +1963,4 @@
"retry": "Повторить"
}
}
}
}