This commit is contained in:
Milos Stojanovic
2020-02-26 10:31:04 +01:00
parent 5ec59f93de
commit e045be33ac
17 changed files with 32 additions and 3 deletions

View File

@@ -136,6 +136,9 @@ const funcs = {
hasExtension(name, exts) {
return (new RegExp('(' + exts.join('|').replace(/\./g, '\\.') + ')$', 'i')).test(name)
},
capitalize(string) {
return string.charAt(0).toUpperCase() + string.slice(1)
},
}
}

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Вашия файл е готов',
'View': 'View',
'Search': 'Search',
'Download permission': 'Изтегляне',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': '您的文件已备妥',
'View': 'View',
'Search': 'Search',
'Download permission': '下载',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Uw bestand is verwerkt',
'View': 'View',
'Search': 'Search',
'Download permission': 'Download',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Your file is ready',
'View': 'View',
'Search': 'Search',
'Download permission': 'Download',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Votre fichier est prêt',
'View': 'View',
'Search': 'Search',
'Download permission': 'Télécharger',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Deine Datei ist fertig',
'View': 'View',
'Search': 'Search',
'Download permission': 'Herunterladen',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'File Anda sudah siap',
'View': 'View',
'Search': 'Search',
'Download permission': 'Unduh',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Jūsų failas paruoštas',
'View': 'View',
'Search': 'Search',
'Download permission': 'Atsiųsti',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Seu arquivo está pronto',
'View': 'View',
'Search': 'Search',
'Download permission': 'Download',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Vaš fajl je spreman',
'View': 'View',
'Search': 'Search',
'Download permission': 'Preuzimanje',
'Guest': 'Gost',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Váš súbor je pripravený',
'View': 'Zobraziť',
'Search': 'Vyhľadávanie',
'Download permission': 'Sťahovať',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Su fichero está listo',
'View': 'View',
'Search': 'Search',
'Download permission': 'Descargar',
'Guest': 'Guest',
}
export default data

View File

@@ -72,6 +72,8 @@ const data = {
'Your file is ready': 'Dosyanız Hazır',
'View': 'View',
'Search': 'Search',
'Download permission': 'İndir',
'Guest': 'Guest',
}
export default data

View File

@@ -40,7 +40,7 @@
</b-table-column>
<b-table-column :label="lang('Role')" field="role" sortable>
{{ props.row.role }}
{{ lang(capitalize(props.row.role)) }}
</b-table-column>
<b-table-column>

View File

@@ -8,7 +8,7 @@
<section class="modal-card-body">
<b-input ref="input" v-model="term" @input="searchFiles" :placeholder="lang('Name')" />
<br>
<b-loading :is-full-page="false" :active.sync="searching"></b-loading>
<b-loading :is-full-page="false" :active.sync="searching" />
<ul ref="results">
<li v-for="(item, index) in results" :key="index">
<a @click="select(item)">{{ item.file.path }}</a>

View File

@@ -48,7 +48,7 @@
{{ lang('Upload') }}
</b-checkbox>
<b-checkbox v-model="permissions.download">
{{ lang('Download') }}
{{ lang('Download permission') }}
</b-checkbox>
<b-checkbox v-model="permissions.batchdownload">
{{ lang('Batch Download') }}