Added translations 🌍

ref #103
This commit is contained in:
2021-03-19 19:08:43 +01:00
parent 5d7eb690e4
commit 3945f3cf38
3 changed files with 16 additions and 8 deletions

View File

@@ -181,10 +181,10 @@
<div class="md:col-span-1">
<div class="px-4 sm:px-0">
<h3 class="text-lg font-medium leading-6 text-gray-900">
Password
{$_('password')}
</h3>
<p class="mt-1 text-sm text-gray-600">
Change your password here
{$_('change-your-password-here')}
</p>
</div>
</div>
@@ -196,7 +196,7 @@
<div class="px-4 py-3 bg-gray-50 text-left sm:px-6">
<label
for="new_password"
class="font-medium text-gray-700">New password</label>
class="font-medium text-gray-700">{$_('new-password')}</label>
<div class="-mt-px relative">
<input
aria-label={$_('password')}
@@ -208,7 +208,7 @@
</div>
<label
for="new_password"
class="font-medium text-gray-700">Confirm the new password</label>
class="font-medium text-gray-700">{$_('confirm-the-new-password')}</label>
<div class="-mt-px relative">
<input
aria-label={$_('password')}
@@ -220,7 +220,7 @@
</div>
{#if (password_change != password_confirm) && password_change.length>0}
<span
class="flex items-center font-medium tracking-wide text-red-500 text-xs mt-1 ml-1">Passwords don't match</span>
class="flex items-center font-medium tracking-wide text-red-500 text-xs mt-1 ml-1">{$_('passwords-dont-match')}</span>
{/if}
</div>
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6">
@@ -230,7 +230,7 @@
class:opacity-50={!update_password_enabled}
on:click={submit}
class="w-full justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-blue-600 text-base font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:ml-3 sm:w-auto sm:text-sm">
Update password
{$_('update-password')}
</button>
</div>
</div>