feat: recipe.upload-another-image i18n string

This commit is contained in:
SkepticMystic 2025-06-28 18:50:28 +00:00
commit 0f8793d713
2 changed files with 5 additions and 4 deletions

View file

@ -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",

View file

@ -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 @@
<v-spacer />
</v-row>
<div v-if="uploadedImages.length > 0" class="mt-3">
<div v-if="uploadedImages.length" class="mt-3">
<v-row>
<v-col cols="12" class="pb-0">
<v-card-text class="pa-0">
@ -60,7 +60,7 @@
</div>
</v-container>
</v-card-text>
<v-card-actions v-if="uploadedImages.length > 0">
<v-card-actions v-if="uploadedImages.length">
<div>
<p style="width: 250px">
<BaseButton rounded block type="submit" :loading="loading" />