mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
removed unused language strings
This commit is contained in:
@@ -114,7 +114,7 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_invoices.table.total'),
|
||||
label: this.$t('total'),
|
||||
field: 'amount',
|
||||
sortable: true,
|
||||
},
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
v-if="!$isThisRoute($route, ['RequestUpload'])"
|
||||
@click.native="downloadItem"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
<ToolbarButton
|
||||
v-if="canShareItem"
|
||||
|
||||
@@ -140,7 +140,7 @@
|
||||
/>
|
||||
<Option
|
||||
@click.native="goToRoute('Plans')"
|
||||
:title="$t('admin_menu.plans')"
|
||||
:title="$t('plans')"
|
||||
icon="database"
|
||||
:is-hover-disabled="true"
|
||||
/>
|
||||
|
||||
@@ -71,7 +71,7 @@ export default {
|
||||
events.$emit('confirm:open', {
|
||||
title: this.$t('Are you sure you want to cancel subscription?'),
|
||||
message: this.$t(
|
||||
"You'll continue to have access to the features you've paid for until the end of your billing cycle."
|
||||
"popup_subscription_cancel.message"
|
||||
),
|
||||
action: {
|
||||
operation: 'cancel-subscription',
|
||||
|
||||
16
resources/js/routes/routesAdmin.js
vendored
16
resources/js/routes/routesAdmin.js
vendored
@@ -89,7 +89,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_create',
|
||||
title: 'create_plan',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -101,7 +101,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_create',
|
||||
title: 'create_plan',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -180,7 +180,7 @@ const routesAdmin = [
|
||||
component: () => import(/* webpackChunkName: "chunks/plan" */ '../views/Admin/Plans/FixedPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan',
|
||||
title: 'plan',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -214,7 +214,7 @@ const routesAdmin = [
|
||||
import(/* webpackChunkName: "chunks/plan-delete" */ '../views/Admin/Plans/Tabs/PlanDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_delete',
|
||||
title: 'plan_delete',
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -225,7 +225,7 @@ const routesAdmin = [
|
||||
component: () => import(/* webpackChunkName: "chunks/plan" */ '../views/Admin/Plans/MeteredPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan',
|
||||
title: 'plan',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -259,7 +259,7 @@ const routesAdmin = [
|
||||
import(/* webpackChunkName: "chunks/plan-delete" */ '../views/Admin/Plans/Tabs/PlanDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_delete',
|
||||
title: 'plan_delete',
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -283,7 +283,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.billings',
|
||||
title: 'billings',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -295,7 +295,7 @@ const routesAdmin = [
|
||||
),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.payments',
|
||||
title: 'payments',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -98,7 +98,7 @@ export default {
|
||||
icon: 'card',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_menu.plans'),
|
||||
title: this.$t('plans'),
|
||||
route: 'Plans',
|
||||
icon: 'database',
|
||||
linkActivation: ['plans', 'plan'],
|
||||
@@ -121,7 +121,7 @@ export default {
|
||||
icon: 'dollar',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_menu.plans'),
|
||||
title: this.$t('plans'),
|
||||
route: 'Plans',
|
||||
icon: 'database',
|
||||
linkActivation: ['plans', 'plan'],
|
||||
|
||||
@@ -30,7 +30,7 @@ export default {
|
||||
route: 'AppSignInUp',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_settings.tabs.appearance'),
|
||||
title: this.$t('appearance'),
|
||||
route: 'AppAppearance',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
class="w-full sm:w-auto"
|
||||
button-style="theme"
|
||||
>
|
||||
{{ $t('admin_settings.others.cache_clear') }}
|
||||
{{ $t('clear_cache') }}
|
||||
</ButtonBase>
|
||||
</AppInputButton>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ export default {
|
||||
route: 'AppPayments',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_settings.tabs.billings'),
|
||||
title: this.$t('billings'),
|
||||
route: 'AppBillings',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -504,11 +504,6 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['config']),
|
||||
submitButtonText() {
|
||||
return this.isLoading
|
||||
? this.$t('admin_settings.payments.button_testing')
|
||||
: this.$t('admin_settings.payments.button_submit')
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -569,7 +564,7 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_plans.table.subscribers'),
|
||||
label: this.$t('subscribers'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div v-if="!config.isCreatedMeteredPlan || config.subscriptionType === 'fixed'" class="mb-6">
|
||||
<router-link :to="{ name: createPlanRoute }">
|
||||
<MobileActionButton icon="plus">
|
||||
{{ $t('admin_page_plans.create_plan_button') }}
|
||||
{{ $t('create_plan') }}
|
||||
</MobileActionButton>
|
||||
</router-link>
|
||||
</div>
|
||||
@@ -239,7 +239,7 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_plans.table.subscribers'),
|
||||
label: this.$t('subscribers'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
@@ -269,7 +269,7 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: this.$t('admin_page_plans.table.subscribers'),
|
||||
label: this.$t('subscribers'),
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
<!--Name-->
|
||||
<ValidationProvider tag="div" mode="passive" name="Name" rules="required" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('admin_page_plans.form.name')">
|
||||
<AppInputText :title="$t('name')">
|
||||
<input
|
||||
v-model="plan.name"
|
||||
:placeholder="$t('admin_page_plans.form.name_plac')"
|
||||
:placeholder="$t('plan_name')"
|
||||
type="text"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
class="focus-border-theme input-dark"
|
||||
@@ -20,10 +20,10 @@
|
||||
|
||||
<!--Description-->
|
||||
<ValidationProvider tag="div" mode="passive" name="Description" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('admin_page_plans.form.description')" :is-last="true">
|
||||
<AppInputText :title="$t('description_optional')" :is-last="true">
|
||||
<textarea
|
||||
v-model="plan.description"
|
||||
:placeholder="$t('admin_page_plans.form.description_plac')"
|
||||
:placeholder="$t('plan_description')"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
class="focus-border-theme input-dark"
|
||||
maxlength="120"
|
||||
@@ -148,7 +148,7 @@
|
||||
</InfoBox>
|
||||
|
||||
<ButtonBase :disabled="isLoading" :loading="isLoading" button-style="theme" type="submit" class="w-full sm:w-auto">
|
||||
{{ $t('admin_page_plans.create_plan_button') }}
|
||||
{{ $t('create_plan') }}
|
||||
</ButtonBase>
|
||||
</ValidationObserver>
|
||||
</template>
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
<!--Name-->
|
||||
<ValidationProvider tag="div" mode="passive" name="Name" rules="required" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('admin_page_plans.form.name')">
|
||||
<AppInputText :title="$t('name')">
|
||||
<input
|
||||
v-model="plan.name"
|
||||
:placeholder="$t('admin_page_plans.form.name_plac')"
|
||||
:placeholder="$t('plan_name')"
|
||||
type="text"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
class="focus-border-theme input-dark"
|
||||
@@ -20,10 +20,10 @@
|
||||
|
||||
<!--Description-->
|
||||
<ValidationProvider tag="div" mode="passive" name="Description" v-slot="{ errors }">
|
||||
<AppInputText :title="$t('admin_page_plans.form.description')">
|
||||
<AppInputText :title="$t('description_optional')">
|
||||
<textarea
|
||||
v-model="plan.description"
|
||||
:placeholder="$t('admin_page_plans.form.description_plac')"
|
||||
:placeholder="$t('plan_description')"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
class="focus-border-theme input-dark"
|
||||
></textarea>
|
||||
@@ -199,7 +199,7 @@
|
||||
</div>
|
||||
|
||||
<ButtonBase :disabled="isLoading" :loading="isLoading" button-style="theme" type="submit" class="w-full sm:w-auto">
|
||||
{{ $t('admin_page_plans.create_plan_button') }}
|
||||
{{ $t('create_plan') }}
|
||||
</ButtonBase>
|
||||
</ValidationObserver>
|
||||
</template>
|
||||
|
||||
@@ -39,15 +39,15 @@ export default {
|
||||
plan: undefined,
|
||||
pages: [
|
||||
{
|
||||
title: this.$t('admin_page_plans.tabs.settings'),
|
||||
title: this.$t('settings'),
|
||||
route: 'PlanFixedSettings',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_page_plans.tabs.subscribers'),
|
||||
title: this.$t('subscribers'),
|
||||
route: 'PlanFixedSubscribers',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_page_plans.tabs.delete'),
|
||||
title: this.$t('delete_plan'),
|
||||
route: 'PlanFixedDelete',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -39,18 +39,18 @@ export default {
|
||||
pages() {
|
||||
let pages = [
|
||||
{
|
||||
title: this.$t('admin_page_plans.tabs.settings'),
|
||||
title: this.$t('settings'),
|
||||
route: 'PlanMeteredSettings',
|
||||
},
|
||||
{
|
||||
title: this.$t('admin_page_plans.tabs.subscribers'),
|
||||
title: this.$t('subscribers'),
|
||||
route: 'PlanMeteredSubscribers',
|
||||
},
|
||||
]
|
||||
|
||||
if (this.plan && this.plan.attributes.status === 'active') {
|
||||
pages.push({
|
||||
title: this.$t('admin_page_plans.tabs.delete'),
|
||||
title: this.$t('delete_plan'),
|
||||
route: 'PlanMeteredDelete',
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="card shadow-card">
|
||||
<FormLabel>
|
||||
{{ $t('admin_page_plans.form.title_delete') }}
|
||||
{{ $t('delete_plan') }}
|
||||
</FormLabel>
|
||||
<ValidationObserver ref="deletePlan" @submit.prevent="deletePlan" v-slot="{ invalid }" tag="form">
|
||||
<ValidationProvider
|
||||
@@ -24,7 +24,7 @@
|
||||
<div class="space-y-4 sm:flex sm:space-x-4 sm:space-y-0">
|
||||
<input
|
||||
v-model="planName"
|
||||
:placeholder="$t('admin_page_plans.form.name_delete_plac')"
|
||||
:placeholder="$t('type_plan_name')"
|
||||
type="text"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
class="focus-border-theme input-dark"
|
||||
@@ -36,7 +36,7 @@
|
||||
button-style="danger"
|
||||
class="w-full sm:w-auto"
|
||||
>
|
||||
{{ $t('admin_page_plans.delete_plan_button') }}
|
||||
{{ $t('delete_plan') }}
|
||||
</ButtonBase>
|
||||
</div>
|
||||
</AppInputText>
|
||||
|
||||
@@ -25,20 +25,20 @@
|
||||
</AppInputSwitch>
|
||||
|
||||
<!--Name-->
|
||||
<AppInputText :title="$t('admin_page_plans.form.name')">
|
||||
<AppInputText :title="$t('name')">
|
||||
<input
|
||||
@input="
|
||||
$updateInput('/subscriptions/admin/plans/' + $route.params.id, 'name', plan.attributes.name)
|
||||
"
|
||||
v-model="plan.attributes.name"
|
||||
:placeholder="$t('admin_page_plans.form.name_plac')"
|
||||
:placeholder="$t('plan_name')"
|
||||
type="text"
|
||||
class="focus-border-theme input-dark"
|
||||
/>
|
||||
</AppInputText>
|
||||
|
||||
<!--Description-->
|
||||
<AppInputText :title="$t('admin_page_plans.form.description')">
|
||||
<AppInputText :title="$t('description_optional')">
|
||||
<textarea
|
||||
@input="
|
||||
$updateInput(
|
||||
@@ -48,7 +48,7 @@
|
||||
)
|
||||
"
|
||||
v-model="plan.attributes.description"
|
||||
:placeholder="$t('admin_page_plans.form.description_plac')"
|
||||
:placeholder="$t('plan_description')"
|
||||
class="focus-border-theme input-dark"
|
||||
></textarea>
|
||||
</AppInputText>
|
||||
|
||||
@@ -6,20 +6,20 @@
|
||||
</FormLabel>
|
||||
|
||||
<!--Name-->
|
||||
<AppInputText :title="$t('admin_page_plans.form.name')">
|
||||
<AppInputText :title="$t('name')">
|
||||
<input
|
||||
@input="
|
||||
$updateInput('/subscriptions/admin/plans/' + $route.params.id, 'name', plan.attributes.name)
|
||||
"
|
||||
v-model="plan.attributes.name"
|
||||
:placeholder="$t('admin_page_plans.form.name_plac')"
|
||||
:placeholder="$t('plan_name')"
|
||||
type="text"
|
||||
class="focus-border-theme input-dark"
|
||||
/>
|
||||
</AppInputText>
|
||||
|
||||
<!--Description-->
|
||||
<AppInputText :title="$t('admin_page_plans.form.description')" :is-last="true">
|
||||
<AppInputText :title="$t('description_optional')" :is-last="true">
|
||||
<textarea
|
||||
@input="
|
||||
$updateInput(
|
||||
@@ -29,7 +29,7 @@
|
||||
)
|
||||
"
|
||||
v-model="plan.attributes.description"
|
||||
:placeholder="$t('admin_page_plans.form.description_plac')"
|
||||
:placeholder="$t('plan_description')"
|
||||
class="focus-border-theme input-dark"
|
||||
></textarea>
|
||||
</AppInputText>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
</div>
|
||||
<div class="card shadow-card">
|
||||
<FormLabel>{{ $t('user_settings.title_billing') }}</FormLabel>
|
||||
<AppInputText :title="$t('user_settings.name')">
|
||||
<AppInputText :title="$t('name')">
|
||||
<input
|
||||
:value="user.data.relationships.settings.data.attributes.name"
|
||||
type="text"
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
<ToolbarButton
|
||||
@click.native="$downloadSelection(item)"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
</MobileMultiSelectToolbar>
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
<ToolbarButton
|
||||
@click.native="$downloadSelection(item)"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
class="mr-4"
|
||||
/>
|
||||
<ToolbarButton @click.native="$shareCancel" source="shared-off" />
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
@click.native="$downloadSelection()"
|
||||
class="mr-4"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
</template>
|
||||
<template v-slot:editor>
|
||||
@@ -78,7 +78,7 @@
|
||||
<ToolbarButton
|
||||
@click.native="$downloadSelection()"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
</template>
|
||||
</MobileMultiSelectToolbar>
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
<ToolbarButton
|
||||
@click.native="$downloadSelection(item)"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
</MobileMultiSelectToolbar>
|
||||
</div>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<ToolbarButton
|
||||
@click.native="$downloadSelection(item)"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
</MobileMultiSelectToolbar>
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<ToolbarButton
|
||||
@click.native="$downloadSelection(item)"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
</MobileMultiSelectToolbar>
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
<ToolbarButton
|
||||
@click.native="$downloadSelection(item)"
|
||||
source="download"
|
||||
:action="$t('actions.download')"
|
||||
:action="$t('download_item')"
|
||||
/>
|
||||
</MobileMultiSelectToolbar>
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
|
||||
<title>
|
||||
{{ __t('invoice_title') }}
|
||||
{{ __t('invoice') }}
|
||||
</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700;800;900&display=swap" rel="stylesheet">
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
<div class="print:text-right lg:text-right lg:mt-0 print:mt-0 mt-6">
|
||||
<h1 class="text-2xl font-bold">
|
||||
{{ __t('invoice_title') }}
|
||||
{{ __t('invoice') }}
|
||||
</h1>
|
||||
<b class="text-gray-800 text-sm">
|
||||
Number: {{ $invoice->id }}
|
||||
|
||||
Reference in New Issue
Block a user