diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 2fd357aff..dc21f4f6b 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-09-20 22:16+0000\n" +"POT-Creation-Date: 2022-09-22 18:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -384,21 +384,21 @@ msgid "Stage (%(type)s)" msgstr "" #: authentik/flows/api/flows_diagram.py:145 -#: authentik/flows/api/flows_diagram.py:179 +#: authentik/flows/api/flows_diagram.py:180 msgid "Policy denied" msgstr "" -#: authentik/flows/api/flows_diagram.py:154 -#: authentik/flows/api/flows_diagram.py:178 -#: authentik/flows/api/flows_diagram.py:199 +#: authentik/flows/api/flows_diagram.py:155 +#: authentik/flows/api/flows_diagram.py:179 +#: authentik/flows/api/flows_diagram.py:200 msgid "End of the flow" msgstr "" -#: authentik/flows/api/flows_diagram.py:169 +#: authentik/flows/api/flows_diagram.py:170 msgid "Pre-flow policies" msgstr "" -#: authentik/flows/api/flows_diagram.py:186 authentik/flows/models.py:178 +#: authentik/flows/api/flows_diagram.py:187 authentik/flows/models.py:178 msgid "Flow" msgstr "" diff --git a/web/src/admin/flows/FlowDiagram.ts b/web/src/admin/flows/FlowDiagram.ts index a2c8b1d37..21e35ba32 100644 --- a/web/src/admin/flows/FlowDiagram.ts +++ b/web/src/admin/flows/FlowDiagram.ts @@ -1,99 +1,25 @@ import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; -import { EVENT_REFRESH } from "@goauthentik/common/constants"; -import { AKElement } from "@goauthentik/elements/Base"; +import { Diagram } from "@goauthentik/elements/Diagram"; import "@goauthentik/elements/EmptyState"; -import mermaid from "mermaid"; -import { CSSResult, TemplateResult, css, html } from "lit"; import { customElement, property } from "lit/decorators.js"; -import { unsafeHTML } from "lit/directives/unsafe-html.js"; import { FlowsApi } from "@goauthentik/api"; @customElement("ak-flow-diagram") -export class FlowDiagram extends AKElement { - _flowSlug?: string; - +export class FlowDiagram extends Diagram { @property() - set flowSlug(value: string) { - this._flowSlug = value; + flowSlug?: string; + + refreshHandler = (): void => { this.diagram = undefined; new FlowsApi(DEFAULT_CONFIG) .flowsInstancesDiagramRetrieve({ - slug: value, + slug: this.flowSlug || "", }) .then((data) => { this.diagram = data.diagram; this.requestUpdate(); }); - } - - @property({ attribute: false }) - diagram?: string; - - handlerBound = false; - - get isInViewport(): boolean { - const rect = this.getBoundingClientRect(); - return !(rect.x + rect.y + rect.width + rect.height === 0); - } - - static get styles(): CSSResult[] { - return [ - css` - :host { - display: flex; - justify-content: center; - } - `, - ]; - } - - constructor() { - super(); - const matcher = window.matchMedia("(prefers-color-scheme: light)"); - const handler = (ev?: MediaQueryListEvent) => { - mermaid.initialize({ - logLevel: "error", - startOnLoad: false, - theme: ev?.matches || matcher.matches ? "default" : "dark", - flowchart: { - curve: "linear", - }, - }); - this.requestUpdate(); - }; - matcher.addEventListener("change", handler); - handler(); - } - - firstUpdated(): void { - if (this.handlerBound) return; - window.addEventListener(EVENT_REFRESH, this.refreshHandler); - this.handlerBound = true; - } - - refreshHandler = (): void => { - if (!this._flowSlug) return; - this.flowSlug = this._flowSlug; }; - - disconnectedCallback(): void { - super.disconnectedCallback(); - window.removeEventListener(EVENT_REFRESH, this.refreshHandler); - } - - render(): TemplateResult { - this.querySelectorAll("*").forEach((el) => { - try { - el.remove(); - } catch { - console.debug(`authentik/flow/diagram: failed to remove element ${el}`); - } - }); - if (!this.diagram) { - return html``; - } - return html`${unsafeHTML(mermaid.render("graph", this.diagram))}`; - } } diff --git a/web/src/admin/flows/FlowViewPage.ts b/web/src/admin/flows/FlowViewPage.ts index bb9578137..78c60a7df 100644 --- a/web/src/admin/flows/FlowViewPage.ts +++ b/web/src/admin/flows/FlowViewPage.ts @@ -202,10 +202,8 @@ export class FlowViewPage extends AKElement { class="pf-c-card pf-l-grid__item pf-m-12-col pf-m-10-col-on-xl pf-m-10-col-on-2xl" >
${t`Diagram`}
-
-
- -
+
+
{ + if (!this.source) return; + const graph = ["graph LR"]; + graph.push(`source[${t`OAuth Source ${this.source.name}`}]`); + graph.push( + `source --> flow_manager["${UserMatchingModeToLabel( + this.source.userMatchingMode || UserMatchingModeEnum.Identifier, + )}"]`, + ); + if (this.source.enrollmentFlow) { + graph.push("flow_manager --> flow_enroll[Enrollment flow]"); + } + if (this.source.authenticationFlow) { + graph.push("flow_manager --> flow_auth[Authentication flow]"); + } + this.diagram = graph.join("\n"); + }; +} diff --git a/web/src/admin/sources/oauth/OAuthSourceForm.ts b/web/src/admin/sources/oauth/OAuthSourceForm.ts index 8570c4099..6d3ea1dd3 100644 --- a/web/src/admin/sources/oauth/OAuthSourceForm.ts +++ b/web/src/admin/sources/oauth/OAuthSourceForm.ts @@ -1,3 +1,4 @@ +import { UserMatchingModeToLabel } from "@goauthentik/admin/sources/oauth/utils"; import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; import { first } from "@goauthentik/common/utils"; import "@goauthentik/elements/CodeMirror"; @@ -236,35 +237,35 @@ export class OAuthSourceForm extends ModelForm { ?selected=${this.instance?.userMatchingMode === UserMatchingModeEnum.Identifier} > - ${t`Link users on unique identifier`} + ${UserMatchingModeToLabel(UserMatchingModeEnum.Identifier)} diff --git a/web/src/admin/sources/oauth/OAuthSourceViewPage.ts b/web/src/admin/sources/oauth/OAuthSourceViewPage.ts index f65a17e00..c05dadf21 100644 --- a/web/src/admin/sources/oauth/OAuthSourceViewPage.ts +++ b/web/src/admin/sources/oauth/OAuthSourceViewPage.ts @@ -1,4 +1,5 @@ import "@goauthentik/admin/policies/BoundPoliciesList"; +import "@goauthentik/admin/sources/oauth/OAuthSourceDiagram"; import "@goauthentik/admin/sources/oauth/OAuthSourceForm"; import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; import { EVENT_REFRESH } from "@goauthentik/common/constants"; @@ -93,6 +94,7 @@ export class OAuthSourceViewPage extends AKElement { >
+
${t`Details`}
@@ -181,6 +183,14 @@ export class OAuthSourceViewPage extends AKElement {
+
+
${t`Diagram`}
+
+ +
+
{ ?selected=${this.instance?.userMatchingMode === UserMatchingModeEnum.Identifier} > - ${t`Link users on unique identifier`} + ${UserMatchingModeToLabel(UserMatchingModeEnum.Identifier)} diff --git a/web/src/elements/Diagram.ts b/web/src/elements/Diagram.ts new file mode 100644 index 000000000..71a986ca6 --- /dev/null +++ b/web/src/elements/Diagram.ts @@ -0,0 +1,76 @@ +import { EVENT_REFRESH } from "@goauthentik/common/constants"; +import { AKElement } from "@goauthentik/elements/Base"; +import "@goauthentik/elements/EmptyState"; +import mermaid from "mermaid"; + +import { CSSResult, TemplateResult, css, html } from "lit"; +import { customElement, property } from "lit/decorators.js"; +import { unsafeHTML } from "lit/directives/unsafe-html.js"; + +@customElement("ak-diagram") +export class Diagram extends AKElement { + @property({ attribute: false }) + diagram?: string; + + refreshHandler = (): void => { + if (!this.textContent) return; + this.diagram = this.textContent; + }; + + handlerBound = false; + + static get styles(): CSSResult[] { + return [ + css` + :host { + display: flex; + justify-content: center; + } + `, + ]; + } + + constructor() { + super(); + const matcher = window.matchMedia("(prefers-color-scheme: light)"); + const handler = (ev?: MediaQueryListEvent) => { + mermaid.initialize({ + logLevel: "error", + startOnLoad: false, + theme: ev?.matches || matcher.matches ? "default" : "dark", + flowchart: { + curve: "linear", + }, + }); + this.requestUpdate(); + }; + matcher.addEventListener("change", handler); + handler(); + } + + firstUpdated(): void { + if (this.handlerBound) return; + window.addEventListener(EVENT_REFRESH, this.refreshHandler); + this.handlerBound = true; + this.refreshHandler(); + } + + disconnectedCallback(): void { + super.disconnectedCallback(); + window.removeEventListener(EVENT_REFRESH, this.refreshHandler); + } + + render(): TemplateResult { + this.querySelectorAll("*").forEach((el) => { + try { + el.remove(); + } catch { + console.debug(`authentik/diagram: failed to remove element ${el}`); + } + }); + if (!this.diagram) { + return html``; + } + return html`${unsafeHTML(mermaid.render("graph", this.diagram))}`; + } +} diff --git a/web/src/locales/de.po b/web/src/locales/de.po index cfbc35272..db0b876bc 100644 --- a/web/src/locales/de.po +++ b/web/src/locales/de.po @@ -1721,6 +1721,10 @@ msgstr "Bezeichnung" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "Detaillierter Zustand (eine Instanz pro Zeile, Daten werden gepuffert, könnten also veraltet sein)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "Legt fest, wie authentik die Antwort an den Service Provider zurücksendet." @@ -1749,6 +1753,7 @@ msgid "Device(s)" msgstr "Gerät(e)" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "Diagramm" @@ -3060,22 +3065,24 @@ msgstr "Lassen Sie den Benutzer sich mit seinem Benutzernamen oder seiner E-Mail msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "Link zu einem Benutzer mit identischer E-Mail-Adresse. Kann Auswirkungen auf die Sicherheit haben, wenn eine Quelle E-Mail-Adressen nicht validiert" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "Link zu einem Benutzer mit identischem Benutzernamen. Kann Auswirkungen auf die Sicherheit haben, wenn ein Benutzername mit einer anderen Quelle verwendet wird." +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "Link zu einem Benutzer mit identischem Benutzernamen. Kann Auswirkungen auf die Sicherheit haben, wenn ein Benutzername mit einer anderen Quelle verwendet wird." #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "Einladungslink" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "Verknüpfen Sie Benutzer mit einer eindeutigen Kennung" @@ -3794,6 +3801,10 @@ msgstr "Nummer, von der die SMS gesendet wird" msgid "OAuth Refresh Codes" msgstr "OAuth-Aktualisierungscodes" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #~ msgid "OAuth details" #~ msgstr "OAuth-Details" @@ -6432,15 +6443,23 @@ msgstr "Verwenden Sie einen Sicherheitsschlüssel, um Ihre Identität nachzuweis msgid "Use global settings" msgstr "Verwende globale Einstellungen" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "Verwenden Sie die E-Mail-Adresse des Benutzers, aber verweigern Sie die Registrierung, wenn die E-Mail-Adresse bereits existiert." +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "Verwenden Sie Benutzernamen des Benutzers, aber verweigern Sie die Registrierung, wenn der Benutzername bereits existiert." +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "Verwenden Sie die E-Mail-Adresse des Benutzers, aber verweigern Sie die Registrierung, wenn die E-Mail-Adresse bereits existiert." + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "Verwenden Sie Benutzernamen des Benutzers, aber verweigern Sie die Registrierung, wenn der Benutzername bereits existiert." #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/en.po b/web/src/locales/en.po index 262b8a58d..87d871a22 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -1733,6 +1733,10 @@ msgstr "Designation" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "Detailed health (one instance per column, data is cached so may be out of data)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "Details" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "Determines how authentik sends the response back to the Service Provider." @@ -1762,6 +1766,7 @@ msgid "Device(s)" msgstr "Device(s)" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "Diagram" @@ -3115,22 +3120,24 @@ msgstr "Let the user identify themselves with their username or Email address." msgid "Link" msgstr "Link" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "Link to a user with identical username. Can have security implications when a username is used with another source" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "Link to a user with identical username. Can have security implications when a username is used with another source." #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "Link to use the invitation." -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "Link users on unique identifier" @@ -3857,6 +3864,10 @@ msgstr "Number the SMS will be sent from." msgid "OAuth Refresh Codes" msgstr "OAuth Refresh Codes" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "OAuth Source {0}" + #: src/pages/providers/ProviderWizard.ts #~ msgid "OAuth details" #~ msgstr "OAuth details" @@ -6581,15 +6592,23 @@ msgstr "Use a security key to prove your identity." msgid "Use global settings" msgstr "Use global settings" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "Use the user's email address, but deny enrollment when the email address already exists." +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "Use the user's email address, but deny enrollment when the email address already exists" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "Use the user's username, but deny enrollment when the username already exists." +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "Use the user's email address, but deny enrollment when the email address already exists." + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "Use the user's username, but deny enrollment when the username already exists" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "Use the user's username, but deny enrollment when the username already exists." #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/es.po b/web/src/locales/es.po index cda4d8d1f..fdababdf8 100644 --- a/web/src/locales/es.po +++ b/web/src/locales/es.po @@ -1706,6 +1706,10 @@ msgstr "Designación" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "Estado detallado (una instancia por columna, los datos se almacenan en caché, por lo que pueden estar agotados)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "Determina cómo authentik devuelve la respuesta al proveedor de servicios." @@ -1734,6 +1738,7 @@ msgid "Device(s)" msgstr "Dispositivo (s)" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "Diagrama" @@ -3056,22 +3061,24 @@ msgstr "Permite que el usuario se identifique con su nombre de usuario o direcci msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "Enlace a un usuario con una dirección de correo electrónico idéntica. Puede tener implicaciones de seguridad cuando una fuente no valida las direcciones de correo electrónico" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "Enlace a un usuario con un nombre de usuario idéntico. Puede tener implicaciones de seguridad cuando se usa un nombre de usuario con otra fuente." +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "Enlace a un usuario con un nombre de usuario idéntico. Puede tener implicaciones de seguridad cuando se usa un nombre de usuario con otra fuente." #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "Enlace para usar la invitación." -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "Vincular usuarios en un identificador único" @@ -3792,6 +3799,10 @@ msgstr "Número desde el que se enviará el SMS." msgid "OAuth Refresh Codes" msgstr "Códigos de actualización de OAuth" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #: src/pages/providers/ProviderWizard.ts #~ msgid "OAuth details" #~ msgstr "" @@ -6454,15 +6465,23 @@ msgstr "Use una llave de seguridad para demostrar su identidad." msgid "Use global settings" msgstr "Usar la configuración global" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "Use la dirección de correo electrónico del usuario, pero deniegue la inscripción cuando la dirección de correo electrónico ya exista." +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "Use el nombre de usuario del usuario, pero deniegue la inscripción cuando el nombre de usuario ya exista." +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "Use la dirección de correo electrónico del usuario, pero deniegue la inscripción cuando la dirección de correo electrónico ya exista." + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "Use el nombre de usuario del usuario, pero deniegue la inscripción cuando el nombre de usuario ya exista." #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index ba925e2e9..a4672d7ab 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -1718,6 +1718,10 @@ msgstr "Désignation" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "État détaillé (une instance par colonne, les données sont mises en cache et peuvent donc être périmée)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "Détermine comment authentik renvoie la réponse au fournisseur de services." @@ -1747,6 +1751,7 @@ msgid "Device(s)" msgstr "" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "" @@ -3087,22 +3092,24 @@ msgstr "Laisser l'utilisateur s'identifier lui-même avec son nom d'utilisateur msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "Lier à un utilisateur avec la même adresse e-mail. Peut avoir des implications de sécurité lorsqu'une source ne valide pas les adresses e-mail." +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "Lien vers un usager ayant un nom d'utilisateur identique. Peut poser des problèmes de sécurité si ce nom d'utilisateur est partagé avec une autre source." +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "Lien vers un usager ayant un nom d'utilisateur identique. Peut poser des problèmes de sécurité si ce nom d'utilisateur est partagé avec une autre source." #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "Lien pour utiliser l'invitation." -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "Lier les utilisateurs sur base d'un identifiant unique" @@ -3826,6 +3833,10 @@ msgstr "" msgid "OAuth Refresh Codes" msgstr "Code de rafraîchissement OAuth" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #: src/pages/providers/ProviderWizard.ts #~ msgid "OAuth details" #~ msgstr "" @@ -6512,15 +6523,23 @@ msgstr "Utilisez une clé de sécurité pour prouver votre identité." msgid "Use global settings" msgstr "Utiliser les paramètres globaux" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "Utiliser l'adresse courriel de l'utilisateur, mais refuser l'inscription lorsque celle-ci existe déjà." +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "Utiliser le nom d'utilisateur, mais refuser l'inscription si celui-ci existe déjà." +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "Utiliser l'adresse courriel de l'utilisateur, mais refuser l'inscription lorsque celle-ci existe déjà." + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "Utiliser le nom d'utilisateur, mais refuser l'inscription si celui-ci existe déjà." #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/pl.po b/web/src/locales/pl.po index 39395ef15..b4189d50e 100644 --- a/web/src/locales/pl.po +++ b/web/src/locales/pl.po @@ -1703,6 +1703,10 @@ msgstr "Przeznaczenie" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "Szczegółowa kondycja (jedna instancja na kolumnę, dane są buforowane, więc może nie być danych)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "Określa, w jaki sposób authentik przesyła odpowiedź z powrotem do Usługodawcy." @@ -1731,6 +1735,7 @@ msgid "Device(s)" msgstr "Urządzenie(a)" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "Diagram" @@ -3053,22 +3058,24 @@ msgstr "Pozwól użytkownikowi identyfikować się za pomocą swojej nazwy użyt msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "Łącz użytkownika z identycznym adresem e-mail. Może mieć wpływ na bezpieczeństwo, gdy źródło nie weryfikuje adresów e-mail" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "Łącz użytkownika o identycznej nazwie użytkownika. Może mieć wpływ na bezpieczeństwo, gdy nazwa użytkownika jest używana z innym źródłem." +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "Łącz użytkownika o identycznej nazwie użytkownika. Może mieć wpływ na bezpieczeństwo, gdy nazwa użytkownika jest używana z innym źródłem." #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "Link do korzystania z zaproszenia." -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "Łącz użytkowników za pomocą unikalnego identyfikatora" @@ -3789,6 +3796,10 @@ msgstr "Numer, z którego zostanie wysłana wiadomość SMS." msgid "OAuth Refresh Codes" msgstr "Kody odświeżania OAuth" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #: src/pages/providers/ProviderWizard.ts #~ msgid "OAuth details" #~ msgstr "" @@ -6451,15 +6462,23 @@ msgstr "Użyj klucza bezpieczeństwa, aby potwierdzić swoją tożsamość." msgid "Use global settings" msgstr "Użyj ustawień globalnych" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "Użyj adresu e-mail użytkownika, ale odrzuć rejestrację, gdy adres e-mail już istnieje." +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "Użyj nazwy użytkownika, ale odrzuć rejestrację, gdy nazwa użytkownika już istnieje." +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "Użyj adresu e-mail użytkownika, ale odrzuć rejestrację, gdy adres e-mail już istnieje." + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "Użyj nazwy użytkownika, ale odrzuć rejestrację, gdy nazwa użytkownika już istnieje." #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index 9dad4d884..296b64536 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -1719,6 +1719,10 @@ msgstr "" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "" @@ -1748,6 +1752,7 @@ msgid "Device(s)" msgstr "" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "" @@ -3097,22 +3102,24 @@ msgstr "" msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "" +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "" #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "" @@ -3839,6 +3846,10 @@ msgstr "" msgid "OAuth Refresh Codes" msgstr "" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #: src/pages/providers/ProviderWizard.ts #~ msgid "OAuth details" #~ msgstr "" @@ -6551,16 +6562,24 @@ msgstr "" msgid "Use global settings" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "" + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" msgstr "" +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "" + #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." msgstr "" diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index c17278569..09b40accf 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -1706,6 +1706,10 @@ msgstr "Tanımlama" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "Ayrıntılı sistem durumu (sütun başına bir örnek, veriler önbelleğe alınır, bu nedenle veri kalmamış olabilir)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "authentik'in yanıtı Servis Sağlayıcıya nasıl geri göndereceğini belirler." @@ -1734,6 +1738,7 @@ msgid "Device(s)" msgstr "Aygıt (ler)" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "Diyagram" @@ -3057,22 +3062,24 @@ msgstr "Kullanıcının kullanıcı adı veya E-posta adresi ile kendilerini tan msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "Aynı e-posta adresine sahip bir kullanıcıya bağlantı verin. Bir kaynak e-posta adreslerini doğrulamadığında güvenlik etkileri olabilir" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "Aynı kullanıcı adı olan bir kullanıcıya bağlantı verin. Bir kullanıcı adı başka bir kaynakla kullanıldığında güvenlik etkileri olabilir." +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "Aynı kullanıcı adı olan bir kullanıcıya bağlantı verin. Bir kullanıcı adı başka bir kaynakla kullanıldığında güvenlik etkileri olabilir." #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "Daveti kullanmak için bağlantı." -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "Kullanıcıları benzersiz tanımlayıcıya bağlama" @@ -3794,6 +3801,10 @@ msgstr "Numara SMS gönderilecektir." msgid "OAuth Refresh Codes" msgstr "OAuth Yenile Kodları" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #: src/pages/providers/ProviderWizard.ts #~ msgid "OAuth details" #~ msgstr "" @@ -6456,15 +6467,23 @@ msgstr "Kimliğinizi kanıtlamak için bir güvenlik anahtarı kullanın." msgid "Use global settings" msgstr "Genel ayarları kullan" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "Kullanıcının e-posta adresini kullanın, ancak e-posta adresi zaten varken kaydı reddedin." +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "Kullanıcının kullanıcı adını kullanın, ancak kullanıcı adı zaten varken kaydı reddedin." +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "Kullanıcının e-posta adresini kullanın, ancak e-posta adresi zaten varken kaydı reddedin." + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "Kullanıcının kullanıcı adını kullanın, ancak kullanıcı adı zaten varken kaydı reddedin." #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/zh-Hans.po b/web/src/locales/zh-Hans.po index d5f266157..edba05650 100644 --- a/web/src/locales/zh-Hans.po +++ b/web/src/locales/zh-Hans.po @@ -1701,6 +1701,10 @@ msgstr "指定" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "详细健康状况(每列一个实例,数据经过缓存,因此可能会缺少数据)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "确定 authentik 如何将响应发送回服务提供程序。" @@ -1729,6 +1733,7 @@ msgid "Device(s)" msgstr "设备" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "流程图" @@ -3040,22 +3045,24 @@ msgstr "让用户使用用户名或电子邮件地址来标识自己。" msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "链接到电子邮件地址相同的用户。当源不验证电子邮件地址时,可能会有安全隐患" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "链接到用户名相同的用户。当其他源使用相同用户名时,可能会有安全隐患。" +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "链接到用户名相同的用户。当其他源使用相同用户名时,可能会有安全隐患。" #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "使用邀请的链接。" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "使用唯一标识符链接用户" @@ -3774,6 +3781,10 @@ msgstr "短信的发信人号码。" msgid "OAuth Refresh Codes" msgstr "OAuth 刷新代码" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #~ msgid "OAuth details" #~ msgstr "OAuth 详情" @@ -6417,15 +6428,23 @@ msgstr "使用安全密钥证明您的身份。" msgid "Use global settings" msgstr "使用全局设置" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "使用用户的电子邮件地址,但在电子邮件地址已存在时拒绝注册。" +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "使用用户的用户名,但在用户名已存在时拒绝注册。" +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "使用用户的电子邮件地址,但在电子邮件地址已存在时拒绝注册。" + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "使用用户的用户名,但在用户名已存在时拒绝注册。" #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/zh-Hant.po b/web/src/locales/zh-Hant.po index 643b7f413..53d2dac5d 100644 --- a/web/src/locales/zh-Hant.po +++ b/web/src/locales/zh-Hant.po @@ -1703,6 +1703,10 @@ msgstr "指定" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "详细运行状况(每列一个实例,数据已缓存,因此可能没有数据)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "确定 authentik 如何将响应发送回服务提供商。" @@ -1731,6 +1735,7 @@ msgid "Device(s)" msgstr "设备" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "示意图" @@ -3044,22 +3049,24 @@ msgstr "让用户使用其用户名或电子邮件地址来标识自己。" msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "链接到具有相同电子邮件地址的用户。当源不验证电子邮件地址时,可能会产生安全隐患" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "链接到具有相同用户名的用户。当用户名与其他源一起使用时,可能会产生安全隐患。" +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "链接到具有相同用户名的用户。当用户名与其他源一起使用时,可能会产生安全隐患。" #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "使用邀请的链接。" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "使用唯一标识符链接用户" @@ -3778,6 +3785,10 @@ msgstr "发送短信的来源号码。" msgid "OAuth Refresh Codes" msgstr "OAuth 刷新代码" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #~ msgid "OAuth details" #~ msgstr "OAuth 详情" @@ -6426,15 +6437,23 @@ msgstr "使用安全密钥证明您的身份。" msgid "Use global settings" msgstr "使用全局设置" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "使用用户的电子邮件地址,但在电子邮件地址已存在时拒绝注册。" +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "使用用户的用户名,但在用户名已存在时拒绝注册。" +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "使用用户的电子邮件地址,但在电子邮件地址已存在时拒绝注册。" + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "使用用户的用户名,但在用户名已存在时拒绝注册。" #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page." diff --git a/web/src/locales/zh_TW.po b/web/src/locales/zh_TW.po index 988f0cde5..a37f3fb7f 100644 --- a/web/src/locales/zh_TW.po +++ b/web/src/locales/zh_TW.po @@ -1703,6 +1703,10 @@ msgstr "指定" msgid "Detailed health (one instance per column, data is cached so may be out of data)" msgstr "详细运行状况(每列一个实例,数据已缓存,因此可能没有数据)" +#: src/admin/sources/oauth/OAuthSourceViewPage.ts +msgid "Details" +msgstr "" + #: src/admin/providers/saml/SAMLProviderForm.ts msgid "Determines how authentik sends the response back to the Service Provider." msgstr "确定 authentik 如何将响应发送回服务提供商。" @@ -1731,6 +1735,7 @@ msgid "Device(s)" msgstr "设备" #: src/admin/flows/FlowViewPage.ts +#: src/admin/sources/oauth/OAuthSourceViewPage.ts msgid "Diagram" msgstr "示意图" @@ -3044,22 +3049,24 @@ msgstr "让用户使用其用户名或电子邮件地址来标识自己。" msgid "Link" msgstr "" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link to a user with identical email address. Can have security implications when a source doesn't validate email addresses" msgstr "链接到具有相同电子邮件地址的用户。当源不验证电子邮件地址时,可能会产生安全隐患" +#: src/admin/sources/oauth/utils.ts +msgid "Link to a user with identical username. Can have security implications when a username is used with another source" +msgstr "" + #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Link to a user with identical username. Can have security implications when a username is used with another source." -msgstr "链接到具有相同用户名的用户。当用户名与其他源一起使用时,可能会产生安全隐患。" +#~ msgid "Link to a user with identical username. Can have security implications when a username is used with another source." +#~ msgstr "链接到具有相同用户名的用户。当用户名与其他源一起使用时,可能会产生安全隐患。" #: src/admin/stages/invitation/InvitationListLink.ts msgid "Link to use the invitation." msgstr "使用邀请的链接。" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts +#: src/admin/sources/oauth/utils.ts msgid "Link users on unique identifier" msgstr "使用唯一标识符链接用户" @@ -3778,6 +3785,10 @@ msgstr "发送短信的来源号码。" msgid "OAuth Refresh Codes" msgstr "OAuth 刷新代码" +#: src/admin/sources/oauth/OAuthSourceDiagram.ts +msgid "OAuth Source {0}" +msgstr "" + #~ msgid "OAuth details" #~ msgstr "OAuth 详情" @@ -6426,15 +6437,23 @@ msgstr "使用安全密钥证明您的身份。" msgid "Use global settings" msgstr "使用全局设置" -#: src/admin/sources/oauth/OAuthSourceForm.ts -#: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's email address, but deny enrollment when the email address already exists." -msgstr "使用用户的电子邮件地址,但在电子邮件地址已存在时拒绝注册。" +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's email address, but deny enrollment when the email address already exists" +msgstr "" #: src/admin/sources/oauth/OAuthSourceForm.ts #: src/admin/sources/plex/PlexSourceForm.ts -msgid "Use the user's username, but deny enrollment when the username already exists." -msgstr "使用用户的用户名,但在用户名已存在时拒绝注册。" +#~ msgid "Use the user's email address, but deny enrollment when the email address already exists." +#~ msgstr "使用用户的电子邮件地址,但在电子邮件地址已存在时拒绝注册。" + +#: src/admin/sources/oauth/utils.ts +msgid "Use the user's username, but deny enrollment when the username already exists" +msgstr "" + +#: src/admin/sources/oauth/OAuthSourceForm.ts +#: src/admin/sources/plex/PlexSourceForm.ts +#~ msgid "Use the user's username, but deny enrollment when the username already exists." +#~ msgstr "使用用户的用户名,但在用户名已存在时拒绝注册。" #: src/admin/users/ServiceAccountForm.ts msgid "Use the username and password below to authenticate. The password can be retrieved later on the Tokens page."