web/admin: small fixes (#7292)

* show user type better on admin interface

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix rendering for backchannel in app form

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix missing trailing slash in admin redirect

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-10-25 18:25:37 +02:00 committed by GitHub
parent add873ca9b
commit 7673e5a297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 231 additions and 109 deletions

View File

@ -121,7 +121,7 @@ export class AdminInterface extends Interface {
// TODO: somehow add `access_admin_interface` to the API schema // TODO: somehow add `access_admin_interface` to the API schema
this.user.user.systemPermissions.includes("access_admin_interface"); this.user.user.systemPermissions.includes("access_admin_interface");
if (!canAccessAdmin && this.user.user.pk > 0) { if (!canAccessAdmin && this.user.user.pk > 0) {
window.location.assign("/if/user"); window.location.assign("/if/user/");
} }
} }

View File

@ -65,7 +65,7 @@ export class AkBackchannelProvidersInput extends AKElement {
<div class="pf-c-input-group"> <div class="pf-c-input-group">
<ak-provider-select-table ?backchannelOnly=${true} .confirm=${confirm}> <ak-provider-select-table ?backchannelOnly=${true} .confirm=${confirm}>
<button slot="trigger" class="pf-c-button pf-m-control" type="button"> <button slot="trigger" class="pf-c-button pf-m-control" type="button">
$ {this.tooltip ? this.tooltip : nothing } ${this.tooltip ? this.tooltip : nothing}
<i class="fas fa-plus" aria-hidden="true"></i> <i class="fas fa-plus" aria-hidden="true"></i>
</button> </button>
</ak-provider-select-table> </ak-provider-select-table>

View File

@ -6,6 +6,7 @@ import "@goauthentik/admin/users/UserPasswordForm";
import "@goauthentik/admin/users/UserResetEmailForm"; import "@goauthentik/admin/users/UserResetEmailForm";
import { me } from "@goauthentik/app/common/users"; import { me } from "@goauthentik/app/common/users";
import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; import { DEFAULT_CONFIG } from "@goauthentik/common/api/config";
import { userTypeToLabel } from "@goauthentik/common/labels";
import { MessageLevel } from "@goauthentik/common/messages"; import { MessageLevel } from "@goauthentik/common/messages";
import { DefaultUIConfig, uiConfig } from "@goauthentik/common/ui/config"; import { DefaultUIConfig, uiConfig } from "@goauthentik/common/ui/config";
import { first } from "@goauthentik/common/utils"; import { first } from "@goauthentik/common/utils";
@ -247,9 +248,9 @@ export class UserListPage extends TablePage<User> {
item.pk !== this.me?.user.pk; item.pk !== this.me?.user.pk;
return [ return [
html`<a href="#/identity/users/${item.pk}"> html`<a href="#/identity/users/${item.pk}">
<div>${item.username}</div> <div>${item.username}</div>
<small>${item.name}</small> <small>${item.name === "" ? msg("<No name set>") : item.name}</small> </a
</a>`, >&nbsp;<small>${userTypeToLabel(item.type)}</small>`,
html`<ak-label color=${item.isActive ? PFColor.Green : PFColor.Red}> html`<ak-label color=${item.isActive ? PFColor.Green : PFColor.Red}>
${item.isActive ? msg("Yes") : msg("No")} ${item.isActive ? msg("Yes") : msg("No")}
</ak-label>`, </ak-label>`,

View File

@ -13,6 +13,7 @@ import { me } from "@goauthentik/app/common/users";
import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; import "@goauthentik/app/elements/rbac/ObjectPermissionsPage";
import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; import { DEFAULT_CONFIG } from "@goauthentik/common/api/config";
import { EVENT_REFRESH } from "@goauthentik/common/constants"; import { EVENT_REFRESH } from "@goauthentik/common/constants";
import { userTypeToLabel } from "@goauthentik/common/labels";
import "@goauthentik/components/events/ObjectChangelog"; import "@goauthentik/components/events/ObjectChangelog";
import "@goauthentik/components/events/UserEvents"; import "@goauthentik/components/events/UserEvents";
import { AKElement, rootInterface } from "@goauthentik/elements/Base"; import { AKElement, rootInterface } from "@goauthentik/elements/Base";
@ -188,6 +189,16 @@ export class UserViewPage extends AKElement {
</div> </div>
</dd> </dd>
</div> </div>
<div class="pf-c-description-list__group">
<dt class="pf-c-description-list__term">
<span class="pf-c-description-list__text">${msg("Type")}</span>
</dt>
<dd class="pf-c-description-list__description">
<div class="pf-c-description-list__text">
${userTypeToLabel(user.type)}
</div>
</dd>
</div>
<div class="pf-c-description-list__group"> <div class="pf-c-description-list__group">
<dt class="pf-c-description-list__term"> <dt class="pf-c-description-list__term">
<span class="pf-c-description-list__text">${msg("Superuser")}</span> <span class="pf-c-description-list__text">${msg("Superuser")}</span>

View File

@ -1,6 +1,6 @@
import { msg } from "@lit/localize"; import { msg } from "@lit/localize";
import { Device, EventActions, IntentEnum, SeverityEnum } from "@goauthentik/api"; import { Device, EventActions, IntentEnum, SeverityEnum, UserTypeEnum } from "@goauthentik/api";
/* Various tables in the API for which we need to supply labels */ /* Various tables in the API for which we need to supply labels */
@ -65,3 +65,13 @@ export const deviceTypeToLabel = new Map<string, string>([
export const deviceTypeName = (device: Device) => export const deviceTypeName = (device: Device) =>
deviceTypeToLabel.get(device.type) ?? device?.verboseName ?? ""; deviceTypeToLabel.get(device.type) ?? device?.verboseName ?? "";
const _userTypeToLabel = new Map<UserTypeEnum | undefined, string>([
[UserTypeEnum.Internal, msg("Internal")],
[UserTypeEnum.External, msg("External")],
[UserTypeEnum.ServiceAccount, msg("Service account")],
[UserTypeEnum.InternalServiceAccount, msg("Service account (internal)")],
]);
export const userTypeToLabel = (type?: UserTypeEnum): string =>
_userTypeToLabel.get(type) ?? type ?? "";

View File

@ -518,9 +518,6 @@
<trans-unit id="sfffb0d0958bfbc42"> <trans-unit id="sfffb0d0958bfbc42">
<source>Manage users</source> <source>Manage users</source>
</trans-unit> </trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
</trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
<target>Outpost Status</target> <target>Outpost Status</target>
@ -545,10 +542,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>Objekte erstellt</target> <target>Objekte erstellt</target>
</trans-unit> </trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>Benutzerstatistiken</target>
</trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
<target>Benutzer, die im letzten Monat pro Tag erstellt wurden</target> <target>Benutzer, die im letzten Monat pro Tag erstellt wurden</target>
@ -6020,6 +6013,24 @@ Bindings to groups/users are checked against the user of the event.</source>
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -531,10 +531,6 @@
<source>Manage users</source> <source>Manage users</source>
<target>Manage users</target> <target>Manage users</target>
</trans-unit> </trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
<target>Check release notes</target>
</trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
<target>Outpost status</target> <target>Outpost status</target>
@ -560,10 +556,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>Objects created</target> <target>Objects created</target>
</trans-unit> </trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>User statistics</target>
</trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
<target>Users created per day in the last month</target> <target>Users created per day in the last month</target>
@ -6302,6 +6294,24 @@ Bindings to groups/users are checked against the user of the event.</source>
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -511,9 +511,6 @@
<trans-unit id="sfffb0d0958bfbc42"> <trans-unit id="sfffb0d0958bfbc42">
<source>Manage users</source> <source>Manage users</source>
</trans-unit> </trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
</trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
<target>Estado de avanzada</target> <target>Estado de avanzada</target>
@ -538,10 +535,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>Objetos creados</target> <target>Objetos creados</target>
</trans-unit> </trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>Estadísticas de los usuarios</target>
</trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
<target>Usuarios creados por día en el último mes</target> <target>Usuarios creados por día en el último mes</target>
@ -5935,6 +5928,24 @@ Bindings to groups/users are checked against the user of the event.</source>
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -658,11 +658,6 @@ Il y a <x id="0" equiv-text="${ago}"/> jour(s)</target>
<source>Manage users</source> <source>Manage users</source>
<target>Gérer les utilisateurs</target> <target>Gérer les utilisateurs</target>
</trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
<target>Voir les notes de version</target>
</trans-unit> </trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
@ -694,11 +689,6 @@ Il y a <x id="0" equiv-text="${ago}"/> jour(s)</target>
<source>Objects created</source> <source>Objects created</source>
<target>Objets créés</target> <target>Objets créés</target>
</trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>Statistiques utilisateur</target>
</trans-unit> </trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
@ -7875,6 +7865,24 @@ Les liaisons avec les groupes/utilisateurs sont vérifiées par rapport à l'uti
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -520,9 +520,6 @@
<trans-unit id="sfffb0d0958bfbc42"> <trans-unit id="sfffb0d0958bfbc42">
<source>Manage users</source> <source>Manage users</source>
</trans-unit> </trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
</trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
<target>Status placówki</target> <target>Status placówki</target>
@ -547,10 +544,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>Utworzone obiekty</target> <target>Utworzone obiekty</target>
</trans-unit> </trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>Statystyki użytkowników</target>
</trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
<target>Użytkownicy stworzeni dziennie w ciągu ostatniego miesiąca</target> <target>Użytkownicy stworzeni dziennie w ciągu ostatniego miesiąca</target>
@ -6143,6 +6136,24 @@ Bindings to groups/users are checked against the user of the event.</source>
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -646,11 +646,6 @@
<source>Manage users</source> <source>Manage users</source>
<target>Màńàĝē ũśēŕś</target> <target>Màńàĝē ũśēŕś</target>
</trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
<target>Ćĥēćķ ŕēĺēàśē ńōţēś</target>
</trans-unit> </trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
@ -681,11 +676,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>ŌƀĴēćţś ćŕēàţēď</target> <target>ŌƀĴēćţś ćŕēàţēď</target>
</trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>Ũśēŕ śţàţĩśţĩćś</target>
</trans-unit> </trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
@ -7836,4 +7826,22 @@ Bindings to groups/users are checked against the user of the event.</source>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit> </trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit>
</body></file></xliff> </body></file></xliff>

View File

@ -511,9 +511,6 @@
<trans-unit id="sfffb0d0958bfbc42"> <trans-unit id="sfffb0d0958bfbc42">
<source>Manage users</source> <source>Manage users</source>
</trans-unit> </trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
</trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
<target>Üs durumu</target> <target>Üs durumu</target>
@ -538,10 +535,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>Oluşturulan nesneler</target> <target>Oluşturulan nesneler</target>
</trans-unit> </trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>Kullanıcı istatistikleri</target>
</trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
<target>Son ay içinde günlük oluşturulan kullanıcılar</target> <target>Son ay içinde günlük oluşturulan kullanıcılar</target>
@ -5928,6 +5921,24 @@ Bindings to groups/users are checked against the user of the event.</source>
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" ?><xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"> <?xml version="1.0"?><xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file target-language="zh-Hans" source-language="en" original="lit-localize-inputs" datatype="plaintext"> <file target-language="zh-Hans" source-language="en" original="lit-localize-inputs" datatype="plaintext">
<body> <body>
<trans-unit id="s4caed5b7a7e5d89b"> <trans-unit id="s4caed5b7a7e5d89b">
@ -613,9 +613,9 @@
</trans-unit> </trans-unit>
<trans-unit id="saa0e2675da69651b"> <trans-unit id="saa0e2675da69651b">
<source>The URL &quot;<x id="0" equiv-text="${this.url}"/>&quot; was not found.</source> <source>The URL "<x id="0" equiv-text="${this.url}"/>" was not found.</source>
<target>未找到 URL &quot; <target>未找到 URL "
<x id="0" equiv-text="${this.url}"/>&quot;。</target> <x id="0" equiv-text="${this.url}"/>"。</target>
</trans-unit> </trans-unit>
<trans-unit id="s58cd9c2fe836d9c6"> <trans-unit id="s58cd9c2fe836d9c6">
@ -658,11 +658,6 @@
<source>Manage users</source> <source>Manage users</source>
<target>管理用户</target> <target>管理用户</target>
</trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
<target>查看发行日志</target>
</trans-unit> </trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
@ -694,11 +689,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>已创建对象</target> <target>已创建对象</target>
</trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>用户统计</target>
</trans-unit> </trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
@ -1067,8 +1057,8 @@
</trans-unit> </trans-unit>
<trans-unit id="sa8384c9c26731f83"> <trans-unit id="sa8384c9c26731f83">
<source>To allow any redirect URI, set this value to &quot;.*&quot;. Be aware of the possible security implications this can have.</source> <source>To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have.</source>
<target>要允许任何重定向 URI请将此值设置为 &quot;.*&quot;。请注意这可能带来的安全影响。</target> <target>要允许任何重定向 URI请将此值设置为 ".*"。请注意这可能带来的安全影响。</target>
</trans-unit> </trans-unit>
<trans-unit id="s55787f4dfcdce52b"> <trans-unit id="s55787f4dfcdce52b">
@ -1809,8 +1799,8 @@
</trans-unit> </trans-unit>
<trans-unit id="sa90b7809586c35ce"> <trans-unit id="sa90b7809586c35ce">
<source>Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon &quot;fa-test&quot;.</source> <source>Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test".</source>
<target>输入完整 URL、相对路径或者使用 'fa://fa-test' 来使用 Font Awesome 图标 &quot;fa-test&quot;。</target> <target>输入完整 URL、相对路径或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。</target>
</trans-unit> </trans-unit>
<trans-unit id="s0410779cb47de312"> <trans-unit id="s0410779cb47de312">
@ -3023,8 +3013,8 @@ doesn't pass when either or both of the selected options are equal or above the
</trans-unit> </trans-unit>
<trans-unit id="s76768bebabb7d543"> <trans-unit id="s76768bebabb7d543">
<source>Field which contains members of a group. Note that if using the &quot;memberUid&quot; field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...'</source> <source>Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...'</source>
<target>包含组成员的字段。请注意,如果使用 &quot;memberUid&quot; 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...'</target> <target>包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...'</target>
</trans-unit> </trans-unit>
<trans-unit id="s026555347e589f0e"> <trans-unit id="s026555347e589f0e">
@ -3816,8 +3806,8 @@ doesn't pass when either or both of the selected options are equal or above the
</trans-unit> </trans-unit>
<trans-unit id="s7b1fba26d245cb1c"> <trans-unit id="s7b1fba26d245cb1c">
<source>When using an external logging solution for archiving, this can be set to &quot;minutes=5&quot;.</source> <source>When using an external logging solution for archiving, this can be set to "minutes=5".</source>
<target>使用外部日志记录解决方案进行存档时,可以将其设置为 &quot;minutes=5&quot;。</target> <target>使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。</target>
</trans-unit> </trans-unit>
<trans-unit id="s44536d20bb5c8257"> <trans-unit id="s44536d20bb5c8257">
@ -3826,8 +3816,8 @@ doesn't pass when either or both of the selected options are equal or above the
</trans-unit> </trans-unit>
<trans-unit id="s3bb51cabb02b997e"> <trans-unit id="s3bb51cabb02b997e">
<source>Format: &quot;weeks=3;days=2;hours=3,seconds=2&quot;.</source> <source>Format: "weeks=3;days=2;hours=3,seconds=2".</source>
<target>格式:&quot;weeks=3;days=2;hours=3,seconds=2&quot;。</target> <target>格式:"weeks=3;days=2;hours=3,seconds=2"。</target>
</trans-unit> </trans-unit>
<trans-unit id="s04bfd02201db5ab8"> <trans-unit id="s04bfd02201db5ab8">
@ -4023,10 +4013,10 @@ doesn't pass when either or both of the selected options are equal or above the
</trans-unit> </trans-unit>
<trans-unit id="sa95a538bfbb86111"> <trans-unit id="sa95a538bfbb86111">
<source>Are you sure you want to update <x id="0" equiv-text="${this.objectLabel}"/> &quot;<x id="1" equiv-text="${this.obj?.name}"/>&quot;?</source> <source>Are you sure you want to update <x id="0" equiv-text="${this.objectLabel}"/> "<x id="1" equiv-text="${this.obj?.name}"/>"?</source>
<target>您确定要更新 <target>您确定要更新
<x id="0" equiv-text="${this.objectLabel}"/>&quot; <x id="0" equiv-text="${this.objectLabel}"/>"
<x id="1" equiv-text="${this.obj?.name}"/>&quot; 吗?</target> <x id="1" equiv-text="${this.obj?.name}"/>" 吗?</target>
</trans-unit> </trans-unit>
<trans-unit id="sc92d7cfb6ee1fec6"> <trans-unit id="sc92d7cfb6ee1fec6">
@ -5112,7 +5102,7 @@ doesn't pass when either or both of the selected options are equal or above the
</trans-unit> </trans-unit>
<trans-unit id="sdf1d8edef27236f0"> <trans-unit id="sdf1d8edef27236f0">
<source>A &quot;roaming&quot; authenticator, like a YubiKey</source> <source>A "roaming" authenticator, like a YubiKey</source>
<target>像 YubiKey 这样的“漫游”身份验证器</target> <target>像 YubiKey 这样的“漫游”身份验证器</target>
</trans-unit> </trans-unit>
@ -5447,10 +5437,10 @@ doesn't pass when either or both of the selected options are equal or above the
</trans-unit> </trans-unit>
<trans-unit id="s2d5f69929bb7221d"> <trans-unit id="s2d5f69929bb7221d">
<source><x id="0" equiv-text="${prompt.name}"/> (&quot;<x id="1" equiv-text="${prompt.fieldKey}"/>&quot;, of type <x id="2" equiv-text="${prompt.type}"/>)</source> <source><x id="0" equiv-text="${prompt.name}"/> ("<x id="1" equiv-text="${prompt.fieldKey}"/>", of type <x id="2" equiv-text="${prompt.type}"/>)</source>
<target> <target>
<x id="0" equiv-text="${prompt.name}"/>&quot; <x id="0" equiv-text="${prompt.name}"/>"
<x id="1" equiv-text="${prompt.fieldKey}"/>&quot;,类型为 <x id="1" equiv-text="${prompt.fieldKey}"/>",类型为
<x id="2" equiv-text="${prompt.type}"/></target> <x id="2" equiv-text="${prompt.type}"/></target>
</trans-unit> </trans-unit>
@ -5499,7 +5489,7 @@ doesn't pass when either or both of the selected options are equal or above the
</trans-unit> </trans-unit>
<trans-unit id="s1608b2f94fa0dbd4"> <trans-unit id="s1608b2f94fa0dbd4">
<source>If set to a duration above 0, the user will have the option to choose to &quot;stay signed in&quot;, which will extend their session by the time specified here.</source> <source>If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here.</source>
<target>如果设置时长大于 0用户可以选择“保持登录”选项这将使用户的会话延长此处设置的时间。</target> <target>如果设置时长大于 0用户可以选择“保持登录”选项这将使用户的会话延长此处设置的时间。</target>
</trans-unit> </trans-unit>
@ -7919,6 +7909,24 @@ Bindings to groups/users are checked against the user of the event.</source>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
<target>创建恢复链接</target> <target>创建恢复链接</target>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -518,9 +518,6 @@
<trans-unit id="sfffb0d0958bfbc42"> <trans-unit id="sfffb0d0958bfbc42">
<source>Manage users</source> <source>Manage users</source>
</trans-unit> </trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
</trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
<target>Outpost 状态</target> <target>Outpost 状态</target>
@ -545,10 +542,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>已创建对象</target> <target>已创建对象</target>
</trans-unit> </trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>用户统计</target>
</trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
<target>上个月每天创建的用户</target> <target>上个月每天创建的用户</target>
@ -5976,6 +5969,24 @@ Bindings to groups/users are checked against the user of the event.</source>
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>

View File

@ -518,9 +518,6 @@
<trans-unit id="sfffb0d0958bfbc42"> <trans-unit id="sfffb0d0958bfbc42">
<source>Manage users</source> <source>Manage users</source>
</trans-unit> </trans-unit>
<trans-unit id="s51cda7b1ebcd970f">
<source>Check release notes</source>
</trans-unit>
<trans-unit id="s8763a33c3d46aaf5"> <trans-unit id="s8763a33c3d46aaf5">
<source>Outpost status</source> <source>Outpost status</source>
<target>Outpost 状态</target> <target>Outpost 状态</target>
@ -545,10 +542,6 @@
<source>Objects created</source> <source>Objects created</source>
<target>已创建对象</target> <target>已创建对象</target>
</trans-unit> </trans-unit>
<trans-unit id="s770baa8560fd8aa1">
<source>User statistics</source>
<target>用户统计</target>
</trans-unit>
<trans-unit id="sfbadb77fbc61efb8"> <trans-unit id="sfbadb77fbc61efb8">
<source>Users created per day in the last month</source> <source>Users created per day in the last month</source>
<target>上个月每天创建的用户</target> <target>上个月每天创建的用户</target>
@ -5975,6 +5968,24 @@ Bindings to groups/users are checked against the user of the event.</source>
</trans-unit> </trans-unit>
<trans-unit id="se5c795faf2c07514"> <trans-unit id="se5c795faf2c07514">
<source>Create Recovery Link</source> <source>Create Recovery Link</source>
</trans-unit>
<trans-unit id="s84fcddede27b8e2a">
<source>External</source>
</trans-unit>
<trans-unit id="s1a635369edaf4dc3">
<source>Service account</source>
</trans-unit>
<trans-unit id="sff930bf2834e2201">
<source>Service account (internal)</source>
</trans-unit>
<trans-unit id="s66313b45b69cfc88">
<source>Check the release notes</source>
</trans-unit>
<trans-unit id="sb4d7bae2440d9781">
<source>User Statistics</source>
</trans-unit>
<trans-unit id="s0924f51b028233a3">
<source>&lt;No name set&gt;</source>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>