forked from MapComplete/MapComplete
		
	Fix build, translation sync
This commit is contained in:
		
							parent
							
								
									066fa1056b
								
							
						
					
					
						commit
						566facaa4e
					
				
					 14 changed files with 243 additions and 68 deletions
				
			
		| Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB | 
|  | @ -53,7 +53,7 @@ | |||
|         "point", | ||||
|         "centroid" | ||||
|       ], | ||||
|       "icon": "./assets/themes/dog/dog-park.svg", | ||||
|       "icon": "./assets/layers/dogpark/dog-park.svg", | ||||
|       "iconSize": "40,40,center", | ||||
|       "label": { | ||||
|         "mappings": [ | ||||
|  |  | |||
							
								
								
									
										13
									
								
								assets/layers/dogpark/license_info.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								assets/layers/dogpark/license_info.json
									
										
									
									
									
										Normal 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" | ||||
|     ] | ||||
|   } | ||||
| ] | ||||
							
								
								
									
										13
									
								
								assets/layers/veterinary/license_info.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								assets/layers/veterinary/license_info.json
									
										
									
									
									
										Normal 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" | ||||
|     ] | ||||
|   } | ||||
| ] | ||||
| Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB | 
|  | @ -48,7 +48,7 @@ | |||
|         "point", | ||||
|         "centroid" | ||||
|       ], | ||||
|       "icon": "./assets/themes/dog/vet.svg", | ||||
|       "icon": "./assets/layers/veterinary/vet.svg", | ||||
|       "iconSize": "30,40,center", | ||||
|       "label": { | ||||
|         "mappings": [ | ||||
|  |  | |||
|  | @ -1,19 +1,13 @@ | |||
| { | ||||
|   "id": "mapcomplete-changes", | ||||
|   "title": { | ||||
|     "en": "Changes made with MapComplete", | ||||
|     "de": "Änderungen mit MapComplete", | ||||
|     "es": "Cambios hechos con MapComplete" | ||||
|     "en": "Changes made with MapComplete" | ||||
|   }, | ||||
|   "shortDescription": { | ||||
|     "en": "Shows changes made by MapComplete", | ||||
|     "de": "Zeigt Änderungen von MapComplete", | ||||
|     "es": "Muestra los cambios hechos por MapComplete" | ||||
|     "en": "Shows changes made by MapComplete" | ||||
|   }, | ||||
|   "description": { | ||||
|     "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" | ||||
|     "en": "This maps shows all the changes made with MapComplete" | ||||
|   }, | ||||
|   "maintainer": "", | ||||
|   "icon": "./assets/svg/logo.svg", | ||||
|  | @ -28,9 +22,7 @@ | |||
|     { | ||||
|       "id": "mapcomplete-changes", | ||||
|       "name": { | ||||
|         "en": "Changeset centers", | ||||
|         "de": "Schwerpunkte von Änderungssätzen", | ||||
|         "es": "Centros de conjuntos de cambios" | ||||
|         "en": "Changeset centers" | ||||
|       }, | ||||
|       "minzoom": 0, | ||||
|       "source": { | ||||
|  | @ -44,45 +36,35 @@ | |||
|       ], | ||||
|       "title": { | ||||
|         "render": { | ||||
|           "en": "Changeset for {theme}", | ||||
|           "de": "Änderungen für {theme}", | ||||
|           "es": "Conjunto de cambios para {theme}" | ||||
|           "en": "Changeset for {theme}" | ||||
|         } | ||||
|       }, | ||||
|       "description": { | ||||
|         "en": "Shows all MapComplete changes", | ||||
|         "de": "Zeigt alle MapComplete Änderungen", | ||||
|         "es": "Muestra todos los cambios de MapComplete" | ||||
|         "en": "Shows all MapComplete changes" | ||||
|       }, | ||||
|       "tagRenderings": [ | ||||
|         { | ||||
|           "id": "render_id", | ||||
|           "render": { | ||||
|             "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>" | ||||
|             "en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "id": "contributor", | ||||
|           "render": { | ||||
|             "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>" | ||||
|             "en": "Change made by <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "id": "theme", | ||||
|           "render": { | ||||
|             "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>" | ||||
|             "en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>" | ||||
|           }, | ||||
|           "mappings": [ | ||||
|             { | ||||
|               "if": "theme~http.*", | ||||
|               "then": { | ||||
|                 "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>" | ||||
|                 "en": "Change with <b>unofficial</b> theme <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>" | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|  | @ -257,6 +239,10 @@ | |||
|                 "if": "theme=personal", | ||||
|                 "then": "./assets/svg/addSmall.svg" | ||||
|               }, | ||||
|               { | ||||
|                 "if": "theme=pets", | ||||
|                 "then": "./assets/layers/dogpark/dog-park.svg" | ||||
|               }, | ||||
|               { | ||||
|                 "if": "theme=play_forests", | ||||
|                 "then": "./assets/layers/play_forest/icon.svg" | ||||
|  | @ -346,8 +332,7 @@ | |||
|                 } | ||||
|               ], | ||||
|               "question": { | ||||
|                 "en": "Themename contains {search}", | ||||
|                 "de": "Themenname enthält {search}" | ||||
|                 "en": "Themename contains {search}" | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|  | @ -363,9 +348,7 @@ | |||
|                 } | ||||
|               ], | ||||
|               "question": { | ||||
|                 "en": "Made by contributor {search}", | ||||
|                 "de": "Erstellt von {search}", | ||||
|                 "es": "Hecho por contributor/a {search}" | ||||
|                 "en": "Made by contributor {search}" | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|  | @ -381,9 +364,7 @@ | |||
|                 } | ||||
|               ], | ||||
|               "question": { | ||||
|                 "en": "<b>Not</b> made by contributor {search}", | ||||
|                 "de": "<b>Nicht</b> erstellt von {search}", | ||||
|                 "es": "<b>No</b> hecho por contributor/a {search}" | ||||
|                 "en": "<b>Not</b> made by contributor {search}" | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|  | @ -398,9 +379,7 @@ | |||
|           { | ||||
|             "id": "link_to_more", | ||||
|             "render": { | ||||
|               "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>" | ||||
|               "en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>" | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|  |  | |||
|  | @ -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", | ||||
|     "license": "PD", | ||||
|  | @ -23,17 +12,6 @@ | |||
|       "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", | ||||
|     "license": "CC0 1.0", | ||||
|  | @ -56,4 +34,4 @@ | |||
|       "https://openclipart.org/detail/260857/veterinary15" | ||||
|     ] | ||||
|   } | ||||
| ] | ||||
| ] | ||||
|  | @ -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, ...", | ||||
|     "da": "Hundsteder" | ||||
|   }, | ||||
|   "icon": "./assets/themes/dog/dog-park.svg", | ||||
|   "icon": "./assets/layers/dogpark/dog-park.svg", | ||||
|   "startZoom": 10, | ||||
|   "startLat": 55, | ||||
|   "startLon": 12, | ||||
|  | @ -30,7 +30,7 @@ | |||
|               "point", | ||||
|               "centroid" | ||||
|             ], | ||||
|             "icon": "./assets/themes/dog/dog-food.svg", | ||||
|             "icon": "./assets/themes/pets/dog-food.svg", | ||||
|             "iconSize": "30,30,center" | ||||
|           } | ||||
|         ], | ||||
|  | @ -86,7 +86,7 @@ | |||
|               "centroid" | ||||
|             ], | ||||
|             "icon": { | ||||
|               "render": "./assets/themes/dog/dogshop.svg", | ||||
|               "render": "./assets/themes/pets/dogshop.svg", | ||||
|               "mappings": [ | ||||
|                 { | ||||
|                   "if": { | ||||
|  | @ -94,7 +94,7 @@ | |||
|                       "shop=pet" | ||||
|                     ] | ||||
|                   }, | ||||
|                   "then": "./assets/themes/dog/petshop.svg" | ||||
|                   "then": "./assets/themes/pets/petshop.svg" | ||||
|                 } | ||||
|               ] | ||||
|             }, | ||||
|  |  | |||
|  | @ -1239,6 +1239,48 @@ | |||
|             } | ||||
|         } | ||||
|     }, | ||||
|     "dogpark": { | ||||
|         "name": "hundeskove", | ||||
|         "presets": { | ||||
|             "0": { | ||||
|                 "description": "En hundeskov eller hundegård beregnet til hunde, hvor de kan lø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å hunde" | ||||
|                     }, | ||||
|                     "1": { | ||||
|                         "then": "Har <strong>ikke</strong> en indhegning til hvalpe og små hunde" | ||||
|                     } | ||||
|                 }, | ||||
|                 "question": "Har denne hundeskov et separat indhegnet område for små hunde og hvalpe (hvalpegård)?" | ||||
|             } | ||||
|         }, | ||||
|         "title": { | ||||
|             "render": "hundeskov" | ||||
|         } | ||||
|     }, | ||||
|     "entrance": { | ||||
|         "title": { | ||||
|             "render": "Indgang" | ||||
|  | @ -1289,5 +1331,22 @@ | |||
|             } | ||||
|         }, | ||||
|         "name": "Restauranter og fastfood" | ||||
|     }, | ||||
|     "veterinary": { | ||||
|         "name": "dyrlæge", | ||||
|         "presets": { | ||||
|             "0": { | ||||
|                 "description": "En dyrlæge, der behandler hunde", | ||||
|                 "title": "en dyrlæge" | ||||
|             } | ||||
|         }, | ||||
|         "tagRenderings": { | ||||
|             "vetName": { | ||||
|                 "question": "Hvad hedder denne dyrlæ?" | ||||
|             } | ||||
|         }, | ||||
|         "title": { | ||||
|             "render": "dyrlæge" | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | @ -2494,6 +2494,13 @@ | |||
|         "description": "Diese Ebene visualisiert Richtungen", | ||||
|         "name": "Aufnahmewinkel der Kamera anzeigen" | ||||
|     }, | ||||
|     "dogpark": { | ||||
|         "tagRenderings": { | ||||
|             "Name": { | ||||
|                 "render": "Denne hundeskov hedder {name}" | ||||
|             } | ||||
|         } | ||||
|     }, | ||||
|     "drinking_water": { | ||||
|         "name": "Trinkwasserstellen", | ||||
|         "presets": { | ||||
|  | @ -4592,6 +4599,13 @@ | |||
|             "render": "Baum" | ||||
|         } | ||||
|     }, | ||||
|     "veterinary": { | ||||
|         "tagRenderings": { | ||||
|             "vetName": { | ||||
|                 "render": "Denne dyrlæ hedder {name}" | ||||
|             } | ||||
|         } | ||||
|     }, | ||||
|     "viewpoint": { | ||||
|         "description": "Ein schöner Aussichtspunkt oder eine schöne Aussicht. Ideal zum Hinzufügen eines Bildes, wenn keine andere Kategorie passt", | ||||
|         "name": "Aussichtspunkt", | ||||
|  |  | |||
|  | @ -3230,6 +3230,49 @@ | |||
|         "description": "This layer visualizes directions", | ||||
|         "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": { | ||||
|         "description": "A layer showing drinking water fountains", | ||||
|         "name": "Drinking water", | ||||
|  | @ -5619,6 +5662,24 @@ | |||
|             "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": { | ||||
|         "description": "A nice viewpoint or nice view. Ideal to add an image if no other category fits", | ||||
|         "name": "Viewpoint", | ||||
|  |  | |||
|  | @ -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æsten overalt", | ||||
|                             "title": "EN hundevenlig butik" | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         }, | ||||
|         "title": "hundesteder" | ||||
|     } | ||||
| } | ||||
|  | @ -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>", | ||||
|         "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": { | ||||
|         "description": "On this map, you find playgrounds and can add more information", | ||||
|         "shortDescription": "A map with playgrounds", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue