web: translate sidebar and more list pages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-03 19:59:22 +02:00
parent 55c24de8c7
commit 5923edc69a
10 changed files with 186 additions and 33 deletions

View File

@ -5,58 +5,59 @@ import { SidebarItem } from "../elements/sidebar/Sidebar";
import { ID_REGEX, SLUG_REGEX, UUID_REGEX } from "../elements/router/Route"; import { ID_REGEX, SLUG_REGEX, UUID_REGEX } from "../elements/router/Route";
import { Interface } from "./Interface"; import { Interface } from "./Interface";
import "./locale"; import "./locale";
import { t } from "@lingui/macro";
export const SIDEBAR_ITEMS: SidebarItem[] = [ export const SIDEBAR_ITEMS: SidebarItem[] = [
new SidebarItem("Library", "/library"), new SidebarItem(t`Library`, "/library"),
new SidebarItem("Monitor").children( new SidebarItem(t`Monitor`).children(
new SidebarItem("Overview", "/administration/overview"), new SidebarItem(t`Overview`, "/administration/overview"),
new SidebarItem("System Tasks", "/administration/system-tasks"), new SidebarItem(t`System Tasks`, "/administration/system-tasks"),
).when((): Promise<boolean> => { ).when((): Promise<boolean> => {
return me().then(u => u.user.isSuperuser||false); return me().then(u => u.user.isSuperuser||false);
}), }),
new SidebarItem("Resources").children( new SidebarItem(t`Resources`).children(
new SidebarItem("Applications", "/core/applications").activeWhen( new SidebarItem(t`Applications`, "/core/applications").activeWhen(
`^/core/applications/(?<slug>${SLUG_REGEX})$` `^/core/applications/(?<slug>${SLUG_REGEX})$`
), ),
new SidebarItem("Sources", "/core/sources").activeWhen( new SidebarItem(t`Sources`, "/core/sources").activeWhen(
`^/core/sources/(?<slug>${SLUG_REGEX})$`, `^/core/sources/(?<slug>${SLUG_REGEX})$`,
), ),
new SidebarItem("Providers", "/core/providers").activeWhen( new SidebarItem(t`Providers`, "/core/providers").activeWhen(
`^/core/providers/(?<id>${ID_REGEX})$`, `^/core/providers/(?<id>${ID_REGEX})$`,
), ),
new SidebarItem("Outposts", "/outpost/outposts"), new SidebarItem(t`Outposts`, "/outpost/outposts"),
new SidebarItem("Outpost Service Connections", "/outpost/service-connections"), new SidebarItem(t`Outpost Service Connections`, "/outpost/service-connections"),
).when((): Promise<boolean> => { ).when((): Promise<boolean> => {
return me().then(u => u.user.isSuperuser||false); return me().then(u => u.user.isSuperuser||false);
}), }),
new SidebarItem("Events").children( new SidebarItem(`Events`).children(
new SidebarItem("Logs", "/events/log").activeWhen( new SidebarItem(t`Logs`, "/events/log").activeWhen(
`^/events/log/(?<id>${UUID_REGEX})$` `^/events/log/(?<id>${UUID_REGEX})$`
), ),
new SidebarItem("Notification Rules", "/events/rules"), new SidebarItem(t`Notification Rules`, "/events/rules"),
new SidebarItem("Notification Transports", "/events/transports"), new SidebarItem(t`Notification Transports`, "/events/transports"),
).when((): Promise<boolean> => { ).when((): Promise<boolean> => {
return me().then(u => u.user.isSuperuser || false); return me().then(u => u.user.isSuperuser || false);
}), }),
new SidebarItem("Customisation").children( new SidebarItem(t`Customisation`).children(
new SidebarItem("Policies", "/policy/policies"), new SidebarItem(t`Policies`, "/policy/policies"),
new SidebarItem("Property Mappings", "/core/property-mappings"), new SidebarItem(t`Property Mappings`, "/core/property-mappings"),
).when((): Promise<boolean> => { ).when((): Promise<boolean> => {
return me().then(u => u.user.isSuperuser||false); return me().then(u => u.user.isSuperuser||false);
}), }),
new SidebarItem("Flows").children( new SidebarItem(t`Flows`).children(
new SidebarItem("Flows", "/flow/flows").activeWhen(`^/flow/flows/(?<slug>${SLUG_REGEX})$`), new SidebarItem(t`Flows`, "/flow/flows").activeWhen(`^/flow/flows/(?<slug>${SLUG_REGEX})$`),
new SidebarItem("Stages", "/flow/stages"), new SidebarItem(t`Stages`, "/flow/stages"),
new SidebarItem("Prompts", "/flow/stages/prompts"), new SidebarItem(t`Prompts`, "/flow/stages/prompts"),
new SidebarItem("Invitations", "/flow/stages/invitations"), new SidebarItem(t`Invitations`, "/flow/stages/invitations"),
).when((): Promise<boolean> => { ).when((): Promise<boolean> => {
return me().then(u => u.user.isSuperuser||false); return me().then(u => u.user.isSuperuser||false);
}), }),
new SidebarItem("Identity & Cryptography").children( new SidebarItem(t`Identity & Cryptography`).children(
new SidebarItem("Users", "/identity/users").activeWhen(`^/identity/users/(?<id>${ID_REGEX})$`), new SidebarItem(t`Users`, "/identity/users").activeWhen(`^/identity/users/(?<id>${ID_REGEX})$`),
new SidebarItem("Groups", "/identity/groups"), new SidebarItem(t`Groups`, "/identity/groups"),
new SidebarItem("Certificates", "/crypto/certificates"), new SidebarItem(t`Certificates`, "/crypto/certificates"),
new SidebarItem("Tokens", "/core/tokens"), new SidebarItem(t`Tokens`, "/core/tokens"),
).when((): Promise<boolean> => { ).when((): Promise<boolean> => {
return me().then(u => u.user.isSuperuser||false); return me().then(u => u.user.isSuperuser||false);
}), }),

View File

@ -7,7 +7,11 @@ i18n.loadLocaleData("en", {
}); });
i18n.load("en", localeEN); i18n.load("en", localeEN);
i18n.activate("en"); i18n.activate("en");
// Uncomment to debug localisation // Uncomment to debug localisation
// import { messages as localeDEBUG } from "../locales/pseudo-LOCALE"; // import { messages as localeDEBUG } from "../locales/pseudo-LOCALE";
// i18n.load("debug", localeDEBUG); // i18n.load("debug", localeDEBUG);
// i18n.activate("debug"); // i18n.activate("debug");
// i18n.loadLocaleData("debug", {
// plurals: en
// });

View File

@ -164,6 +164,7 @@ msgstr "Application requires following permissions"
msgid "Application's display Name." msgid "Application's display Name."
msgstr "Application's display Name." msgstr "Application's display Name."
#: src/interfaces/AdminInterface.ts:20
#: src/pages/LibraryPage.ts:92 #: src/pages/LibraryPage.ts:92
#: src/pages/LibraryPage.ts:131 #: src/pages/LibraryPage.ts:131
#: src/pages/applications/ApplicationListPage.ts:28 #: src/pages/applications/ApplicationListPage.ts:28
@ -410,6 +411,10 @@ msgstr "Certificate-Key Pairs"
msgid "Certificate/Key used for authentication. Can be left empty for no authentication." msgid "Certificate/Key used for authentication. Can be left empty for no authentication."
msgstr "Certificate/Key used for authentication. Can be left empty for no authentication." msgstr "Certificate/Key used for authentication. Can be left empty for no authentication."
#: src/interfaces/AdminInterface.ts:32
msgid "Certificates"
msgstr "Certificates"
#: src/pages/user-settings/settings/UserSettingsPassword.ts:22 #: src/pages/user-settings/settings/UserSettingsPassword.ts:22
msgid "Change password" msgid "Change password"
msgstr "Change password" msgstr "Change password"
@ -763,6 +768,10 @@ msgstr "Created {0}"
msgid "Creation Date" msgid "Creation Date"
msgstr "Creation Date" msgstr "Creation Date"
#: src/interfaces/AdminInterface.ts:26
msgid "Customisation"
msgstr "Customisation"
#: src/pages/providers/saml/SAMLProviderForm.ts:249 #: src/pages/providers/saml/SAMLProviderForm.ts:249
#: src/pages/sources/saml/SAMLSourceForm.ts:211 #: src/pages/sources/saml/SAMLSourceForm.ts:211
msgid "DSA-SHA1" msgid "DSA-SHA1"
@ -1231,6 +1240,8 @@ msgstr "Flow used by an authenticated user to configure this Stage. If empty, us
msgid "Flow used when authorizing this provider." msgid "Flow used when authorizing this provider."
msgstr "Flow used when authorizing this provider." msgstr "Flow used when authorizing this provider."
#: src/interfaces/AdminInterface.ts:29
#: src/interfaces/AdminInterface.ts:29
#: src/pages/flows/FlowListPage.ts:28 #: src/pages/flows/FlowListPage.ts:28
msgid "Flows" msgid "Flows"
msgstr "Flows" msgstr "Flows"
@ -1303,6 +1314,7 @@ msgstr "Group users together and give them permissions based on the membership."
msgid "Group {0}" msgid "Group {0}"
msgstr "Group {0}" msgstr "Group {0}"
#: src/interfaces/AdminInterface.ts:32
#: src/pages/groups/GroupListPage.ts:27 #: src/pages/groups/GroupListPage.ts:27
msgid "Groups" msgid "Groups"
msgstr "Groups" msgstr "Groups"
@ -1366,6 +1378,10 @@ msgstr "Icon"
msgid "Identifier" msgid "Identifier"
msgstr "Identifier" msgstr "Identifier"
#: src/interfaces/AdminInterface.ts:32
msgid "Identity & Cryptography"
msgstr "Identity & Cryptography"
#: src/pages/outposts/ServiceConnectionDockerForm.ts:64 #: src/pages/outposts/ServiceConnectionDockerForm.ts:64
#: src/pages/outposts/ServiceConnectionKubernetesForm.ts:65 #: src/pages/outposts/ServiceConnectionKubernetesForm.ts:65
msgid "If enabled, use the local connection. Required Docker socket/Kubernetes Integration." msgid "If enabled, use the local connection. Required Docker socket/Kubernetes Integration."
@ -1432,6 +1448,7 @@ msgstr "Internal host SSL Validation"
msgid "Invalidation" msgid "Invalidation"
msgstr "Invalidation" msgstr "Invalidation"
#: src/interfaces/AdminInterface.ts:29
#: src/pages/stages/invitation/InvitationListPage.ts:28 #: src/pages/stages/invitation/InvitationListPage.ts:28
msgid "Invitations" msgid "Invitations"
msgstr "Invitations" msgstr "Invitations"
@ -1506,6 +1523,10 @@ msgstr "Last sync: {0}"
msgid "Launch URL" msgid "Launch URL"
msgstr "Launch URL" msgstr "Launch URL"
#: src/interfaces/AdminInterface.ts:16
msgid "Library"
msgstr "Library"
#: src/elements/table/Table.ts:113 #: src/elements/table/Table.ts:113
#: src/flows/FlowExecutor.ts:154 #: src/flows/FlowExecutor.ts:154
#: src/flows/FlowExecutor.ts:200 #: src/flows/FlowExecutor.ts:200
@ -1556,6 +1577,10 @@ msgstr "Logins over the last 24 hours"
msgid "Logout URL" msgid "Logout URL"
msgstr "Logout URL" msgstr "Logout URL"
#: src/interfaces/AdminInterface.ts:23
msgid "Logs"
msgstr "Logs"
#: src/pages/system-tasks/SystemTaskListPage.ts:27 #: src/pages/system-tasks/SystemTaskListPage.ts:27
msgid "Long-running operations which authentik executes in the background." msgid "Long-running operations which authentik executes in the background."
msgstr "Long-running operations which authentik executes in the background." msgstr "Long-running operations which authentik executes in the background."
@ -1618,6 +1643,10 @@ msgstr "Mode"
msgid "Model Name" msgid "Model Name"
msgstr "Model Name" msgstr "Model Name"
#: src/interfaces/AdminInterface.ts:17
msgid "Monitor"
msgstr "Monitor"
#: src/pages/applications/ApplicationForm.ts:78 #: src/pages/applications/ApplicationForm.ts:78
#: src/pages/applications/ApplicationListPage.ts:57 #: src/pages/applications/ApplicationListPage.ts:57
#: src/pages/crypto/CertificateKeyPairForm.ts:46 #: src/pages/crypto/CertificateKeyPairForm.ts:46
@ -1711,8 +1740,14 @@ msgid "New version available!"
msgstr "New version available!" msgstr "New version available!"
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:118 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:118
#: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62
msgid "No" msgid "No"
msgstr "No" msgstr "No"
@ -1801,10 +1836,12 @@ msgstr "Not you?"
msgid "Notice" msgid "Notice"
msgstr "Notice" msgstr "Notice"
#: src/interfaces/AdminInterface.ts:23
#: src/pages/events/RuleListPage.ts:29 #: src/pages/events/RuleListPage.ts:29
msgid "Notification Rules" msgid "Notification Rules"
msgstr "Notification Rules" msgstr "Notification Rules"
#: src/interfaces/AdminInterface.ts:23
#: src/pages/events/TransportListPage.ts:28 #: src/pages/events/TransportListPage.ts:28
msgid "Notification Transports" msgid "Notification Transports"
msgstr "Notification Transports" msgstr "Notification Transports"
@ -1931,10 +1968,19 @@ msgstr "Outpost"
msgid "Outpost Deployment Info" msgid "Outpost Deployment Info"
msgstr "Outpost Deployment Info" msgstr "Outpost Deployment Info"
#: src/interfaces/AdminInterface.ts:20
msgid "Outpost Service Connections"
msgstr "Outpost Service Connections"
#: src/pages/outposts/ServiceConnectionListPage.ts:93 #: src/pages/outposts/ServiceConnectionListPage.ts:93
msgid "Outpost Service-connection" msgid "Outpost Service-connection"
msgstr "Outpost Service-connection" msgstr "Outpost Service-connection"
#: src/interfaces/AdminInterface.ts:20
msgid "Outposts"
msgstr "Outposts"
#: src/interfaces/AdminInterface.ts:17
#: src/pages/applications/ApplicationViewPage.ts:66 #: src/pages/applications/ApplicationViewPage.ts:66
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:75 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:75
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:66 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:66
@ -1998,6 +2044,7 @@ msgstr "Please enter your TOTP Code"
msgid "Please enter your password" msgid "Please enter your password"
msgstr "Please enter your password" msgstr "Please enter your password"
#: src/interfaces/AdminInterface.ts:26
#: src/pages/admin-overview/AdminOverviewPage.ts:44 #: src/pages/admin-overview/AdminOverviewPage.ts:44
#: src/pages/policies/PolicyListPage.ts:38 #: src/pages/policies/PolicyListPage.ts:38
msgid "Policies" msgid "Policies"
@ -2079,6 +2126,7 @@ msgstr "Profile URL"
msgid "Prompt" msgid "Prompt"
msgstr "Prompt" msgstr "Prompt"
#: src/interfaces/AdminInterface.ts:29
#: src/pages/stages/prompt/PromptListPage.ts:28 #: src/pages/stages/prompt/PromptListPage.ts:28
msgid "Prompts" msgid "Prompts"
msgstr "Prompts" msgstr "Prompts"
@ -2087,6 +2135,7 @@ msgstr "Prompts"
msgid "Property Mapping" msgid "Property Mapping"
msgstr "Property Mapping" msgstr "Property Mapping"
#: src/interfaces/AdminInterface.ts:26
#: src/pages/property-mappings/PropertyMappingListPage.ts:35 #: src/pages/property-mappings/PropertyMappingListPage.ts:35
msgid "Property Mappings" msgid "Property Mappings"
msgstr "Property Mappings" msgstr "Property Mappings"
@ -2131,6 +2180,7 @@ msgstr "Provider Type"
msgid "Provider type" msgid "Provider type"
msgstr "Provider type" msgstr "Provider type"
#: src/interfaces/AdminInterface.ts:20
#: src/pages/admin-overview/AdminOverviewPage.ts:42 #: src/pages/admin-overview/AdminOverviewPage.ts:42
#: src/pages/outposts/OutpostForm.ts:80 #: src/pages/outposts/OutpostForm.ts:80
msgid "Providers" msgid "Providers"
@ -2265,6 +2315,10 @@ msgstr "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgid "Reset Password" msgid "Reset Password"
msgstr "Reset Password" msgstr "Reset Password"
#: src/interfaces/AdminInterface.ts:20
msgid "Resources"
msgstr "Resources"
#: src/pages/events/EventInfo.ts:171 #: src/pages/events/EventInfo.ts:171
#: src/pages/property-mappings/PropertyMappingTestForm.ts:34 #: src/pages/property-mappings/PropertyMappingTestForm.ts:34
msgid "Result" msgid "Result"
@ -2512,6 +2566,10 @@ msgstr "Source"
msgid "Source {0}" msgid "Source {0}"
msgstr "Source {0}" msgstr "Source {0}"
#: src/interfaces/AdminInterface.ts:20
msgid "Sources"
msgstr "Sources"
#: src/pages/flows/StageBindingForm.ts:94 #: src/pages/flows/StageBindingForm.ts:94
msgid "Stage" msgid "Stage"
msgstr "Stage" msgstr "Stage"
@ -2546,6 +2604,10 @@ msgstr "Stage used to configure Authenticator when user doesn't have any compati
msgid "Stage-specific settings" msgid "Stage-specific settings"
msgstr "Stage-specific settings" msgstr "Stage-specific settings"
#: src/interfaces/AdminInterface.ts:29
msgid "Stages"
msgstr "Stages"
#: src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts:101 #: src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts:101
#: src/pages/user-settings/settings/UserSettingsAuthenticatorTOTP.ts:77 #: src/pages/user-settings/settings/UserSettingsAuthenticatorTOTP.ts:77
msgid "Static Tokens" msgid "Static Tokens"
@ -2871,6 +2933,7 @@ msgstr "Sync users' passwords"
msgid "System Overview" msgid "System Overview"
msgstr "System Overview" msgstr "System Overview"
#: src/interfaces/AdminInterface.ts:17
#: src/pages/system-tasks/SystemTaskListPage.ts:24 #: src/pages/system-tasks/SystemTaskListPage.ts:24
msgid "System Tasks" msgid "System Tasks"
msgstr "System Tasks" msgstr "System Tasks"
@ -2984,6 +3047,7 @@ msgid "Token validity"
msgstr "Token validity" msgstr "Token validity"
#: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62 #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62
#: src/interfaces/AdminInterface.ts:32
#: src/pages/tokens/TokenListPage.ts:26 #: src/pages/tokens/TokenListPage.ts:26
#: src/pages/user-settings/UserSettingsPage.ts:80 #: src/pages/user-settings/UserSettingsPage.ts:80
msgid "Tokens" msgid "Tokens"
@ -3281,6 +3345,7 @@ msgstr "Username"
msgid "Username: Same as Text input, but checks for and prevents duplicate usernames." msgid "Username: Same as Text input, but checks for and prevents duplicate usernames."
msgstr "Username: Same as Text input, but checks for and prevents duplicate usernames." msgstr "Username: Same as Text input, but checks for and prevents duplicate usernames."
#: src/interfaces/AdminInterface.ts:32
#: src/pages/admin-overview/AdminOverviewPage.ts:46 #: src/pages/admin-overview/AdminOverviewPage.ts:46
#: src/pages/users/UserListPage.ts:31 #: src/pages/users/UserListPage.ts:31
msgid "Users" msgid "Users"
@ -3423,8 +3488,14 @@ msgid "X509 Subject"
msgstr "X509 Subject" msgstr "X509 Subject"
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:115 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:115
#: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62
msgid "Yes" msgid "Yes"
msgstr "Yes" msgstr "Yes"

View File

@ -6,6 +6,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: @lingui/cli\n" "X-Generator: @lingui/cli\n"
"Language: pseudo-LOCALE\n" "Language: pseudo-LOCALE\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Plural-Forms: \n"
#: src/pages/policies/BoundPoliciesList.ts:54 #: src/pages/policies/BoundPoliciesList.ts:54
msgid "-" msgid "-"
@ -158,6 +164,7 @@ msgstr ""
msgid "Application's display Name." msgid "Application's display Name."
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20
#: src/pages/LibraryPage.ts:92 #: src/pages/LibraryPage.ts:92
#: src/pages/LibraryPage.ts:131 #: src/pages/LibraryPage.ts:131
#: src/pages/applications/ApplicationListPage.ts:28 #: src/pages/applications/ApplicationListPage.ts:28
@ -400,6 +407,10 @@ msgstr ""
msgid "Certificate/Key used for authentication. Can be left empty for no authentication." msgid "Certificate/Key used for authentication. Can be left empty for no authentication."
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:32
msgid "Certificates"
msgstr ""
#: src/pages/user-settings/settings/UserSettingsPassword.ts:22 #: src/pages/user-settings/settings/UserSettingsPassword.ts:22
msgid "Change password" msgid "Change password"
msgstr "" msgstr ""
@ -753,6 +764,10 @@ msgstr ""
msgid "Creation Date" msgid "Creation Date"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:26
msgid "Customisation"
msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:249 #: src/pages/providers/saml/SAMLProviderForm.ts:249
#: src/pages/sources/saml/SAMLSourceForm.ts:211 #: src/pages/sources/saml/SAMLSourceForm.ts:211
msgid "DSA-SHA1" msgid "DSA-SHA1"
@ -1221,6 +1236,8 @@ msgstr ""
msgid "Flow used when authorizing this provider." msgid "Flow used when authorizing this provider."
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:29
#: src/interfaces/AdminInterface.ts:29
#: src/pages/flows/FlowListPage.ts:28 #: src/pages/flows/FlowListPage.ts:28
msgid "Flows" msgid "Flows"
msgstr "" msgstr ""
@ -1293,6 +1310,7 @@ msgstr ""
msgid "Group {0}" msgid "Group {0}"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:32
#: src/pages/groups/GroupListPage.ts:27 #: src/pages/groups/GroupListPage.ts:27
msgid "Groups" msgid "Groups"
msgstr "" msgstr ""
@ -1352,6 +1370,10 @@ msgstr ""
msgid "Identifier" msgid "Identifier"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:32
msgid "Identity & Cryptography"
msgstr ""
#: src/pages/outposts/ServiceConnectionDockerForm.ts:64 #: src/pages/outposts/ServiceConnectionDockerForm.ts:64
#: src/pages/outposts/ServiceConnectionKubernetesForm.ts:65 #: src/pages/outposts/ServiceConnectionKubernetesForm.ts:65
msgid "If enabled, use the local connection. Required Docker socket/Kubernetes Integration." msgid "If enabled, use the local connection. Required Docker socket/Kubernetes Integration."
@ -1418,6 +1440,7 @@ msgstr ""
msgid "Invalidation" msgid "Invalidation"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:29
#: src/pages/stages/invitation/InvitationListPage.ts:28 #: src/pages/stages/invitation/InvitationListPage.ts:28
msgid "Invitations" msgid "Invitations"
msgstr "" msgstr ""
@ -1492,6 +1515,10 @@ msgstr ""
msgid "Launch URL" msgid "Launch URL"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:16
msgid "Library"
msgstr ""
#: src/elements/table/Table.ts:113 #: src/elements/table/Table.ts:113
#: src/flows/FlowExecutor.ts:154 #: src/flows/FlowExecutor.ts:154
#: src/flows/FlowExecutor.ts:200 #: src/flows/FlowExecutor.ts:200
@ -1542,6 +1569,10 @@ msgstr ""
msgid "Logout URL" msgid "Logout URL"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:23
msgid "Logs"
msgstr ""
#: src/pages/system-tasks/SystemTaskListPage.ts:27 #: src/pages/system-tasks/SystemTaskListPage.ts:27
msgid "Long-running operations which authentik executes in the background." msgid "Long-running operations which authentik executes in the background."
msgstr "" msgstr ""
@ -1604,6 +1635,10 @@ msgstr ""
msgid "Model Name" msgid "Model Name"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:17
msgid "Monitor"
msgstr ""
#: src/pages/applications/ApplicationForm.ts:78 #: src/pages/applications/ApplicationForm.ts:78
#: src/pages/applications/ApplicationListPage.ts:57 #: src/pages/applications/ApplicationListPage.ts:57
#: src/pages/crypto/CertificateKeyPairForm.ts:46 #: src/pages/crypto/CertificateKeyPairForm.ts:46
@ -1697,8 +1732,14 @@ msgid "New version available!"
msgstr "" msgstr ""
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:118 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:118
#: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62
msgid "No" msgid "No"
msgstr "" msgstr ""
@ -1787,10 +1828,12 @@ msgstr ""
msgid "Notice" msgid "Notice"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:23
#: src/pages/events/RuleListPage.ts:29 #: src/pages/events/RuleListPage.ts:29
msgid "Notification Rules" msgid "Notification Rules"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:23
#: src/pages/events/TransportListPage.ts:28 #: src/pages/events/TransportListPage.ts:28
msgid "Notification Transports" msgid "Notification Transports"
msgstr "" msgstr ""
@ -1917,10 +1960,19 @@ msgstr ""
msgid "Outpost Deployment Info" msgid "Outpost Deployment Info"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20
msgid "Outpost Service Connections"
msgstr ""
#: src/pages/outposts/ServiceConnectionListPage.ts:93 #: src/pages/outposts/ServiceConnectionListPage.ts:93
msgid "Outpost Service-connection" msgid "Outpost Service-connection"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20
msgid "Outposts"
msgstr ""
#: src/interfaces/AdminInterface.ts:17
#: src/pages/applications/ApplicationViewPage.ts:66 #: src/pages/applications/ApplicationViewPage.ts:66
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:75 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:75
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:66 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:66
@ -1984,6 +2036,7 @@ msgstr ""
msgid "Please enter your password" msgid "Please enter your password"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:26
#: src/pages/admin-overview/AdminOverviewPage.ts:44 #: src/pages/admin-overview/AdminOverviewPage.ts:44
#: src/pages/policies/PolicyListPage.ts:38 #: src/pages/policies/PolicyListPage.ts:38
msgid "Policies" msgid "Policies"
@ -2065,6 +2118,7 @@ msgstr ""
msgid "Prompt" msgid "Prompt"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:29
#: src/pages/stages/prompt/PromptListPage.ts:28 #: src/pages/stages/prompt/PromptListPage.ts:28
msgid "Prompts" msgid "Prompts"
msgstr "" msgstr ""
@ -2073,6 +2127,7 @@ msgstr ""
msgid "Property Mapping" msgid "Property Mapping"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:26
#: src/pages/property-mappings/PropertyMappingListPage.ts:35 #: src/pages/property-mappings/PropertyMappingListPage.ts:35
msgid "Property Mappings" msgid "Property Mappings"
msgstr "" msgstr ""
@ -2117,6 +2172,7 @@ msgstr ""
msgid "Provider type" msgid "Provider type"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20
#: src/pages/admin-overview/AdminOverviewPage.ts:42 #: src/pages/admin-overview/AdminOverviewPage.ts:42
#: src/pages/outposts/OutpostForm.ts:80 #: src/pages/outposts/OutpostForm.ts:80
msgid "Providers" msgid "Providers"
@ -2251,6 +2307,10 @@ msgstr ""
msgid "Reset Password" msgid "Reset Password"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20
msgid "Resources"
msgstr ""
#: src/pages/events/EventInfo.ts:171 #: src/pages/events/EventInfo.ts:171
#: src/pages/property-mappings/PropertyMappingTestForm.ts:34 #: src/pages/property-mappings/PropertyMappingTestForm.ts:34
msgid "Result" msgid "Result"
@ -2498,6 +2558,10 @@ msgstr ""
msgid "Source {0}" msgid "Source {0}"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20
msgid "Sources"
msgstr ""
#: src/pages/flows/StageBindingForm.ts:94 #: src/pages/flows/StageBindingForm.ts:94
msgid "Stage" msgid "Stage"
msgstr "" msgstr ""
@ -2532,6 +2596,10 @@ msgstr ""
msgid "Stage-specific settings" msgid "Stage-specific settings"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:29
msgid "Stages"
msgstr ""
#: src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts:101 #: src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts:101
#: src/pages/user-settings/settings/UserSettingsAuthenticatorTOTP.ts:77 #: src/pages/user-settings/settings/UserSettingsAuthenticatorTOTP.ts:77
msgid "Static Tokens" msgid "Static Tokens"
@ -2857,6 +2925,7 @@ msgstr ""
msgid "System Overview" msgid "System Overview"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:17
#: src/pages/system-tasks/SystemTaskListPage.ts:24 #: src/pages/system-tasks/SystemTaskListPage.ts:24
msgid "System Tasks" msgid "System Tasks"
msgstr "" msgstr ""
@ -2970,6 +3039,7 @@ msgid "Token validity"
msgstr "" msgstr ""
#: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62 #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62
#: src/interfaces/AdminInterface.ts:32
#: src/pages/tokens/TokenListPage.ts:26 #: src/pages/tokens/TokenListPage.ts:26
#: src/pages/user-settings/UserSettingsPage.ts:80 #: src/pages/user-settings/UserSettingsPage.ts:80
msgid "Tokens" msgid "Tokens"
@ -3267,6 +3337,7 @@ msgstr ""
msgid "Username: Same as Text input, but checks for and prevents duplicate usernames." msgid "Username: Same as Text input, but checks for and prevents duplicate usernames."
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:32
#: src/pages/admin-overview/AdminOverviewPage.ts:46 #: src/pages/admin-overview/AdminOverviewPage.ts:46
#: src/pages/users/UserListPage.ts:31 #: src/pages/users/UserListPage.ts:31
msgid "Users" msgid "Users"
@ -3409,8 +3480,14 @@ msgid "X509 Subject"
msgstr "" msgstr ""
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:115 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:115
#: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""

View File

@ -54,7 +54,7 @@ export class GroupListPage extends TablePage<Group> {
html`${item.name}`, html`${item.name}`,
html`${item.parent || "-"}`, html`${item.parent || "-"}`,
html`${item.users?.keys.length}`, html`${item.users?.keys.length}`,
html`${item.isSuperuser ? "Yes" : "No"}`, html`${item.isSuperuser ? t`Yes` : t`No`}`,
html` html`
<ak-forms-modal> <ak-forms-modal>
<span slot="submit"> <span slot="submit">

View File

@ -60,7 +60,7 @@ export class OutpostServiceConnectionListPage extends TablePage<ServiceConnectio
return [ return [
html`${item.name}`, html`${item.name}`,
html`${item.verboseName}`, html`${item.verboseName}`,
html`${item.local ? "Yes" : "No"}`, html`${item.local ? t`Yes` : t`No`}`,
html`${until( html`${until(
new OutpostsApi(DEFAULT_CONFIG).outpostsServiceConnectionsAllState({ new OutpostsApi(DEFAULT_CONFIG).outpostsServiceConnectionsAllState({
uuid: item.pk || "" uuid: item.pk || ""

View File

@ -112,7 +112,7 @@ export class BoundPoliciesList extends Table<PolicyBinding> {
row(item: PolicyBinding): TemplateResult[] { row(item: PolicyBinding): TemplateResult[] {
return [ return [
html`${this.getPolicyUserGroupRow(item)}`, html`${this.getPolicyUserGroupRow(item)}`,
html`${item.enabled ? "Yes" : "No"}`, html`${item.enabled ? t`Yes` : t`No`}`,
html`${item.order}`, html`${item.order}`,
html`${item.timeout}`, html`${item.timeout}`,
html` html`

View File

@ -52,7 +52,7 @@ export class TokenListPage extends TablePage<Token> {
return [ return [
html`${item.identifier}`, html`${item.identifier}`,
html`${item.user?.username}`, html`${item.user?.username}`,
html`${item.expiring ? "Yes" : "No"}`, html`${item.expiring ? t`Yes` : t`No`}`,
html`${item.expiring ? item.expires?.toLocaleString() : "-"}`, html`${item.expiring ? item.expires?.toLocaleString() : "-"}`,
html` html`
<ak-forms-delete <ak-forms-delete

View File

@ -82,7 +82,7 @@ export class UserTokenList extends Table<Token> {
<span class="pf-c-description-list__text">${t`Expiring`}</span> <span class="pf-c-description-list__text">${t`Expiring`}</span>
</dt> </dt>
<dd class="pf-c-description-list__description"> <dd class="pf-c-description-list__description">
<div class="pf-c-description-list__text">${item.expiring ? "Yes" : "No"}</div> <div class="pf-c-description-list__text">${item.expiring ? t`Yes` : t`No`}</div>
</dd> </dd>
</div> </div>
<div class="pf-c-description-list__group"> <div class="pf-c-description-list__group">

View File

@ -58,7 +58,7 @@ export class UserListPage extends TablePage<User> {
<div>${item.username}</div> <div>${item.username}</div>
<small>${item.name}</small> <small>${item.name}</small>
</a>`, </a>`,
html`${item.isActive ? "Yes" : "No"}`, html`${item.isActive ? t`Yes` : t`No`}`,
html`${item.lastLogin?.toLocaleString()}`, html`${item.lastLogin?.toLocaleString()}`,
html` html`
<ak-forms-modal> <ak-forms-modal>