diff --git a/UI/Input/CheckBox.ts b/UI/Input/CheckBox.ts index 5c5c120..7f03c97 100644 --- a/UI/Input/CheckBox.ts +++ b/UI/Input/CheckBox.ts @@ -6,8 +6,6 @@ import instantiate = WebAssembly.instantiate; export class CheckBox extends UIElement{ - private data: UIEventSource; - private readonly _data: UIEventSource; private readonly _showEnabled: string|UIElement; private readonly _showDisabled: string|UIElement; diff --git a/index.ts b/index.ts index 86763b9..6ca5c82 100644 --- a/index.ts +++ b/index.ts @@ -233,10 +233,10 @@ new CheckBox(layerControl, closedFilterButton).AttachTo("filter__selection"); // ------------------ Setup various other UI elements ------------ -document.title = layoutToUse.title.InnerRender(); +document.title = Translations.W(layoutToUse.title).InnerRender(); Locale.language.addCallback(e => { - document.title = layoutToUse.title.InnerRender(); + document.title = Translations.W(layoutToUse.title).InnerRender(); })