fix(webui): extract translation strings for DropZone.vue

Closes #856
This commit is contained in:
Gauthier Roebroeck 2022-04-12 11:20:36 +08:00
parent 82e2f11bec
commit 2966c85449
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
<template>
<label class="drop-zone" v-cloak @drop.prevent="dropHandler" @dragover.prevent>
<span class="file-input">Choose an image</span> - drag and drop
<span class="file-input">{{ $t('common.choose_image') }}</span> - {{ $t('common.drag_drop') }}
<input ref="input" hidden aria-hidden="true" type="file" accept="image/*" multiple @change="dropHandler">
</label>
</template>

View file

@ -186,6 +186,7 @@
"books_n": "No book | 1 book | {count} books",
"books_total": "{count} / {total} books",
"cancel": "Cancel",
"choose_image": "Choose an image",
"close": "Close",
"collections": "Collections",
"create": "Create",
@ -193,6 +194,7 @@
"disk_space": "Disk space",
"dismiss": "Dismiss",
"download": "Download",
"drag_drop": "drag and drop",
"email": "Email",
"filename": "Filename",
"filter_no_matches": "The active filter has no matches",