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": "すべての{type}の更新を確認しますか?",
"message": "ライブラリ内のすべての{type}で更新を確認します。コレクションが大きい場合は時間がかかることがあります。",
@@ -1957,4 +1963,4 @@
"retry": "再試行"
}
}
}
}