language strings refactoring

This commit is contained in:
Čarodej
2022-03-19 10:14:11 +01:00
parent 7564c01fa3
commit 98d9f3ab0d
73 changed files with 617 additions and 655 deletions
@@ -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>
+2 -2
View File
@@ -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>