forked from MapComplete/MapComplete
Studio: WIP
This commit is contained in:
parent
6ff2c629f0
commit
cb538c2303
33 changed files with 608 additions and 2071 deletions
|
@ -393,6 +393,7 @@ export interface LayerConfigJson {
|
|||
* This is mainly create questions for a 'left' and a 'right' side of the road.
|
||||
* These will be grouped and questions will be asked together
|
||||
*
|
||||
* type: tagrendering[]
|
||||
* group: tagrenderings
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -10,7 +10,7 @@ export interface TagRenderingConfigJson {
|
|||
* question: What text should be rendered?
|
||||
*
|
||||
* This piece of text will be shown in the infobox.
|
||||
* Note that "{key}"-parts are substituted by the corresponding values of the element.
|
||||
* Note that "&LBRACEkey&RBRACE"-parts are substituted by the corresponding values of the element.
|
||||
*
|
||||
* This text will be shown if:
|
||||
* - there is no mapping which matches (or there are no matches)
|
||||
|
|
|
@ -233,6 +233,10 @@ export default class TagRenderingConfig {
|
|||
if (txt.indexOf("{canonical(" + this.freeform.key + ")") >= 0) {
|
||||
continue
|
||||
}
|
||||
|
||||
if (txt.indexOf("{translated(" + this.freeform.key + ")") >= 0) {
|
||||
continue
|
||||
}
|
||||
if (
|
||||
this.freeform.type === "opening_hours" &&
|
||||
txt.indexOf("{opening_hours_table(") >= 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue