From ec5ed67f6c5a5ff17fbd8895342eed3b3731ee4d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 10 Jun 2022 22:50:40 +0200 Subject: [PATCH] web/flows: add divider to identification stage for security key Signed-off-by: Jens Langhammer --- .../identification/IdentificationStage.ts | 18 ++++++++++-------- web/src/locales/de.po | 4 ++++ web/src/locales/en.po | 4 ++++ web/src/locales/es.po | 4 ++++ web/src/locales/fr_FR.po | 4 ++++ web/src/locales/pl.po | 4 ++++ web/src/locales/pseudo-LOCALE.po | 4 ++++ web/src/locales/tr.po | 4 ++++ web/src/locales/zh-Hans.po | 4 ++++ web/src/locales/zh-Hant.po | 4 ++++ web/src/locales/zh_TW.po | 4 ++++ 11 files changed, 50 insertions(+), 8 deletions(-) diff --git a/web/src/flows/stages/identification/IdentificationStage.ts b/web/src/flows/stages/identification/IdentificationStage.ts index 48ad42c689..6926417e91 100644 --- a/web/src/flows/stages/identification/IdentificationStage.ts +++ b/web/src/flows/stages/identification/IdentificationStage.ts @@ -19,6 +19,7 @@ import { UserFieldsEnum, } from "@goauthentik/api"; +import "../../../elements/Divider"; import "../../../elements/EmptyState"; import "../../../elements/forms/FormElement"; import { BaseStage } from "../base"; @@ -257,14 +258,15 @@ export class IdentificationStage extends BaseStage< ${this.challenge.passwordlessUrl - ? html`` + ? html`${t`Or`} +
+ + ${t`Use a security key`} + +
` : html``}`; } diff --git a/web/src/locales/de.po b/web/src/locales/de.po index 2697f70195..ab2b3a587e 100644 --- a/web/src/locales/de.po +++ b/web/src/locales/de.po @@ -3680,6 +3680,10 @@ msgstr "Legen Sie optional den Wert „FriendlyName“ des Assertion-Attributs f #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "Setzen Sie dies optional auf Ihre übergeordnete Domäne, wenn Sie die Authentifizierung und Autorisierung auf Domänenebene durchführen möchten. Wenn Sie Anwendungen als app1.domain.tld, app2.domain.tld ausführen, setzen Sie dies auf „domain.tld“." +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/en.po b/web/src/locales/en.po index dea6d06020..4072d640ef 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -3740,6 +3740,10 @@ msgstr "Optionally set the 'FriendlyName' value of the Assertion attribute." #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "Or" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/es.po b/web/src/locales/es.po index ca24104634..12b596db0c 100644 --- a/web/src/locales/es.po +++ b/web/src/locales/es.po @@ -3673,6 +3673,10 @@ msgstr "Si lo desea, defina el valor «FriendlyName» del atributo Assertion." #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "Si lo desea, configúrelo en su dominio principal, si desea que la autenticación y la autorización se realicen a nivel de dominio. Si ejecuta aplicaciones como app1.domain.tld, app2.domain.tld, defina esto en «domain.tld»." +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index c6753fabf6..e6d3737934 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -3708,6 +3708,10 @@ msgstr "Indiquer la valeur \"FriendlyName\" de l'attribut d'assertion (optionnel #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "Indiquer votre domaine parent (optionnel), si vous souhaitez que l'authentification et l'autorisation soient réalisés au niveau du domaine. Si vous exécutez des applications sur app1.domain.tld, app2.domain.tld, indiquez ici \"domain.tld\"." +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/pl.po b/web/src/locales/pl.po index c56520cc1f..088a2035bd 100644 --- a/web/src/locales/pl.po +++ b/web/src/locales/pl.po @@ -3670,6 +3670,10 @@ msgstr "Opcjonalnie ustaw wartość „FriendlyName” atrybutu asercji." #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "Opcjonalnie ustaw to na swoją domenę nadrzędną, jeśli chcesz, aby uwierzytelnianie i autoryzacja odbywały się na poziomie domeny. Jeśli używasz aplikacji jako app1.domain.tld, app2.domain.tld, ustaw to na „domain.tld”." +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index 8238a09699..e1e80a1e7c 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -3722,6 +3722,10 @@ msgstr "" #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "" +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index 8540c97632..208cd662d0 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -3675,6 +3675,10 @@ msgstr "İsteğe bağlı olarak onaylama özniteliğinin 'FriendlyName' değerin #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "Kimlik doğrulama ve yetkilendirmenin etki alanı düzeyinde gerçekleşmesini istiyorsanız, isteğe bağlı olarak bunu üst etki alanınıza ayarlayın. Uygulamaları app1.domain.tld, app2.domain.tld olarak çalıştırıyorsanız, bunu 'domain.tld' olarak ayarlayın." +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/zh-Hans.po b/web/src/locales/zh-Hans.po index 6e12090f06..55170cb28d 100644 --- a/web/src/locales/zh-Hans.po +++ b/web/src/locales/zh-Hans.po @@ -3651,6 +3651,10 @@ msgstr "可选,设置断言属性的 'FriendlyName' 值。" #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "如果您希望在域名级别进行身份验证和授权,可以选择将其设置为您的父域名。如果您运行应用 app1.domain.tld、app2.domain.tld,请将其设置为 'domain.tld'。" +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/zh-Hant.po b/web/src/locales/zh-Hant.po index c1e709751b..1c0f3b33a2 100644 --- a/web/src/locales/zh-Hant.po +++ b/web/src/locales/zh-Hant.po @@ -3656,6 +3656,10 @@ msgstr "(可选)设置 “断言” 属性的'友好名称'值。" #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "如果您希望在域级别进行身份验证和授权,可以选择将其设置为您的父域。如果你以 app1.domain.tld、app2.domain.tld 的身份运行应用程序,请将其设置为 “domain.tld”。" +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts diff --git a/web/src/locales/zh_TW.po b/web/src/locales/zh_TW.po index c5b7391768..8da4eeb3cc 100644 --- a/web/src/locales/zh_TW.po +++ b/web/src/locales/zh_TW.po @@ -3656,6 +3656,10 @@ msgstr "(可选)设置 “断言” 属性的'友好名称'值。" #~ msgid "Optionally set this to your parent domain, if you want authentication and authorization to happen on a domain level. If you're running applications as app1.domain.tld, app2.domain.tld, set this to 'domain.tld'." #~ msgstr "如果您希望在域级别进行身份验证和授权,可以选择将其设置为您的父域。如果你以 app1.domain.tld、app2.domain.tld 的身份运行应用程序,请将其设置为 “domain.tld”。" +#: src/flows/stages/identification/IdentificationStage.ts +msgid "Or" +msgstr "" + #: src/pages/flows/BoundStagesList.ts #: src/pages/flows/StageBindingForm.ts #: src/pages/policies/BoundPoliciesList.ts