improve form i18n

This commit is contained in:
Pete Matsyburka
2024-01-26 16:45:32 +02:00
parent b4ba642f8e
commit 4b2f9ff306
5 changed files with 210 additions and 74 deletions
@@ -9,7 +9,7 @@
@click.prevent="remove"
>
<IconReload :width="16" />
Reupload
{{ t('reupload') }}
</button>
</div>
<div>
@@ -27,7 +27,7 @@
<div>
<FileDropzone
v-if="!modelValue"
:message="`Upload ${field.name || 'Image'}${field.required ? '' : ' (optional)'}`"
:message="`${t('upload')} ${field.name || t('image')}${field.required ? '' : ` (${t('optional')})`}`"
:submitter-slug="submitterSlug"
:accept="'image/*'"
:is-direct-upload="isDirectUpload"