Added translations 🌍

ref #103
This commit is contained in:
Nicolai Ort 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="md:col-span-1">
<div class="px-4 sm:px-0"> <div class="px-4 sm:px-0">
<h3 class="text-lg font-medium leading-6 text-gray-900"> <h3 class="text-lg font-medium leading-6 text-gray-900">
Password {$_('password')}
</h3> </h3>
<p class="mt-1 text-sm text-gray-600"> <p class="mt-1 text-sm text-gray-600">
Change your password here {$_('change-your-password-here')}
</p> </p>
</div> </div>
</div> </div>
@ -196,7 +196,7 @@
<div class="px-4 py-3 bg-gray-50 text-left sm:px-6"> <div class="px-4 py-3 bg-gray-50 text-left sm:px-6">
<label <label
for="new_password" 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"> <div class="-mt-px relative">
<input <input
aria-label={$_('password')} aria-label={$_('password')}
@ -208,7 +208,7 @@
</div> </div>
<label <label
for="new_password" 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"> <div class="-mt-px relative">
<input <input
aria-label={$_('password')} aria-label={$_('password')}
@ -220,7 +220,7 @@
</div> </div>
{#if (password_change != password_confirm) && password_change.length>0} {#if (password_change != password_confirm) && password_change.length>0}
<span <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} {/if}
</div> </div>
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6"> <div class="px-4 py-3 bg-gray-50 text-right sm:px-6">
@ -230,7 +230,7 @@
class:opacity-50={!update_password_enabled} class:opacity-50={!update_password_enabled}
on:click={submit} 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"> 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> </button>
</div> </div>
</div> </div>

View File

@ -364,5 +364,9 @@
"cancel-keep-my-profile": "Abbrechen, mein Profil behalten", "cancel-keep-my-profile": "Abbrechen, mein Profil behalten",
"danger-zone": "Gefahrenzone", "danger-zone": "Gefahrenzone",
"stuff-that-could-harm-your-profile": "Einstellungen, die deinem Profil nachhaltig schaden können", "stuff-that-could-harm-your-profile": "Einstellungen, die deinem Profil nachhaltig schaden können",
"delete-profile": "Profil löschen" "delete-profile": "Profil löschen",
"passwords-dont-match": "Die Passwörter stimmen nicht überein.",
"update-password": "Passwort ändern",
"confirm-the-new-password": "Neues Passwort bestätigen",
"change-your-password-here": "Hier kannst du dein Passwort ändern"
} }

View File

@ -364,5 +364,9 @@
"cancel-keep-my-profile": "Cancel, keep my profile", "cancel-keep-my-profile": "Cancel, keep my profile",
"danger-zone": "Danger zone", "danger-zone": "Danger zone",
"stuff-that-could-harm-your-profile": "Stuff that could harm your profile", "stuff-that-could-harm-your-profile": "Stuff that could harm your profile",
"delete-profile": "Delete Profile" "delete-profile": "Delete Profile",
"passwords-dont-match": "Passwords don't match",
"update-password": "Update password",
"confirm-the-new-password": "Confirm the new password",
"change-your-password-here": "Change your password here"
} }