Fix build, translation sync

This commit is contained in:
Pieter Vander Vennet 2022-04-30 02:41:06 +02:00
parent 066fa1056b
commit 566facaa4e
14 changed files with 243 additions and 68 deletions

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Before After
Before After

View file

@ -53,7 +53,7 @@
"point", "point",
"centroid" "centroid"
], ],
"icon": "./assets/themes/dog/dog-park.svg", "icon": "./assets/layers/dogpark/dog-park.svg",
"iconSize": "40,40,center", "iconSize": "40,40,center",
"label": { "label": {
"mappings": [ "mappings": [

View file

@ -0,0 +1,13 @@
[
{
"path": "dog-park.svg",
"license": "CC0 1.0",
"authors": [
"Public Domain Symbols",
"Niels Elgaard Larsen"
],
"sources": [
"https://openclipart.org/detail/260714/dogpark15"
]
}
]

View file

@ -0,0 +1,13 @@
[
{
"path": "vet.svg",
"license": "PD",
"authors": [
"Niels Elgaard Larsen",
"Tim Hitchins"
],
"sources": [
"https://openclipart.org/detail/216869/snake-pole-logo-for-healthse-no-background-white-snake"
]
}
]

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Before After
Before After

View file

@ -48,7 +48,7 @@
"point", "point",
"centroid" "centroid"
], ],
"icon": "./assets/themes/dog/vet.svg", "icon": "./assets/layers/veterinary/vet.svg",
"iconSize": "30,40,center", "iconSize": "30,40,center",
"label": { "label": {
"mappings": [ "mappings": [

View file

@ -1,19 +1,13 @@
{ {
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"title": { "title": {
"en": "Changes made with MapComplete", "en": "Changes made with MapComplete"
"de": "Änderungen mit MapComplete",
"es": "Cambios hechos con MapComplete"
}, },
"shortDescription": { "shortDescription": {
"en": "Shows changes made by MapComplete", "en": "Shows changes made by MapComplete"
"de": "Zeigt Änderungen von MapComplete",
"es": "Muestra los cambios hechos por MapComplete"
}, },
"description": { "description": {
"en": "This maps shows all the changes made with MapComplete", "en": "This maps shows all the changes made with MapComplete"
"de": "Diese Karte zeigt alle Änderungen die mit MapComplete gemacht wurden",
"es": "Este mapa muestra todos los cambios hechos con MapComplete"
}, },
"maintainer": "", "maintainer": "",
"icon": "./assets/svg/logo.svg", "icon": "./assets/svg/logo.svg",
@ -28,9 +22,7 @@
{ {
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"name": { "name": {
"en": "Changeset centers", "en": "Changeset centers"
"de": "Schwerpunkte von Änderungssätzen",
"es": "Centros de conjuntos de cambios"
}, },
"minzoom": 0, "minzoom": 0,
"source": { "source": {
@ -44,45 +36,35 @@
], ],
"title": { "title": {
"render": { "render": {
"en": "Changeset for {theme}", "en": "Changeset for {theme}"
"de": "Änderungen für {theme}",
"es": "Conjunto de cambios para {theme}"
} }
}, },
"description": { "description": {
"en": "Shows all MapComplete changes", "en": "Shows all MapComplete changes"
"de": "Zeigt alle MapComplete Änderungen",
"es": "Muestra todos los cambios de MapComplete"
}, },
"tagRenderings": [ "tagRenderings": [
{ {
"id": "render_id", "id": "render_id",
"render": { "render": {
"en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>", "en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
"de": "Änderung <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>",
"es": "Conjunto de cambios <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
} }
}, },
{ {
"id": "contributor", "id": "contributor",
"render": { "render": {
"en": "Change made by <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>", "en": "Change made by <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>"
"de": "Änderung wurde von <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a> gemacht",
"es": "Cambio hecho por <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>"
} }
}, },
{ {
"id": "theme", "id": "theme",
"render": { "render": {
"en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>", "en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>"
"de": "Änderung mit Thema <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>"
}, },
"mappings": [ "mappings": [
{ {
"if": "theme~http.*", "if": "theme~http.*",
"then": { "then": {
"en": "Change with <b>unofficial</b> theme <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>", "en": "Change with <b>unofficial</b> theme <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>"
"de": "Änderung mit <b>inoffiziellem</b> Thema <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>"
} }
} }
] ]
@ -257,6 +239,10 @@
"if": "theme=personal", "if": "theme=personal",
"then": "./assets/svg/addSmall.svg" "then": "./assets/svg/addSmall.svg"
}, },
{
"if": "theme=pets",
"then": "./assets/layers/dogpark/dog-park.svg"
},
{ {
"if": "theme=play_forests", "if": "theme=play_forests",
"then": "./assets/layers/play_forest/icon.svg" "then": "./assets/layers/play_forest/icon.svg"
@ -346,8 +332,7 @@
} }
], ],
"question": { "question": {
"en": "Themename contains {search}", "en": "Themename contains {search}"
"de": "Themenname enthält {search}"
} }
} }
] ]
@ -363,9 +348,7 @@
} }
], ],
"question": { "question": {
"en": "Made by contributor {search}", "en": "Made by contributor {search}"
"de": "Erstellt von {search}",
"es": "Hecho por contributor/a {search}"
} }
} }
] ]
@ -381,9 +364,7 @@
} }
], ],
"question": { "question": {
"en": "<b>Not</b> made by contributor {search}", "en": "<b>Not</b> made by contributor {search}"
"de": "<b>Nicht</b> erstellt von {search}",
"es": "<b>No</b> hecho por contributor/a {search}"
} }
} }
] ]
@ -398,9 +379,7 @@
{ {
"id": "link_to_more", "id": "link_to_more",
"render": { "render": {
"en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>", "en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>"
"de": "Weitere Statistiken finden Sie <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>hier</a>",
"es": "Se pueden encontrar más estadísticas <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>aquí</a>"
} }
}, },
{ {

View file

@ -1,15 +1,4 @@
[ [
{
"path": "vet.svg",
"license": "PD",
"authors": [
"Niels Elgaard Larsen",
"Tim Hitchins"
],
"sources": [
"https://openclipart.org/detail/216869/snake-pole-logo-for-healthse-no-background-white-snake"
]
},
{ {
"path": "dog-food.svg", "path": "dog-food.svg",
"license": "PD", "license": "PD",
@ -23,17 +12,6 @@
"https://openclipart.org/detail/25719/aiga-restaurant" "https://openclipart.org/detail/25719/aiga-restaurant"
] ]
}, },
{
"path": "dog-park.svg",
"license": "CC0 1.0",
"authors": [
"Public Domain Symbols",
"Niels Elgaard Larsen"
],
"sources": [
"https://openclipart.org/detail/260714/dogpark15"
]
},
{ {
"path": "dogshop.svg", "path": "dogshop.svg",
"license": "CC0 1.0", "license": "CC0 1.0",

View file

@ -10,7 +10,7 @@
"en": "On this map, you'll find various interesting places for you pets: veterinarians, dog parks, pet shops, dog-friendly restaurants, ...", "en": "On this map, you'll find various interesting places for you pets: veterinarians, dog parks, pet shops, dog-friendly restaurants, ...",
"da": "Hundsteder" "da": "Hundsteder"
}, },
"icon": "./assets/themes/dog/dog-park.svg", "icon": "./assets/layers/dogpark/dog-park.svg",
"startZoom": 10, "startZoom": 10,
"startLat": 55, "startLat": 55,
"startLon": 12, "startLon": 12,
@ -30,7 +30,7 @@
"point", "point",
"centroid" "centroid"
], ],
"icon": "./assets/themes/dog/dog-food.svg", "icon": "./assets/themes/pets/dog-food.svg",
"iconSize": "30,30,center" "iconSize": "30,30,center"
} }
], ],
@ -86,7 +86,7 @@
"centroid" "centroid"
], ],
"icon": { "icon": {
"render": "./assets/themes/dog/dogshop.svg", "render": "./assets/themes/pets/dogshop.svg",
"mappings": [ "mappings": [
{ {
"if": { "if": {
@ -94,7 +94,7 @@
"shop=pet" "shop=pet"
] ]
}, },
"then": "./assets/themes/dog/petshop.svg" "then": "./assets/themes/pets/petshop.svg"
} }
] ]
}, },

View file

@ -1239,6 +1239,48 @@
} }
} }
}, },
"dogpark": {
"name": "hundeskove",
"presets": {
"0": {
"description": "En hundeskov eller hundeg&aring;rd beregnet til hunde, hvor de kan l&oslash;be uden snor",
"title": "en hundeskov"
}
},
"tagRenderings": {
"Name": {
"question": "Hvad hedder denne hundeskov?"
},
"dogarea": {
"render": "Denne hundeskov er på {_surface:ha} hektar"
},
"dogpark-fenced": {
"mappings": {
"0": {
"then": "Denne hundskov er indhegnet"
},
"1": {
"then": "Denne hundskov er ikke indhegnet"
}
},
"question": "Er denne hundeskov indhegnet?"
},
"smalldogs": {
"mappings": {
"0": {
"then": "Har en indhegning til hvalpe og sm&aring; hunde"
},
"1": {
"then": "Har <strong>ikke</strong> en indhegning til hvalpe og sm&aring; hunde"
}
},
"question": "Har denne hundeskov et separat indhegnet omr&aring;de for sm&aring; hunde og hvalpe (hvalpeg&aring;rd)?"
}
},
"title": {
"render": "hundeskov"
}
},
"entrance": { "entrance": {
"title": { "title": {
"render": "Indgang" "render": "Indgang"
@ -1289,5 +1331,22 @@
} }
}, },
"name": "Restauranter og fastfood" "name": "Restauranter og fastfood"
},
"veterinary": {
"name": "dyrl&aelig;ge",
"presets": {
"0": {
"description": "En dyrl&aelig;ge, der behandler hunde",
"title": "en dyrl&aelig;ge"
}
},
"tagRenderings": {
"vetName": {
"question": "Hvad hedder denne dyrl&aelig;?"
}
},
"title": {
"render": "dyrl&aelig;ge"
}
} }
} }

View file

@ -2494,6 +2494,13 @@
"description": "Diese Ebene visualisiert Richtungen", "description": "Diese Ebene visualisiert Richtungen",
"name": "Aufnahmewinkel der Kamera anzeigen" "name": "Aufnahmewinkel der Kamera anzeigen"
}, },
"dogpark": {
"tagRenderings": {
"Name": {
"render": "Denne hundeskov hedder {name}"
}
}
},
"drinking_water": { "drinking_water": {
"name": "Trinkwasserstellen", "name": "Trinkwasserstellen",
"presets": { "presets": {
@ -4592,6 +4599,13 @@
"render": "Baum" "render": "Baum"
} }
}, },
"veterinary": {
"tagRenderings": {
"vetName": {
"render": "Denne dyrl&aelig; hedder {name}"
}
}
},
"viewpoint": { "viewpoint": {
"description": "Ein schöner Aussichtspunkt oder eine schöne Aussicht. Ideal zum Hinzufügen eines Bildes, wenn keine andere Kategorie passt", "description": "Ein schöner Aussichtspunkt oder eine schöne Aussicht. Ideal zum Hinzufügen eines Bildes, wenn keine andere Kategorie passt",
"name": "Aussichtspunkt", "name": "Aussichtspunkt",

View file

@ -3230,6 +3230,49 @@
"description": "This layer visualizes directions", "description": "This layer visualizes directions",
"name": "Direction visualization" "name": "Direction visualization"
}, },
"dogpark": {
"name": "dog parks",
"presets": {
"0": {
"description": "A place for dogs, where they can run unleashed",
"title": "a dog park"
}
},
"tagRenderings": {
"Name": {
"question": "What is the name of this dog park?",
"render": "The name of this dog park is {name}"
},
"dogarea": {
"render": "This dogpark is {_surface:ha} ha big"
},
"dogpark-fenced": {
"mappings": {
"0": {
"then": "This dogpark is fenced all around"
},
"1": {
"then": "This dogpark is not fenced all around"
}
},
"question": "It this dog park fenced in?"
},
"smalldogs": {
"mappings": {
"0": {
"then": "Have separate area for puppies and small dogs"
},
"1": {
"then": "Does <strong>not</strong> have a separate area for puppies and small dogs"
}
},
"question": "Does this dog park have a separate fenced in area for small dogs and puppies?"
}
},
"title": {
"render": "dog park"
}
},
"drinking_water": { "drinking_water": {
"description": "A layer showing drinking water fountains", "description": "A layer showing drinking water fountains",
"name": "Drinking water", "name": "Drinking water",
@ -5619,6 +5662,24 @@
"render": "Tree" "render": "Tree"
} }
}, },
"veterinary": {
"name": "veterinary",
"presets": {
"0": {
"description": "a veterianarian, that treats dogs",
"title": "a veterianarian"
}
},
"tagRenderings": {
"vetName": {
"question": "What is the name of this veterinarian?",
"render": "The name of this veterinarian is {name}"
}
},
"title": {
"render": "Veterinary"
}
},
"viewpoint": { "viewpoint": {
"description": "A nice viewpoint or nice view. Ideal to add an image if no other category fits", "description": "A nice viewpoint or nice view. Ideal to add an image if no other category fits",
"name": "Viewpoint", "name": "Viewpoint",

View file

@ -105,5 +105,34 @@
} }
} }
} }
},
"pets": {
"description": "Hundsteder",
"layers": {
"1": {
"override": {
"name": "Hundevenlige madsteder"
}
},
"2": {
"override": {
"name": "hundevenlig butik",
"title": {
"render": "hundevenlig butik"
}
}
},
"6": {
"override": {
"presets": {
"0": {
"description": "En butik hvor man kan tage en hund med n&aelig;sten overalt",
"title": "EN hundevenlig butik"
}
}
}
}
},
"title": "hundesteder"
} }
} }

View file

@ -734,6 +734,35 @@
"description": "Create a personal theme based on all the available layers of all themes. In order to show some data, open <a href='#filter'>layer selection</a>", "description": "Create a personal theme based on all the available layers of all themes. In order to show some data, open <a href='#filter'>layer selection</a>",
"title": "Personal theme" "title": "Personal theme"
}, },
"pets": {
"description": "On this map, you'll find various interesting places for you pets: veterinarians, dog parks, pet shops, dog-friendly restaurants, ...",
"layers": {
"1": {
"override": {
"name": "Dog friendly eateries"
}
},
"2": {
"override": {
"name": "dog-friendly shop",
"title": {
"render": "dog-friendly shop"
}
}
},
"6": {
"override": {
"presets": {
"0": {
"description": "A shop whery you can bring a dog almost everywhere",
"title": "dog-friendly shop"
}
}
}
}
},
"title": "Veterinarians, dog parks and other pet-amenities"
},
"playgrounds": { "playgrounds": {
"description": "On this map, you find playgrounds and can add more information", "description": "On this map, you find playgrounds and can add more information",
"shortDescription": "A map with playgrounds", "shortDescription": "A map with playgrounds",