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> <template>
<label class="drop-zone" v-cloak @drop.prevent="dropHandler" @dragover.prevent> <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"> <input ref="input" hidden aria-hidden="true" type="file" accept="image/*" multiple @change="dropHandler">
</label> </label>
</template> </template>

View file

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