diff --git a/src/components/settings/Settings.svelte b/src/components/settings/Settings.svelte index 00013804..1ad352ed 100644 --- a/src/components/settings/Settings.svelte +++ b/src/components/settings/Settings.svelte @@ -181,10 +181,10 @@

- Password + {$_('password')}

- Change your password here + {$_('change-your-password-here')}

@@ -196,7 +196,7 @@
+ class="font-medium text-gray-700">{$_('new-password')}
+ class="font-medium text-gray-700">{$_('confirm-the-new-password')}
{#if (password_change != password_confirm) && password_change.length>0} Passwords don't match + class="flex items-center font-medium tracking-wide text-red-500 text-xs mt-1 ml-1">{$_('passwords-dont-match')} {/if}
@@ -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')}
diff --git a/src/locales/de.json b/src/locales/de.json index 3134b500..f184dfa2 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -364,5 +364,9 @@ "cancel-keep-my-profile": "Abbrechen, mein Profil behalten", "danger-zone": "Gefahrenzone", "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" } diff --git a/src/locales/en.json b/src/locales/en.json index 6802f2e9..4f23b2ea 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -364,5 +364,9 @@ "cancel-keep-my-profile": "Cancel, keep my profile", "danger-zone": "Danger zone", "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" }