web/admin: fix unlocalised strings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
195951a61a
commit
87fdb591ce
|
@ -120,9 +120,9 @@ export class PromptStage extends BaseStage {
|
|||
render(): TemplateResult {
|
||||
if (!this.challenge) {
|
||||
return html`<ak-empty-state
|
||||
?loading="${true}"
|
||||
header=${t`Loading`}>
|
||||
</ak-empty-state>`;
|
||||
?loading="${true}"
|
||||
header=${t`Loading`}>
|
||||
</ak-empty-state>`;
|
||||
}
|
||||
return html`<header class="pf-c-login__main-header">
|
||||
<h1 class="pf-c-title pf-m-3xl">
|
||||
|
|
|
@ -14,7 +14,7 @@ export class EventListPage extends TablePage<Event> {
|
|||
expandable = true;
|
||||
|
||||
pageTitle(): string {
|
||||
return "Event Log";
|
||||
return t`Event Log`;
|
||||
}
|
||||
pageDescription(): string | undefined {
|
||||
return;
|
||||
|
|
|
@ -19,10 +19,10 @@ import { ifDefined } from "lit-html/directives/if-defined";
|
|||
@customElement("ak-outpost-list")
|
||||
export class OutpostListPage extends TablePage<Outpost> {
|
||||
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";
|
||||
|
|
|
@ -21,10 +21,10 @@ import "./oauth/OAuthSourceForm";
|
|||
@customElement("ak-source-list")
|
||||
export class SourceListPage extends TablePage<Source> {
|
||||
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";
|
||||
|
|
|
@ -36,10 +36,10 @@ import "./user_write/UserWriteStageForm.ts";
|
|||
@customElement("ak-stage-list")
|
||||
export class StageListPage extends TablePage<Stage> {
|
||||
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";
|
||||
|
|
Reference in a new issue