From 0f8793d7139913a628f1dea195d6fb02c761f676 Mon Sep 17 00:00:00 2001 From: SkepticMystic Date: Sat, 28 Jun 2025 18:50:28 +0000 Subject: [PATCH] feat: recipe.upload-another-image i18n string --- frontend/lang/messages/en-US.json | 3 ++- frontend/pages/g/[groupSlug]/r/create/image.vue | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json index d676f3cd1..5f7a65a66 100644 --- a/frontend/lang/messages/en-US.json +++ b/frontend/lang/messages/en-US.json @@ -660,7 +660,8 @@ "no-food": "No Food" }, "reset-servings-count": "Reset Servings Count", - "not-linked-ingredients": "Additional Ingredients" + "not-linked-ingredients": "Additional Ingredients", + "upload-another-image": "Upload another image" }, "recipe-finder": { "recipe-finder": "Recipe Finder", diff --git a/frontend/pages/g/[groupSlug]/r/create/image.vue b/frontend/pages/g/[groupSlug]/r/create/image.vue index 643577d9f..20d69be40 100644 --- a/frontend/pages/g/[groupSlug]/r/create/image.vue +++ b/frontend/pages/g/[groupSlug]/r/create/image.vue @@ -15,7 +15,7 @@ url="none" file-name="images" accept="image/*" - :text="$t('recipe.upload-image')" + :text="uploadedImages.length ? $t('recipe.upload-another-image') : $t('recipe.upload-image')" :text-btn="false" :post="false" @uploaded="uploadImage" @@ -24,7 +24,7 @@ -
+
@@ -60,7 +60,7 @@
- +