From 077abdb602cb08c5c2c758fe067d09b574c7493b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 20 Mar 2021 16:06:56 +0100 Subject: [PATCH] web: remove gettext from icons Signed-off-by: Jens Langhammer --- web/src/pages/applications/ApplicationListPage.ts | 2 +- web/src/pages/crypto/CertificateKeyPairListPage.ts | 2 +- web/src/pages/events/RuleListPage.ts | 2 +- web/src/pages/events/TransportListPage.ts | 2 +- web/src/pages/flows/FlowListPage.ts | 2 +- web/src/pages/groups/GroupListPage.ts | 2 +- web/src/pages/policies/PolicyListPage.ts | 2 +- web/src/pages/property-mappings/PropertyMappingListPage.ts | 2 +- web/src/pages/providers/ProviderListPage.ts | 2 +- web/src/pages/stages/InvitationListPage.ts | 2 +- web/src/pages/stages/PromptListPage.ts | 2 +- web/src/pages/system-tasks/SystemTaskListPage.ts | 2 +- web/src/pages/tokens/TokenListPage.ts | 2 +- web/src/pages/users/UserListPage.ts | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/web/src/pages/applications/ApplicationListPage.ts b/web/src/pages/applications/ApplicationListPage.ts index 182b59226..6caa469fb 100644 --- a/web/src/pages/applications/ApplicationListPage.ts +++ b/web/src/pages/applications/ApplicationListPage.ts @@ -25,7 +25,7 @@ export class ApplicationListPage extends TablePage { return gettext("External Applications which use authentik as Identity-Provider, utilizing protocols like OAuth2 and SAML."); } pageIcon(): string { - return gettext("pf-icon pf-icon-applications"); + return "pf-icon pf-icon-applications"; } @property() diff --git a/web/src/pages/crypto/CertificateKeyPairListPage.ts b/web/src/pages/crypto/CertificateKeyPairListPage.ts index 8b266770b..0cfcf6ca3 100644 --- a/web/src/pages/crypto/CertificateKeyPairListPage.ts +++ b/web/src/pages/crypto/CertificateKeyPairListPage.ts @@ -27,7 +27,7 @@ export class CertificateKeyPairListPage extends TablePage { return gettext("Import certificates of external providers or create certificates to sign requests with."); } pageIcon(): string { - return gettext("pf-icon pf-icon-key"); + return "pf-icon pf-icon-key"; } @property() diff --git a/web/src/pages/events/RuleListPage.ts b/web/src/pages/events/RuleListPage.ts index 951887581..427d70e46 100644 --- a/web/src/pages/events/RuleListPage.ts +++ b/web/src/pages/events/RuleListPage.ts @@ -27,7 +27,7 @@ export class RuleListPage extends TablePage { return gettext("Send notifications whenever a specific Event is created and matched by policies."); } pageIcon(): string { - return gettext("pf-icon pf-icon-attention-bell"); + return "pf-icon pf-icon-attention-bell"; } @property() diff --git a/web/src/pages/events/TransportListPage.ts b/web/src/pages/events/TransportListPage.ts index ef9306a84..52b776883 100644 --- a/web/src/pages/events/TransportListPage.ts +++ b/web/src/pages/events/TransportListPage.ts @@ -25,7 +25,7 @@ export class TransportListPage extends TablePage { return gettext("Define how notifications are sent to users, like Email or Webhook."); } pageIcon(): string { - return gettext("pf-icon pf-icon-export"); + return "pf-icon pf-icon-export"; } @property() diff --git a/web/src/pages/flows/FlowListPage.ts b/web/src/pages/flows/FlowListPage.ts index 88e7b2bcd..84c7d9d76 100644 --- a/web/src/pages/flows/FlowListPage.ts +++ b/web/src/pages/flows/FlowListPage.ts @@ -24,7 +24,7 @@ export class FlowListPage extends TablePage { return gettext("Flows describe a chain of Stages to authenticate, enroll or recover a user. Stages are chosen based on policies applied to them."); } pageIcon(): string { - return gettext("pf-icon pf-icon-process-automation"); + return "pf-icon pf-icon-process-automation"; } @property() diff --git a/web/src/pages/groups/GroupListPage.ts b/web/src/pages/groups/GroupListPage.ts index 5b2ed1ab9..fd4bf00ae 100644 --- a/web/src/pages/groups/GroupListPage.ts +++ b/web/src/pages/groups/GroupListPage.ts @@ -24,7 +24,7 @@ export class GroupListPage extends TablePage { return gettext("Group users together and give them permissions based on the membership."); } pageIcon(): string { - return gettext("pf-icon pf-icon-users"); + return "pf-icon pf-icon-users"; } @property() diff --git a/web/src/pages/policies/PolicyListPage.ts b/web/src/pages/policies/PolicyListPage.ts index 723265b0e..609fe37c5 100644 --- a/web/src/pages/policies/PolicyListPage.ts +++ b/web/src/pages/policies/PolicyListPage.ts @@ -26,7 +26,7 @@ export class PolicyListPage extends TablePage { return gettext("Allow users to use Applications based on properties, enforce Password Criteria and selectively apply Stages."); } pageIcon(): string { - return gettext("pf-icon pf-icon-infrastructure"); + return "pf-icon pf-icon-infrastructure"; } @property() diff --git a/web/src/pages/property-mappings/PropertyMappingListPage.ts b/web/src/pages/property-mappings/PropertyMappingListPage.ts index cdc6b55c1..7b7dc4e3e 100644 --- a/web/src/pages/property-mappings/PropertyMappingListPage.ts +++ b/web/src/pages/property-mappings/PropertyMappingListPage.ts @@ -26,7 +26,7 @@ export class PropertyMappingListPage extends TablePage { return gettext("Control how authentik exposes and interprets information."); } pageIcon(): string { - return gettext("pf-icon pf-icon-blueprint"); + return "pf-icon pf-icon-blueprint"; } @property() diff --git a/web/src/pages/providers/ProviderListPage.ts b/web/src/pages/providers/ProviderListPage.ts index 5d064b218..daf4c29cf 100644 --- a/web/src/pages/providers/ProviderListPage.ts +++ b/web/src/pages/providers/ProviderListPage.ts @@ -26,7 +26,7 @@ export class ProviderListPage extends TablePage { return gettext("Provide support for protocols like SAML and OAuth to assigned applications."); } pageIcon(): string { - return gettext("pf-icon pf-icon-integration"); + return "pf-icon pf-icon-integration"; } @property() diff --git a/web/src/pages/stages/InvitationListPage.ts b/web/src/pages/stages/InvitationListPage.ts index 2afb3327f..f762c2ae5 100644 --- a/web/src/pages/stages/InvitationListPage.ts +++ b/web/src/pages/stages/InvitationListPage.ts @@ -24,7 +24,7 @@ export class InvitationListPage extends TablePage { return gettext("Create Invitation Links to enroll Users, and optionally force specific attributes of their account."); } pageIcon(): string { - return gettext("pf-icon pf-icon-migration"); + return "pf-icon pf-icon-migration"; } @property() diff --git a/web/src/pages/stages/PromptListPage.ts b/web/src/pages/stages/PromptListPage.ts index 4f8f52f50..106f491fc 100644 --- a/web/src/pages/stages/PromptListPage.ts +++ b/web/src/pages/stages/PromptListPage.ts @@ -24,7 +24,7 @@ export class PromptListPage extends TablePage { return gettext("Single Prompts that can be used for Prompt Stages."); } pageIcon(): string { - return gettext("pf-icon pf-icon-plugged"); + return "pf-icon pf-icon-plugged"; } @property() diff --git a/web/src/pages/system-tasks/SystemTaskListPage.ts b/web/src/pages/system-tasks/SystemTaskListPage.ts index 697b3220a..815a51015 100644 --- a/web/src/pages/system-tasks/SystemTaskListPage.ts +++ b/web/src/pages/system-tasks/SystemTaskListPage.ts @@ -22,7 +22,7 @@ export class SystemTaskListPage extends TablePage { return gettext("Long-running operations which authentik executes in the background."); } pageIcon(): string { - return gettext("pf-icon pf-icon-automation"); + return "pf-icon pf-icon-automation"; } @property() diff --git a/web/src/pages/tokens/TokenListPage.ts b/web/src/pages/tokens/TokenListPage.ts index b73c03b3c..aa91449a7 100644 --- a/web/src/pages/tokens/TokenListPage.ts +++ b/web/src/pages/tokens/TokenListPage.ts @@ -24,7 +24,7 @@ export class TokenListPage extends TablePage { return gettext("Tokens are used throughout authentik for Email validation stages, Recovery keys and API access."); } pageIcon(): string { - return gettext("pf-icon pf-icon-security"); + return "pf-icon pf-icon-security"; } @property() diff --git a/web/src/pages/users/UserListPage.ts b/web/src/pages/users/UserListPage.ts index 98379ec09..1b600e380 100644 --- a/web/src/pages/users/UserListPage.ts +++ b/web/src/pages/users/UserListPage.ts @@ -26,7 +26,7 @@ export class UserListPage extends TablePage { return ""; } pageIcon(): string { - return gettext("pf-icon pf-icon-user"); + return "pf-icon pf-icon-user"; } @property()