Custom themes now stick to the user account and can be revisited, small improvements
This commit is contained in:
parent
bf6eae9af1
commit
4a0970a71f
23 changed files with 556 additions and 1748 deletions
|
@ -10,6 +10,7 @@ import {UIEventSource} from "../../Logic/UIEventSource";
|
|||
import {TagDependantUIElementConstructor} from "../UIElementConstructor";
|
||||
import {Map} from "../Layers/Map";
|
||||
import {UIElement} from "../../UI/UIElement";
|
||||
import Translations from "../../UI/i18n/Translations";
|
||||
|
||||
|
||||
export interface TagRenderingConfigJson {
|
||||
|
@ -246,7 +247,7 @@ export class CustomLayoutFromJSON {
|
|||
json.id,
|
||||
{
|
||||
description: t(json.description),
|
||||
name: t(json.title.render),
|
||||
name: Translations.WT(t(json.title.render)).txt.replace(/[^a-zA-Z0-9-_]/g, ''),
|
||||
icon: icon,
|
||||
minzoom: parseInt(""+json.minzoom),
|
||||
title: tr(json.title),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue