Skip to content

Commit d8aa025

Browse files
committed
add translations
1 parent 6c62268 commit d8aa025

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

adminforth/plugins/email-password-reset/custom/ResetPasswordUnderLogin.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<p class="text-gray-500 dark:text-gray-400 font-sm text-left mt-3">
3-
Forgot password?
3+
{{$t('Forgot password?')}}
44
<Link to="/reset-password">
5-
reset it
5+
{{$t('reset it')}}
66
</Link>
77
</p>
88
</template>

adminforth/plugins/open-signup/custom/SignupUnderLogin.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<p class="text-gray-500 dark:text-gray-400 font-sm text-left mt-3">
3-
Have no account?
3+
{{$t('Have no account?')}}
44
<Link to="/signup">
5-
sign up now
5+
{{$t('sign up now')}}
66
</Link>
77
</p>
88
</template>

adminforth/spa/src/components/Breadcrumbs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</svg>
2626
<span class="ms-1 text-sm font-medium text-gray-500 md:ms-2 dark:text-gray-400
2727
max-w-80 truncate">
28-
{{ $route.name === 'resource-edit' ? 'Edit' : 'Show' }} {{ coreStore.record?._label }}</span>
28+
{{ $route.name === 'resource-edit' ? $t('Edit') : $t('Show') }} {{ coreStore.record?._label }}</span>
2929
</div>
3030
</li>
3131

adminforth/spa/src/components/GroupsTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
:key="column.name"
2121
v-if="currentValues !== null"
2222
class="bg-ligftForm dark:bg-gray-800 dark:border-gray-700 block md:table-row"
23-
:class="{ 'border-b': i !== group.columns.length - 1, 'opacity-50 pointer-events-none': column.editReadonly && source === 'edit'}"
23+
:class="{ 'border-b': i !== group.columns.length - 1, 'opacity-50 pointer-events-none': column.editReadonly && source === $t('edit')}"
2424
>
2525
<td class="px-6 py-4 flex items-center block md:table-cell pb-0 md:pb-4"
2626
:class="{'rounded-bl-lg border-b-none': i === group.columns.length - 1}"> <!--align-top-->

adminforth/spa/src/components/ResourceForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const props = defineProps({
7878
7979
const unmasked = ref({});
8080
81-
const mode = computed(() => route.name === 'resource-create' ? 'create' : 'edit');
81+
const mode = computed(() => route.name === 'resource-create' ? $t('create') : $t('edit'));
8282
8383
const emit = defineEmits(['update:record', 'update:isValid']);
8484

0 commit comments

Comments
 (0)