From 58712828a478a1d1bb1c4953049a587aafe386a4 Mon Sep 17 00:00:00 2001
From: Jens Langhammer
Date: Sun, 25 Apr 2021 18:50:19 +0200
Subject: [PATCH] web/flows/identification: fix phrasing account recovery
Signed-off-by: Jens Langhammer
---
web/src/elements/PageHeader.ts | 2 +-
.../flows/stages/identification/IdentificationStage.ts | 1 -
web/src/locales/en.po | 9 ++++-----
web/src/locales/pseudo-LOCALE.po | 9 ++++-----
4 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/web/src/elements/PageHeader.ts b/web/src/elements/PageHeader.ts
index 7be03f728..e0aff235a 100644
--- a/web/src/elements/PageHeader.ts
+++ b/web/src/elements/PageHeader.ts
@@ -44,7 +44,7 @@ export class PageHeader extends LitElement {
flex-direction: row;
min-height: 114px;
}
- button.sidebar-trigger {
+ button.pf-c-button.pf-m-plain.sidebar-trigger {
background-color: var(--pf-c-page__main-section--m-light--BackgroundColor);
border-radius: 0px;
}
diff --git a/web/src/flows/stages/identification/IdentificationStage.ts b/web/src/flows/stages/identification/IdentificationStage.ts
index c6fa5490c..c44511052 100644
--- a/web/src/flows/stages/identification/IdentificationStage.ts
+++ b/web/src/flows/stages/identification/IdentificationStage.ts
@@ -149,7 +149,6 @@ export class IdentificationStage extends BaseStage {
` : html``}
${this.challenge.recovery_url ? html`
- ${t`Need an account?`}
${t`Forgot username or password?`}
` : html``}
`;
diff --git a/web/src/locales/en.po b/web/src/locales/en.po
index aaa1f86a9..9825f5408 100644
--- a/web/src/locales/en.po
+++ b/web/src/locales/en.po
@@ -1079,7 +1079,7 @@ msgstr "Email"
msgid "Email address"
msgstr "Email address"
-#: src/flows/stages/identification/IdentificationStage.ts:151
+#: src/flows/stages/identification/IdentificationStage.ts:150
msgid "Email or Username"
msgstr "Email or Username"
@@ -1382,7 +1382,7 @@ msgstr "Force the user to configure an authenticator"
msgid "Forgot password?"
msgstr "Forgot password?"
-#: src/flows/stages/identification/IdentificationStage.ts:125
+#: src/flows/stages/identification/IdentificationStage.ts:124
msgid "Forgot username or password?"
msgstr "Forgot username or password?"
@@ -1677,7 +1677,7 @@ msgstr "Library"
#: src/flows/stages/consent/ConsentStage.ts:28
#: src/flows/stages/dummy/DummyStage.ts:27
#: src/flows/stages/email/EmailStage.ts:26
-#: src/flows/stages/identification/IdentificationStage.ts:134
+#: src/flows/stages/identification/IdentificationStage.ts:133
#: src/flows/stages/password/PasswordStage.ts:31
#: src/flows/stages/prompt/PromptStage.ts:126
#: src/pages/applications/ApplicationViewPage.ts:43
@@ -1752,7 +1752,7 @@ msgstr "Log the currently pending user in."
msgid "Login password is synced from LDAP into authentik automatically. Enable this option only to write password changes in authentik back to LDAP."
msgstr "Login password is synced from LDAP into authentik automatically. Enable this option only to write password changes in authentik back to LDAP."
-#: src/flows/stages/identification/IdentificationStage.ts:146
+#: src/flows/stages/identification/IdentificationStage.ts:145
msgid "Login to continue to {0}."
msgstr "Login to continue to {0}."
@@ -1930,7 +1930,6 @@ msgid "NameID Property Mapping"
msgstr "NameID Property Mapping"
#: src/flows/stages/identification/IdentificationStage.ts:119
-#: src/flows/stages/identification/IdentificationStage.ts:124
msgid "Need an account?"
msgstr "Need an account?"
diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po
index a346554c3..5ed3a220d 100644
--- a/web/src/locales/pseudo-LOCALE.po
+++ b/web/src/locales/pseudo-LOCALE.po
@@ -1071,7 +1071,7 @@ msgstr ""
msgid "Email address"
msgstr ""
-#: src/flows/stages/identification/IdentificationStage.ts:151
+#: src/flows/stages/identification/IdentificationStage.ts:150
msgid "Email or Username"
msgstr ""
@@ -1374,7 +1374,7 @@ msgstr ""
msgid "Forgot password?"
msgstr ""
-#: src/flows/stages/identification/IdentificationStage.ts:125
+#: src/flows/stages/identification/IdentificationStage.ts:124
msgid "Forgot username or password?"
msgstr ""
@@ -1669,7 +1669,7 @@ msgstr ""
#: src/flows/stages/consent/ConsentStage.ts:28
#: src/flows/stages/dummy/DummyStage.ts:27
#: src/flows/stages/email/EmailStage.ts:26
-#: src/flows/stages/identification/IdentificationStage.ts:134
+#: src/flows/stages/identification/IdentificationStage.ts:133
#: src/flows/stages/password/PasswordStage.ts:31
#: src/flows/stages/prompt/PromptStage.ts:126
#: src/pages/applications/ApplicationViewPage.ts:43
@@ -1744,7 +1744,7 @@ msgstr ""
msgid "Login password is synced from LDAP into authentik automatically. Enable this option only to write password changes in authentik back to LDAP."
msgstr ""
-#: src/flows/stages/identification/IdentificationStage.ts:146
+#: src/flows/stages/identification/IdentificationStage.ts:145
msgid "Login to continue to {0}."
msgstr ""
@@ -1922,7 +1922,6 @@ msgid "NameID Property Mapping"
msgstr ""
#: src/flows/stages/identification/IdentificationStage.ts:119
-#: src/flows/stages/identification/IdentificationStage.ts:124
msgid "Need an account?"
msgstr ""