Add question box as special rendering

This commit is contained in:
Pieter Vander Vennet 2023-03-31 03:28:11 +02:00
parent 15664df63f
commit d47fd7e746
42 changed files with 956 additions and 311 deletions

View file

@ -90,11 +90,15 @@
},
{
"id": "translations-title",
"label": ["translations"],
"label": [
"translations"
],
"render": "<h3>Translating MapComplete</h3>"
},
{
"label": ["translations"],
"label": [
"translations"
],
"id": "translation-mode",
"question": {
"en": "Do you want to help translating MapComplete?",
@ -127,7 +131,9 @@
]
},
{
"label": ["translations"],
"label": [
"translations"
],
"id": "translation-help",
"mappings": [
{
@ -153,7 +159,9 @@
]
},
{
"label": ["translations"],
"label": [
"translations"
],
"id": "translation-completeness",
"render": {
"ca": "Les traduccions de {_theme} en {_language} tenen un {_translation_percentage}%: {_translation_translated_count} cadenes de {_translation_total} estan traduïdes",
@ -188,7 +196,9 @@
},
{
"id": "translation-links",
"label": ["translations"],
"label": [
"translations"
],
"condition": {
"and": [
"_translation_links~*",
@ -318,4 +328,4 @@
}
],
"mapRendering": null
}
}