web/admin: fix unlocalised strings

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-04 00:10:56 +02:00
parent 195951a61a
commit 87fdb591ce
5 changed files with 10 additions and 10 deletions

View File

@ -122,7 +122,7 @@ export class PromptStage extends BaseStage {
return html`<ak-empty-state
?loading="${true}"
header=${t`Loading`}>
</ak-empty-state>`;
</ak-empty-state>`;
}
return html`<header class="pf-c-login__main-header">
<h1 class="pf-c-title pf-m-3xl">

View File

@ -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;

View File

@ -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";

View File

@ -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";

View File

@ -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";