language strings updates

This commit is contained in:
Čarodej
2022-03-20 12:12:09 +01:00
parent 98d9f3ab0d
commit 881facc867
121 changed files with 1729 additions and 1400 deletions

View File

@@ -89,10 +89,10 @@
</FormLabel>
<ValidationProvider tag="div" mode="passive" name="Current Password" rules="required" v-slot="{ errors }">
<AppInputText :title="$t('Current Password')" :error="errors[0]">
<AppInputText :title="$t('current_password')" :error="errors[0]">
<input
v-model="passwordForm.current"
:placeholder="$t('Current password')"
:placeholder="$t('current_password')"
type="password"
class="focus-border-theme input-dark"
:class="{ '!border-rose-600': errors[0] }"

View File

@@ -2,11 +2,11 @@
<div>
<div class="card shadow-card">
<FormLabel>
{{ $t('Account Settings') }}
{{ $t('account_settings') }}
</FormLabel>
<div class="justify-items md:flex md:space-x-4">
<AppInputText :title="$t('First Name')" class="w-full">
<AppInputText :title="$t('first_name')" class="w-full">
<input
@keyup="updateFirstName"
v-model="user.data.relationships.settings.data.attributes.first_name"
@@ -15,7 +15,7 @@
class="focus-border-theme input-dark"
/>
</AppInputText>
<AppInputText :title="$t('Last Name')" class="w-full">
<AppInputText :title="$t('last_name')" class="w-full">
<input
@keyup="updateLastName"
v-model="user.data.relationships.settings.data.attributes.last_name"
@@ -26,7 +26,7 @@
</AppInputText>
</div>
<AppInputText :title="$t('GMT')" :is-last="true">
<AppInputText :title="$t('gmt')" :is-last="true">
<SelectInput
@input="
$updateText(
@@ -135,12 +135,12 @@
<div class="card shadow-card">
<FormLabel>
{{ $t('Appearance') }}
{{ $t('appearance') }}
</FormLabel>
<AppInputText
:title="$t('Theme Mode')"
:description="$t('Set your theme mode on dark, light or based on your system settings.')"
:title="$t('theme_mode')"
:description="$t('set_default_theme_disclaimer')"
:is-last="!$isApple()"
>
<div class="items-center space-y-4 md:flex md:space-x-6 md:space-x-4 md:space-y-0">
@@ -162,11 +162,9 @@
<AppInputText
v-if="$isApple()"
:title="$t('Default Emojis')"
:title="$t('default_emojis')"
:description="
$t(
'Set your default emojis for your folder custom icons. You can set Twemoji or default Apple emojis.'
)
$t('set_default_emoji_disclaimer')
"
:is-last="true"
>
@@ -221,17 +219,17 @@ export default {
isLoading: false,
themeSetup: [
{
title: this.$t('Light mode'),
title: this.$t('light_mode'),
type: 'light',
image: '/assets/setup/light-mode.jpg',
},
{
title: this.$t('Dark mode'),
title: this.$t('dark_mode'),
type: 'dark',
image: '/assets/setup/dark-mode.jpg',
},
{
title: this.$t('Based on system settings'),
title: this.$t('based_on_system'),
type: 'system',
image: '/assets/setup/system-mode.jpg',
},

View File

@@ -2,7 +2,7 @@
<PageTab>
<div v-if="distribution" class="card shadow-card">
<FormLabel icon="hard-drive">
{{ $t('Storage Usage') }}
{{ $t('storage_usage') }}
</FormLabel>
<b class="-mt-3 block text-2xl font-extrabold sm:text-3xl">
@@ -15,15 +15,15 @@
"
class="mt-0.5 block text-sm dark:text-gray-500 text-gray-400"
>
{{ $t('Total of') }} {{ storage.data.attributes.capacity }}
{{ $t('Used') }}
{{ $t('total_of', {capacity: storage.data.attributes.capacity}) }}
{{ $t('used') }}
</b>
<ProgressLine v-if="storage.data.attributes.used !== '0B'" :data="distribution" class="mt-5" />
</div>
<div v-if="distribution" class="card shadow-card">
<FormLabel icon="hard-drive">
{{ $t('Upload') }}
{{ $t('upload') }}
</FormLabel>
<b class="-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl">
@@ -31,14 +31,14 @@
</b>
<b class="mb-3 mb-5 block text-sm dark:text-gray-500 text-gray-400">
{{ $t('In last 45 days') }}
{{ $t('in_last_x_days') }}
</b>
<BarChart :data="storage.data.meta.traffic.chart.upload" color="#FFBD2D" />
</div>
<div v-if="distribution" class="card shadow-card">
<FormLabel icon="hard-drive">
{{ $t('Download') }}
{{ $t('download') }}
</FormLabel>
<b class="-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl">
@@ -46,7 +46,7 @@
</b>
<b class="mb-3 mb-5 block text-sm dark:text-gray-500 text-gray-400">
{{ $t('In last 45 days') }}
{{ $t('in_last_x_days') }}
</b>
<BarChart :data="storage.data.meta.traffic.chart.download" color="#9d66fe" />