Refactoring the import button

This commit is contained in:
Pieter Vander Vennet 2021-12-09 13:16:40 +01:00
parent f29c62ab19
commit 6e84dfcab0
11 changed files with 352 additions and 208 deletions

View file

@ -108,10 +108,15 @@
"confirmButton": "Add a {category} here.<br/><div class='alert'>Your addition is visible for everyone</div>",
"openLayerControl": "Open the layer control box",
"layerNotEnabled": "The layer {layer} is not enabled. Enable this layer to add a point",
"hasBeenImported": "This point has already been imported",
"importTags": "The element will receive {tags}",
"zoomInMore": "Zoom in more to import this feature",
"wrongType": "This element is not a point or a way and can not be imported"
"import": {
"officialThemesOnly": "The import button is disabled for unofficial themes to prevent accidents",
"howToTest": "To test, add <b>test=true</b> or <b>backend=osm-test</b> to the URL. The changeset will be printed in the console. Please open a PR to officialize this theme to actually enable the import button.",
"hasBeenImported": "This object has been imported",
"importTags": "The element will receive {tags}",
"zoomInMore": "Zoom in more to import this feature",
"wrongType": "This element is not a point or a way and can not be imported"
}
},
"pickLanguage": "Choose a language: ",
"about": "Easily edit and add OpenStreetMap for a certain theme",

View file

@ -2754,6 +2754,9 @@
},
"4": {
"then": "This is an entrance without a physical door"
},
"5": {
"then": "This is an entrance without a physical door"
}
},
"question": "What is the type of this door?<br/><span class='subtle'>Wether or not the door is automated is asked in the next question</span>"
@ -3346,6 +3349,10 @@
"render": "Car parking"
}
},
"pedestrian_path": {
"description": "Pedestrian footpaths, especially used for indoor navigation and snapping entrances to this layer",
"name": "Pedestrain paths"
},
"picnic_table": {
"description": "The layer showing picnic tables",
"name": "Picnic tables",

View file

@ -2729,6 +2729,9 @@
},
"3": {
"then": "Een poort die langs boven dichtrolt, typisch voor garages"
},
"4": {
"then": "Een poort die langs boven dichtrolt, typisch voor garages"
}
}
}

View file

@ -1045,6 +1045,12 @@
"title": {
"render": "Postal code {postal_code}"
}
},
"2": {
"name": "town halls",
"title": {
"render": "Town hall {name}"
}
}
},
"shortDescription": "Postal codes",