get language text for vue component

This commit is contained in:
Cüneyt Şentürk
2021-01-22 16:01:48 +03:00
parent e476f300be
commit 4f21c14bf9
6 changed files with 15 additions and 2 deletions

View File

@ -49,6 +49,11 @@ export default {
name: 'akaunting-dropzone-file-upload',
props: {
textDropFile: {
type: String,
default: 'Drop files here to upload',
description: 'Drop file text'
},
textChooseFile: {
type: String,
default: 'Choose File',
@ -100,6 +105,7 @@ export default {
thumbnailHeight: null,
previewsContainer: preview,
previewTemplate: preview.innerHTML,
dictDefaultMessage: this.textDropFile,
autoProcessQueue: false,
init: function () {
this.on('addedfile', function (file) {