From edab6109ca440946c39bd1b57c7c998187e20f8e Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 21 Jun 2021 03:10:07 +0200 Subject: [PATCH] Remove typo and unused import --- UI/SubstitutedTranslation.ts | 2 +- UI/i18n/Translations.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/SubstitutedTranslation.ts b/UI/SubstitutedTranslation.ts index 2a51d15e47..c99699dda4 100644 --- a/UI/SubstitutedTranslation.ts +++ b/UI/SubstitutedTranslation.ts @@ -60,7 +60,7 @@ export class SubstitutedTranslation extends VariableUiElement { element = knownSpecial.constr(State.state, tags, args); }catch(e){ console.error("SPECIALRENDERING FAILED for", tags.data.id, e) - element = new FixedUiElement(`Could not generate special renering for ${knownSpecial}(${args.join(", ")}) ${e}`).SetClass("alert") + element = new FixedUiElement(`Could not generate special rendering for ${knownSpecial}(${args.join(", ")}) ${e}`).SetClass("alert") } return [...partBefore, element, ...partAfter] diff --git a/UI/i18n/Translations.ts b/UI/i18n/Translations.ts index d530c8261a..5a0c81459b 100644 --- a/UI/i18n/Translations.ts +++ b/UI/i18n/Translations.ts @@ -1,4 +1,3 @@ -import {UIElement} from "../UIElement"; import {FixedUiElement} from "../Base/FixedUiElement"; import AllTranslationAssets from "../../AllTranslationAssets"; import {Translation} from "./Translation";