From 2a2104055185e1f9fa8f1cad620606b690527a0c Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 19 May 2023 11:35:38 +0200 Subject: [PATCH] Fix: build --- Logic/State/UserRelatedState.ts | 2 +- scripts/generateTranslations.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Logic/State/UserRelatedState.ts b/Logic/State/UserRelatedState.ts index 6071596f7..529420a2b 100644 --- a/Logic/State/UserRelatedState.ts +++ b/Logic/State/UserRelatedState.ts @@ -10,7 +10,7 @@ import translators from "../../assets/translators.json" import codeContributors from "../../assets/contributors.json" import LayerConfig from "../../Models/ThemeConfig/LayerConfig" import {LayerConfigJson} from "../../Models/ThemeConfig/Json/LayerConfigJson" -import usersettings from "../../assets/generated/usersettings.json" +import usersettings from "../../assets/generated/layers/usersettings.json" import Locale from "../../UI/i18n/Locale" import LinkToWeblate from "../../UI/Base/LinkToWeblate" import FeatureSwitchState from "./FeatureSwitchState" diff --git a/scripts/generateTranslations.ts b/scripts/generateTranslations.ts index a3d0e9860..82331336b 100644 --- a/scripts/generateTranslations.ts +++ b/scripts/generateTranslations.ts @@ -112,7 +112,6 @@ class TranslationPart { const v = object[key] if (v == null) { - console.warn("Got a null value for key ", key) continue } if (typeof v !== "object") {