Skip to content

Commit 8c23d34

Browse files
committed
add new translations
1 parent 363a2d1 commit 8c23d34

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<div class="p-4 md:p-5">
3939
<form v-if="enteringNew" class="space-y-4" role="alert" @submit.prevent>
4040
<div class="relative">
41-
<label for="password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">New password</label>
41+
<label for="password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">{{$t('New password')}}</label>
4242
<input
4343
:type="unmasked ? 'text' : 'password'"
4444
name="password" id="password"
@@ -60,7 +60,7 @@
6060
</div>
6161

6262
<div class="relative">
63-
<label for="password_confirmation" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Confirm new password</label>
63+
<label for="password_confirmation" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">{{$t('Confirm new password')}}</label>
6464
<input
6565
:type="unmasked ? 'text' : 'password'"
6666
name="password_confirmation" id="password_confirmation"
@@ -84,7 +84,7 @@
8484
<svg class="flex-shrink-0 inline w-4 h-4 me-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
8585
<path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"/>
8686
</svg>
87-
<span class="sr-only">Info</span>
87+
<span class="sr-only">{{$t('Info')}}</span>
8888
<div>
8989
{{ validationError || error }}
9090
</div>
@@ -97,17 +97,17 @@
9797
<svg v-if="inProgress"
9898
aria-hidden="true" class="w-4 h-4 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/><path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874
9999
// 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/></svg>
100-
Set new password
100+
{{$t('Set new password')}}
101101
</button>
102102
</form>
103103
<!-- END of set new paasord -->
104104
<div v-if="!enteringNew && requestSent" class="flex items center justify-center p-4 mb-4 text-sm text-green-800 rounded-lg bg-green-50 dark:bg-green-800 dark:text-green-400" role="alert">
105-
If user with specified email exists in our db, then request was sent. Please check your email at {{ sentToEmail }} to reset your password.
105+
{{$t('If user with specified email exists in our db, then request was sent. Please check your email at')}} {{ sentToEmail }} {{$t('to reset your password.')}}
106106
</div>
107107

108108
<form v-if="!enteringNew && !requestSent" class="space-y-4" @submit.prevent>
109109
<div>
110-
<label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your email</label>
110+
<label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">{{$t('Your email')}}</label>
111111
<input type="email" name="email" id="email"
112112
@keydown.enter="reset()"
113113
ref="emailInput"
@@ -121,7 +121,7 @@
121121
<svg class="flex-shrink-0 inline w-4 h-4 me-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
122122
<path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"/>
123123
</svg>
124-
<span class="sr-only">Info</span>
124+
<span class="sr-only">{{$t('Info')}}</span>
125125
<div>
126126
{{ error }}
127127
</div>
@@ -132,11 +132,11 @@
132132
:disabled="inProgress"
133133
@click="reset"
134134
class="w-full">
135-
Reset Password
135+
{{$t('Reset Password')}}
136136
</Button>
137137

138138
<p class="text-gray-500 dark:text-gray-400 font-sm text-right mt-3">
139-
or <Link to="/login">Back to login</Link>
139+
{{$t('or')}} <Link to="/login">{{$t('Back to login')}}</Link>
140140
</p>
141141

142142
</form>

adminforth/plugins/foreign-inline-list/custom/InlineList.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="flex items-center gap-1">
1616
<h4 v-if="listResource"
1717
class="px-6 py-4"
18-
>{{ listResource.label }} inline records</h4>
18+
>{{ listResource.label }} {{$t('inline records')}}</h4>
1919

2020
<button
2121
@click="()=>{checkboxes = []}"
@@ -27,7 +27,7 @@
2727
<IconBanOutline class="w-5 h-5 "/>
2828
<div id="tooltip-remove-all" role="tooltip"
2929
class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-sm opacity-0 tooltip dark:bg-gray-700">
30-
Remove selection
30+
{{$t('Remove selection')}}
3131
<div class="tooltip-arrow" data-popper-arrow></div>
3232
</div>
3333
</button>
@@ -64,7 +64,7 @@
6464
class="flex items-center py-1 px-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded border border-gray-300 hover:bg-gray-100 hover:text-lightPrimary focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 rounded-default"
6565
>
6666
<IconPlusOutline class="w-4 h-4 me-2"/>
67-
Create
67+
{{$t('Create')}}
6868
</RouterLink>
6969

7070
<button
@@ -73,7 +73,7 @@
7373
@click="()=>{filtersShow = !filtersShow}"
7474
>
7575
<IconFilterOutline class="w-4 h-4 me-2"/>
76-
Filter
76+
{{$t('Filter')}}
7777
<span
7878
class="bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded dark:bg-gray-700 dark:text-red-400 border border-red-400"
7979
v-if="filters.length">

0 commit comments

Comments
 (0)