Merge branch 'main' into application-wizard-2-with-api-and-tests

* main:
  web: Updates to the Context and Tasks libraries from lit. (#7168)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#7197)
This commit is contained in:
Ken Sternberg 2023-10-17 12:49:57 -07:00
commit 965353f45d
6 changed files with 1272 additions and 4457 deletions

View File

@ -51,6 +51,11 @@ updates:
esbuild: esbuild:
patterns: patterns:
- "@esbuild/*" - "@esbuild/*"
rollup:
patterns:
- "@rollup/*"
- "rollup"
- "rollup-*"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/wdio" directory: "/tests/wdio"
schedule: schedule:

5569
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -39,9 +39,9 @@
"@formatjs/intl-listformat": "^7.5.0", "@formatjs/intl-listformat": "^7.5.0",
"@fortawesome/fontawesome-free": "^6.4.2", "@fortawesome/fontawesome-free": "^6.4.2",
"@goauthentik/api": "^2023.8.3-1697470337", "@goauthentik/api": "^2023.8.3-1697470337",
"@lit-labs/context": "^0.4.1", "@lit/context": "^1.0.0",
"@lit-labs/task": "^3.1.0",
"@lit/localize": "^0.11.4", "@lit/localize": "^0.11.4",
"@lit/task": "^1.0.0",
"@open-wc/lit-helpers": "^0.6.0", "@open-wc/lit-helpers": "^0.6.0",
"@patternfly/elements": "^2.4.0", "@patternfly/elements": "^2.4.0",
"@patternfly/patternfly": "^4.224.2", "@patternfly/patternfly": "^4.224.2",
@ -124,6 +124,9 @@
"optionalDependencies": { "optionalDependencies": {
"@esbuild/darwin-arm64": "^0.19.5", "@esbuild/darwin-arm64": "^0.19.5",
"@esbuild/linux-amd64": "^0.18.11", "@esbuild/linux-amd64": "^0.18.11",
"@esbuild/linux-arm64": "^0.19.5" "@esbuild/linux-arm64": "^0.19.5",
"@rollup/rollup-darwin-arm64": "4.1.4",
"@rollup/rollup-linux-x64-gnu": "4.1.4",
"@rollup/rollup-linux-arm64-gnu": "4.1.4"
} }
} }

View File

@ -1,4 +0,0 @@
import { createContext } from "@lit-labs/context";
export const localeContext = createContext<string>("locale");
export default localeContext;

View File

@ -3,7 +3,7 @@ import { AKElement } from "@goauthentik/elements/Base";
import { PFSize } from "@goauthentik/elements/Spinner"; import { PFSize } from "@goauthentik/elements/Spinner";
import { CustomEmitterElement } from "@goauthentik/elements/utils/eventEmitter"; import { CustomEmitterElement } from "@goauthentik/elements/utils/eventEmitter";
import { Task, TaskStatus } from "@lit-labs/task"; import { Task, TaskStatus } from "@lit/task";
import { css, html } from "lit"; import { css, html } from "lit";
import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css";

View File

@ -7836,6 +7836,146 @@ Bindings to groups/users are checked against the user of the event.</source>
<trans-unit id="s71c5d51d5a357dbd"> <trans-unit id="s71c5d51d5a357dbd">
<source>Don't show this message again.</source> <source>Don't show this message again.</source>
<target>不要再显示此消息。</target> <target>不要再显示此消息。</target>
</trans-unit>
<trans-unit id="s3e99ea082ca5ade9">
<source>Failed to fetch</source>
<target>拉取失败</target>
</trans-unit>
<trans-unit id="s98327528f00365a7">
<source>Failed to fetch data.</source>
<target>拉取数据失败。</target>
</trans-unit>
<trans-unit id="sf485014051ad0cf7">
<source>Successfully assigned permission.</source>
<target>已成功分配权限。</target>
</trans-unit>
<trans-unit id="sca7fed2bef53cb99">
<source>Role</source>
<target>角色</target>
</trans-unit>
<trans-unit id="sc92c1a54034e21cc">
<source>Assign</source>
<target>分配</target>
</trans-unit>
<trans-unit id="scd84d10ee9137070">
<source>Assign permission to role</source>
<target>为角色分配权限</target>
</trans-unit>
<trans-unit id="s5ee6f1b84e9ebc69">
<source>Assign to new role</source>
<target>分配到新角色</target>
</trans-unit>
<trans-unit id="s4afb26a8fae257e9">
<source>Directly assigned</source>
<target>直接分配</target>
</trans-unit>
<trans-unit id="sd8051c26e155f043">
<source>Assign permission to user</source>
<target>为用户分配权限</target>
</trans-unit>
<trans-unit id="sf79f8681e5ffaee2">
<source>Assign to new user</source>
<target>分配到新用户</target>
</trans-unit>
<trans-unit id="saabeb4cab074b0b9">
<source>User Object Permissions</source>
<target>用户对象权限</target>
</trans-unit>
<trans-unit id="s8489d5559dda260c">
<source>Role Object Permissions</source>
<target>角色对象权限</target>
</trans-unit>
<trans-unit id="s6b2beba7ab637e9e">
<source>Roles</source>
<target>角色</target>
</trans-unit>
<trans-unit id="s96d2bb4be3f5e8aa">
<source>Select roles to grant this groups' users' permissions from the selected roles.</source>
<target>选择角色,为该组内用户授予所选角色的权限。</target>
</trans-unit>
<trans-unit id="sb37880a2a7288ef0">
<source>Update Permissions</source>
<target>更新权限</target>
</trans-unit>
<trans-unit id="se9c07cf256774d81">
<source>Editing is disabled for managed tokens</source>
<target>托管令牌的编辑已被禁用</target>
</trans-unit>
<trans-unit id="s78ab26da7f067de8">
<source>Select permissions to grant</source>
<target>选择权限以授予</target>
</trans-unit>
<trans-unit id="sdeb90bfd8a80b86b">
<source>Permissions to add</source>
<target>要添加的权限</target>
</trans-unit>
<trans-unit id="s36247910d67421e1">
<source>Select permissions</source>
<target>选择权限</target>
</trans-unit>
<trans-unit id="s67e136af8fc1107b">
<source>Assign permission</source>
<target>分配权限</target>
</trans-unit>
<trans-unit id="sb923723d27df40ba">
<source>Permission(s)</source>
<target>权限</target>
</trans-unit>
<trans-unit id="sc5fb00b25c7f5a02">
<source>Permission</source>
<target>权限</target>
</trans-unit>
<trans-unit id="s1455753daa00f1bc">
<source>User doesn't have view permission so description cannot be retrieved.</source>
<target>用户不具有查看权限,所以无法获取描述。</target>
</trans-unit>
<trans-unit id="sa3a3e09b88ed9791">
<source>Assigned permissions</source>
<target>分配的权限</target>
</trans-unit>
<trans-unit id="s9cc631505c17b028">
<source>Assigned global permissions</source>
<target>分配的全局权限</target>
</trans-unit>
<trans-unit id="s8f85a0e678846080">
<source>Assigned object permissions</source>
<target>分配的对象权限</target>
</trans-unit>
<trans-unit id="s9103a949a3963aa9">
<source>Successfully updated role.</source>
<target>已成功更新角色。</target>
</trans-unit>
<trans-unit id="sdf87c5661b31359e">
<source>Successfully created role.</source>
<target>已成功创建角色。</target>
</trans-unit>
<trans-unit id="s3484b1e6d0b5335f">
<source>Manage roles which grant permissions to objects within authentik.</source>
<target>管理向 authentik 中的对象授予权限的角色。</target>
</trans-unit>
<trans-unit id="s259de999919316db">
<source>Role(s)</source>
<target>角色</target>
</trans-unit>
<trans-unit id="s2ffad156e8332f04">
<source>Update Role</source>
<target>更新角色</target>
</trans-unit>
<trans-unit id="sc5f923729564fbf3">
<source>Create Role</source>
<target>创建角色</target>
</trans-unit>
<trans-unit id="s14bfa8fd1bec8889">
<source>Role doesn't have view permission so description cannot be retrieved.</source>
<target>角色不具有查看权限,所以无法获取描述。</target>
</trans-unit>
<trans-unit id="s7e796fe83982863f">
<source>Role <x id="0" equiv-text="${this._role?.name || &quot;&quot;}"/></source>
<target>角色 <x id="0" equiv-text="${this._role?.name || &quot;&quot;}"/></target>
</trans-unit>
<trans-unit id="s526e2c66bd51ff5f">
<source>Role Info</source>
<target>角色信息</target>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>