Add article to presets

This commit is contained in:
pietervdvn 2022-04-03 03:10:06 +02:00
parent e2b10b1bf9
commit 320f38802d
51 changed files with 156 additions and 149 deletions

View file

@ -247,7 +247,7 @@
"emergency=ambulance_station" "emergency=ambulance_station"
], ],
"title": { "title": {
"en": "Ambulance station", "en": "an ambulance station",
"ru": "Станция скорой помощи", "ru": "Станция скорой помощи",
"ja": "救急ステーション(消防署)", "ja": "救急ステーション(消防署)",
"fr": "une station dambulances", "fr": "une station dambulances",

View file

@ -87,7 +87,7 @@
"tourism=artwork" "tourism=artwork"
], ],
"title": { "title": {
"en": "Artwork", "en": "an artwork",
"nl": "een kunstwerk", "nl": "een kunstwerk",
"fr": "une œuvre d'art", "fr": "une œuvre d'art",
"de": "eine kunstwerk", "de": "eine kunstwerk",

View file

@ -60,7 +60,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Bollard", "en": "a bollard",
"nl": "een paaltje", "nl": "een paaltje",
"de": "eine poller", "de": "eine poller",
"ru": "Прикол", "ru": "Прикол",
@ -88,7 +88,7 @@
}, },
{ {
"title": { "title": {
"en": "Cycle barrier", "en": "a cycle barrier",
"nl": "een fietshekjes", "nl": "een fietshekjes",
"de": "eine fahrradhindernis", "de": "eine fahrradhindernis",
"hu": "Kerékpárakadály", "hu": "Kerékpárakadály",

View file

@ -605,7 +605,7 @@
"amenity=bench" "amenity=bench"
], ],
"title": { "title": {
"en": "bench", "en": "a bench",
"de": "eine sitzbank", "de": "eine sitzbank",
"fr": "une banc", "fr": "une banc",
"nl": "een zitbank", "nl": "een zitbank",

View file

@ -239,8 +239,8 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Fietsbibliotheek", "nl": "een fietsbibliotheek",
"nl": "een bicycle library", "en": "a bicycle library",
"ru": "Велосипедная библиотека", "ru": "Велосипедная библиотека",
"zh_Hant": "自行車圖書館 ( Fietsbibliotheek)", "zh_Hant": "自行車圖書館 ( Fietsbibliotheek)",
"it": "una bici in prestito", "it": "una bici in prestito",

View file

@ -289,7 +289,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "bicycle rental shop", "en": "a bicycle rental shop",
"nl": "een fietsverhuurzaak", "nl": "een fietsverhuurzaak",
"fr": "une magasin de location de vélos" "fr": "une magasin de location de vélos"
}, },
@ -305,7 +305,7 @@
}, },
{ {
"title": { "title": {
"en": "bicycle rental", "en": "a bicycle rental",
"nl": "een fietsverhuur" "nl": "een fietsverhuur"
}, },
"tags": [ "tags": [

View file

@ -49,7 +49,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Bicycle tube vending machine", "en": "a bicycle tube vending machine",
"nl": "een fietsbanden-verkoopsautomaat", "nl": "een fietsbanden-verkoopsautomaat",
"fr": "une distributeur automatique de chambre à air de vélo", "fr": "une distributeur automatique de chambre à air de vélo",
"it": "una distributore automatico di camere daria per bici", "it": "una distributore automatico di camere daria per bici",

View file

@ -336,7 +336,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Bike cafe", "en": "a bike cafe",
"nl": "een fietscafé", "nl": "een fietscafé",
"fr": "une café vélo", "fr": "une café vélo",
"gl": "Café de ciclistas", "gl": "Café de ciclistas",

View file

@ -51,7 +51,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Bike cleaning service", "en": "a bike cleaning service",
"nl": "een fietsschoonmaakpunt", "nl": "een fietsschoonmaakpunt",
"fr": "une service de nettoyage de vélo", "fr": "une service de nettoyage de vélo",
"it": "una servizio lavaggio bici", "it": "una servizio lavaggio bici",

View file

@ -25,7 +25,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Bike parking", "en": "a bike parking",
"nl": "een fietsparking", "nl": "een fietsparking",
"fr": "une parking à vélo", "fr": "une parking à vélo",
"gl": "Aparcadoiro de bicicletas", "gl": "Aparcadoiro de bicicletas",

View file

@ -657,7 +657,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "bike pump", "en": "a bike pump",
"nl": "een fietspomp", "nl": "een fietspomp",
"fr": "une pompe à vélo", "fr": "une pompe à vélo",
"gl": "bomba de ar", "gl": "bomba de ar",
@ -691,7 +691,7 @@
}, },
{ {
"title": { "title": {
"en": "bike repair station and pump", "en": "a bike repair station and pump",
"nl": "een herstelpunt en pomp", "nl": "een herstelpunt en pomp",
"fr": "une point de réparation vélo avec pompe", "fr": "une point de réparation vélo avec pompe",
"gl": "estación de arranxo de bicicletas con bomba de ar", "gl": "estación de arranxo de bicicletas con bomba de ar",
@ -718,7 +718,7 @@
}, },
{ {
"title": { "title": {
"en": "bike repair station without pump", "en": "a bike repair station without pump",
"nl": "een herstelpunt zonder pomp", "nl": "een herstelpunt zonder pomp",
"fr": "une point de réparation vélo sans pompe", "fr": "une point de réparation vélo sans pompe",
"gl": "estación de arranxo de bicicletas sin bomba de ar", "gl": "estación de arranxo de bicicletas sin bomba de ar",

View file

@ -670,7 +670,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Bike repair/shop", "en": "a bike repair/shop",
"nl": "een fietszaak", "nl": "een fietszaak",
"fr": "une magasin et réparateur de vélo", "fr": "une magasin et réparateur de vélo",
"gl": "Tenda/arranxo de bicicletas", "gl": "Tenda/arranxo de bicicletas",

View file

@ -81,7 +81,7 @@
"amenity=binoculars" "amenity=binoculars"
], ],
"title": { "title": {
"en": "binoculars", "en": "a binoculars",
"nl": "een verrekijker", "nl": "een verrekijker",
"de": "eine ferngläser", "de": "eine ferngläser",
"ru": "бинокль" "ru": "бинокль"

View file

@ -233,7 +233,7 @@
"amenity=shelter" "amenity=shelter"
], ],
"title": { "title": {
"en": "Birdhide", "en": "a birdhide",
"nl": "een vogelkijkhut" "nl": "een vogelkijkhut"
}, },
"description": { "description": {
@ -248,7 +248,7 @@
"shelter=no" "shelter=no"
], ],
"title": { "title": {
"en": "Bird blind", "en": "a bird blind",
"nl": "een vogelkijkwand" "nl": "een vogelkijkwand"
}, },
"description": { "description": {

View file

@ -24,7 +24,7 @@
"amenity=pub" "amenity=pub"
], ],
"title": { "title": {
"en": "pub", "en": "a pub",
"nl": "een bruin cafe of kroeg", "nl": "een bruin cafe of kroeg",
"de": "eine kneipe", "de": "eine kneipe",
"ru": "паб", "ru": "паб",
@ -43,7 +43,7 @@
"amenity=bar" "amenity=bar"
], ],
"title": { "title": {
"en": "bar", "en": "a bar",
"nl": "een bar", "nl": "een bar",
"de": "eine bar", "de": "eine bar",
"ru": "бар", "ru": "бар",
@ -62,7 +62,7 @@
"amenity=cafe" "amenity=cafe"
], ],
"title": { "title": {
"en": "cafe", "en": "a cafe",
"nl": "een cafe", "nl": "een cafe",
"de": "eine café", "de": "eine café",
"ru": "кафе", "ru": "кафе",

View file

@ -4000,7 +4000,7 @@
"socket:typee=1" "socket:typee=1"
], ],
"title": { "title": {
"en": "charging station for electrical bikes with a normal european wall plug <img src='./assets/layers/charging_station/TypeE.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (meant to charge electrical bikes)", "en": "a charging station for electrical bikes with a normal european wall plug <img src='./assets/layers/charging_station/typee.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (meant to charge electrical bikes)",
"nl": "een oplaadpunt voor elektrische fietsen" "nl": "een oplaadpunt voor elektrische fietsen"
}, },
"preciseInput": { "preciseInput": {
@ -4014,7 +4014,7 @@
"bicycle=no" "bicycle=no"
], ],
"title": { "title": {
"en": "charging station for cars", "en": "a charging station for cars",
"nl": "een oplaadstation voor elektrische auto's", "nl": "een oplaadstation voor elektrische auto's",
"de": "eine ladestation für e-bikes" "de": "eine ladestation für e-bikes"
}, },

View file

@ -53,7 +53,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Crossing", "en": "a crossing",
"nl": "een oversteekplaats", "nl": "een oversteekplaats",
"de": "eine kreuzung", "de": "eine kreuzung",
"fr": "une traversée" "fr": "une traversée"
@ -77,7 +77,7 @@
}, },
{ {
"title": { "title": {
"en": "Traffic signal", "en": "a traffic signal",
"nl": "een verkeerslicht", "nl": "een verkeerslicht",
"ru": "Светофор", "ru": "Светофор",
"de": "eine ampel", "de": "eine ampel",

View file

@ -35,7 +35,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Defibrillator", "en": "a defibrillator",
"ca": "Desfibril·lador", "ca": "Desfibril·lador",
"es": "una desfibrilador", "es": "una desfibrilador",
"fr": "une défibrillateur", "fr": "une défibrillateur",
@ -51,7 +51,7 @@
}, },
{ {
"title": { "title": {
"en": "defibrillator mounted on a wall", "en": "a defibrillator mounted on a wall",
"nl": "een defibrillator die aan een muur hangt", "nl": "een defibrillator die aan een muur hangt",
"sl": "defibrilator je pritrjen na steno" "sl": "defibrilator je pritrjen na steno"
}, },

View file

@ -42,7 +42,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "drinking water", "en": "a drinking water",
"nl": "een drinkbaar water", "nl": "een drinkbaar water",
"fr": "une eau potable", "fr": "une eau potable",
"gl": "auga potábel", "gl": "auga potábel",

View file

@ -106,7 +106,7 @@
"emergency=fire_extinguisher" "emergency=fire_extinguisher"
], ],
"title": { "title": {
"en": "Fire extinguisher", "en": "a fire extinguisher",
"ja": "消火器", "ja": "消火器",
"nb_NO": "en brannslukker", "nb_NO": "en brannslukker",
"ru": "Огнетушитель", "ru": "Огнетушитель",

View file

@ -215,7 +215,7 @@
"amenity=fire_station" "amenity=fire_station"
], ],
"title": { "title": {
"en": "Fire station", "en": "a fire station",
"ja": "消防署", "ja": "消防署",
"ru": "Пожарная часть", "ru": "Пожарная часть",
"fr": "une caserne de pompiers", "fr": "une caserne de pompiers",

View file

@ -17,7 +17,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "restaurant", "en": "a restaurant",
"nl": "een restaurant", "nl": "een restaurant",
"ru": "ресторан", "ru": "ресторан",
"de": "eine restaurant" "de": "eine restaurant"
@ -36,7 +36,7 @@
}, },
{ {
"title": { "title": {
"en": "fastfood", "en": "a fastfood",
"nl": "een fastfood-zaak", "nl": "een fastfood-zaak",
"ru": "быстрое питание", "ru": "быстрое питание",
"de": "eine schnellimbiss" "de": "eine schnellimbiss"
@ -55,7 +55,7 @@
}, },
{ {
"title": { "title": {
"en": "fries shop", "en": "a fries shop",
"nl": "een frituur", "nl": "een frituur",
"de": "eine pommesbude" "de": "eine pommesbude"
}, },

View file

@ -61,7 +61,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Ghost bike", "en": "a ghost bike",
"nl": "een witte fiets", "nl": "een witte fiets",
"de": "eine geisterrad", "de": "eine geisterrad",
"it": "una bici fantasma", "it": "una bici fantasma",

View file

@ -294,7 +294,7 @@
"emergency=fire_hydrant" "emergency=fire_hydrant"
], ],
"title": { "title": {
"en": "Fire hydrant", "en": "a fire hydrant",
"ru": "Пожарный гидрант", "ru": "Пожарный гидрант",
"ja": "消火栓", "ja": "消火栓",
"nb_NO": "en brannhydrant", "nb_NO": "en brannhydrant",

View file

@ -37,7 +37,7 @@
], ],
"title": { "title": {
"nl": "een informatiebord", "nl": "een informatiebord",
"en": "information board", "en": "an information board",
"it": "una pannello informativo", "it": "una pannello informativo",
"fr": "une panneau d'informations", "fr": "une panneau d'informations",
"de": "eine informationstafel", "de": "eine informationstafel",

View file

@ -172,7 +172,7 @@
"tourism=map" "tourism=map"
], ],
"title": { "title": {
"en": "Map", "en": "a map",
"nl": "een kaart", "nl": "een kaart",
"it": "una mappa", "it": "una mappa",
"ru": "Карта", "ru": "Карта",

View file

@ -380,7 +380,7 @@
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen" "fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
], ],
"title": { "title": {
"en": "nature reserve", "en": "a nature reserve",
"nl": "een natuurreservaat" "nl": "een natuurreservaat"
}, },
"description": { "description": {

View file

@ -28,7 +28,7 @@
], ],
"title": { "title": {
"nl": "een parking voor auto's", "nl": "een parking voor auto's",
"en": "car parking" "en": "a car parking"
} }
} }
], ],

View file

@ -85,7 +85,7 @@
"leisure=picnic_table" "leisure=picnic_table"
], ],
"title": { "title": {
"en": "picnic table", "en": "a picnic table",
"nl": "een picnic-tafel", "nl": "een picnic-tafel",
"it": "una tavolo da picnic", "it": "una tavolo da picnic",
"ru": "стол для пикника", "ru": "стол для пикника",

View file

@ -493,7 +493,7 @@
], ],
"title": { "title": {
"nl": "een speeltuin", "nl": "een speeltuin",
"en": "playground", "en": "a playground",
"ru": "Детская площадка", "ru": "Детская площадка",
"fr": "une terrain de jeux", "fr": "une terrain de jeux",
"it": "una campetto", "it": "una campetto",

View file

@ -50,7 +50,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Bookcase", "en": "a bookcase",
"nl": "een boekenruilkast", "nl": "een boekenruilkast",
"de": "eine bücherschrank", "de": "eine bücherschrank",
"fr": "une microbibliothèque", "fr": "une microbibliothèque",

View file

@ -407,7 +407,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "recycling container", "en": "a recycling container",
"nl": "een recycling container" "nl": "een recycling container"
}, },
"tags": [ "tags": [
@ -417,7 +417,7 @@
}, },
{ {
"title": { "title": {
"en": "recycling centre", "en": "a recycling centre",
"nl": "een recycling centre" "nl": "een recycling centre"
}, },
"tags": [ "tags": [

View file

@ -331,7 +331,7 @@
"shop=yes" "shop=yes"
], ],
"title": { "title": {
"en": "Shop", "en": "a shop",
"fr": "une magasin", "fr": "une magasin",
"ru": "Магазин", "ru": "Магазин",
"ja": "店", "ja": "店",

View file

@ -427,7 +427,7 @@
"title": { "title": {
"nl": "een ping-pong tafel", "nl": "een ping-pong tafel",
"fr": "une table de ping-pong", "fr": "une table de ping-pong",
"en": "Tabletennis table", "en": "a tabletennis table",
"it": "una tavolo da tennistavolo", "it": "una tavolo da tennistavolo",
"ru": "Стол для настольного тенниса", "ru": "Стол для настольного тенниса",
"de": "eine tischtennisplatte" "de": "eine tischtennisplatte"
@ -441,7 +441,7 @@
"title": { "title": {
"nl": "een sportterrein", "nl": "een sportterrein",
"fr": "une terrain de sport", "fr": "une terrain de sport",
"en": "Sport pitch", "en": "a sport pitch",
"ru": "Спортивная площадка", "ru": "Спортивная площадка",
"it": "una campo sportivo", "it": "una campo sportivo",
"de": "eine sportplatz" "de": "eine sportplatz"

View file

@ -42,7 +42,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "street lamp", "en": "a street lamp",
"nl": "een straatlantaarn" "nl": "een straatlantaarn"
}, },
"tags": [ "tags": [

View file

@ -460,7 +460,7 @@
"surveillance:type=camera" "surveillance:type=camera"
], ],
"title": { "title": {
"en": "surveillance camera" "en": "a surveillance camera"
} }
}, },
{ {
@ -470,7 +470,7 @@
"camera:mount=wall" "camera:mount=wall"
], ],
"title": { "title": {
"en": "surveillance camera mounted on a wall" "en": "a surveillance camera mounted on a wall"
}, },
"preciseInput": { "preciseInput": {
"snapToLayer": "walls_and_buildings" "snapToLayer": "walls_and_buildings"

View file

@ -25,7 +25,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "public toilet", "en": "a public toilet",
"de": "eine öffentlich zugängliche toilette", "de": "eine öffentlich zugängliche toilette",
"fr": "une toilette publique", "fr": "une toilette publique",
"nl": "een publiek toilet", "nl": "een publiek toilet",
@ -38,7 +38,7 @@
}, },
{ {
"title": { "title": {
"en": "toilets with wheelchair accessible toilet", "en": "a toilets with wheelchair accessible toilet",
"de": "eine toiletten mit rollstuhlgerechter toilette", "de": "eine toiletten mit rollstuhlgerechter toilette",
"fr": "une toilettes accessible aux personnes à mobilité réduite", "fr": "une toilettes accessible aux personnes à mobilité réduite",
"nl": "een rolstoeltoegankelijke, publiek toilet", "nl": "een rolstoeltoegankelijke, publiek toilet",

View file

@ -521,7 +521,7 @@
], ],
"title": { "title": {
"nl": "een loofboom", "nl": "een loofboom",
"en": "Broadleaved tree", "en": "a broadleaved tree",
"it": "una albero latifoglia", "it": "una albero latifoglia",
"fr": "une arbre feuillu", "fr": "une arbre feuillu",
"ru": "Лиственное дерево", "ru": "Лиственное дерево",
@ -545,7 +545,7 @@
], ],
"title": { "title": {
"nl": "een naaldboom", "nl": "een naaldboom",
"en": "Needleleaved tree", "en": "a needleleaved tree",
"it": "una albero aghifoglia", "it": "una albero aghifoglia",
"ru": "Хвойное дерево", "ru": "Хвойное дерево",
"fr": "une arbre résineux", "fr": "une arbre résineux",
@ -569,7 +569,7 @@
], ],
"title": { "title": {
"nl": "een boom", "nl": "een boom",
"en": "Tree", "en": "a tree",
"it": "una albero", "it": "una albero",
"ru": "Дерево", "ru": "Дерево",
"fr": "une arbre", "fr": "une arbre",

View file

@ -25,7 +25,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Viewpoint", "en": "a viewpoint",
"nl": "een uitzicht", "nl": "een uitzicht",
"de": "eine aussichtspunkt", "de": "eine aussichtspunkt",
"fr": "une point de vue", "fr": "une point de vue",

View file

@ -156,7 +156,7 @@
"amenity=waste_basket" "amenity=waste_basket"
], ],
"title": { "title": {
"en": "Waste Basket", "en": "a waste basket",
"nl": "een vuilnisbak", "nl": "een vuilnisbak",
"ru": "Контейнер для мусора", "ru": "Контейнер для мусора",
"de": "eine abfalleimer", "de": "eine abfalleimer",

View file

@ -29,7 +29,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Waste Disposal Bin" "en": "a waste disposal bin"
}, },
"tags": [ "tags": [
"amenity=waste_disposal" "amenity=waste_disposal"

View file

@ -648,7 +648,7 @@
"tourism=caravan_site" "tourism=caravan_site"
], ],
"title": { "title": {
"en": "camper site", "en": "a camper site",
"ru": "площадка для кемпинга", "ru": "площадка для кемпинга",
"ja": "キャンプサイト", "ja": "キャンプサイト",
"zh_Hant": "露營地", "zh_Hant": "露營地",
@ -1103,7 +1103,7 @@
"amenity=sanitary_dump_station" "amenity=sanitary_dump_station"
], ],
"title": { "title": {
"en": "sanitary dump station", "en": "a sanitary dump station",
"ja": "衛生ゴミ捨て場", "ja": "衛生ゴミ捨て場",
"it": "una luogo di sversamento delle acque reflue", "it": "una luogo di sversamento delle acque reflue",
"fr": "une site de vidange", "fr": "une site de vidange",

View file

@ -160,7 +160,7 @@
], ],
"title": { "title": {
"de": "eine kletterverein", "de": "eine kletterverein",
"en": "Climbing club", "en": "a climbing club",
"nl": "een klimclub", "nl": "een klimclub",
"ja": "クライミングクラブ", "ja": "クライミングクラブ",
"nb_NO": "en klatreklubb", "nb_NO": "en klatreklubb",
@ -188,7 +188,7 @@
], ],
"title": { "title": {
"de": "eine eine kletter-organisation", "de": "eine eine kletter-organisation",
"en": "Climbing NGO", "en": "a climbing ngo",
"nl": "een een klimorganisatie", "nl": "een een klimorganisatie",
"ja": "クライミングNGO", "ja": "クライミングNGO",
"fr": "une association descalade", "fr": "une association descalade",
@ -561,7 +561,7 @@
"presets": [ "presets": [
{ {
"title": { "title": {
"en": "Climbing route", "en": "a climbing route",
"nl": "een klimroute", "nl": "een klimroute",
"fr": "une voie descalade", "fr": "une voie descalade",
"de": "eine kletterroute", "de": "eine kletterroute",
@ -855,7 +855,7 @@
"sport=climbing" "sport=climbing"
], ],
"title": { "title": {
"en": "Climbing opportunity", "en": "a climbing opportunity",
"nl": "een klimgelegenheid", "nl": "een klimgelegenheid",
"de": "eine klettermöglichkeit", "de": "eine klettermöglichkeit",
"ja": "登坂教室", "ja": "登坂教室",

View file

@ -395,7 +395,7 @@
], ],
"title": { "title": {
"nl": "een geveltuintje", "nl": "een geveltuintje",
"en": "facade garden", "en": "a facade garden",
"ja": "ファサード庭園", "ja": "ファサード庭園",
"it": "una giardino verticale", "it": "una giardino verticale",
"fr": "une jardin mural", "fr": "une jardin mural",

View file

@ -214,7 +214,7 @@
"leisure=hackerspace" "leisure=hackerspace"
], ],
"title": { "title": {
"en": "Hackerspace", "en": "a hackerspace",
"de": "eine hackerspace", "de": "eine hackerspace",
"ru": "Хакерспейс", "ru": "Хакерспейс",
"zh_Hant": "駭客空間", "zh_Hant": "駭客空間",
@ -233,7 +233,7 @@
"hackerspace=makerspace" "hackerspace=makerspace"
], ],
"title": { "title": {
"en": "Makerspace", "en": "a makerspace",
"de": "eine makerspace", "de": "eine makerspace",
"zh_Hant": "創客空間", "zh_Hant": "創客空間",
"hu": "Makerspace" "hu": "Makerspace"

View file

@ -189,7 +189,7 @@
"generator:source=wind" "generator:source=wind"
], ],
"title": { "title": {
"en": "wind turbine", "en": "a wind turbine",
"nl": "een windturbine", "nl": "een windturbine",
"fr": "une éolienne", "fr": "une éolienne",
"de": "eine windrad", "de": "eine windrad",

View file

@ -79,7 +79,7 @@
"amenity=post_box" "amenity=post_box"
], ],
"title": { "title": {
"en": "postbox", "en": "a postbox",
"de": "eine briefkasten", "de": "eine briefkasten",
"ru": "почтовый ящик", "ru": "почтовый ящик",
"zh_Hant": "郵筒", "zh_Hant": "郵筒",
@ -195,7 +195,7 @@
"amenity=post_office" "amenity=post_office"
], ],
"title": { "title": {
"en": "Post Office", "en": "a post office",
"de": "eine poststelle", "de": "eine poststelle",
"ru": "Почтовое отделение", "ru": "Почтовое отделение",
"zh_Hant": "郵局", "zh_Hant": "郵局",

View file

@ -30,7 +30,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Add an ambulance station to the map", "description": "Add an ambulance station to the map",
"title": "Ambulance station" "title": "an ambulance station"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -78,7 +78,7 @@
"name": "Artworks", "name": "Artworks",
"presets": { "presets": {
"0": { "0": {
"title": "Artwork" "title": "an artwork"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -152,11 +152,11 @@
"presets": { "presets": {
"0": { "0": {
"description": "A bollard in the road", "description": "A bollard in the road",
"title": "Bollard" "title": "a bollard"
}, },
"1": { "1": {
"description": "Cycle barrier, slowing down cyclists", "description": "Cycle barrier, slowing down cyclists",
"title": "Cycle barrier" "title": "a cycle barrier"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -252,7 +252,7 @@
"name": "Benches", "name": "Benches",
"presets": { "presets": {
"0": { "0": {
"title": "bench" "title": "a bench"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -378,7 +378,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "A bicycle library has a collection of bikes which can be lent", "description": "A bicycle library has a collection of bikes which can be lent",
"title": "Fietsbibliotheek" "title": "a bicycle library"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -435,10 +435,10 @@
"presets": { "presets": {
"0": { "0": {
"description": "A manned shop which focuses on bicycle rental", "description": "A manned shop which focuses on bicycle rental",
"title": "bicycle rental shop" "title": "a bicycle rental shop"
}, },
"1": { "1": {
"title": "bicycle rental" "title": "a bicycle rental"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -540,7 +540,7 @@
"name": "Bicycle tube vending machine", "name": "Bicycle tube vending machine",
"presets": { "presets": {
"0": { "0": {
"title": "Bicycle tube vending machine" "title": "a bicycle tube vending machine"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -569,7 +569,7 @@
"name": "Bike cafe", "name": "Bike cafe",
"presets": { "presets": {
"0": { "0": {
"title": "Bike cafe" "title": "a bike cafe"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -637,7 +637,7 @@
"name": "Bike cleaning service", "name": "Bike cleaning service",
"presets": { "presets": {
"0": { "0": {
"title": "Bike cleaning service" "title": "a bike cleaning service"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -686,7 +686,7 @@
"name": "Bike parking", "name": "Bike parking",
"presets": { "presets": {
"0": { "0": {
"title": "Bike parking" "title": "a bike parking"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -796,15 +796,15 @@
"presets": { "presets": {
"0": { "0": {
"description": "A device to inflate your tires on a fixed location in the public space.", "description": "A device to inflate your tires on a fixed location in the public space.",
"title": "bike pump" "title": "a bike pump"
}, },
"1": { "1": {
"description": "A bicycle pump and tools to repair your bike in the public space. The tools are often secured with chains against theft.", "description": "A bicycle pump and tools to repair your bike in the public space. The tools are often secured with chains against theft.",
"title": "bike repair station and pump" "title": "a bike repair station and pump"
}, },
"2": { "2": {
"description": "Tools to repair your bike in the public space (without pump). The tools are secured against theft.", "description": "Tools to repair your bike in the public space (without pump). The tools are secured against theft.",
"title": "bike repair station without pump" "title": "a bike repair station without pump"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -963,7 +963,7 @@
"name": "Bike repair/shop", "name": "Bike repair/shop",
"presets": { "presets": {
"0": { "0": {
"title": "Bike repair/shop" "title": "a bike repair/shop"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -1118,7 +1118,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "A telescope or pair of binoculars mounted on a pole, available to the public to look around. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto; display: block;' />", "description": "A telescope or pair of binoculars mounted on a pole, available to the public to look around. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto; display: block;' />",
"title": "binoculars" "title": "a binoculars"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -1162,11 +1162,11 @@
"presets": { "presets": {
"0": { "0": {
"description": "A covered shelter where one can watch birds comfortably", "description": "A covered shelter where one can watch birds comfortably",
"title": "Birdhide" "title": "a birdhide"
}, },
"1": { "1": {
"description": "A screen or wall with openings to watch birds", "description": "A screen or wall with openings to watch birds",
"title": "Bird blind" "title": "a bird blind"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -1251,15 +1251,15 @@
"presets": { "presets": {
"0": { "0": {
"description": "A pub, mostly for drinking beers in a warm, relaxed interior", "description": "A pub, mostly for drinking beers in a warm, relaxed interior",
"title": "pub" "title": "a pub"
}, },
"1": { "1": {
"description": "A more modern and commercial <b>bar</b>, possibly with a music and light installation", "description": "A more modern and commercial <b>bar</b>, possibly with a music and light installation",
"title": "bar" "title": "a bar"
}, },
"2": { "2": {
"description": "A <b>cafe</b> to drink tea, coffee or an alcoholical bevarage in a quiet environment", "description": "A <b>cafe</b> to drink tea, coffee or an alcoholical bevarage in a quiet environment",
"title": "cafe" "title": "a cafe"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -1379,10 +1379,10 @@
"name": "Charging stations", "name": "Charging stations",
"presets": { "presets": {
"0": { "0": {
"title": "charging station for electrical bikes with a normal european wall plug <img src='./assets/layers/charging_station/TypeE.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (meant to charge electrical bikes)" "title": "a charging station for electrical bikes with a normal european wall plug <img src='./assets/layers/charging_station/typee.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (meant to charge electrical bikes)"
}, },
"1": { "1": {
"title": "charging station for cars" "title": "a charging station for cars"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -2303,11 +2303,11 @@
"presets": { "presets": {
"0": { "0": {
"description": "Crossing for pedestrians and/or cyclists", "description": "Crossing for pedestrians and/or cyclists",
"title": "Crossing" "title": "a crossing"
}, },
"1": { "1": {
"description": "Traffic signal on a road", "description": "Traffic signal on a road",
"title": "Traffic signal" "title": "a traffic signal"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -2798,10 +2798,10 @@
"name": "Defibrillators", "name": "Defibrillators",
"presets": { "presets": {
"0": { "0": {
"title": "Defibrillator" "title": "a defibrillator"
}, },
"1": { "1": {
"title": "defibrillator mounted on a wall" "title": "a defibrillator mounted on a wall"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -2930,7 +2930,7 @@
"name": "Drinking water", "name": "Drinking water",
"presets": { "presets": {
"0": { "0": {
"title": "drinking water" "title": "a drinking water"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3104,7 +3104,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "A fire extinguisher is a small, portable device used to stop a fire", "description": "A fire extinguisher is a small, portable device used to stop a fire",
"title": "Fire extinguisher" "title": "a fire extinguisher"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3131,7 +3131,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "A fire station is a place where the fire trucks and firefighters are located when not in operation.", "description": "A fire station is a place where the fire trucks and firefighters are located when not in operation.",
"title": "Fire station" "title": "a fire station"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3222,15 +3222,15 @@
"presets": { "presets": {
"0": { "0": {
"description": "A formal eating place with sit-down facilities selling full meals served by waiters", "description": "A formal eating place with sit-down facilities selling full meals served by waiters",
"title": "restaurant" "title": "a restaurant"
}, },
"1": { "1": {
"description": "A food business concentrating on fast counter-only service and take-away food", "description": "A food business concentrating on fast counter-only service and take-away food",
"title": "fastfood" "title": "a fastfood"
}, },
"2": { "2": {
"description": "A fastfood-buisiness focused on french fries", "description": "A fastfood-buisiness focused on french fries",
"title": "fries shop" "title": "a fries shop"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3439,7 +3439,7 @@
"name": "Ghost bikes", "name": "Ghost bikes",
"presets": { "presets": {
"0": { "0": {
"title": "Ghost bike" "title": "a ghost bike"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3494,7 +3494,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "A hydrant is a connection point where firefighters can tap water. It might be located underground.", "description": "A hydrant is a connection point where firefighters can tap water. It might be located underground.",
"title": "Fire hydrant" "title": "a fire hydrant"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3558,7 +3558,7 @@
"name": "Information boards", "name": "Information boards",
"presets": { "presets": {
"0": { "0": {
"title": "information board" "title": "an information board"
} }
}, },
"title": { "title": {
@ -3571,7 +3571,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Add a missing map", "description": "Add a missing map",
"title": "Map" "title": "a map"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3637,7 +3637,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Add a missing nature reserve", "description": "Add a missing nature reserve",
"title": "nature reserve" "title": "a nature reserve"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3913,7 +3913,7 @@
"name": "Parking", "name": "Parking",
"presets": { "presets": {
"0": { "0": {
"title": "car parking" "title": "a car parking"
} }
}, },
"title": { "title": {
@ -3929,7 +3929,7 @@
"name": "Picnic tables", "name": "Picnic tables",
"presets": { "presets": {
"0": { "0": {
"title": "picnic table" "title": "a picnic table"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -3955,7 +3955,7 @@
"name": "Playgrounds", "name": "Playgrounds",
"presets": { "presets": {
"0": { "0": {
"title": "playground" "title": "a playground"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -4089,7 +4089,7 @@
"name": "Bookcases", "name": "Bookcases",
"presets": { "presets": {
"0": { "0": {
"title": "Bookcase" "title": "a bookcase"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -4260,10 +4260,10 @@
"name": "Recycling", "name": "Recycling",
"presets": { "presets": {
"0": { "0": {
"title": "recycling container" "title": "a recycling container"
}, },
"1": { "1": {
"title": "recycling centre" "title": "a recycling centre"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -4410,7 +4410,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Add a new shop", "description": "Add a new shop",
"title": "Shop" "title": "a shop"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -4512,10 +4512,10 @@
"name": "Sport pitches", "name": "Sport pitches",
"presets": { "presets": {
"0": { "0": {
"title": "Tabletennis table" "title": "a tabletennis table"
}, },
"1": { "1": {
"title": "Sport pitch" "title": "a sport pitch"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -4622,7 +4622,7 @@
"name": "Street Lamps", "name": "Street Lamps",
"presets": { "presets": {
"0": { "0": {
"title": "street lamp" "title": "a street lamp"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -4771,10 +4771,10 @@
"name": "Surveillance camera's", "name": "Surveillance camera's",
"presets": { "presets": {
"0": { "0": {
"title": "surveillance camera" "title": "a surveillance camera"
}, },
"1": { "1": {
"title": "surveillance camera mounted on a wall" "title": "a surveillance camera mounted on a wall"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -4916,11 +4916,11 @@
"name": "Toilets", "name": "Toilets",
"presets": { "presets": {
"0": { "0": {
"title": "public toilet" "title": "a public toilet"
}, },
"1": { "1": {
"description": "A restroom which has at least one wheelchair-accessible toilet", "description": "A restroom which has at least one wheelchair-accessible toilet",
"title": "toilets with wheelchair accessible toilet" "title": "a toilets with wheelchair accessible toilet"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -5085,15 +5085,15 @@
"presets": { "presets": {
"0": { "0": {
"description": "A tree of a species with leaves, such as oak or populus.", "description": "A tree of a species with leaves, such as oak or populus.",
"title": "Broadleaved tree" "title": "a broadleaved tree"
}, },
"1": { "1": {
"description": "A tree of a species with needles, such as pine or spruce.", "description": "A tree of a species with needles, such as pine or spruce.",
"title": "Needleleaved tree" "title": "a needleleaved tree"
}, },
"2": { "2": {
"description": "If you're not sure whether it's a broadleaved or needleleaved tree.", "description": "If you're not sure whether it's a broadleaved or needleleaved tree.",
"title": "Tree" "title": "a tree"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -5206,7 +5206,7 @@
"name": "Viewpoint", "name": "Viewpoint",
"presets": { "presets": {
"0": { "0": {
"title": "Viewpoint" "title": "a viewpoint"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -5289,7 +5289,7 @@
"name": "Waste Basket", "name": "Waste Basket",
"presets": { "presets": {
"0": { "0": {
"title": "Waste Basket" "title": "a waste basket"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -5353,7 +5353,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Medium to large bin for disposal of (household) waste", "description": "Medium to large bin for disposal of (household) waste",
"title": "Waste Disposal Bin" "title": "a waste disposal bin"
} }
}, },
"tagRenderings": { "tagRenderings": {

View file

@ -378,7 +378,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Een fietsbieb heeft een collectie fietsen die leden mogen lenen", "description": "Een fietsbieb heeft een collectie fietsen die leden mogen lenen",
"title": "een bicycle library" "title": "een fietsbibliotheek"
} }
}, },
"tagRenderings": { "tagRenderings": {

View file

@ -43,7 +43,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Add a new official camper site. These are designated places to stay overnight with your camper. They might look like a real camping or just look like a parking. They might not be signposted at all, but just be defined in a municipal decision. A regular parking intended for campers where it is not expected to spend the night, is -not- a camper site ", "description": "Add a new official camper site. These are designated places to stay overnight with your camper. They might look like a real camping or just look like a parking. They might not be signposted at all, but just be defined in a municipal decision. A regular parking intended for campers where it is not expected to spend the night, is -not- a camper site ",
"title": "camper site" "title": "a camper site"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -155,7 +155,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Add a new sanitary dump station. This is a place where camper drivers can dump waste water or chemical toilet waste. Often there's also drinking water and electricity.", "description": "Add a new sanitary dump station. This is a place where camper drivers can dump waste water or chemical toilet waste. Often there's also drinking water and electricity.",
"title": "sanitary dump station" "title": "a sanitary dump station"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -276,11 +276,11 @@
"presets": { "presets": {
"0": { "0": {
"description": "A climbing club", "description": "A climbing club",
"title": "Climbing club" "title": "a climbing club"
}, },
"1": { "1": {
"description": "An NGO working around climbing", "description": "An NGO working around climbing",
"title": "Climbing NGO" "title": "a climbing ngo"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -320,7 +320,7 @@
"name": "Climbing routes", "name": "Climbing routes",
"presets": { "presets": {
"0": { "0": {
"title": "Climbing route" "title": "a climbing route"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -372,7 +372,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "A climbing opportunity", "description": "A climbing opportunity",
"title": "Climbing opportunity" "title": "a climbing opportunity"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -773,7 +773,7 @@
"presets": { "presets": {
"0": { "0": {
"description": "Add a facade garden", "description": "Add a facade garden",
"title": "facade garden" "title": "a facade garden"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -913,11 +913,11 @@
"presets": { "presets": {
"0": { "0": {
"description": "A hackerspace is an area where people interested in software gather", "description": "A hackerspace is an area where people interested in software gather",
"title": "Hackerspace" "title": "a hackerspace"
}, },
"1": { "1": {
"description": "A makerspace is a place where DIY-enthusiasts gather to experiment with electronics such as arduino, LEDstrips, ...", "description": "A makerspace is a place where DIY-enthusiasts gather to experiment with electronics such as arduino, LEDstrips, ...",
"title": "Makerspace" "title": "a makerspace"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -1067,7 +1067,7 @@
"name": "wind turbine", "name": "wind turbine",
"presets": { "presets": {
"0": { "0": {
"title": "wind turbine" "title": "a wind turbine"
} }
}, },
"tagRenderings": { "tagRenderings": {
@ -1175,7 +1175,7 @@
"name": "Postboxes", "name": "Postboxes",
"presets": { "presets": {
"0": { "0": {
"title": "postbox" "title": "a postbox"
} }
}, },
"title": { "title": {
@ -1196,7 +1196,7 @@
"name": "Post offices", "name": "Post offices",
"presets": { "presets": {
"0": { "0": {
"title": "Post Office" "title": "a post office"
} }
}, },
"tagRenderings": { "tagRenderings": {

View file

@ -18,29 +18,36 @@ t.OnEveryLanguage((txt, ln) => {
}) })
const articles = { const articles = {
de: "eine", /* de: "eine",
es: 'una', es: 'una',
fr: 'une', fr: 'une',
it: 'una', it: 'una',
nb_NO: 'en', nb_NO: 'en',
nl: 'een', nl: 'een',
pt: 'uma', pt: 'uma',
pt_BR : 'uma', pt_BR : 'uma',//*/
} }
function addArticleToPresets(layerConfig: {presets?: {title: any}[]}){ function addArticleToPresets(layerConfig: {presets?: {title: any}[]}){
/* //*
if(layerConfig.presets === undefined){ if(layerConfig.presets === undefined){
return return
} }
for (const preset of layerConfig.presets) { for (const preset of layerConfig.presets) {
preset.title = new Translation(preset.title, "autofix") preset.title = new Translation(preset.title, "autofix")
.OnEveryLanguage((txt, lang) => { .OnEveryLanguage((txt, lang) => {
const article = articles[lang] let article = articles[lang]
if(lang === "en"){
if(["a","e","u","o","i"].some(vowel => txt.toLowerCase().startsWith(vowel))) {
article = "an"
}else{
article = "a"
}
}
if(article === undefined){ if(article === undefined){
return txt; return txt;
} }
if(txt.startsWith(article)){ if(txt.startsWith(article+" ")){
return txt; return txt;
} }
return article +" " + txt.toLowerCase(); return article +" " + txt.toLowerCase();