-

${t`My applications`}

+

${msg("My applications")}

${this.uiConfig.searchEnabled ? this.renderSearch() : html``}
diff --git a/web/src/user/LibraryPage/helpers.ts b/web/src/user/LibraryPage/helpers.ts index 35b0f9561..50a7f9ed6 100644 --- a/web/src/user/LibraryPage/helpers.ts +++ b/web/src/user/LibraryPage/helpers.ts @@ -1,7 +1,6 @@ import "@goauthentik/elements/EmptyState"; -import { t } from "@lingui/macro"; - +import { msg } from "@lit/localize"; import { html } from "lit"; import type { TemplateResult } from "lit"; @@ -20,4 +19,6 @@ export const isCustomEvent = (v: any): v is CustomEvent => v instanceof CustomEvent && "detail" in v; export const loading = (v: T, actual: TemplateResult) => - v ? actual : html` `; + v + ? actual + : html` `; diff --git a/web/src/user/UserInterface.ts b/web/src/user/UserInterface.ts index 5baa3f087..12bf01705 100644 --- a/web/src/user/UserInterface.ts +++ b/web/src/user/UserInterface.ts @@ -21,8 +21,7 @@ import { DefaultTenant } from "@goauthentik/elements/sidebar/SidebarBrand"; import "@goauthentik/elements/sidebar/SidebarItem"; import { ROUTES } from "@goauthentik/user/Routes"; -import { t } from "@lingui/macro"; - +import { msg } from "@lit/localize"; import { CSSResult, TemplateResult, css, html } from "lit"; import { customElement, property, state } from "lit/decorators.js"; @@ -189,7 +188,7 @@ export class UserInterface extends Interface {