web/admin: fix linting

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-04-06 10:46:06 +02:00
parent a6674440e6
commit 2a1af96838
11 changed files with 53 additions and 1 deletions

View File

@ -498,6 +498,7 @@ msgstr "Der für die SAML Assertion verwendete Attributname. Kann eine URN OID,
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "Attribute" msgstr "Attribute"
@ -4537,6 +4538,10 @@ msgstr "Legen Sie einen benutzerdefinierten HTTP-Basic Authentication-Header fes
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "Selbstdefinierte Attribute können mittels YAML oder JSON festgelegt werden." msgstr "Selbstdefinierte Attribute können mittels YAML oder JSON festgelegt werden."
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -489,6 +489,7 @@ msgstr "Attribute name used for SAML Assertions. Can be a URN OID, a schema refe
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "Attributes" msgstr "Attributes"
@ -4625,6 +4626,10 @@ msgstr "Set a custom HTTP-Basic Authentication header based on values from authe
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "Set custom attributes using YAML or JSON." msgstr "Set custom attributes using YAML or JSON."
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -485,6 +485,7 @@ msgstr "Nombre de atributo utilizado para aserciones SAML. Puede ser un OID de U
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "atributos" msgstr "atributos"
@ -4530,6 +4531,10 @@ msgstr "Establezca un encabezado de autenticación básica HTTP personalizado en
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "Establece atributos personalizados con YAML o JSON." msgstr "Establece atributos personalizados con YAML o JSON."
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -490,6 +490,7 @@ msgstr "Nom de l'attribut utilisé pour les assertions SAML. Peut être un OID U
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "Attributs" msgstr "Attributs"
@ -4579,6 +4580,10 @@ msgstr "Définir un en-tête d'authentification HTTP-Basic personnalisé basé s
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "Définissez des attributs personnalisés via YAML ou JSON." msgstr "Définissez des attributs personnalisés via YAML ou JSON."
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -485,6 +485,7 @@ msgstr "Nazwa atrybutu używana w asercjach SAML. Może być identyfikatorem URN
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "Atrybuty" msgstr "Atrybuty"
@ -4527,6 +4528,10 @@ msgstr "Ustaw niestandardowy nagłówek HTTP-Basic Authentication na podstawie w
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "Ustaw atrybuty niestandardowe za pomocą YAML lub JSON." msgstr "Ustaw atrybuty niestandardowe za pomocą YAML lub JSON."
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -481,6 +481,7 @@ msgstr ""
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "" msgstr ""
@ -4605,6 +4606,10 @@ msgstr ""
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "" msgstr ""
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -485,6 +485,7 @@ msgstr "SAML Onaylamaları için kullanılan öznitelik adı. URN OID, şema ref
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "Öznitellikler" msgstr "Öznitellikler"
@ -4532,6 +4533,10 @@ msgstr "authentik değerlerine göre özel bir HTTP-Basic Kimlik Doğrulama baş
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "YAML veya JSON kullanarak özel nitelikleri ayarlayın." msgstr "YAML veya JSON kullanarak özel nitelikleri ayarlayın."
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -486,6 +486,7 @@ msgstr "用于 SAML 断言的属性名称。可以是 URN OID、Schema Reference
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "属性" msgstr "属性"
@ -4500,6 +4501,10 @@ msgstr "根据来自 authentik 的值设置自定义 HTTP-Basic 身份验证标
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "使用 YAML 或 JSON 设置自定义属性。" msgstr "使用 YAML 或 JSON 设置自定义属性。"
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -486,6 +486,7 @@ msgstr "用于 SAML 断言的属性名称。可以是 URN OID 模式引用或
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "属性" msgstr "属性"
@ -4500,6 +4501,10 @@ msgstr "根据来自 authentik 的值设置自定义 HTTP-Basic 身份验证标
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "使用 YAML 或 JSON 设置自定义属性。" msgstr "使用 YAML 或 JSON 设置自定义属性。"
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -486,6 +486,7 @@ msgstr "用于 SAML 断言的属性名称。可以是 URN OID 模式引用或
#: src/pages/groups/GroupForm.ts #: src/pages/groups/GroupForm.ts
#: src/pages/stages/invitation/InvitationForm.ts #: src/pages/stages/invitation/InvitationForm.ts
#: src/pages/tenants/TenantForm.ts
#: src/pages/users/UserForm.ts #: src/pages/users/UserForm.ts
msgid "Attributes" msgid "Attributes"
msgstr "属性" msgstr "属性"
@ -4500,6 +4501,10 @@ msgstr "根据来自 authentik 的值设置自定义 HTTP-Basic 身份验证标
msgid "Set custom attributes using YAML or JSON." msgid "Set custom attributes using YAML or JSON."
msgstr "使用 YAML 或 JSON 设置自定义属性。" msgstr "使用 YAML 或 JSON 设置自定义属性。"
#: src/pages/tenants/TenantForm.ts
msgid "Set custom attributes using YAML or JSON. Any attributes set here will be inherited by users, if the request is handled by this tenant."
msgstr ""
#: src/pages/users/RelatedUserList.ts #: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts
msgid "Set password" msgid "Set password"

View File

@ -1,6 +1,7 @@
import { t } from "@lingui/macro";
import YAML from "yaml"; import YAML from "yaml";
import { t } from "@lingui/macro";
import { TemplateResult, html } from "lit"; import { TemplateResult, html } from "lit";
import { customElement } from "lit/decorators.js"; import { customElement } from "lit/decorators.js";
import { ifDefined } from "lit/directives/if-defined.js"; import { ifDefined } from "lit/directives/if-defined.js";
@ -15,6 +16,7 @@ import {
} from "@goauthentik/api"; } from "@goauthentik/api";
import { DEFAULT_CONFIG } from "../../api/Config"; import { DEFAULT_CONFIG } from "../../api/Config";
import "../../elements/CodeMirror";
import "../../elements/forms/FormGroup"; import "../../elements/forms/FormGroup";
import "../../elements/forms/HorizontalFormElement"; import "../../elements/forms/HorizontalFormElement";
import { ModelForm } from "../../elements/forms/ModelForm"; import { ModelForm } from "../../elements/forms/ModelForm";