forked from MapComplete/MapComplete
Merge branch 'master' into develop
This commit is contained in:
commit
db25d64409
30 changed files with 556 additions and 145 deletions
|
@ -622,7 +622,8 @@ class MiscTagRenderingChecks extends DesugaringStep<TagRenderingConfigJson> {
|
|||
warnings.push(
|
||||
"At " +
|
||||
context +
|
||||
": the question contains a div, a span, a br or an element with class 'subtle'. Please, use a `questionHint` instead"
|
||||
": the question contains a div, a span, a br or an element with class 'subtle'. Please, use a `questionHint` instead.\n The question is: " +
|
||||
question.textFor("en")
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,7 +120,7 @@ export default class TagRenderingConfig {
|
|||
this.labels = json.labels ?? []
|
||||
this.render = Translations.T(json.render, translationKey + ".render")
|
||||
this.question = Translations.T(json.question, translationKey + ".question")
|
||||
this.question = Translations.T(json.questionHint, translationKey + ".questionHint")
|
||||
this.questionhint = Translations.T(json.questionHint, translationKey + ".questionHint")
|
||||
this.description = Translations.T(json.description, translationKey + ".description")
|
||||
this.condition = TagUtils.Tag(json.condition ?? { and: [] }, `${context}.condition`)
|
||||
if (json.freeform) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue