mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-14 17:25:01 +00:00
language strings refactoring
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
</td>
|
||||
<td class="px-3 md:px-1" v-if="config.isSaaS">
|
||||
<span class="text-sm font-bold">
|
||||
{{ row.data.relationships.subscription ? $t('global.premium') : $t('global.free') }}
|
||||
{{ row.data.relationships.subscription ? $t('premium') : $t('free') }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="px-3 md:px-1">
|
||||
@@ -260,17 +260,17 @@ export default {
|
||||
return {
|
||||
metered: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'email',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.role'),
|
||||
label: this.$t('role'),
|
||||
field: 'role',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.storage_used'),
|
||||
label: this.$t('storage_used'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
@@ -283,23 +283,23 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
fixed: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'email',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.role'),
|
||||
label: this.$t('role'),
|
||||
field: 'role',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.storage_used'),
|
||||
label: this.$t('storage_used'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
@@ -313,23 +313,23 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
none: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'email',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.role'),
|
||||
label: this.$t('role'),
|
||||
field: 'role',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.storage_used'),
|
||||
label: this.$t('storage_used'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
@@ -343,7 +343,7 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -36,12 +36,12 @@
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(currentFile)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option
|
||||
@click.native="$moveFileOrFolder(currentFile)"
|
||||
:title="$t('context_menu.move')"
|
||||
:title="$t('move')"
|
||||
icon="move-item"
|
||||
/>
|
||||
<Option
|
||||
@@ -52,13 +52,13 @@
|
||||
/>
|
||||
<Option
|
||||
@click.native="$deleteFileOrFolder(currentFile)"
|
||||
:title="$t('context_menu.delete')"
|
||||
:title="$t('delete')"
|
||||
icon="trash"
|
||||
class="menu-option"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup v-if="!$isThisRoute($route, ['RequestUpload'])">
|
||||
<Option @click.native="downloadItem" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="downloadItem" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</PopoverItem>
|
||||
</PopoverWrapper>
|
||||
@@ -89,13 +89,13 @@
|
||||
@click.native="$shareFileOrFolder(currentFile)"
|
||||
:class="{ 'is-inactive': !canShareItem }"
|
||||
source="share"
|
||||
:action="$t('actions.share')"
|
||||
:action="$t('share_item')"
|
||||
/>
|
||||
<ToolbarButton
|
||||
v-if="isImage"
|
||||
@click.native="printMethod()"
|
||||
source="print"
|
||||
:action="$t('actions.print')"
|
||||
:action="$t('print')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -131,8 +131,8 @@ export default {
|
||||
},
|
||||
sharingTitle() {
|
||||
return this.currentFile.data.relationships.shared
|
||||
? this.$t('context_menu.share_edit')
|
||||
: this.$t('context_menu.share')
|
||||
? this.$t('edit_sharing')
|
||||
: this.$t('share')
|
||||
},
|
||||
isImage() {
|
||||
return this.currentFile.data.type === 'image'
|
||||
|
||||
@@ -9,17 +9,17 @@
|
||||
<ToolbarButton
|
||||
@click.stop.native="showCreateMenu"
|
||||
source="cloud-plus"
|
||||
:action="$t('actions.create')"
|
||||
:action="$t('create_something')"
|
||||
/>
|
||||
<PopoverItem name="desktop-create" side="left">
|
||||
<OptionGroup :title="$t('Upload')">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
</OptionGroup>
|
||||
<OptionGroup :title="$t('Create')">
|
||||
<Option
|
||||
@click.native="$createFolder"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -39,7 +39,7 @@
|
||||
'is-inactive': !canManipulate,
|
||||
}"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@click.native="$deleteFileOrFolder(clipboard[0])"
|
||||
@@ -58,7 +58,7 @@
|
||||
<ToolbarButton
|
||||
@click.stop.native="showSortingMenu"
|
||||
source="preview-sorting"
|
||||
:action="$t('actions.sorting_view')"
|
||||
:action="$t('sorting_view')"
|
||||
/>
|
||||
<PopoverItem name="desktop-sorting" side="left">
|
||||
<FileSortingOptions />
|
||||
@@ -66,7 +66,7 @@
|
||||
</PopoverWrapper>
|
||||
<ToolbarButton
|
||||
@click.native="$store.dispatch('fileInfoToggle')"
|
||||
:action="$t('actions.info_panel')"
|
||||
:action="$t('info_panel')"
|
||||
source="info"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
<ToolbarButton
|
||||
@click.stop.native="showCreateMenu"
|
||||
source="cloud-plus"
|
||||
:action="$t('actions.create')"
|
||||
:action="$t('create_something')"
|
||||
/>
|
||||
<PopoverItem name="desktop-create" side="left">
|
||||
<OptionGroup
|
||||
:title="$t('Frequently Used')"
|
||||
>
|
||||
<OptionUpload
|
||||
:title="$t('actions.upload')"
|
||||
:title="$t('upload_files')"
|
||||
type="file"
|
||||
:class="{
|
||||
'is-inactive': (isSharedWithMe && !canEdit) || canUploadInView || isTeamFolderHomepage || isSharedWithMeHomepage,
|
||||
@@ -27,7 +27,7 @@
|
||||
:class="{
|
||||
'is-inactive': (isSharedWithMe && !canEdit) || canCreateFolder || isTeamFolderHomepage || isSharedWithMeHomepage,
|
||||
}"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -36,7 +36,7 @@
|
||||
:class="{
|
||||
'is-inactive': (isSharedWithMe && !canEdit) || canUploadFolderInView || isTeamFolderHomepage || isSharedWithMeHomepage,
|
||||
}"
|
||||
:title="$t('actions.upload_folder')"
|
||||
:title="$t('upload_folder')"
|
||||
type="folder"
|
||||
/>
|
||||
<Option
|
||||
@@ -111,7 +111,7 @@
|
||||
'is-inactive': canShareInView,
|
||||
}"
|
||||
source="share"
|
||||
:action="$t('actions.share')"
|
||||
:action="$t('share_item')"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@click.native="$moveFileOrFolder(clipboard[0])"
|
||||
@@ -119,7 +119,7 @@
|
||||
'is-inactive': canMoveInView && !canEdit,
|
||||
}"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@click.native="$deleteFileOrFolder(clipboard[0])"
|
||||
@@ -138,7 +138,7 @@
|
||||
<ToolbarButton
|
||||
@click.stop.native="showSortingMenu"
|
||||
source="preview-sorting"
|
||||
:action="$t('actions.sorting_view')"
|
||||
:action="$t('sorting_view')"
|
||||
/>
|
||||
<PopoverItem name="desktop-sorting" side="left">
|
||||
<FileSortingOptions />
|
||||
@@ -146,7 +146,7 @@
|
||||
</PopoverWrapper>
|
||||
<ToolbarButton
|
||||
@click.native="$store.dispatch('fileInfoToggle')"
|
||||
:action="$t('actions.info_panel')"
|
||||
:action="$t('info_panel')"
|
||||
source="info"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -21,17 +21,17 @@
|
||||
<ToolbarButton
|
||||
@click.stop.native="showCreateMenu"
|
||||
source="cloud-plus"
|
||||
:action="$t('actions.create')"
|
||||
:action="$t('create_something')"
|
||||
/>
|
||||
<PopoverItem name="desktop-create" side="left">
|
||||
<OptionGroup :title="$t('Upload')">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
</OptionGroup>
|
||||
<OptionGroup :title="$t('Create')">
|
||||
<Option
|
||||
@click.native="$createFolder"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -46,7 +46,7 @@
|
||||
'is-inactive': !canManipulate,
|
||||
}"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@click.native="$deleteFileOrFolder(clipboard[0])"
|
||||
@@ -64,7 +64,7 @@
|
||||
<ToolbarButton
|
||||
@click.stop.native="showSortingMenu"
|
||||
source="preview-sorting"
|
||||
:action="$t('actions.sorting_view')"
|
||||
:action="$t('sorting_view')"
|
||||
/>
|
||||
<PopoverItem name="desktop-sorting" side="left">
|
||||
<FileSortingOptions />
|
||||
@@ -72,7 +72,7 @@
|
||||
</PopoverWrapper>
|
||||
<ToolbarButton
|
||||
@click.native="$store.dispatch('fileInfoToggle')"
|
||||
:action="$t('actions.info_panel')"
|
||||
:action="$t('info_panel')"
|
||||
source="info"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@ export default {
|
||||
|
||||
// Title for multiple selected items
|
||||
if (filesLength > 1 && hasDraggedItem) {
|
||||
return this.$t('file_detail.selected_multiple')
|
||||
return this.$t('selected_multiple')
|
||||
}
|
||||
|
||||
// Title for single item
|
||||
@@ -40,7 +40,7 @@ export default {
|
||||
|
||||
// Subtitle for multiple selected items
|
||||
if (filesLength > 1 && hasDraggedItem) {
|
||||
return filesLength + ' ' + this.$tc('file_detail.items', filesLength)
|
||||
return filesLength + ' ' + this.$tc('items', filesLength)
|
||||
}
|
||||
|
||||
if ((filesLength < 2 || !hasDraggedItem) && this.draggedItem) {
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
<!-- Multi select mode -->
|
||||
<div v-if="isMultiSelectMode">
|
||||
<MobileActionButton @click.native="selectAll" icon="check-square">
|
||||
{{ $t('mobile_selecting.select_all') }}
|
||||
{{ $t('select_all') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="deselectAll" icon="x-square">
|
||||
{{ $t('mobile_selecting.deselect_all') }}
|
||||
{{ $t('deselect_all') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="disableMultiSelectMode" icon="check">
|
||||
{{ $t('mobile_selecting.done') }}
|
||||
{{ $t('done') }}
|
||||
</MobileActionButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
/>
|
||||
<Option
|
||||
@click.native="goToShared"
|
||||
:title="$t('sidebar.my_shared')"
|
||||
:title="$t('publicly_shared')"
|
||||
icon="share"
|
||||
:is-active="$isThisRoute($route, 'MySharedItems')"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
<Option
|
||||
@click.native="goToTrash"
|
||||
:title="$t('menu.trash')"
|
||||
:title="$t('trash')"
|
||||
icon="trash"
|
||||
:is-active="$isThisRoute($route, 'Trash')"
|
||||
:is-hover-disabled="true"
|
||||
|
||||
@@ -6,72 +6,72 @@
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.artist">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.author') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('author') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.artist }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.width && clipboard.data.attributes.height">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.dimension') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('dimension') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.width }}x{{ clipboard.data.attributes.height }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.x_resolution && clipboard.data.attributes.y_resolution">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.resolution') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('resolution') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.x_resolution }}x{{ clipboard.data.attributes.y_resolution }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.color_space">
|
||||
<b class="font-bold text-sm"> {{ $t('file_detail_meta.color_space') }}</b>
|
||||
<b class="font-bold text-sm"> {{ $t('color_space') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.color_space }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.make">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.make') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('make') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.make }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.model">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.model') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('model') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.model }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.aperture_value">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.aperture_value') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('aperture_value') }}</b>
|
||||
<b class="font-bold text-sm"> {{ clipboard.data.attributes.aperture_value }} </b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.exposure_time">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.exposure') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('exposure') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.exposure_time }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.focal_length">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.focal') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('focal') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.focal_length }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.iso">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.iso') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('iso') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.iso }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.aperture_f_number">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.aperature') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('aperature') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.aperture_f_number }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.ccd_width">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.camera_lens') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('camera_lens') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.ccd_width }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.longitude">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.longitude') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('longitude') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.longitude }}</b>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between py-2" v-if="clipboard.data.attributes.latitude">
|
||||
<b class="font-bold text-sm">{{ $t('file_detail_meta.latitude') }}</b>
|
||||
<b class="font-bold text-sm">{{ $t('latitude') }}</b>
|
||||
<b class="font-bold text-sm">{{ clipboard.data.attributes.latitude }}</b>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
v-if="!isSingleFile && !isEmpty"
|
||||
class="mb-6"
|
||||
icon="check-square"
|
||||
:title="$t('file_detail.selected_multiple')"
|
||||
:subtitle="this.clipboard.length + ' ' + $tc('file_detail.items', this.clipboard.length)"
|
||||
:title="$t('selected_multiple')"
|
||||
:subtitle="this.clipboard.length + ' ' + $tc('items', this.clipboard.length)"
|
||||
/>
|
||||
|
||||
<!--Single file preview-->
|
||||
@@ -35,15 +35,15 @@
|
||||
<!--Filesize-->
|
||||
<ListInfoItem
|
||||
v-if="singleFile.data.attributes.filesize"
|
||||
:title="$t('file_detail.size')"
|
||||
:title="$t('size')"
|
||||
:content="singleFile.data.attributes.filesize"
|
||||
/>
|
||||
|
||||
<!--Created At-->
|
||||
<ListInfoItem :title="$t('file_detail.created_at')" :content="singleFile.data.attributes.created_at" />
|
||||
<ListInfoItem :title="$t('created_at')" :content="singleFile.data.attributes.created_at" />
|
||||
|
||||
<!--Location-->
|
||||
<ListInfoItem v-if="$checkPermission(['master'])" :title="$t('file_detail.where')">
|
||||
<ListInfoItem v-if="$checkPermission(['master'])" :title="$t('where')">
|
||||
<div @click="$moveFileOrFolder(singleFile)" class="flex cursor-pointer items-center">
|
||||
<b class="inline-block text-sm font-bold">
|
||||
{{
|
||||
@@ -59,7 +59,7 @@
|
||||
<!--Shared-->
|
||||
<ListInfoItem
|
||||
v-if="$checkPermission('master') && singleFile.data.relationships.shared"
|
||||
:title="$t('file_detail.shared')"
|
||||
:title="$t('shared')"
|
||||
>
|
||||
<div @click="$shareFileOrFolder(singleFile)" class="mb-2 flex cursor-pointer items-center">
|
||||
<span class="inline-block text-sm font-bold">
|
||||
@@ -95,7 +95,7 @@
|
||||
</ListInfoItem>
|
||||
|
||||
<!--Metadata-->
|
||||
<ListInfoItem v-if="canShowMetaData" :title="$t('file_detail_meta.meta_data')">
|
||||
<ListInfoItem v-if="canShowMetaData" :title="$t('meta_data')">
|
||||
<ImageMetaData />
|
||||
</ListInfoItem>
|
||||
</div>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
v-if="!isSingleFile && !isEmpty"
|
||||
class="mb-6"
|
||||
icon="check-square"
|
||||
:title="$t('file_detail.selected_multiple')"
|
||||
:subtitle="this.clipboard.length + ' ' + $tc('file_detail.items', this.clipboard.length)"
|
||||
:title="$t('selected_multiple')"
|
||||
:subtitle="this.clipboard.length + ' ' + $tc('items', this.clipboard.length)"
|
||||
/>
|
||||
|
||||
<!--Single file preview-->
|
||||
@@ -35,15 +35,15 @@
|
||||
<!--Filesize-->
|
||||
<ListInfoItem
|
||||
v-if="singleFile.data.attributes.filesize"
|
||||
:title="$t('file_detail.size')"
|
||||
:title="$t('size')"
|
||||
:content="singleFile.data.attributes.filesize"
|
||||
/>
|
||||
|
||||
<!--Created At-->
|
||||
<ListInfoItem :title="$t('file_detail.created_at')" :content="singleFile.data.attributes.created_at" />
|
||||
<ListInfoItem :title="$t('created_at')" :content="singleFile.data.attributes.created_at" />
|
||||
|
||||
<!--Location-->
|
||||
<ListInfoItem :title="$t('file_detail.where')">
|
||||
<ListInfoItem :title="$t('where')">
|
||||
<div @click="$moveFileOrFolder(singleFile)" class="flex cursor-pointer items-center">
|
||||
<b class="inline-block text-sm font-bold">
|
||||
{{
|
||||
@@ -59,7 +59,7 @@
|
||||
<!--Shared-->
|
||||
<ListInfoItem
|
||||
v-if="$checkPermission('master') && singleFile.data.relationships.shared"
|
||||
:title="$t('file_detail.shared')"
|
||||
:title="$t('shared')"
|
||||
>
|
||||
<div @click="$shareFileOrFolder(singleFile)" class="mb-2 flex cursor-pointer items-center">
|
||||
<span class="inline-block text-sm font-bold">
|
||||
@@ -85,7 +85,7 @@
|
||||
</ListInfoItem>
|
||||
|
||||
<!--Metadata-->
|
||||
<ListInfoItem v-if="canShowMetaData" :title="$t('file_detail_meta.meta_data')">
|
||||
<ListInfoItem v-if="canShowMetaData" :title="$t('meta_data')">
|
||||
<ImageMetaData />
|
||||
</ListInfoItem>
|
||||
</div>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</section>
|
||||
<footer class="plan-footer">
|
||||
<b class="price text-theme">
|
||||
{{ plan.data.attributes.price }}/{{ $t('global.monthly_ac') }}
|
||||
{{ plan.data.attributes.price }}/{{ $t('mo.') }}
|
||||
<small v-if="plan.data.attributes.tax_rates.length > 0" class="vat-disclaimer">{{
|
||||
$t('page_pricing_tables.vat_excluded')
|
||||
}}</small>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
class="get-started-button bg-theme-800 hover-bg-theme shadow-theme"
|
||||
:to="{ name: 'SignUp' }"
|
||||
>
|
||||
<span class="content">{{ $t('page_index.get_started_button') }}</span>
|
||||
<span class="content">{{ $t('sign_up_now') }}</span>
|
||||
<chevron-right-icon size="22"></chevron-right-icon>
|
||||
</router-link>
|
||||
|
||||
|
||||
@@ -13,19 +13,19 @@
|
||||
<ul class="navigation-links">
|
||||
<!--<li v-if="config.stripe_public_key">
|
||||
<a href="/#pricing">
|
||||
{{ $t('page_index.menu.pricing') }}
|
||||
{{ $t('pricing') }}
|
||||
</a>
|
||||
</li>-->
|
||||
<li>
|
||||
<router-link :to="{ name: 'ContactUs' }" class="hover-text-theme">
|
||||
{{ $t('page_index.menu.contact_us') }}
|
||||
{{ $t('contact_us') }}
|
||||
</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="!config.isAuthenticated" class="navigation-links">
|
||||
<li>
|
||||
<router-link :to="{ name: 'SignIn' }" class="hover-text-theme">
|
||||
{{ $t('page_index.menu.log_in') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</li>
|
||||
<li v-if="config.userRegistration">
|
||||
@@ -43,7 +43,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<router-link class="cta-button log-in text-theme bg-theme-100" :to="{ name: 'SignIn' }">
|
||||
{{ $t('page_index.menu.log_in') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</nav>
|
||||
</template>
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
<ul class="navigation-links">
|
||||
<!-- <li>
|
||||
<a href="/#pricing">
|
||||
{{ $t('page_index.menu.pricing') }}
|
||||
{{ $t('pricing') }}
|
||||
</a>
|
||||
</li>-->
|
||||
<li>
|
||||
<router-link :to="{ name: 'ContactUs' }" class="hover-text-theme">
|
||||
{{ $t('page_index.menu.contact_us') }}
|
||||
{{ $t('contact_us') }}
|
||||
</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<!--User login button-->
|
||||
<router-link v-if="!config.userRegistration" class="sign-up-button" :to="{ name: 'SignIn' }">
|
||||
<AuthButton class="button" icon="chevron-right" :text="$t('page_index.menu.log_in')" />
|
||||
<AuthButton class="button" icon="chevron-right" :text="$t('log_in')" />
|
||||
</router-link>
|
||||
|
||||
<div class="features" v-if="config.subscriptionType === 'fixed'">
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<PopupContent>
|
||||
<ValidationObserver @submit.prevent="confirmPassword" ref="passwordForm" v-slot="{ invalid }" tag="form">
|
||||
<ValidationProvider tag="div" mode="passive" name="Password" rules="required" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('popup_2fa.input_label')" :error="errors[0]" :is-last="true">
|
||||
<AppInputText :title="$t('password')" :error="errors[0]" :is-last="true">
|
||||
<input
|
||||
v-model="password"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -30,7 +30,7 @@
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
>
|
||||
{{ $t('popup_2fa.confirm_button') }}
|
||||
{{ $t('confirm') }}
|
||||
</ButtonBase>
|
||||
</PopupActions>
|
||||
</PopupWrapper>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<PopupWrapper name="create-personal-token">
|
||||
<PopupHeader :title="$t('popup_personal_token.title')" icon="key" />
|
||||
<PopupHeader :title="$t('create_personal_token')" icon="key" />
|
||||
|
||||
<PopupContent>
|
||||
<ValidationObserver
|
||||
@@ -11,7 +11,7 @@
|
||||
tag="form"
|
||||
>
|
||||
<ValidationProvider tag="div" mode="passive" name="Token Name" rules="required|min:3" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('popup_personal_token.label')" :error="errors[0]" :is-last="true">
|
||||
<AppInputText :title="$t('token_name')" :error="errors[0]" :is-last="true">
|
||||
<input
|
||||
v-model="name"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -44,13 +44,13 @@
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
>
|
||||
{{ $t('personal_token.create_token') }}
|
||||
{{ $t('create_token') }}
|
||||
</ButtonBase>
|
||||
</PopupActions>
|
||||
|
||||
<PopupActions v-if="token">
|
||||
<ButtonBase class="w-full" @click.native="$closePopup" button-style="theme">
|
||||
{{ $t('shared_form.button_done') }}
|
||||
{{ $t('awesome_iam_done') }}
|
||||
</ButtonBase>
|
||||
</PopupActions>
|
||||
</PopupWrapper>
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
<!--Actions-->
|
||||
<PopupActions v-if="generatedUploadRequest">
|
||||
<ButtonBase class="w-full" @click.native="$closePopup()" button-style="theme"
|
||||
>{{ $t('shared_form.button_done') }}
|
||||
>{{ $t('awesome_iam_done') }}
|
||||
</ButtonBase>
|
||||
</PopupActions>
|
||||
</PopupWrapper>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
v-model="query"
|
||||
ref="search"
|
||||
type="text"
|
||||
:placeholder="$te('select_search_placeholder') ? $t('select_search_placeholder') : 'Search in list...'"
|
||||
:placeholder="$te('search_in_list') ? $t('search_in_list') : 'Search in list...'"
|
||||
class="search-input focus-border-theme rounded-lg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
/>
|
||||
<Option
|
||||
@click.native.stop="showSubmenu('settings')"
|
||||
:title="$t('menu.settings')"
|
||||
:title="$t('settings')"
|
||||
icon="user"
|
||||
arrow="right"
|
||||
:is-hover-disabled="true"
|
||||
@@ -46,7 +46,7 @@
|
||||
<Option
|
||||
v-if="isAdmin"
|
||||
@click.native.stop="showSubmenu('admin')"
|
||||
:title="$t('menu.admin')"
|
||||
:title="$t('administration')"
|
||||
icon="settings"
|
||||
arrow="right"
|
||||
:is-hover-disabled="true"
|
||||
@@ -72,7 +72,7 @@
|
||||
/>
|
||||
<Option
|
||||
@click.native="goToRoute('Storage')"
|
||||
:title="$t('menu.storage')"
|
||||
:title="$t('storage')"
|
||||
icon="hard-drive"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
@@ -89,19 +89,19 @@
|
||||
<OptionGroup v-if="clickedSubmenu === 'admin'">
|
||||
<Option
|
||||
@click.native="goToRoute('Dashboard')"
|
||||
:title="$t('admin_menu.dashboard')"
|
||||
:title="$t('dashboard')"
|
||||
icon="box"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
<Option
|
||||
@click.native="goToRoute('Users')"
|
||||
:title="$t('admin_menu.users')"
|
||||
:title="$t('users')"
|
||||
icon="users"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
<Option
|
||||
@click.native="goToRoute('AppOthers')"
|
||||
:title="$t('admin_menu.settings')"
|
||||
:title="$t('settings')"
|
||||
icon="settings"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
@@ -111,7 +111,7 @@
|
||||
<OptionGroup v-if="clickedSubmenu === 'admin'">
|
||||
<Option
|
||||
@click.native="goToRoute('Pages')"
|
||||
:title="$t('admin_menu.pages')"
|
||||
:title="$t('pages')"
|
||||
icon="monitor"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
@@ -181,8 +181,8 @@ export default {
|
||||
},
|
||||
backTitle() {
|
||||
let location = {
|
||||
settings: this.$t('menu.settings'),
|
||||
admin: this.$t('menu.admin'),
|
||||
settings: this.$t('settings'),
|
||||
admin: this.$t('administration'),
|
||||
}
|
||||
|
||||
return 'Go back from ' + location[this.clickedSubmenu]
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
<TitlePreview
|
||||
class="mb-4"
|
||||
icon="check-square"
|
||||
:title="$t('file_detail.selected_multiple')"
|
||||
:subtitle="this.clipboard.length + ' ' + $tc('file_detail.items', this.clipboard.length)"
|
||||
:title="$t('selected_multiple')"
|
||||
:subtitle="this.clipboard.length + ' ' + $tc('items', this.clipboard.length)"
|
||||
v-if="clipboard.length > 1 && !isSelectedItem"
|
||||
/>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</section>
|
||||
<footer class="plan-footer">
|
||||
<b class="price text-theme">
|
||||
{{ plan.data.attributes.price }}/{{ $t('global.monthly_ac') }}
|
||||
{{ plan.data.attributes.price }}/{{ $t('mo.') }}
|
||||
<small v-if="plan.data.attributes.tax_rates.length > 0" class="vat-disclaimer">{{
|
||||
$t('page_pricing_tables.vat_excluded')
|
||||
}}</small>
|
||||
@@ -28,7 +28,7 @@
|
||||
button-style="secondary"
|
||||
class="sign-in-button"
|
||||
>
|
||||
{{ $t('global.get_it') }}
|
||||
{{ $t('get_it') }}
|
||||
</ButtonBase>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
>{{ $t('cancel') }}
|
||||
</ButtonBase>
|
||||
<ButtonBase @click.native="confirm" :button-style="buttonColor" class="w-full"
|
||||
>{{ $t('global.confirm_action') }}
|
||||
>{{ $t('yes_iam_sure') }}
|
||||
</ButtonBase>
|
||||
</PopupActions>
|
||||
</PopupWrapper>
|
||||
|
||||
@@ -101,8 +101,8 @@ export default {
|
||||
computed: {
|
||||
itemTypeTitle() {
|
||||
return this.pickedItem && this.pickedItem.data.type === 'folder'
|
||||
? this.$t('types.folder')
|
||||
: this.$t('types.file')
|
||||
? this.$t('folder')
|
||||
: this.$t('file')
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
rules="required"
|
||||
v-slot="{ errors }"
|
||||
>
|
||||
<AppInputText :title="$t('shared_form.label_permission')" :error="errors[0]">
|
||||
<AppInputText :title="$t('permission')" :error="errors[0]">
|
||||
<SelectInput
|
||||
v-model="shareOptions.permission"
|
||||
:options="$translateSelectOptions(permissionOptions)"
|
||||
@@ -38,7 +38,7 @@
|
||||
<!--Password Switch-->
|
||||
<div>
|
||||
<AppInputSwitch
|
||||
:title="$t('shared_form.label_password_protection')"
|
||||
:title="$t('password_protected')"
|
||||
:description="$t('popup.share.password_description')"
|
||||
>
|
||||
<SwitchInput
|
||||
@@ -109,7 +109,7 @@
|
||||
<MultiEmailInput
|
||||
rules="required"
|
||||
v-model="shareOptions.emails"
|
||||
:label="$t('shared_form.recipients_label')"
|
||||
:label="$t('recipients')"
|
||||
:is-error="errors[0]"
|
||||
/>
|
||||
</AppInputText>
|
||||
@@ -118,7 +118,7 @@
|
||||
</ValidationObserver>
|
||||
|
||||
<!--Copy generated link-->
|
||||
<AppInputText v-if="isGeneratedShared" :title="$t('shared_form.label_share_vie_email')" :is-last="true">
|
||||
<AppInputText v-if="isGeneratedShared" :title="$t('get_your_link')" :is-last="true">
|
||||
<CopyShareLink :item="pickedItem" />
|
||||
</AppInputText>
|
||||
</PopupContent>
|
||||
@@ -192,14 +192,14 @@ export default {
|
||||
...mapGetters(['permissionOptions', 'expirationList']),
|
||||
itemTypeTitle() {
|
||||
return this.pickedItem && this.pickedItem.data.type === 'folder'
|
||||
? this.$t('types.folder')
|
||||
: this.$t('types.file')
|
||||
? this.$t('folder')
|
||||
: this.$t('file')
|
||||
},
|
||||
isFolder() {
|
||||
return this.pickedItem && this.pickedItem.data.type === 'folder'
|
||||
},
|
||||
submitButtonText() {
|
||||
return this.isGeneratedShared ? this.$t('shared_form.button_done') : this.$t('shared_form.button_generate')
|
||||
return this.isGeneratedShared ? this.$t('awesome_iam_done') : this.$t('generate_link')
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
{{ $t('Show Details') }}
|
||||
</ButtonBase>
|
||||
<ButtonBase class="w-full" @click.native="$closePopup()" button-style="theme">
|
||||
{{ $t('shared_form.button_done') }}
|
||||
{{ $t('awesome_iam_done') }}
|
||||
</ButtonBase>
|
||||
</PopupActions>
|
||||
</div>
|
||||
@@ -65,7 +65,7 @@
|
||||
<ThumbnailItem class="mb-5" :item="pickedItem" />
|
||||
|
||||
<!--Get share link-->
|
||||
<AppInputText :title="$t('shared_form.label_share_vie_email')">
|
||||
<AppInputText :title="$t('get_your_link')">
|
||||
<CopyShareLink :item="pickedItem" />
|
||||
</AppInputText>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
rules="required"
|
||||
v-slot="{ errors }"
|
||||
>
|
||||
<AppInputText :title="$t('shared_form.label_permission')" :error="errors[0]">
|
||||
<AppInputText :title="$t('permission')" :error="errors[0]">
|
||||
<SelectInput
|
||||
v-model="shareOptions.permission"
|
||||
:options="$translateSelectOptions(permissionOptions)"
|
||||
@@ -93,7 +93,7 @@
|
||||
<!--Password Switch-->
|
||||
<div>
|
||||
<AppInputSwitch
|
||||
:title="$t('shared_form.label_password_protection')"
|
||||
:title="$t('password_protected')"
|
||||
:description="$t('popup.share.password_description')"
|
||||
>
|
||||
<SwitchInput
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<PopupWrapper name="two-factor-qr-setup">
|
||||
<PopupHeader :title="$t('popup_2fa.title')" icon="edit" />
|
||||
<PopupHeader :title="$t('confirm_your_password')" icon="edit" />
|
||||
|
||||
<PopupContent>
|
||||
<div v-if="qrCode" class="flex justify-center">
|
||||
@@ -51,7 +51,7 @@ export default {
|
||||
computed: {
|
||||
...mapGetters(['user']),
|
||||
closeQrButtonText() {
|
||||
return this.isConfirmedClose ? this.$t('popup_2fa.disappear_qr') : this.$t('shared_form.button_done')
|
||||
return this.isConfirmedClose ? this.$t('popup_2fa.disappear_qr') : this.$t('awesome_iam_done')
|
||||
},
|
||||
closeQrButtonStyle() {
|
||||
return this.isConfirmedClose ? 'danger' : 'theme'
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<template>
|
||||
<PopupWrapper name="two-factor-recovery-codes">
|
||||
<PopupHeader :title="$t('popup_2fa.popup_codes_title')" icon="key" />
|
||||
<PopupHeader :title="$t('your_security_codes')" icon="key" />
|
||||
|
||||
<PopupContent style="padding: 0 20px">
|
||||
<div class="mobile-actions">
|
||||
<MobileActionButton @click.native="copyCodes" icon="copy">
|
||||
{{ $t('context_menu.copy') }}
|
||||
{{ $t('copy') }}
|
||||
</MobileActionButton>
|
||||
|
||||
<MobileActionButton @click.native="downloadCodes" icon="download">
|
||||
{{ $t('context_menu.download') }}
|
||||
{{ $t('download') }}
|
||||
</MobileActionButton>
|
||||
|
||||
<MobileActionButton @click.native="regenerateCodes" icon="refresh">
|
||||
{{ $t('context_menu.codes_regenerate') }}
|
||||
{{ $t('regenerate_codes') }}
|
||||
</MobileActionButton>
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<PopupActions>
|
||||
<ButtonBase class="w-full" @click.native="$closePopup()" button-style="theme">
|
||||
{{ $t('shared_form.button_done') }}
|
||||
{{ $t('awesome_iam_done') }}
|
||||
</ButtonBase>
|
||||
</PopupActions>
|
||||
</PopupWrapper>
|
||||
|
||||
+2
-2
@@ -290,7 +290,7 @@ const FunctionHelpers = {
|
||||
return {
|
||||
RequestUpload: this.$t('Home'),
|
||||
RecentUploads: this.$t('Recent Uploads'),
|
||||
MySharedItems: this.$t('sidebar.my_shared'),
|
||||
MySharedItems: this.$t('publicly_shared'),
|
||||
Trash: this.$t('Trash'),
|
||||
Public: this.$t('Files'),
|
||||
Files: this.$t('sidebar.home'),
|
||||
@@ -303,7 +303,7 @@ const FunctionHelpers = {
|
||||
Vue.prototype.$getCurrentSectionName = function () {
|
||||
return {
|
||||
RecentUploads: this.$t('Recent Uploads'),
|
||||
MySharedItems: this.$t('sidebar.my_shared'),
|
||||
MySharedItems: this.$t('publicly_shared'),
|
||||
Trash: this.$t('Trash'),
|
||||
Public: this.$t('Files'),
|
||||
Files: this.$t('sidebar.home'),
|
||||
|
||||
Vendored
+16
-16
@@ -14,7 +14,7 @@ const routesAdmin = [
|
||||
component: () => import(/* webpackChunkName: "chunks/dashboard" */ '../views/Admin/Dashboard'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.dashboard',
|
||||
title: 'dashboard',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -41,7 +41,7 @@ const routesAdmin = [
|
||||
component: () => import(/* webpackChunkName: "chunks/pages" */ '../views/Admin/Pages'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.pages',
|
||||
title: 'pages',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@ const routesAdmin = [
|
||||
component: () => import(/* webpackChunkName: "chunks/page-edit" */ '../views/Admin/Pages/PageEdit'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.page_edit',
|
||||
title: 'edit_page',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -59,7 +59,7 @@ const routesAdmin = [
|
||||
component: () => import(/* webpackChunkName: "chunks/plans" */ '../views/Admin/Plans'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.pricing_plans',
|
||||
title: 'pricing_plans',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -77,7 +77,7 @@ const routesAdmin = [
|
||||
component: () => import(/* webpackChunkName: "chunks/user-create" */ '../views/Admin/Users/UserCreate'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.user_create',
|
||||
title: 'create_user',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -121,7 +121,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_detail',
|
||||
title: 'detail',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -145,7 +145,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscription',
|
||||
title: 'subscription',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -169,7 +169,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_delete',
|
||||
title: 'delete_user',
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -192,7 +192,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscribers',
|
||||
title: 'subscribers',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -204,7 +204,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_settings',
|
||||
title: 'plan_settings',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -237,7 +237,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscribers',
|
||||
title: 'subscribers',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -249,7 +249,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_settings',
|
||||
title: 'plan_settings',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -307,7 +307,7 @@ const routesAdmin = [
|
||||
import(/* webpackChunkName: "chunks/app-settings" */ '../views/Admin/AppSettings/AppSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings',
|
||||
title: 'settings',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -319,7 +319,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.appearance',
|
||||
title: 'appearance',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -343,7 +343,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.email',
|
||||
title: 'email',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -355,7 +355,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.others',
|
||||
title: 'others',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Vendored
+4
-4
@@ -13,7 +13,7 @@ const routesUser = [
|
||||
component: () => import(/* webpackChunkName: "chunks/profile" */ '../views/User/Settings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.profile',
|
||||
title: 'my_profile',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -22,7 +22,7 @@ const routesUser = [
|
||||
component: () => import(/* webpackChunkName: "chunks/settings-password" */ '../views/User/Password'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings_password',
|
||||
title: 'change_password',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -31,7 +31,7 @@ const routesUser = [
|
||||
component: () => import(/* webpackChunkName: "chunks/settings-storage" */ '../views/User/Storage'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings_storage',
|
||||
title: 'storage',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -40,7 +40,7 @@ const routesUser = [
|
||||
component: () => import(/* webpackChunkName: "chunks/billing" */ '../views/User/Billing'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscription',
|
||||
title: 'subscription',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -137,21 +137,21 @@ export default {
|
||||
let sections = [
|
||||
{
|
||||
groupCollapsable: false,
|
||||
groupTitle: this.$t('global.admin'),
|
||||
groupTitle: this.$t('admin'),
|
||||
groupLinks: [
|
||||
{
|
||||
title: this.$t('admin_menu.dashboard'),
|
||||
title: this.$t('dashboard'),
|
||||
route: 'Dashboard',
|
||||
icon: 'box',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_menu.users'),
|
||||
title: this.$t('users'),
|
||||
route: 'Users',
|
||||
icon: 'users',
|
||||
linkActivation: ['users', 'user'],
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_menu.settings'),
|
||||
title: this.$t('settings'),
|
||||
route: 'AppSettings',
|
||||
icon: 'settings',
|
||||
},
|
||||
@@ -162,12 +162,12 @@ export default {
|
||||
groupTitle: this.$t('Content'),
|
||||
groupLinks: [
|
||||
{
|
||||
title: this.$t('admin_menu.pages'),
|
||||
title: this.$t('pages'),
|
||||
route: 'Pages',
|
||||
icon: 'monitor',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_menu.languages'),
|
||||
title: this.$t('languages'),
|
||||
route: 'Language',
|
||||
icon: 'globe',
|
||||
},
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
target="_blank"
|
||||
class="mr-4 inline-block"
|
||||
>
|
||||
<span class="text-sm font-bold"> {{ $t('admin_page_dashboard.version') }}: </span>
|
||||
<span class="text-sm font-bold"> {{ $t('version') }}: </span>
|
||||
<ColorLabel color="purple">
|
||||
{{ data.app.version }}
|
||||
</ColorLabel>
|
||||
@@ -29,7 +29,7 @@
|
||||
target="_blank"
|
||||
class="mr-4 inline-block"
|
||||
>
|
||||
<span class="text-sm font-bold"> {{ $t('admin_page_dashboard.license') }}: </span>
|
||||
<span class="text-sm font-bold"> {{ $t('license') }}: </span>
|
||||
<ColorLabel color="purple">
|
||||
{{ data.app.license }}
|
||||
</ColorLabel>
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
<router-link :to="{ name: 'Users' }" class="mt-6 flex items-center">
|
||||
<span class="mr-2 whitespace-nowrap text-xs font-bold">
|
||||
{{ $t('admin_page_dashboard.w_total_space.link') }}
|
||||
{{ $t('show_all_users') }}
|
||||
</span>
|
||||
<chevron-right-icon size="16" class="text-theme vue-feather" />
|
||||
</router-link>
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
<router-link :to="{ name: 'Users' }" class="mt-6 flex items-center">
|
||||
<span class="mr-2 whitespace-nowrap text-xs font-bold">
|
||||
{{ $t('admin_page_dashboard.w_total_space.link') }}
|
||||
{{ $t('show_all_users') }}
|
||||
</span>
|
||||
<chevron-right-icon size="16" class="text-theme vue-feather" />
|
||||
</router-link>
|
||||
|
||||
@@ -100,22 +100,22 @@ export default {
|
||||
isLoading: true,
|
||||
columns: [
|
||||
{
|
||||
label: this.$t('admin_pages.table.page'),
|
||||
label: this.$t('page'),
|
||||
field: 'title',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_pages.table.slug'),
|
||||
label: this.$t('slug'),
|
||||
field: 'slug',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_pages.table.status'),
|
||||
label: this.$t('status'),
|
||||
field: 'visibility',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
{{ page.data.attributes.title }}
|
||||
</FormLabel>
|
||||
<AppInputSwitch
|
||||
:title="$t('admin_pages.form.visibility')"
|
||||
:title="$t('visibility')"
|
||||
:description="$t('admin_pages.form.visibility_help')"
|
||||
>
|
||||
<SwitchInput @input="changeStatus" class="switch" :state="page.data.attributes.visibility" />
|
||||
</AppInputSwitch>
|
||||
<AppInputText :title="$t('admin_pages.form.title')">
|
||||
<AppInputText :title="$t('title')">
|
||||
<input
|
||||
@input="$updateText('/admin/pages/' + $route.params.slug, 'title', page.data.attributes.title)"
|
||||
v-model="page.data.attributes.title"
|
||||
@@ -19,10 +19,10 @@
|
||||
class="focus-border-theme input-dark"
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('admin_pages.form.slug')">
|
||||
<AppInputText :title="$t('slug')">
|
||||
<input v-model="page.data.attributes.slug" type="text" class="focus-border-theme input-dark" disabled />
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('admin_pages.form.content')" :is-last="true">
|
||||
<AppInputText :title="$t('content')" :is-last="true">
|
||||
<textarea
|
||||
@input="$updateText('/admin/pages/' + $route.params.slug, 'content', page.data.attributes.content)"
|
||||
v-model="page.data.attributes.content"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
/>
|
||||
</AppInputText>
|
||||
|
||||
<AppInputText :title="$t('admin_settings.billings.address')">
|
||||
<AppInputText :title="$t('billing_address')">
|
||||
<input
|
||||
@input="$updateText('/admin/settings', 'billing_address', billingInformation.billing_address)"
|
||||
v-model="billingInformation.billing_address"
|
||||
@@ -51,7 +51,7 @@
|
||||
</AppInputText>
|
||||
|
||||
<div class="flex space-x-4">
|
||||
<AppInputText :title="$t('admin_settings.billings.city')" class="w-full">
|
||||
<AppInputText :title="$t('billing_city')" class="w-full">
|
||||
<input
|
||||
@input="$updateText('/admin/settings', 'billing_city', billingInformation.billing_city)"
|
||||
v-model="billingInformation.billing_city"
|
||||
|
||||
@@ -568,7 +568,7 @@ export default {
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -243,7 +243,7 @@ export default {
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
@@ -277,7 +277,7 @@ export default {
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<!--Visible-->
|
||||
<AppInputSwitch
|
||||
:title="$t('admin_page_plans.form.status')"
|
||||
:title="$t('status')"
|
||||
:description="$t('admin_page_plans.form.status_help')"
|
||||
>
|
||||
<SwitchInput
|
||||
|
||||
@@ -155,7 +155,7 @@ export default {
|
||||
return {
|
||||
metered: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'user_id',
|
||||
sortable: true,
|
||||
},
|
||||
@@ -172,7 +172,7 @@ export default {
|
||||
],
|
||||
fixed: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'user_id',
|
||||
sortable: true,
|
||||
},
|
||||
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
isLoading: true,
|
||||
columns: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'user_id',
|
||||
sortable: true,
|
||||
},
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
</td>
|
||||
<td class="px-3 md:px-1">
|
||||
<span class="text-sm font-bold">
|
||||
{{ row.data.relationships.subscription ? $t('global.premium') : $t('global.free') }}
|
||||
{{ row.data.relationships.subscription ? $t('premium') : $t('free') }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="px-3 md:px-1">
|
||||
@@ -304,17 +304,17 @@ export default {
|
||||
return {
|
||||
metered: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'email',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.role'),
|
||||
label: this.$t('role'),
|
||||
field: 'role',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.storage_used'),
|
||||
label: this.$t('storage_used'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
@@ -327,18 +327,18 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
fixed: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'email',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.role'),
|
||||
label: this.$t('role'),
|
||||
field: 'role',
|
||||
sortable: true,
|
||||
},
|
||||
@@ -347,7 +347,7 @@ export default {
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.storage_used'),
|
||||
label: this.$t('storage_used'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
@@ -361,23 +361,23 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
none: [
|
||||
{
|
||||
label: this.$t('admin_page_user.table.name'),
|
||||
label: this.$t('user'),
|
||||
field: 'email',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.role'),
|
||||
label: this.$t('role'),
|
||||
field: 'role',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.storage_used'),
|
||||
label: this.$t('storage_used'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
@@ -391,7 +391,7 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_user.table.action'),
|
||||
label: this.$t('action'),
|
||||
sortable: false,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -80,7 +80,7 @@ export default {
|
||||
if (this.config.subscriptionType === 'none') {
|
||||
return [
|
||||
{
|
||||
title: this.$t('admin_page_user.tabs.detail'),
|
||||
title: this.$t('detail'),
|
||||
route: 'UserDetail',
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@ export default {
|
||||
route: 'UserStorage',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_page_user.tabs.password'),
|
||||
title: this.$t('password'),
|
||||
route: 'UserPassword',
|
||||
},
|
||||
{
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
|
||||
return [
|
||||
{
|
||||
title: this.$t('admin_page_user.tabs.detail'),
|
||||
title: this.$t('detail'),
|
||||
route: 'UserDetail',
|
||||
},
|
||||
{
|
||||
@@ -112,7 +112,7 @@ export default {
|
||||
route: 'UserSubscription',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_page_user.tabs.password'),
|
||||
title: this.$t('password'),
|
||||
route: 'UserPassword',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<ValidationObserver @submit.prevent="createUser" ref="createUser" v-slot="{ invalid }" tag="form">
|
||||
<div class="card shadow-card">
|
||||
<FormLabel>{{ $t('admin_page_user.create_user.group_details') }}</FormLabel>
|
||||
<FormLabel>{{ $t('account_details') }}</FormLabel>
|
||||
|
||||
<!--Avatar-->
|
||||
<ValidationProvider tag="div" mode="passive" name="avatar" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('admin_page_user.create_user.avatar')" :error="errors[0]">
|
||||
<AppInputText :title="$t('avatar')" :error="errors[0]">
|
||||
<ImageInput v-model="user.avatar" :error="errors[0]" />
|
||||
</AppInputText>
|
||||
</ValidationProvider>
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<!--Email-->
|
||||
<ValidationProvider tag="div" mode="passive" name="email" rules="required" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('page_registration.label_email')" :error="errors[0]">
|
||||
<AppInputText :title="$t('email')" :error="errors[0]">
|
||||
<input
|
||||
v-model="user.email"
|
||||
:placeholder="$t('admin_page_user.create_user.label_email')"
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<!--Name-->
|
||||
<ValidationProvider tag="div" mode="passive" name="user name" rules="required" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('page_registration.label_name')" :error="errors[0]">
|
||||
<AppInputText :title="$t('full_name')" :error="errors[0]">
|
||||
<input
|
||||
v-model="user.name"
|
||||
:placeholder="$t('admin_page_user.create_user.label_name')"
|
||||
@@ -61,7 +61,7 @@
|
||||
<AppInputText :title="$t('page_registration.label_pass')" :error="errors[0]" :is-last="true">
|
||||
<input
|
||||
v-model="user.password"
|
||||
:placeholder="$t('page_registration.placeholder_pass')"
|
||||
:placeholder="$t('new_password')"
|
||||
type="password"
|
||||
class="focus-border-theme input-dark"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -77,7 +77,7 @@
|
||||
class="w-full"
|
||||
>
|
||||
<AppInputText
|
||||
:title="$t('page_registration.label_confirm_pass')"
|
||||
:title="$t('confirm_password')"
|
||||
:error="errors[0]"
|
||||
:is-last="true"
|
||||
>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
</AppInputText>
|
||||
</div>
|
||||
|
||||
<AppInputText :title="$t('page_registration.label_name')" :is-last="true">
|
||||
<AppInputText :title="$t('full_name')" :is-last="true">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.name"
|
||||
:placeholder="$t('page_registration.placeholder_name')"
|
||||
@@ -72,7 +72,7 @@
|
||||
</AppInputText>
|
||||
</div>
|
||||
<div class="card shadow-card">
|
||||
<FormLabel>{{ $t('user_settings.title_billing') }}</FormLabel>
|
||||
<FormLabel>{{ $t('billing_information') }}</FormLabel>
|
||||
<AppInputText :title="$t('name')">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.name"
|
||||
@@ -81,7 +81,7 @@
|
||||
disabled
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('user_settings.address')">
|
||||
<AppInputText :title="$t('address')">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.address"
|
||||
type="text"
|
||||
@@ -89,7 +89,7 @@
|
||||
class="focus-border-theme input-dark disabled:text-gray-900 disabled:opacity-100"
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('user_settings.country')">
|
||||
<AppInputText :title="$t('country')">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.country"
|
||||
type="text"
|
||||
@@ -98,7 +98,7 @@
|
||||
/>
|
||||
</AppInputText>
|
||||
<div class="flex space-x-4">
|
||||
<AppInputText :title="$t('user_settings.city')" class="w-full">
|
||||
<AppInputText :title="$t('city')" class="w-full">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.city"
|
||||
type="text"
|
||||
@@ -106,7 +106,7 @@
|
||||
class="focus-border-theme input-dark disabled:text-gray-900 disabled:opacity-100"
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('user_settings.postal_code')" class="w-full">
|
||||
<AppInputText :title="$t('postal_co')" class="w-full">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.postal_code"
|
||||
type="text"
|
||||
@@ -115,7 +115,7 @@
|
||||
/>
|
||||
</AppInputText>
|
||||
</div>
|
||||
<AppInputText :title="$t('user_settings.state')">
|
||||
<AppInputText :title="$t('state')">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.state"
|
||||
type="text"
|
||||
@@ -123,7 +123,7 @@
|
||||
class="focus-border-theme input-dark disabled:text-gray-900 disabled:opacity-100"
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('user_settings.phone_number')" :is-last="true">
|
||||
<AppInputText :title="$t('phone_number')" :is-last="true">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.phone_number"
|
||||
type="text"
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
button-style="theme"
|
||||
class="w-full sm:w-auto"
|
||||
>
|
||||
{{ $t('admin_page_user.change_capacity') }}
|
||||
{{ $t('change_capacity') }}
|
||||
</ButtonBase>
|
||||
</div>
|
||||
</AppInputText>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
>
|
||||
<div class="mx-auto mb-5 md:flex md:max-w-lg md:items-center">
|
||||
<label class="mb-1.5 block font-bold md:mb-0 md:w-72 md:pr-4 md:text-right">
|
||||
{{ $t('page_create_password.label_email') }}:
|
||||
{{ $t('email') }}:
|
||||
</label>
|
||||
<ValidationProvider
|
||||
tag="div"
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<div class="mx-auto mb-5 md:flex md:max-w-lg md:items-center">
|
||||
<label class="mb-1.5 block font-bold md:mb-0 md:w-72 md:pr-4 md:text-right">
|
||||
{{ $t('page_create_password.label_new_pass') }}:
|
||||
{{ $t('new_password') }}:
|
||||
</label>
|
||||
<ValidationProvider
|
||||
tag="div"
|
||||
@@ -48,7 +48,7 @@
|
||||
>
|
||||
<input
|
||||
v-model="recoverPassword.newPassword"
|
||||
:placeholder="$t('page_create_password.label_new_pass')"
|
||||
:placeholder="$t('new_password')"
|
||||
type="password"
|
||||
class="dark:placeholder:text-gray-600 focus-border-theme w-full appearance-none rounded-lg border border-transparent bg-light-background px-5 py-3.5 font-bold dark:bg-2x-dark-foreground"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
<div class="mx-auto mb-5 md:flex md:max-w-lg md:items-center">
|
||||
<label class="mb-1.5 block font-bold md:mb-0 md:w-72 md:pr-4 md:text-right">
|
||||
{{ $t('page_create_password.label_confirm_pass') }}:
|
||||
{{ $t('confirm_password') }}:
|
||||
</label>
|
||||
<ValidationProvider
|
||||
tag="div"
|
||||
@@ -71,7 +71,7 @@
|
||||
>
|
||||
<input
|
||||
v-model="recoverPassword.newPasswordConfirm"
|
||||
:placeholder="$t('page_create_password.label_confirm_pass')"
|
||||
:placeholder="$t('confirm_password')"
|
||||
type="password"
|
||||
class="dark:placeholder:text-gray-600 focus-border-theme w-full appearance-none rounded-lg border border-transparent bg-light-background px-5 py-3.5 font-bold dark:bg-2x-dark-foreground"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -84,7 +84,7 @@
|
||||
<AuthButton
|
||||
class="mt-12 w-full justify-center md:w-min"
|
||||
icon="chevron-right"
|
||||
:text="$t('page_create_password.button_update')"
|
||||
:text="$t('update_password')"
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
/>
|
||||
@@ -94,7 +94,7 @@
|
||||
<span class="block">
|
||||
{{ $t('page_forgotten_password.password_remember_text') }}
|
||||
<router-link :to="{ name: 'SignIn' }" class="text-theme font-bold">
|
||||
{{ $t('page_forgotten_password.password_remember_button') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</span>
|
||||
</AuthContent>
|
||||
@@ -104,7 +104,7 @@
|
||||
<Headline :title="$t('page_forgotten_password.pass_reseted_title')" :description="$t('page_forgotten_password.pass_reseted_subtitle')" />
|
||||
|
||||
<router-link :to="{ name: 'SignIn' }">
|
||||
<AuthButton icon="chevron-right" :text="$t('page_forgotten_password.pass_reseted_signin')" />
|
||||
<AuthButton icon="chevron-right" :text="$t('sign_in')" />
|
||||
</router-link>
|
||||
</AuthContent>
|
||||
</AuthContentWrapper>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<AuthButton
|
||||
class="w-full justify-center md:w-min"
|
||||
icon="chevron-right"
|
||||
:text="$t('page_forgotten_password.button_get_link')"
|
||||
:text="$t('get_link')"
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
/>
|
||||
@@ -44,7 +44,7 @@
|
||||
<span class="block">
|
||||
{{ $t('page_forgotten_password.password_remember_text') }}
|
||||
<router-link :to="{ name: 'SignIn' }" class="text-theme font-bold">
|
||||
{{ $t('page_forgotten_password.password_remember_button') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</span>
|
||||
</AuthContent>
|
||||
@@ -59,7 +59,7 @@
|
||||
<span class="block">
|
||||
{{ $t('page_forgotten_password.password_remember_text') }}
|
||||
<router-link :to="{ name: 'SignIn' }" class="text-theme font-bold">
|
||||
{{ $t('page_forgotten_password.password_remember_button') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</span>
|
||||
</AuthContent>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<AuthContentWrapper ref="auth" class="h-screen">
|
||||
<!--Log In by Email-->
|
||||
<AuthContent name="log-in" :visible="true">
|
||||
<Headline :title="$t('page_login.title')" :description="$t('page_login.subtitle')" />
|
||||
<Headline :title="$t('welcome_back')" :description="$t('page_login.subtitle')" />
|
||||
|
||||
<ValidationObserver
|
||||
@submit.prevent="logIn"
|
||||
@@ -32,7 +32,7 @@
|
||||
<AuthButton
|
||||
class="w-full justify-center md:w-min"
|
||||
icon="chevron-right"
|
||||
:text="$t('page_login.button_next')"
|
||||
:text="$t('next_step')"
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
/>
|
||||
@@ -92,7 +92,7 @@
|
||||
<AuthButton
|
||||
class="w-full justify-center md:w-min"
|
||||
icon="chevron-right"
|
||||
:text="$t('page_sign_in.button_log_in')"
|
||||
:text="$t('log_in')"
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
/>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
>
|
||||
<div class="mx-auto mb-5 md:flex md:max-w-lg md:items-center">
|
||||
<label class="mb-1.5 block font-bold md:mb-0 md:w-72 md:pr-4 md:text-right">
|
||||
{{ $t('page_registration.label_email') }}:
|
||||
{{ $t('email') }}:
|
||||
</label>
|
||||
<ValidationProvider
|
||||
tag="div"
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<div class="mx-auto mb-5 md:flex md:max-w-lg md:items-center">
|
||||
<label class="mb-1.5 block font-bold md:mb-0 md:w-72 md:pr-4 md:text-right">
|
||||
{{ $t('page_registration.label_name') }}:
|
||||
{{ $t('full_name') }}:
|
||||
</label>
|
||||
<ValidationProvider
|
||||
tag="div"
|
||||
@@ -71,7 +71,7 @@
|
||||
>
|
||||
<input
|
||||
v-model="register.password"
|
||||
:placeholder="$t('page_registration.placeholder_pass')"
|
||||
:placeholder="$t('new_password')"
|
||||
type="password"
|
||||
class="dark:placeholder:text-gray-600 focus-border-theme w-full appearance-none rounded-lg border border-transparent bg-light-background px-5 py-3.5 font-bold dark:bg-2x-dark-foreground"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
<div class="mx-auto mb-5 md:flex md:max-w-lg md:items-center">
|
||||
<label class="mb-1.5 block font-bold md:mb-0 md:w-72 md:pr-4 md:text-right">
|
||||
{{ $t('page_registration.label_confirm_pass') }}:
|
||||
{{ $t('confirm_password') }}:
|
||||
</label>
|
||||
<ValidationProvider
|
||||
tag="div"
|
||||
@@ -129,7 +129,7 @@
|
||||
<AuthButton
|
||||
class="w-full justify-center md:w-min"
|
||||
icon="chevron-right"
|
||||
:text="$t('page_registration.button_create_account')"
|
||||
:text="$t('create_account')"
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
/>
|
||||
@@ -141,7 +141,7 @@
|
||||
<span class="block"
|
||||
>{{ $t('page_registration.have_an_account') }}
|
||||
<router-link :to="{ name: 'SignIn' }" class="text-theme font-bold">
|
||||
{{ $t('page_forgotten_password.password_remember_button') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</span>
|
||||
</AuthContent>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
/>
|
||||
|
||||
<router-link :to="{ name: 'SignIn' }">
|
||||
<AuthButton icon="chevron-right" :text="$t('page_sign_in.button_log_in')" />
|
||||
<AuthButton icon="chevron-right" :text="$t('log_in')" />
|
||||
</router-link>
|
||||
</AuthContent>
|
||||
</AuthContentWrapper>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</ContentGroup>
|
||||
|
||||
<!--Navigator-->
|
||||
<ContentGroup :title="$t('sidebar.navigator_title')" can-collapse="true">
|
||||
<ContentGroup :title="$t('navigator')" can-collapse="true">
|
||||
<TreeMenuNavigator
|
||||
class="folder-tree"
|
||||
:depth="0"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</ContentGroup>
|
||||
|
||||
<!--Navigator-->
|
||||
<ContentGroup v-if="navigation" :title="$t('sidebar.navigator_title')" slug="navigator" :can-collapse="true">
|
||||
<ContentGroup v-if="navigation" :title="$t('navigator')" slug="navigator" :can-collapse="true">
|
||||
<small v-if="tree.length === 0" class="text-xs text-gray-500 dark:text-gray-500">
|
||||
{{ $t("There isn't any folder.") }}
|
||||
</small>
|
||||
@@ -49,7 +49,7 @@
|
||||
</ContentGroup>
|
||||
|
||||
<!--Favourites-->
|
||||
<ContentGroup v-if="user" :title="$t('sidebar.favourites')" slug="favourites" :can-collapse="true">
|
||||
<ContentGroup v-if="user" :title="$t('favourites')" slug="favourites" :can-collapse="true">
|
||||
<div
|
||||
@dragover.prevent="dragEnter"
|
||||
@dragleave="dragLeave"
|
||||
@@ -171,7 +171,7 @@ export default {
|
||||
{
|
||||
icon: 'link',
|
||||
route: 'MySharedItems',
|
||||
title: this.$t('sidebar.my_shared'),
|
||||
title: this.$t('publicly_shared'),
|
||||
},
|
||||
{
|
||||
icon: 'trash',
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
<div>
|
||||
<MobileContextMenu>
|
||||
<OptionGroup v-if="item">
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('context_menu.rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup v-if="item">
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="item.data.relationships.shared ? $t('context_menu.share_edit') : $t('context_menu.share')"
|
||||
:title="item.data.relationships.shared ? $t('edit_sharing') : $t('share')"
|
||||
icon="share"
|
||||
/>
|
||||
<Option
|
||||
@@ -27,20 +27,20 @@
|
||||
</OptionGroup>
|
||||
|
||||
<OptionGroup v-if="item">
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</MobileContextMenu>
|
||||
|
||||
<MobileCreateMenu>
|
||||
<OptionGroup :title="$t('Frequently Used')">
|
||||
<OptionUpload
|
||||
:title="$t('actions.upload')"
|
||||
:title="$t('upload_files')"
|
||||
type="file"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
<Option
|
||||
@click.stop.native="$createFolderByPopup"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
@@ -66,7 +66,7 @@
|
||||
@click.native="$moveFileOrFolder(clipboard)"
|
||||
class="mr-4"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
:class="{ 'is-inactive': clipboard.length < 1 }"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@@ -86,13 +86,13 @@
|
||||
<ContextMenu>
|
||||
<template v-slot:empty-select>
|
||||
<OptionGroup>
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$createFolder"
|
||||
:title="$t('context_menu.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="create-folder"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -104,8 +104,8 @@
|
||||
@click.native="$toggleFavourites(item)"
|
||||
:title="
|
||||
isInFavourites
|
||||
? $t('context_menu.remove_from_favourites')
|
||||
: $t('context_menu.add_to_favourites')
|
||||
? $t('remove_favourite')
|
||||
: $t('add_to_favourites')
|
||||
"
|
||||
icon="favourites"
|
||||
/>
|
||||
@@ -113,17 +113,17 @@
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="
|
||||
item.data.relationships.shared ? $t('context_menu.share_edit') : $t('context_menu.share')
|
||||
item.data.relationships.shared ? $t('edit_sharing') : $t('share')
|
||||
"
|
||||
icon="share"
|
||||
/>
|
||||
@@ -141,10 +141,10 @@
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -156,18 +156,18 @@
|
||||
@click.native="$toggleFavourites(item)"
|
||||
:title="
|
||||
isInFavourites
|
||||
? $t('context_menu.remove_from_favourites')
|
||||
: $t('context_menu.add_to_favourites')
|
||||
? $t('remove_favourite')
|
||||
: $t('add_to_favourites')
|
||||
"
|
||||
icon="favourites"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
@@ -186,7 +186,7 @@
|
||||
{{ $t('Upload / Create') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
@click.native="$toggleFavourites(item)"
|
||||
:title="
|
||||
isInFavourites
|
||||
? $t('context_menu.remove_from_favourites')
|
||||
: $t('context_menu.add_to_favourites')
|
||||
? $t('remove_favourite')
|
||||
: $t('add_to_favourites')
|
||||
"
|
||||
icon="favourites"
|
||||
/>
|
||||
@@ -16,25 +16,25 @@
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="
|
||||
item.data.relationships.shared ? $t('context_menu.share_edit') : $t('context_menu.share')
|
||||
item.data.relationships.shared ? $t('edit_sharing') : $t('share')
|
||||
"
|
||||
icon="share"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -46,40 +46,40 @@
|
||||
@click.native="$toggleFavourites(item)"
|
||||
:title="
|
||||
isInFavourites
|
||||
? $t('context_menu.remove_from_favourites')
|
||||
: $t('context_menu.add_to_favourites')
|
||||
? $t('remove_favourite')
|
||||
: $t('add_to_favourites')
|
||||
"
|
||||
icon="favourites"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$shareCancel" :title="$t('context_menu.share_cancel')" icon="share" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$shareCancel" :title="$t('cancel_sharing')" icon="share" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
|
||||
<MobileContextMenu>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('context_menu.rename')" icon="rename" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('rename')" icon="rename" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="
|
||||
item && item.data.relationships.shared
|
||||
? $t('context_menu.share_edit')
|
||||
: $t('context_menu.share')
|
||||
? $t('edit_sharing')
|
||||
: $t('share')
|
||||
"
|
||||
icon="share"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</MobileContextMenu>
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
{{ $getCurrentSectionName() }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -6,21 +6,21 @@
|
||||
<Option
|
||||
v-if="item"
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option
|
||||
v-if="item"
|
||||
@click.native="$moveFileOrFolder(item)"
|
||||
:title="$t('context_menu.move')"
|
||||
:title="$t('move')"
|
||||
icon="move-item"
|
||||
/>
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -29,7 +29,7 @@
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -38,13 +38,13 @@
|
||||
|
||||
<MobileCreateMenu>
|
||||
<OptionGroup :title="$t('Upload')">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" :is-hover-disabled="true" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" :is-hover-disabled="true" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" :is-hover-disabled="true" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" :is-hover-disabled="true" />
|
||||
</OptionGroup>
|
||||
<OptionGroup :title="$t('Create')">
|
||||
<Option
|
||||
@click.stop.native="createFolder"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
@@ -65,7 +65,7 @@
|
||||
@click.native="$moveFileOrFolder(clipboard)"
|
||||
class="mr-4"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
:class="{ 'is-inactive': clipboard.length < 1 }"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@@ -86,13 +86,13 @@
|
||||
<ContextMenu>
|
||||
<template v-slot:empty-select v-if="$checkPermission('editor')">
|
||||
<OptionGroup>
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$createFolder"
|
||||
:title="$t('context_menu.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="create-folder"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -102,17 +102,17 @@
|
||||
<OptionGroup v-if="$checkPermission('editor')">
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -120,11 +120,11 @@
|
||||
|
||||
<template v-slot:multiple-select v-if="item">
|
||||
<OptionGroup v-if="$checkPermission('editor')">
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
@@ -138,7 +138,7 @@
|
||||
{{ $t('Upload / Create') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
@@ -149,7 +149,7 @@
|
||||
{{ $t('Spotlight') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode()" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -5,26 +5,26 @@
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="
|
||||
item.data.relationships.shared ? $t('context_menu.share_edit') : $t('context_menu.share')
|
||||
item.data.relationships.shared ? $t('edit_sharing') : $t('share')
|
||||
"
|
||||
icon="share"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -32,32 +32,32 @@
|
||||
|
||||
<template v-slot:multiple-select v-if="item">
|
||||
<OptionGroup>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
|
||||
<MobileContextMenu>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('context_menu.rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="
|
||||
item && item.data.relationships.shared
|
||||
? $t('context_menu.share_edit')
|
||||
: $t('context_menu.share')
|
||||
? $t('edit_sharing')
|
||||
: $t('share')
|
||||
"
|
||||
icon="share"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</MobileContextMenu>
|
||||
|
||||
@@ -69,10 +69,10 @@
|
||||
{{ $getCurrentSectionName() }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButtonUpload>
|
||||
{{ $t('context_menu.upload') }}
|
||||
{{ $t('upload') }}
|
||||
</MobileActionButtonUpload>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
<div>
|
||||
<MobileContextMenu>
|
||||
<OptionGroup v-if="canEdit && item">
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('context_menu.rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup v-if="item">
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</MobileContextMenu>
|
||||
|
||||
<MobileCreateMenu>
|
||||
<OptionGroup :title="$t('Frequently Used')">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" :is-hover-disabled="true" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" :is-hover-disabled="true" />
|
||||
<Option
|
||||
@click.stop.native="createFolder"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
@@ -39,7 +39,7 @@
|
||||
@click.native="$moveFileOrFolder(clipboard)"
|
||||
class="mr-4"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
:class="{ 'is-inactive': clipboard.length < 1 }"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@@ -60,13 +60,13 @@
|
||||
<ContextMenu>
|
||||
<template v-slot:empty-select v-if="canEdit">
|
||||
<OptionGroup v-if="!isTeamFolderHomepage">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
</OptionGroup>
|
||||
<OptionGroup v-if="!isTeamFolderHomepage">
|
||||
<Option
|
||||
@click.native="$createFolder"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -76,17 +76,17 @@
|
||||
<OptionGroup v-if="canEdit">
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -94,11 +94,11 @@
|
||||
|
||||
<template v-slot:multiple-select v-if="item">
|
||||
<OptionGroup v-if="canEdit">
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
@@ -114,7 +114,7 @@
|
||||
{{ $t('Upload / Create') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
<div>
|
||||
<MobileContextMenu>
|
||||
<OptionGroup v-if="item">
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('context_menu.rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup v-if="item">
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="item.data.relationships.shared ? $t('context_menu.share_edit') : $t('context_menu.share')"
|
||||
:title="item.data.relationships.shared ? $t('edit_sharing') : $t('share')"
|
||||
icon="share"
|
||||
/>
|
||||
<Option
|
||||
@@ -27,16 +27,16 @@
|
||||
</OptionGroup>
|
||||
|
||||
<OptionGroup v-if="item">
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</MobileContextMenu>
|
||||
|
||||
<MobileCreateMenu>
|
||||
<OptionGroup :title="$t('Frequently Used')">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" :is-hover-disabled="true" :class="{'is-inactive': isTeamFolderHomepage}" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" :is-hover-disabled="true" :class="{'is-inactive': isTeamFolderHomepage}" />
|
||||
<Option
|
||||
@click.stop.native="$createFolderByPopup"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
:is-hover-disabled="true"
|
||||
:class="{'is-inactive': isTeamFolderHomepage}"
|
||||
@@ -64,7 +64,7 @@
|
||||
@click.native="$moveFileOrFolder(clipboard)"
|
||||
class="mr-4"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
:class="{ 'is-inactive': clipboard.length < 1 }"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@@ -84,11 +84,11 @@
|
||||
<ContextMenu>
|
||||
<template v-slot:empty-select>
|
||||
<OptionGroup v-if="!isTeamFolderHomepage">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
<Option
|
||||
@click.native="$createFolder"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -103,8 +103,8 @@
|
||||
@click.native="$toggleFavourites(item)"
|
||||
:title="
|
||||
isInFavourites
|
||||
? $t('context_menu.remove_from_favourites')
|
||||
: $t('context_menu.add_to_favourites')
|
||||
? $t('remove_favourite')
|
||||
: $t('add_to_favourites')
|
||||
"
|
||||
icon="favourites"
|
||||
/>
|
||||
@@ -112,17 +112,17 @@
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$shareFileOrFolder(item)"
|
||||
:title="
|
||||
item.data.relationships.shared ? $t('context_menu.share_edit') : $t('context_menu.share')
|
||||
item.data.relationships.shared ? $t('edit_sharing') : $t('share')
|
||||
"
|
||||
icon="share"
|
||||
/>
|
||||
@@ -140,10 +140,10 @@
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -155,18 +155,18 @@
|
||||
@click.native="$toggleFavourites(item)"
|
||||
:title="
|
||||
isInFavourites
|
||||
? $t('context_menu.remove_from_favourites')
|
||||
: $t('context_menu.add_to_favourites')
|
||||
? $t('remove_favourite')
|
||||
: $t('add_to_favourites')
|
||||
"
|
||||
icon="favourites"
|
||||
/>
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
@@ -186,7 +186,7 @@
|
||||
{{ $t('Upload / Create') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<ContextMenu>
|
||||
<template v-slot:empty-select>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$emptyTrash" :title="$t('context_menu.empty_trash')" icon="empty-trash" />
|
||||
<Option @click.native="$emptyTrash" :title="$t('empty_trash')" icon="empty-trash" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
|
||||
@@ -12,22 +12,22 @@
|
||||
<Option
|
||||
@click.native="$restoreFileOrFolder(item)"
|
||||
v-if="item"
|
||||
:title="$t('context_menu.restore')"
|
||||
:title="$t('restore')"
|
||||
icon="restore"
|
||||
/>
|
||||
<Option
|
||||
@click.native="$deleteFileOrFolder(item)"
|
||||
v-if="item"
|
||||
:title="$t('context_menu.delete')"
|
||||
:title="$t('delete')"
|
||||
icon="trash"
|
||||
/>
|
||||
<Option @click.native="$emptyTrash" :title="$t('context_menu.empty_trash')" icon="empty-trash" />
|
||||
<Option @click.native="$emptyTrash" :title="$t('empty_trash')" icon="empty-trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
<Option
|
||||
@click.native="$downloadSelection(item)"
|
||||
:title="$t('context_menu.download')"
|
||||
:title="$t('download')"
|
||||
icon="download"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -38,14 +38,14 @@
|
||||
<Option
|
||||
@click.native="$restoreFileOrFolder(item)"
|
||||
v-if="item"
|
||||
:title="$t('context_menu.restore')"
|
||||
:title="$t('restore')"
|
||||
icon="restore"
|
||||
/>
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$emptyTrash" :title="$t('context_menu.empty_trash')" icon="empty-trash" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
<Option @click.native="$emptyTrash" :title="$t('empty_trash')" icon="empty-trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
@@ -55,14 +55,14 @@
|
||||
<Option
|
||||
@click.native="$restoreFileOrFolder(item)"
|
||||
v-if="item"
|
||||
:title="$t('context_menu.restore')"
|
||||
:title="$t('restore')"
|
||||
icon="restore"
|
||||
/>
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection(item)" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</MobileContextMenu>
|
||||
|
||||
@@ -74,10 +74,10 @@
|
||||
{{ $getCurrentSectionName() }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$emptyTrash" icon="trash">
|
||||
{{ $t('context_menu.empty_trash') }}
|
||||
{{ $t('empty_trash') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
<div>
|
||||
<MobileContextMenu>
|
||||
<OptionGroup v-if="item">
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('context_menu.rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$renameFileOrFolder(item)" :title="$t('rename')" icon="rename" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
</MobileContextMenu>
|
||||
|
||||
<MobileCreateMenu>
|
||||
<OptionGroup :title="$t('Upload')">
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" :is-hover-disabled="true" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" :is-hover-disabled="true" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
</OptionGroup>
|
||||
<OptionGroup :title="$t('Create')">
|
||||
<Option
|
||||
@click.stop.native="createFolder"
|
||||
:title="$t('actions.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="folder-plus"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
@@ -28,7 +28,7 @@
|
||||
@click.native="$moveFileOrFolder(clipboard)"
|
||||
class="mr-4"
|
||||
source="move"
|
||||
:action="$t('actions.move')"
|
||||
:action="$t('move')"
|
||||
:class="{ 'is-inactive': clipboard.length < 1 }"
|
||||
/>
|
||||
<ToolbarButton
|
||||
@@ -42,13 +42,13 @@
|
||||
<ContextMenu v-if="uploadRequest && uploadRequest.data.attributes.status === 'filling'">
|
||||
<template v-slot:empty-select>
|
||||
<OptionGroup>
|
||||
<OptionUpload :title="$t('actions.upload')" type="file" />
|
||||
<OptionUpload :title="$t('actions.upload_folder')" type="folder" />
|
||||
<OptionUpload :title="$t('upload_files')" type="file" />
|
||||
<OptionUpload :title="$t('upload_folder')" type="folder" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$createFolder"
|
||||
:title="$t('context_menu.create_folder')"
|
||||
:title="$t('create_folder')"
|
||||
icon="create-folder"
|
||||
/>
|
||||
</OptionGroup>
|
||||
@@ -58,24 +58,24 @@
|
||||
<OptionGroup>
|
||||
<Option
|
||||
@click.native="$renameFileOrFolder(item)"
|
||||
:title="$t('context_menu.rename')"
|
||||
:title="$t('rename')"
|
||||
icon="rename"
|
||||
/>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('context_menu.detail')" icon="detail" />
|
||||
<Option @click.native="$openInDetailPanel(item)" :title="$t('detail')" icon="detail" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
|
||||
<template v-slot:multiple-select v-if="item">
|
||||
<OptionGroup>
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('context_menu.move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('context_menu.delete')" icon="trash" />
|
||||
<Option @click.native="$moveFileOrFolder(item)" :title="$t('move')" icon="move-item" />
|
||||
<Option @click.native="$deleteFileOrFolder(item)" :title="$t('delete')" icon="trash" />
|
||||
</OptionGroup>
|
||||
<OptionGroup>
|
||||
<Option @click.native="$downloadSelection()" :title="$t('context_menu.download')" icon="download" />
|
||||
<Option @click.native="$downloadSelection()" :title="$t('download')" icon="download" />
|
||||
</OptionGroup>
|
||||
</template>
|
||||
</ContextMenu>
|
||||
@@ -100,7 +100,7 @@
|
||||
{{ $t('Upload / Create') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$enableMultiSelectMode" icon="check-square">
|
||||
{{ $t('context_menu.select') }}
|
||||
{{ $t('select') }}
|
||||
</MobileActionButton>
|
||||
<MobileActionButton @click.native="$showMobileMenu('file-sorting')" icon="preview-sorting">
|
||||
{{ $t('preview_sorting.preview_sorting_button') }}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<!--Headline-->
|
||||
<PageTitle
|
||||
class="headline"
|
||||
:title="$t('page_contact_us.title')"
|
||||
:title="$t('contact_us')"
|
||||
:description="$t('page_contact_us.description')"
|
||||
></PageTitle>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class="form block-form"
|
||||
>
|
||||
<div class="block-wrapper">
|
||||
<label>{{ $t('page_contact_us.form.email') }}:</label>
|
||||
<label>{{ $t('email') }}:</label>
|
||||
<ValidationProvider tag="div" mode="passive" name="E-Mail" rules="required" v-slot="{ errors }">
|
||||
<input
|
||||
v-model="contact.email"
|
||||
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
|
||||
<div class="block-wrapper">
|
||||
<label>{{ $t('page_contact_us.form.message') }}:</label>
|
||||
<label>{{ $t('message') }}:</label>
|
||||
<ValidationProvider tag="div" mode="passive" name="Message" rules="required" v-slot="{ errors }">
|
||||
<textarea
|
||||
v-model="contact.message"
|
||||
@@ -56,7 +56,7 @@
|
||||
<AuthButton
|
||||
class="submit-button"
|
||||
icon="chevron-right"
|
||||
:text="$t('page_contact_us.form.submit_button')"
|
||||
:text="$t('send_message')"
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
/>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<span class="additional-link"
|
||||
>{{ $t('page_registration.have_an_account') }}
|
||||
<router-link :to="{ name: 'SignIn' }" class="text-theme font-bold">
|
||||
{{ $t('page_forgotten_password.password_remember_button') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</span>
|
||||
</AuthContent>
|
||||
|
||||
@@ -118,7 +118,7 @@ export default {
|
||||
computed: {
|
||||
...mapGetters(['config', 'user']),
|
||||
subscriptionStatus() {
|
||||
return this.user.data.relationships.subscription ? this.$t('global.premium') : this.$t('global.free')
|
||||
return this.user.data.relationships.subscription ? this.$t('premium') : this.$t('free')
|
||||
},
|
||||
subscriptionColor() {
|
||||
return this.user.data.relationships.subscription ? 'green' : 'purple'
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
route: 'Password',
|
||||
},
|
||||
{
|
||||
title: this.$t('menu.storage'),
|
||||
title: this.$t('storage'),
|
||||
route: 'Storage',
|
||||
},
|
||||
]
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<AuthButton
|
||||
class="w-full justify-center md:w-min"
|
||||
icon="chevron-right"
|
||||
:text="$t('page_shared.submit')"
|
||||
:text="$t('submit')"
|
||||
:loading="isLoading"
|
||||
:disabled="isLoading"
|
||||
/>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<span class="additional-link"
|
||||
>{{ $t('page_registration.have_an_account') }}
|
||||
<router-link :to="{ name: 'SignIn' }" class="text-theme font-bold">
|
||||
{{ $t('page_forgotten_password.password_remember_button') }}
|
||||
{{ $t('log_in') }}
|
||||
</router-link>
|
||||
</span>
|
||||
</AuthContent>
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
</AppInputSwitch>
|
||||
<AppInputButton
|
||||
v-if="user && user.data.attributes.two_factor_authentication"
|
||||
:title="$t('popup_2fa.codes_title')"
|
||||
:title="$t('show_recovery_codes')"
|
||||
:description="$t('popup_2fa.codes_info')"
|
||||
:is-last="true"
|
||||
>
|
||||
<ButtonBase class="w-full" button-style="secondary" @click.native="showRecoveryCodes">
|
||||
{{ $t('popup_2fa.codes_button') }}
|
||||
{{ $t('show_codes') }}
|
||||
</ButtonBase>
|
||||
</AppInputButton>
|
||||
</div>
|
||||
@@ -33,7 +33,7 @@
|
||||
<!--Get personal api keys-->
|
||||
<div class="card shadow-card">
|
||||
<FormLabel icon="key">
|
||||
{{ $t('personal_token.section_title') }}
|
||||
{{ $t('personal_access_token') }}
|
||||
</FormLabel>
|
||||
<InfoBox v-if="tokens.length === 0">
|
||||
<p>{{ $t('personal_token.section_description') }}</p>
|
||||
@@ -72,7 +72,7 @@
|
||||
button-style="theme"
|
||||
class="w-full sm:w-auto"
|
||||
>
|
||||
{{ $t('personal_token.create_token') }}
|
||||
{{ $t('create_token') }}
|
||||
</ButtonBase>
|
||||
</div>
|
||||
|
||||
@@ -101,10 +101,10 @@
|
||||
</ValidationProvider>
|
||||
|
||||
<ValidationProvider tag="div" mode="passive" name="New Password" rules="required" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('page_create_password.label_new_pass')" :error="errors[0]">
|
||||
<AppInputText :title="$t('new_password')" :error="errors[0]">
|
||||
<input
|
||||
v-model="passwordForm.password"
|
||||
:placeholder="$t('page_create_password.label_new_pass')"
|
||||
:placeholder="$t('new_password')"
|
||||
type="password"
|
||||
class="focus-border-theme input-dark"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -119,10 +119,10 @@
|
||||
rules="required"
|
||||
v-slot="{ errors }"
|
||||
>
|
||||
<AppInputText :title="$t('page_create_password.label_confirm_pass')" :error="errors[0]">
|
||||
<AppInputText :title="$t('confirm_password')" :error="errors[0]">
|
||||
<input
|
||||
v-model="passwordForm.password_confirmation"
|
||||
:placeholder="$t('page_create_password.label_confirm_pass')"
|
||||
:placeholder="$t('confirm_password')"
|
||||
type="password"
|
||||
class="focus-border-theme input-dark"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
|
||||
@@ -38,16 +38,16 @@
|
||||
v-model="user.data.relationships.settings.data.attributes.timezone"
|
||||
:default="user.data.relationships.settings.data.attributes.timezone"
|
||||
:options="timezones"
|
||||
:placeholder="$t('user_settings.timezone_plac')"
|
||||
:placeholder="$t('select_your_timezone')"
|
||||
/>
|
||||
</AppInputText>
|
||||
</div>
|
||||
|
||||
<div class="card shadow-card">
|
||||
<FormLabel>
|
||||
{{ $t('user_settings.title_billing') }}
|
||||
{{ $t('billing_information') }}
|
||||
</FormLabel>
|
||||
<AppInputText :title="$t('user_settings.address')">
|
||||
<AppInputText :title="$t('address')">
|
||||
<input
|
||||
@keyup="
|
||||
$updateText(
|
||||
@@ -63,7 +63,7 @@
|
||||
/>
|
||||
</AppInputText>
|
||||
<div class="flex space-x-4">
|
||||
<AppInputText :title="$t('user_settings.city')" class="w-full">
|
||||
<AppInputText :title="$t('city')" class="w-full">
|
||||
<input
|
||||
@keyup="
|
||||
$updateText('/user/settings', 'city', user.data.relationships.settings.data.attributes.city)
|
||||
@@ -74,7 +74,7 @@
|
||||
class="focus-border-theme input-dark"
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('user_settings.postal_code')" class="w-full">
|
||||
<AppInputText :title="$t('postal_code')" class="w-full">
|
||||
<input
|
||||
@keyup="
|
||||
$updateText(
|
||||
@@ -84,13 +84,13 @@
|
||||
)
|
||||
"
|
||||
v-model="user.data.relationships.settings.data.attributes.postal_code"
|
||||
:placeholder="$t('user_settings.postal_code_plac')"
|
||||
:placeholder="$t('postal_code_plac')"
|
||||
type="text"
|
||||
class="focus-border-theme input-dark"
|
||||
/>
|
||||
</AppInputText>
|
||||
</div>
|
||||
<AppInputText :title="$t('user_settings.country')">
|
||||
<AppInputText :title="$t('country')">
|
||||
<SelectInput
|
||||
@input="
|
||||
$updateText(
|
||||
@@ -105,7 +105,7 @@
|
||||
:placeholder="$t('user_settings.country_plac')"
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('user_settings.state')" :description="$t('State, county, province, or region.')">
|
||||
<AppInputText :title="$t('state')" :description="$t('State, county, province, or region.')">
|
||||
<input
|
||||
@keyup="
|
||||
$updateText('/user/settings', 'state', user.data.relationships.settings.data.attributes.state)
|
||||
@@ -116,7 +116,7 @@
|
||||
class="focus-border-theme input-dark"
|
||||
/>
|
||||
</AppInputText>
|
||||
<AppInputText :title="$t('user_settings.phone_number')" :is-last="true">
|
||||
<AppInputText :title="$t('phone_number')" :is-last="true">
|
||||
<input
|
||||
@keyup="
|
||||
$updateText(
|
||||
|
||||
Reference in New Issue
Block a user