fix(i18n): translate recipe delete undo warning

Move the recipe delete modal's undo warning into modals.deleteRecipe.
recoverableWarning instead of hardcoded English; sync placeholders into
all 9 non-English locales
This commit is contained in:
Will Miao
2026-08-11 21:18:36 +08:00
parent 9659df6ad9
commit ebc31fb963
11 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ class RecipeCard {
</div>
<div class="delete-info">
<h3>${this.recipe.title}</h3>
<p>This action can be undone for 30 seconds.</p>
<p>${translate('modals.deleteRecipe.recoverableWarning')}</p>
</div>
</div>
<p class="delete-note">Note: Deleting this recipe will not affect the LoRA files used in it.</p>