web: fix locale inconsistencies (#4888)

start fixing locale inconsistencies

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-03-09 23:57:54 +01:00
committed by GitHub
parent d11ee46589
commit 9b8c0e3924
6 changed files with 64 additions and 32 deletions

View File

@ -13,7 +13,6 @@ import { AdminApi, Version } from "@goauthentik/api";
@customElement("ak-admin-status-version")
export class VersionStatusCard extends AdminStatusCard<Version> {
header = t`Version`;
headerLink = "https://goauthentik.io/docs/releases";
icon = "pf-icon pf-icon-bundle";
@ -40,6 +39,10 @@ export class VersionStatusCard extends AdminStatusCard<Version> {
});
}
renderHeader(): TemplateResult {
return html`${t`Version`}`;
}
renderValue(): TemplateResult {
if (this.value?.buildHash) {
return html`