diff --git a/web/src/flows/stages/prompt/PromptStage.ts b/web/src/flows/stages/prompt/PromptStage.ts index 249e123b4..6c7b699dd 100644 --- a/web/src/flows/stages/prompt/PromptStage.ts +++ b/web/src/flows/stages/prompt/PromptStage.ts @@ -120,9 +120,9 @@ export class PromptStage extends BaseStage { render(): TemplateResult { if (!this.challenge) { return html` -`; + ?loading="${true}" + header=${t`Loading`}> + `; } return html`

diff --git a/web/src/pages/events/EventListPage.ts b/web/src/pages/events/EventListPage.ts index 3eef8a45c..d2258149b 100644 --- a/web/src/pages/events/EventListPage.ts +++ b/web/src/pages/events/EventListPage.ts @@ -14,7 +14,7 @@ export class EventListPage extends TablePage { expandable = true; pageTitle(): string { - return "Event Log"; + return t`Event Log`; } pageDescription(): string | undefined { return; diff --git a/web/src/pages/outposts/OutpostListPage.ts b/web/src/pages/outposts/OutpostListPage.ts index ffeeff5e5..56d167f9a 100644 --- a/web/src/pages/outposts/OutpostListPage.ts +++ b/web/src/pages/outposts/OutpostListPage.ts @@ -19,10 +19,10 @@ import { ifDefined } from "lit-html/directives/if-defined"; @customElement("ak-outpost-list") export class OutpostListPage extends TablePage { pageTitle(): string { - return "Outposts"; + return t`Outposts`; } pageDescription(): string | undefined { - return "Outposts are deployments of authentik components to support different environments and protocols, like reverse proxies."; + return t`Outposts are deployments of authentik components to support different environments and protocols, like reverse proxies.`; } pageIcon(): string { return "pf-icon pf-icon-zone"; diff --git a/web/src/pages/sources/SourcesListPage.ts b/web/src/pages/sources/SourcesListPage.ts index 947894df0..06be4eaeb 100644 --- a/web/src/pages/sources/SourcesListPage.ts +++ b/web/src/pages/sources/SourcesListPage.ts @@ -21,10 +21,10 @@ import "./oauth/OAuthSourceForm"; @customElement("ak-source-list") export class SourceListPage extends TablePage { pageTitle(): string { - return "Sources"; + return t`Sources`; } pageDescription(): string | undefined { - return "External Sources which can be used to get Identities into authentik, for example Social Providers like Twiter and GitHub or Enterprise Providers like ADFS and LDAP."; + return t`External Sources which can be used to get Identities into authentik, for example Social Providers like Twiter and GitHub or Enterprise Providers like ADFS and LDAP.`; } pageIcon(): string { return "pf-icon pf-icon-middleware"; diff --git a/web/src/pages/stages/StageListPage.ts b/web/src/pages/stages/StageListPage.ts index 5181731f2..baf4452c9 100644 --- a/web/src/pages/stages/StageListPage.ts +++ b/web/src/pages/stages/StageListPage.ts @@ -36,10 +36,10 @@ import "./user_write/UserWriteStageForm.ts"; @customElement("ak-stage-list") export class StageListPage extends TablePage { pageTitle(): string { - return "Stages"; + return t`Stages`; } pageDescription(): string | undefined { - return "Stages are single steps of a Flow that a user is guided through."; + return t`Stages are single steps of a Flow that a user is guided through.`; } pageIcon(): string { return "pf-icon pf-icon-plugged";