diff --git a/web/src/admin/users/UserDevicesTable.ts b/web/src/admin/users/UserDevicesTable.ts index b120c3265..06ead21df 100644 --- a/web/src/admin/users/UserDevicesTable.ts +++ b/web/src/admin/users/UserDevicesTable.ts @@ -15,6 +15,8 @@ export class UserDeviceTable extends Table { @property({ type: Number }) userId?: number; + checkbox = true; + async apiEndpoint(): Promise> { return new AuthenticatorsApi(DEFAULT_CONFIG) .authenticatorsAdminAllList({ @@ -64,6 +66,21 @@ export class UserDeviceTable extends Table { } } + renderToolbarSelected(): TemplateResult { + const disabled = this.selectedElements.length < 1; + return html` { + return this.deleteWrapper(item); + }} + > + + `; + } + renderToolbar(): TemplateResult { return html` { diff --git a/web/xliff/zh-Hans.xlf b/web/xliff/zh-Hans.xlf index c550b14b3..96bfb9808 100644 --- a/web/xliff/zh-Hans.xlf +++ b/web/xliff/zh-Hans.xlf @@ -1,4 +1,4 @@ - + @@ -613,9 +613,9 @@ - The URL "" was not found. - 未找到 URL " - "。 + The URL "" was not found. + 未找到 URL " + "。 @@ -1057,8 +1057,8 @@ - To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. - 要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。 + To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. + 要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。 @@ -1799,8 +1799,8 @@ - Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". - 输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。 + Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". + 输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。 @@ -2562,31 +2562,6 @@ If the password's score is less than or equal this value, the policy will fail. 如果密码分数小于等于此值,则策略失败。 - - - 0: Too guessable: risky password. (guesses < 10^3) - 0:过于易猜测:密码有风险。(猜测次数 < 10^3) - - - - 1: Very guessable: protection from throttled online attacks. (guesses < 10^6) - 1:非常易猜测:可以防范受限的在线攻击。(猜测次数 < 10^6) - - - - 2: Somewhat guessable: protection from unthrottled online attacks. (guesses < 10^8) - 2:有些易猜测:可以防范不受限的在线攻击。(猜测次数 < 10^8) - - - - 3: Safely unguessable: moderate protection from offline slow-hash scenario. (guesses < 10^10) - 3:难以猜测:适度防范离线慢速哈希场景。(猜测次数 < 10^10) - - - - 4: Very unguessable: strong protection from offline slow-hash scenario. (guesses >= 10^10) - 4:非常难以猜测:高度防范离线慢速哈希场景。(猜测次数 >= 10^10) - Checks the value from the policy request against several rules, mostly used to ensure password strength. @@ -3013,8 +2988,8 @@ doesn't pass when either or both of the selected options are equal or above the - 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,...' - 包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...' + 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,...' + 包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...' @@ -3806,8 +3781,8 @@ doesn't pass when either or both of the selected options are equal or above the - When using an external logging solution for archiving, this can be set to "minutes=5". - 使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。 + When using an external logging solution for archiving, this can be set to "minutes=5". + 使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。 @@ -3816,8 +3791,8 @@ doesn't pass when either or both of the selected options are equal or above the - Format: "weeks=3;days=2;hours=3,seconds=2". - 格式:"weeks=3;days=2;hours=3,seconds=2"。 + Format: "weeks=3;days=2;hours=3,seconds=2". + 格式:"weeks=3;days=2;hours=3,seconds=2"。 @@ -4013,10 +3988,10 @@ doesn't pass when either or both of the selected options are equal or above the - Are you sure you want to update ""? + Are you sure you want to update ""? 您确定要更新 - " - " 吗? + " + " 吗? @@ -5102,7 +5077,7 @@ doesn't pass when either or both of the selected options are equal or above the - A "roaming" authenticator, like a YubiKey + A "roaming" authenticator, like a YubiKey 像 YubiKey 这样的“漫游”身份验证器 @@ -5437,10 +5412,10 @@ doesn't pass when either or both of the selected options are equal or above the - ("", of type ) + ("", of type ) - (" - ",类型为 + (" + ",类型为 @@ -5489,7 +5464,7 @@ doesn't pass when either or both of the selected options are equal or above the - 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. + 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. 如果设置时长大于 0,用户可以选择“保持登录”选项,这将使用户的会话延长此处设置的时间。 @@ -6585,9 +6560,9 @@ Bindings to groups/users are checked against the user of the event. - You're currently impersonating . Click to stop. + You're currently impersonating . Click to stop. 您目前正在模拟 - 的身份。点击以停止。 + 的身份。点击以停止。 @@ -7941,7 +7916,79 @@ Bindings to groups/users are checked against the user of the event. User type used for newly created users. 新创建用户使用的用户类型。 + + + Users created + 已创建用户 + + + Failed logins + 失败登录 + + + Also known as Client ID. + 也称为客户端 ID。 + + + Also known as Client Secret. + 也称为客户端密钥。 + + + Global status + 全局状态 + + + Vendor + 供应商 + + + No sync status. + 无同步状态。 + + + Sync currently running. + 当前正在同步。 + + + Connectivity + 连接性 + + + 0: Too guessable: risky password. (guesses &lt; 10^3) + 0:过于易猜测:密码有风险。(猜测次数 &lt; 10^3) + + + 1: Very guessable: protection from throttled online attacks. (guesses &lt; 10^6) + 1:非常易猜测:可以防范受限的在线攻击。(猜测次数 &lt; 10^6) + + + 2: Somewhat guessable: protection from unthrottled online attacks. (guesses &lt; 10^8) + 2:有些易猜测:可以防范不受限的在线攻击。(猜测次数 &lt; 10^8) + + + 3: Safely unguessable: moderate protection from offline slow-hash scenario. (guesses &lt; 10^10) + 3:难以猜测:适度防范离线慢速哈希场景。(猜测次数 &lt; 10^10) + + + 4: Very unguessable: strong protection from offline slow-hash scenario. (guesses &gt;= 10^10) + 4:非常难以猜测:高度防范离线慢速哈希场景。(猜测次数 &gt;= 10^10) + + + Successfully created user and added to group + 成功创建用户并添加到组 + + + This user will be added to the group "". + 此用户将会被添加到组 &quot;&quot;。 + + + Pretend user exists + 假作用户存在 + + + When enabled, the stage will always accept the given user identifier and continue. + 启用时,此阶段总是会接受指定的用户 ID 并继续。 - \ No newline at end of file +