feat: recipe.please-wait-images-processing plural i18n string

This commit is contained in:
SkepticMystic 2025-06-28 19:06:26 +00:00
commit b2d9c6c8b4
4 changed files with 9 additions and 4 deletions

View file

@ -231,7 +231,7 @@ export default defineNuxtComponent({
{ {
insertDivider: false, insertDivider: false,
icon: $globals.icons.fileImage, icon: $globals.icons.fileImage,
title: i18n.t("recipe.create-from-image"), title: i18n.t("recipe.create-from-images"),
subtitle: i18n.t("recipe.create-recipe-from-an-image"), subtitle: i18n.t("recipe.create-recipe-from-an-image"),
to: `/g/${groupSlug.value}/r/create/image`, to: `/g/${groupSlug.value}/r/create/image`,
restricted: true, restricted: true,

View file

@ -601,7 +601,8 @@
"crop-and-rotate-the-image": "Crop and rotate the image so that only the text is visible, and it's in the correct orientation.", "crop-and-rotate-the-image": "Crop and rotate the image so that only the text is visible, and it's in the correct orientation.",
"create-from-images": "Create from Images", "create-from-images": "Create from Images",
"should-translate-description": "Translate the recipe into my language", "should-translate-description": "Translate the recipe into my language",
"please-wait-image-procesing": "Please wait, the image(s) are processing. This may take some time.", "please-wait-image-procesing": "Please wait, the image is processing. This may take some time.",
"please-wait-images-processing": "Please wait, the images are processing. This may take some time.",
"bulk-url-import": "Bulk URL Import", "bulk-url-import": "Bulk URL Import",
"debug-scraper": "Debug Scraper", "debug-scraper": "Debug Scraper",
"create-a-recipe-by-providing-the-name-all-recipes-must-have-unique-names": "Create a recipe by providing the name. All recipes must have unique names.", "create-a-recipe-by-providing-the-name-all-recipes-must-have-unique-names": "Create a recipe by providing the name. All recipes must have unique names.",

View file

@ -80,7 +80,7 @@ export default defineNuxtComponent({
}, },
{ {
icon: $globals.icons.fileImage, icon: $globals.icons.fileImage,
text: i18n.t("recipe.create-from-image"), text: i18n.t("recipe.create-from-images"),
value: "image", value: "image",
hide: !enableOpenAIImages.value, hide: !enableOpenAIImages.value,
}, },

View file

@ -74,7 +74,11 @@
/> />
</p> </p>
<p v-if="loading" class="mb-0"> <p v-if="loading" class="mb-0">
{{ $t("recipe.please-wait-image-procesing") }} {{
uploadedImages.length > 1
? $t("recipe.please-wait-images-processing")
: $t("recipe.please-wait-image-procesing")
}}
</p> </p>
</div> </div>
</v-card-actions> </v-card-actions>