forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
b36b103ed3
commit
79f8940898
64 changed files with 277 additions and 249 deletions
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue