web/admin: fix admin overview layout (#6220)

* web/admin: fix admin overview layout

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

* update locale

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

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-07-11 21:20:12 +02:00 committed by GitHub
parent 6345c7fa8e
commit f4e94bff1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 61 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-19 17:34+0000\n" "POT-Creation-Date: 2023-07-11 18:34+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -56,11 +56,11 @@ msgid ""
"to be overwritten in a later update." "to be overwritten in a later update."
msgstr "" msgstr ""
#: authentik/blueprints/models.py:109 #: authentik/blueprints/models.py:112
msgid "Blueprint Instance" msgid "Blueprint Instance"
msgstr "" msgstr ""
#: authentik/blueprints/models.py:110 #: authentik/blueprints/models.py:113
msgid "Blueprint Instances" msgid "Blueprint Instances"
msgstr "" msgstr ""
@ -82,11 +82,11 @@ msgstr ""
msgid "Create a SAML Provider by importing its Metadata." msgid "Create a SAML Provider by importing its Metadata."
msgstr "" msgstr ""
#: authentik/core/api/users.py:143 #: authentik/core/api/users.py:144
msgid "No leading or trailing slashes allowed." msgid "No leading or trailing slashes allowed."
msgstr "" msgstr ""
#: authentik/core/api/users.py:146 #: authentik/core/api/users.py:147
msgid "No empty segments in user path allowed." msgid "No empty segments in user path allowed."
msgstr "" msgstr ""
@ -296,7 +296,7 @@ msgid "Powered by authentik"
msgstr "" msgstr ""
#: authentik/core/views/apps.py:53 #: authentik/core/views/apps.py:53
#: authentik/providers/oauth2/views/authorize.py:386 #: authentik/providers/oauth2/views/authorize.py:391
#: authentik/providers/oauth2/views/device_init.py:70 #: authentik/providers/oauth2/views/device_init.py:70
#: authentik/providers/saml/views/sso.py:70 #: authentik/providers/saml/views/sso.py:70
#, python-format #, python-format
@ -427,7 +427,7 @@ msgstr ""
msgid "Webhook Mappings" msgid "Webhook Mappings"
msgstr "" msgstr ""
#: authentik/events/monitored_tasks.py:195 #: authentik/events/monitored_tasks.py:198
msgid "Task has not been run yet." msgid "Task has not been run yet."
msgstr "" msgstr ""
@ -436,55 +436,55 @@ msgstr ""
msgid "Flow not applicable to current user/request: %(messages)s" msgid "Flow not applicable to current user/request: %(messages)s"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:67 #: authentik/flows/api/flows_diagram.py:68
#: authentik/flows/api/flows_diagram.py:93 #: authentik/flows/api/flows_diagram.py:94
#, python-format #, python-format
msgid "Policy (%(type)s)" msgid "Policy (%(type)s)"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:70 #: authentik/flows/api/flows_diagram.py:71
#, python-format #, python-format
msgid "Binding %(order)d" msgid "Binding %(order)d"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:117 #: authentik/flows/api/flows_diagram.py:118
msgid "Policy passed" msgid "Policy passed"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:121 #: authentik/flows/api/flows_diagram.py:122
#, python-format #, python-format
msgid "Stage (%(type)s)" msgid "Stage (%(type)s)"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:145 #: authentik/flows/api/flows_diagram.py:146
#: authentik/flows/api/flows_diagram.py:205 #: authentik/flows/api/flows_diagram.py:206
msgid "Policy denied" msgid "Policy denied"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:155 #: authentik/flows/api/flows_diagram.py:156
#: authentik/flows/api/flows_diagram.py:167 #: authentik/flows/api/flows_diagram.py:168
#: authentik/flows/api/flows_diagram.py:204 #: authentik/flows/api/flows_diagram.py:205
#: authentik/flows/api/flows_diagram.py:226 #: authentik/flows/api/flows_diagram.py:227
msgid "End of the flow" msgid "End of the flow"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:168 #: authentik/flows/api/flows_diagram.py:169
msgid "Requirement not fulfilled" msgid "Requirement not fulfilled"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:176 #: authentik/flows/api/flows_diagram.py:177
msgid "Flow authentication requirement" msgid "Flow authentication requirement"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:182 #: authentik/flows/api/flows_diagram.py:183
msgid "Requirement fulfilled" msgid "Requirement fulfilled"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:195 #: authentik/flows/api/flows_diagram.py:196
msgid "Pre-flow policies" msgid "Pre-flow policies"
msgstr "" msgstr ""
#: authentik/flows/api/flows_diagram.py:213 authentik/flows/models.py:193 #: authentik/flows/api/flows_diagram.py:214 authentik/flows/models.py:193
msgid "Flow" msgid "Flow"
msgstr "" msgstr ""
@ -662,14 +662,14 @@ msgid "Dummy Policies"
msgstr "" msgstr ""
#: authentik/policies/event_matcher/api.py:20 #: authentik/policies/event_matcher/api.py:20
#: authentik/policies/event_matcher/models.py:55 #: authentik/policies/event_matcher/models.py:56
msgid "" msgid ""
"Match events created by selected application. When left empty, all " "Match events created by selected application. When left empty, all "
"applications are matched." "applications are matched."
msgstr "" msgstr ""
#: authentik/policies/event_matcher/api.py:29 #: authentik/policies/event_matcher/api.py:29
#: authentik/policies/event_matcher/models.py:63 #: authentik/policies/event_matcher/models.py:64
msgid "" msgid ""
"Match events created by selected model. When left empty, all models are " "Match events created by selected model. When left empty, all models are "
"matched. When an app is selected, all the application's models are matched." "matched. When an app is selected, all the application's models are matched."
@ -679,23 +679,23 @@ msgstr ""
msgid "At least one criteria must be set." msgid "At least one criteria must be set."
msgstr "" msgstr ""
#: authentik/policies/event_matcher/models.py:47 #: authentik/policies/event_matcher/models.py:48
msgid "" msgid ""
"Match created events with this action type. When left empty, all action " "Match created events with this action type. When left empty, all action "
"types will be matched." "types will be matched."
msgstr "" msgstr ""
#: authentik/policies/event_matcher/models.py:71 #: authentik/policies/event_matcher/models.py:73
msgid "" msgid ""
"Matches Event's Client IP (strict matching, for network matching use an " "Matches Event's Client IP (strict matching, for network matching use an "
"Expression Policy)" "Expression Policy)"
msgstr "" msgstr ""
#: authentik/policies/event_matcher/models.py:141 #: authentik/policies/event_matcher/models.py:143
msgid "Event Matcher Policy" msgid "Event Matcher Policy"
msgstr "" msgstr ""
#: authentik/policies/event_matcher/models.py:142 #: authentik/policies/event_matcher/models.py:144
msgid "Event Matcher Policies" msgid "Event Matcher Policies"
msgstr "" msgstr ""
@ -1126,7 +1126,7 @@ msgstr ""
msgid "Device Tokens" msgid "Device Tokens"
msgstr "" msgstr ""
#: authentik/providers/oauth2/views/authorize.py:441 #: authentik/providers/oauth2/views/authorize.py:446
#: authentik/providers/saml/views/flows.py:87 #: authentik/providers/saml/views/flows.py:87
#, python-format #, python-format
msgid "Redirecting to %(app)s..." msgid "Redirecting to %(app)s..."
@ -1527,7 +1527,7 @@ msgstr ""
msgid "LDAP Property Mappings" msgid "LDAP Property Mappings"
msgstr "" msgstr ""
#: authentik/sources/ldap/signals.py:59 #: authentik/sources/ldap/signals.py:50
msgid "Password does not match Active Directory Complexity." msgid "Password does not match Active Directory Complexity."
msgstr "" msgstr ""
@ -2428,16 +2428,16 @@ msgstr ""
msgid "User Write Stages" msgid "User Write Stages"
msgstr "" msgstr ""
#: authentik/stages/user_write/stage.py:133 #: authentik/stages/user_write/stage.py:134
msgid "No Pending data." msgid "No Pending data."
msgstr "" msgstr ""
#: authentik/stages/user_write/stage.py:139 #: authentik/stages/user_write/stage.py:140
msgid "No user found and can't create new user." msgid "No user found and can't create new user."
msgstr "" msgstr ""
#: authentik/stages/user_write/stage.py:156 #: authentik/stages/user_write/stage.py:157
#: authentik/stages/user_write/stage.py:170 #: authentik/stages/user_write/stage.py:171
msgid "Failed to update user. Please try again later." msgid "Failed to update user. Please try again later."
msgstr "" msgstr ""

View File

@ -77,7 +77,7 @@ export class AdminOverviewPage extends AKElement {
<!-- row 1 --> <!-- row 1 -->
<div class="pf-l-grid__item pf-m-6-col pf-l-grid pf-m-gutter"> <div class="pf-l-grid__item pf-m-6-col pf-l-grid pf-m-gutter">
<div <div
class="pf-l-grid__item pf-m-12-col pf-m-8-col-on-xl pf-m-4-col-on-2xl graph-container" class="pf-l-grid__item pf-m-12-col pf-m-6-col-on-xl pf-m-4-col-on-2xl graph-container"
> >
<ak-aggregate-card <ak-aggregate-card
icon="fa fa-share" icon="fa fa-share"
@ -127,7 +127,7 @@ export class AdminOverviewPage extends AKElement {
</ak-aggregate-card> </ak-aggregate-card>
</div> </div>
<div <div
class="pf-l-grid__item pf-m-12-col pf-m-8-col-on-xl pf-m-4-col-on-2xl graph-container" class="pf-l-grid__item pf-m-12-col pf-m-6-col-on-xl pf-m-4-col-on-2xl graph-container"
> >
<ak-aggregate-card <ak-aggregate-card
icon="pf-icon pf-icon-zone" icon="pf-icon pf-icon-zone"
@ -138,7 +138,7 @@ export class AdminOverviewPage extends AKElement {
</ak-aggregate-card> </ak-aggregate-card>
</div> </div>
<div <div
class="pf-l-grid__item pf-m-12-col pf-m-8-col-on-xl pf-m-4-col-on-2xl graph-container" class="pf-l-grid__item pf-m-12-col pf-m-12-col-on-xl pf-m-4-col-on-2xl graph-container"
> >
<ak-aggregate-card icon="fa fa-sync-alt" header=${msg("Sync status")}> <ak-aggregate-card icon="fa fa-sync-alt" header=${msg("Sync status")}>
<ak-admin-status-chart-sync></ak-admin-status-chart-sync> <ak-admin-status-chart-sync></ak-admin-status-chart-sync>

View File

@ -618,9 +618,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">
@ -1072,8 +1072,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">
@ -1819,8 +1819,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">
@ -3248,8 +3248,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">
@ -4046,8 +4046,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">
@ -4056,8 +4056,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">
@ -4253,10 +4253,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">
@ -5372,7 +5372,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>
@ -5712,10 +5712,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>
@ -5764,7 +5764,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>