forked from MapComplete/MapComplete
Chore: reset translations to apply fix
This commit is contained in:
parent
5281bcda27
commit
7e854bb164
10 changed files with 27 additions and 47 deletions
langs/layers
src
|
@ -13352,7 +13352,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "Quant costa {product_name}?",
|
||||
"render": "{product_name} costa {charge:{product_key}}"
|
||||
"render": "{product_name} costa {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -10273,7 +10273,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "Kolik stojí {product_name}?",
|
||||
"render": "{product_name} {charge:{product_key}}"
|
||||
"render": "{product_name} {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -9947,6 +9947,10 @@
|
|||
"name": {
|
||||
"question": "Was ist der Stammesname?",
|
||||
"render": "Dieser Stamm heißt {name}"
|
||||
},
|
||||
"start_date": {
|
||||
"question": "Wann wurde dieser Stamm gegründet?",
|
||||
"render": "Dieser Stamm wurde gegründet am {start_date}"
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
|
@ -13324,7 +13328,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "Wie viel kostet {product_name}?",
|
||||
"render": "{product_name} kostet {charge:{product_key}}"
|
||||
"render": "{product_name} kostet {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -10100,6 +10100,10 @@
|
|||
"name": {
|
||||
"question": "What is the name of this group?",
|
||||
"render": "The name of this group is {name}"
|
||||
},
|
||||
"start_date": {
|
||||
"question": "When was this group founded?",
|
||||
"render": "This group was founded at {start_date}"
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
|
@ -13494,7 +13498,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "How much does a {product_name} cost?",
|
||||
"render": "{product_name} costs {charge:{product_key}}"
|
||||
"render": "{product_name} costs {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -12216,7 +12216,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "¿Cuánto cuesta un/una {product_name}?",
|
||||
"render": "Un/Una {product_name} cuesta {charge:{product_key}}"
|
||||
"render": "Un/Una {product_name} cuesta {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -10812,7 +10812,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "Hoeveel kost {product_name}?",
|
||||
"render": "{product_name} kost {charge:{product_key}}"
|
||||
"render": "{product_name} kost {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -1988,7 +1988,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "Quanto custa {product_name}?",
|
||||
"render": "{product_name} custa {charge:{product_key}}"
|
||||
"render": "{product_name} custa {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -1657,7 +1657,7 @@
|
|||
"renderings": {
|
||||
"0": {
|
||||
"question": "Quanto custa {product_name}?",
|
||||
"render": "{product_name} custa {charge:{product_key}}"
|
||||
"render": "{product_name} custa {charge}"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
|
|
|
@ -1,42 +1,14 @@
|
|||
import { Utils } from "../../Utils"
|
||||
/** This code is autogenerated - do not edit. Edit ./assets/layers/usersettings/usersettings.json instead */
|
||||
export class ThemeMetaTagging {
|
||||
public static readonly themeName = "usersettings"
|
||||
public static readonly themeName = "usersettings"
|
||||
|
||||
public metaTaggging_for_usersettings(feat: { properties: Record<string, string> }) {
|
||||
Utils.AddLazyProperty(feat.properties, "_mastodon_candidate_md", () =>
|
||||
feat.properties._description
|
||||
.match(/\[[^\]]*\]\((.*(mastodon|en.osm.town).*)\).*/)
|
||||
?.at(1)
|
||||
)
|
||||
Utils.AddLazyProperty(
|
||||
feat.properties,
|
||||
"_d",
|
||||
() => feat.properties._description?.replace(/</g, "<")?.replace(/>/g, ">") ?? ""
|
||||
)
|
||||
Utils.AddLazyProperty(feat.properties, "_mastodon_candidate_a", () =>
|
||||
((feat) => {
|
||||
const e = document.createElement("div")
|
||||
e.innerHTML = feat.properties._d
|
||||
return Array.from(e.getElementsByTagName("a")).filter(
|
||||
(a) => a.href.match(/mastodon|en.osm.town/) !== null
|
||||
)[0]?.href
|
||||
})(feat)
|
||||
)
|
||||
Utils.AddLazyProperty(feat.properties, "_mastodon_link", () =>
|
||||
((feat) => {
|
||||
const e = document.createElement("div")
|
||||
e.innerHTML = feat.properties._d
|
||||
return Array.from(e.getElementsByTagName("a")).filter(
|
||||
(a) => a.getAttribute("rel")?.indexOf("me") >= 0
|
||||
)[0]?.href
|
||||
})(feat)
|
||||
)
|
||||
Utils.AddLazyProperty(
|
||||
feat.properties,
|
||||
"_mastodon_candidate",
|
||||
() => feat.properties._mastodon_candidate_md ?? feat.properties._mastodon_candidate_a
|
||||
)
|
||||
feat.properties["__current_backgroun"] = "initial_value"
|
||||
}
|
||||
}
|
||||
public metaTaggging_for_usersettings(feat: {properties: Record<string, string>}) {
|
||||
Utils.AddLazyProperty(feat.properties, '_mastodon_candidate_md', () => feat.properties._description.match(/\[[^\]]*\]\((.*(mastodon|en.osm.town).*)\).*/)?.at(1) )
|
||||
Utils.AddLazyProperty(feat.properties, '_d', () => feat.properties._description?.replace(/</g,'<')?.replace(/>/g,'>') ?? '' )
|
||||
Utils.AddLazyProperty(feat.properties, '_mastodon_candidate_a', () => (feat => {const e = document.createElement('div');e.innerHTML = feat.properties._d;return Array.from(e.getElementsByTagName("a")).filter(a => a.href.match(/mastodon|en.osm.town/) !== null)[0]?.href }) (feat) )
|
||||
Utils.AddLazyProperty(feat.properties, '_mastodon_link', () => (feat => {const e = document.createElement('div');e.innerHTML = feat.properties._d;return Array.from(e.getElementsByTagName("a")).filter(a => a.getAttribute("rel")?.indexOf('me') >= 0)[0]?.href})(feat) )
|
||||
Utils.AddLazyProperty(feat.properties, '_mastodon_candidate', () => feat.properties._mastodon_candidate_md ?? feat.properties._mastodon_candidate_a )
|
||||
feat.properties['__current_backgroun'] = 'initial_value'
|
||||
}
|
||||
}
|
|
@ -1 +1 @@
|
|||
{"properties":{"name":"Bing Maps Aerial","id":"Bing","url":"https://ecn.t3.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=15063&pr=odbl&n=f","type":"bing","category":"photo","min_zoom":1,"max_zoom":22},"type":"Feature","geometry":null}
|
||||
{"properties":{"name":"Bing Maps Aerial","id":"Bing","url":"https://ecn.t2.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=15066&pr=odbl&n=f","type":"bing","category":"photo","min_zoom":1,"max_zoom":22},"type":"Feature","geometry":null}
|
Loading…
Add table
Reference in a new issue