diff --git a/frontend/src/components/invite-form.ts b/frontend/src/components/invite-form.ts index 679426bc..b4c1d7c3 100644 --- a/frontend/src/components/invite-form.ts +++ b/frontend/src/components/invite-form.ts @@ -11,8 +11,8 @@ const sortByName = sortBy("name"); /** * @event success */ -@customElement("btrix-invite-form") @localized() +@customElement("btrix-invite-form") export class InviteForm extends LiteElement { @property({ type: Object }) authState?: AuthState; diff --git a/frontend/src/components/locale-picker.ts b/frontend/src/components/locale-picker.ts index c9245305..9cdfca89 100644 --- a/frontend/src/components/locale-picker.ts +++ b/frontend/src/components/locale-picker.ts @@ -10,8 +10,8 @@ type LocaleNames = { [L in LocaleCode]: string; }; -@customElement("btrix-locale-picker") @localized() +@customElement("btrix-locale-picker") export class LocalePicker extends LitElement { @state() private localeNames: LocaleNames = {} as LocaleNames; diff --git a/frontend/src/components/orgs-list.ts b/frontend/src/components/orgs-list.ts index b99d1d82..762ab8c0 100644 --- a/frontend/src/components/orgs-list.ts +++ b/frontend/src/components/orgs-list.ts @@ -8,8 +8,8 @@ import LiteElement, { html } from "../utils/LiteElement"; import { isAdmin } from "../utils/orgs"; import { SlInput } from "@shoelace-style/shoelace"; -@customElement("btrix-orgs-list") @localized() +@customElement("btrix-orgs-list") export class OrgsList extends LiteElement { @property({ type: Object }) userInfo?: CurrentUser; diff --git a/frontend/src/components/profile-browser.ts b/frontend/src/components/profile-browser.ts index 2f842a52..83e737e2 100644 --- a/frontend/src/components/profile-browser.ts +++ b/frontend/src/components/profile-browser.ts @@ -23,8 +23,8 @@ const hiddenClassList = ["translate-x-2/3", "opacity-0", "pointer-events-none"]; * * @event load Event on iframe load, with src URL */ -@customElement("btrix-profile-browser") @localized() +@customElement("btrix-profile-browser") export class ProfileBrowser extends LiteElement { @property({ type: Object }) authState!: AuthState; diff --git a/frontend/src/components/queue-exclusion-form.ts b/frontend/src/components/queue-exclusion-form.ts index c9f2f8e5..24971bad 100644 --- a/frontend/src/components/queue-exclusion-form.ts +++ b/frontend/src/components/queue-exclusion-form.ts @@ -36,8 +36,8 @@ const MIN_LENGTH = 2; * @event on-change ExclusionChangeEvent * @event on-add ExclusionAddEvent */ -@customElement("btrix-queue-exclusion-form") @localized() +@customElement("btrix-queue-exclusion-form") export class QueueExclusionForm extends LiteElement { @property({ type: Boolean }) isSubmitting = false; diff --git a/frontend/src/components/relative-duration.ts b/frontend/src/components/relative-duration.ts index 02a821f2..2bfb2555 100644 --- a/frontend/src/components/relative-duration.ts +++ b/frontend/src/components/relative-duration.ts @@ -17,8 +17,8 @@ export type HumanizeOptions = { * * ``` */ -@customElement("btrix-relative-duration") @localized() +@customElement("btrix-relative-duration") export class RelativeDuration extends LitElement { @property({ type: String }) value?: string; // `new Date` compatible date format diff --git a/frontend/src/components/search-combobox.ts b/frontend/src/components/search-combobox.ts index 7a46502f..37191287 100644 --- a/frontend/src/components/search-combobox.ts +++ b/frontend/src/components/search-combobox.ts @@ -27,8 +27,8 @@ const MAX_SEARCH_RESULTS = 10; * @event on-select * @event on-clear */ -@customElement("btrix-search-combobox") @localized() +@customElement("btrix-search-combobox") export class SearchCombobox extends LitElement { @property({ type: Array }) searchOptions: any[] = []; diff --git a/frontend/src/components/sign-up-form.ts b/frontend/src/components/sign-up-form.ts index a77d9e41..00ba47d7 100644 --- a/frontend/src/components/sign-up-form.ts +++ b/frontend/src/components/sign-up-form.ts @@ -20,8 +20,8 @@ const { PASSWORD_MINLENGTH, PASSWORD_MAXLENGTH, PASSWORD_MIN_SCORE } = * @event authenticated * @event unauthenticated */ -@customElement("btrix-sign-up-form") @localized() +@customElement("btrix-sign-up-form") export class SignUpForm extends LiteElement { /** Optonal read-only email, e.g. for invitations */ @property({ type: String }) diff --git a/frontend/src/components/time-input.ts b/frontend/src/components/time-input.ts index fa38f72d..e414176a 100644 --- a/frontend/src/components/time-input.ts +++ b/frontend/src/components/time-input.ts @@ -23,8 +23,8 @@ export type TimeInputChangeEvent = CustomEvent<{ * @events * time-change TimeInputChangeEvent */ -@customElement("btrix-time-input") @localized() +@customElement("btrix-time-input") export class TimeInput extends LitElement { static styles = css` fieldset { diff --git a/frontend/src/components/workflow-list.ts b/frontend/src/components/workflow-list.ts index d3826eca..c824ace6 100644 --- a/frontend/src/components/workflow-list.ts +++ b/frontend/src/components/workflow-list.ts @@ -524,8 +524,8 @@ export class WorkflowListItem extends LitElement { } } -@customElement("btrix-workflow-list") @localized() +@customElement("btrix-workflow-list") export class WorkflowList extends LitElement { static styles = [ srOnly,