From 0b6134dd8093427ec15e55d805dae3b18dc55c6d Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Fri, 19 Mar 2021 19:17:16 +0100 Subject: [PATCH] Added hint to the logout after password update ref #103 --- src/components/settings/Settings.svelte | 5 +++++ src/locales/de.json | 3 ++- src/locales/en.json | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/settings/Settings.svelte b/src/components/settings/Settings.svelte index 8f700862..3068d112 100644 --- a/src/components/settings/Settings.svelte +++ b/src/components/settings/Settings.svelte @@ -252,6 +252,11 @@ 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')} + {#if update_password_enabled} +

+ {$_('after-the-update-youll-get-logged-out-please-login-with-your-new-password-after-that')} +

+ {/if} diff --git a/src/locales/de.json b/src/locales/de.json index b45ed8d4..a19db5de 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -370,5 +370,6 @@ "confirm-the-new-password": "Neues Passwort bestätigen", "change-your-password-here": "Hier kannst du dein Passwort ändern", "password-changed": "Passwort wurde aktualisiert!", - "changing-your-password": "Passwort wird geändert" + "changing-your-password": "Passwort wird geändert", + "after-the-update-youll-get-logged-out-please-login-with-your-new-password-after-that": "Nach der Änderung wirst du abgemeldet - bitte melde dich dann mit deinem neuen Passwort an." } diff --git a/src/locales/en.json b/src/locales/en.json index f25a9bce..387a3161 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -370,5 +370,6 @@ "confirm-the-new-password": "Confirm the new password", "change-your-password-here": "Change your password here", "password-changed": "Password changed!", - "changing-your-password": "Changing your password" + "changing-your-password": "Changing your password", + "after-the-update-youll-get-logged-out-please-login-with-your-new-password-after-that": "After the update you'll get logged out - Please login with your new password after that." }