Fix build

This commit is contained in:
Pieter Vander Vennet 2020-07-31 17:38:03 +02:00
parent b36b103ed3
commit 79f8940898
64 changed files with 277 additions and 249 deletions

View file

@ -2,7 +2,6 @@ import {UIElement} from "./UIElement";
import {UIEventSource} from "./UIEventSource";
import {ImageCarousel} from "./Image/ImageCarousel";
import {VerticalCombine} from "./Base/VerticalCombine";
import {TagRenderingOptions} from "../Customizations/TagRendering";
import {OsmLink} from "../Customizations/Questions/OsmLink";
import {WikipediaLink} from "../Customizations/Questions/WikipediaLink";
import {And} from "../Logic/TagsFilter";
@ -12,6 +11,7 @@ import {Changes} from "../Logic/Osm/Changes";
import {UserDetails} from "../Logic/Osm/OsmConnection";
import {FixedUiElement} from "./Base/FixedUiElement";
import {State} from "../State";
import {TagRenderingOptions} from "../Customizations/TagRenderingOptions";
export class FeatureInfoBox extends UIElement {

View file

@ -956,7 +956,7 @@ export default class Translations {
})
},
favourite: {
title: "Custom",
title: new T({en: "Custom"}),
description: new T({
en: "<h3>Your custom theme</h3>In your custom theme, you can add some favourite layers from other themes to create a custom theme."
}),
@ -982,6 +982,8 @@ export default class Translations {
const item = queue.pop();
if (item instanceof Translation || item.translations !== undefined) {
tr.push(item);
} else if (typeof (item) === "string") {
console.warn("Got single string in translationgs file: ", item);
} else {
for (const t in item) {
const x = item[t];