From d92043e1caa27c18a4a23486368ea833da825cbd Mon Sep 17 00:00:00 2001 From: MeblIkea Date: Mon, 28 Mar 2022 08:41:52 +0000 Subject: [PATCH 1/6] Translated using Weblate (French) Currently translated at 44.7% (758 of 1695 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/fr/ --- langs/layers/fr.json | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/langs/layers/fr.json b/langs/layers/fr.json index 5a4b467b7..6abdb04c2 100644 --- a/langs/layers/fr.json +++ b/langs/layers/fr.json @@ -210,7 +210,7 @@ "render": "Espace entre deux barrières successives : {width:separation} m" }, "Width of opening (cyclebarrier)": { - "question": "Quelle est la largeur d'ouverture la plus petite près de la barrière ?", + "question": "Quelle est la largeur d'ouverture après la plus petite près de la barrière ?", "render": "Largeur de l'ouverture : {width:opening} m" }, "barrier_type": { @@ -2396,5 +2396,27 @@ }, "watermill": { "name": "Moulin à eau" + }, + "bicycle_rental": { + "name": "Location de vélo", + "presets": { + "0": { + "description": "Un magasin qui priorise la location de vélos", + "title": "magasin de location de vélos" + } + }, + "description": "Station de location de vélo", + "deletion": { + "extraDeleteReasons": { + "0": { + "explanation": "{title()} a était fermé de façon permanente" + } + }, + "nonDeleteMappings": { + "0": { + "then": "Ce magasin de vélo louait des vélos, mais n'en loue plus maintenant" + } + } + } } -} \ No newline at end of file +} From 8970dff55387d286e6b17beb3c9895dd29b4e045 Mon Sep 17 00:00:00 2001 From: MeblIkea Date: Mon, 28 Mar 2022 08:38:58 +0000 Subject: [PATCH 2/6] Translated using Weblate (French) Currently translated at 58.3% (258 of 442 strings) Translation: MapComplete/Core Translate-URL: https://hosted.weblate.org/projects/mapcomplete/core/fr/ --- langs/fr.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/langs/fr.json b/langs/fr.json index aea12c2c1..12bf6dabc 100644 --- a/langs/fr.json +++ b/langs/fr.json @@ -41,7 +41,7 @@ "about": "Éditer facilement et ajouter OpenStreetMap pour un certain thème", "aboutMapcomplete": "

À propos de MapComplete

Avec MapComplete vous pouvez enrichir OpenStreetMap d'informations sur un thème unique. Répondez à quelques questions, et en quelques minutes vos contributions seront disponible dans le monde entier ! Le concepteur du thème définis les éléments, questions et langues pour le thème.

En savoir plus

MapComplete propose toujours l'étape suivante pour en apprendre plus sur OpenStreetMap.


Vous avez remarqué un problème ? Vous souhaitez demander une fonctionnalité ? Vous voulez aider à traduire ? Allez voir le code source ou l'<i>issue tracker.</i>

Vous voulez visualiser votre progression ? Suivez le compteur d'édition sur OsmCha.

", "add": { - "addNew": "Ajouter un/une {category} ici", + "addNew": "Ajouter une nouvelle {category}", "addNewMapLabel": "Cliquez ici pour ajouter un élément", "confirmButton": "Ajouter un/une {category} ici.
Votre ajout sera visible par tout le monde
", "confirmIntro": "

Ajouter un/une {title} ici?

Le point que vous ajouterez sera visible par tout le monde. Merci de vous assurer que ce point existe réellement. Beaucoup d'autres applications utilisent ces données.", @@ -289,4 +289,4 @@ "split": "Couper", "splitTitle": "Choisissez sur la carte où couper cette route" } -} \ No newline at end of file +} From fffa04f1a5e5ad604a9a7156d43c17576f43bff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Babos=20G=C3=A1bor?= Date: Sun, 27 Mar 2022 19:28:03 +0000 Subject: [PATCH 3/6] Translated using Weblate (Hungarian) Currently translated at 72.8% (322 of 442 strings) Translation: MapComplete/Core Translate-URL: https://hosted.weblate.org/projects/mapcomplete/core/hu/ --- langs/hu.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/langs/hu.json b/langs/hu.json index 84b967544..e7b5407e1 100644 --- a/langs/hu.json +++ b/langs/hu.json @@ -242,7 +242,8 @@ "noWikipediaPage": "Ennek a Wikidata-elemnek még nincs megfelelő Wikipédia-oldala.", "searchWikidata": "Keresés a Wikidatán", "wikipediaboxTitle": "Wikipédia" - } + }, + "backToMapcomplete": "Vissza a témák áttekintéséhez" }, "image": { "addPicture": "Kép hozzáadása", @@ -266,7 +267,8 @@ "willBePublished": "A képed így lesz közzétéve: " }, "importHelper": { - "allAttributesSame": "Ez a címke minden importálandó objektumon szerepel" + "allAttributesSame": "Ez a címke minden importálandó objektumon szerepel", + "description": "Az importálási segédprogram egy külső adatkészletet konvertál OSM-jegyzetekké. A külső adatkészletnek meg kell felelnie a MapComplete egyik meglévő rétegének. Az importálóba helyezett minden egyes elemhez egyetlen jegyzet fog létrejönni. Ezek a jegyzetek a megfelelő objektumokkal együtt fognak megjelenni ezeken a térképekben, hogy könnyen fel lehessen rajzolni őket a térképre." }, "index": { "#": "Ezek a szövegek akkor jelennek meg a témagombok felett, ha nincs betöltve téma", @@ -365,4 +367,4 @@ "split": "Szétvágás", "splitTitle": "Válaszd ki a térképen, hogy az út hol legyen elvágva" } -} \ No newline at end of file +} From eb71995b97e10598eab0e2c3f9de51f974cbc404 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 29 Mar 2022 21:38:24 +0200 Subject: [PATCH 4/6] Translation sync --- assets/layers/barrier/barrier.json | 2 +- .../layers/bicycle_rental/bicycle_rental.json | 18 +++++--- assets/layers/note/note.json | 1 - langs/fr.json | 2 +- langs/hu.json | 6 +-- langs/layers/fr.json | 46 +++++++++---------- 6 files changed, 40 insertions(+), 35 deletions(-) diff --git a/assets/layers/barrier/barrier.json b/assets/layers/barrier/barrier.json index a0bafacd0..e0eecd93a 100644 --- a/assets/layers/barrier/barrier.json +++ b/assets/layers/barrier/barrier.json @@ -380,7 +380,7 @@ "nl": "Hoe breed is de smalste opening naast de barrières?", "de": "Wie breit ist die kleinste Öffnung neben den Barrieren?", "hu": "Milyen széles a korlátok melletti legkisebb nyílás?", - "fr": "Quelle est la largeur d'ouverture la plus petite près de la barrière ?" + "fr": "Quelle est la largeur d'ouverture après la plus petite près de la barrière ?" }, "condition": { "or": [ diff --git a/assets/layers/bicycle_rental/bicycle_rental.json b/assets/layers/bicycle_rental/bicycle_rental.json index 170bb1a4b..d163a0465 100644 --- a/assets/layers/bicycle_rental/bicycle_rental.json +++ b/assets/layers/bicycle_rental/bicycle_rental.json @@ -2,7 +2,8 @@ "id": "bicycle_rental", "name": { "en": "Bicycle rental", - "nl": "Fietsverhuur" + "nl": "Fietsverhuur", + "fr": "Location de vélo" }, "source": { "osmTags": { @@ -41,7 +42,8 @@ }, "description": { "en": "Bicycle rental stations", - "nl": "Fietsverhuustations" + "nl": "Fietsverhuustations", + "fr": "Station de location de vélo" }, "tagRenderings": [ "images", @@ -288,7 +290,8 @@ { "title": { "en": "bicycle rental shop", - "nl": "fietsverhuurzaak" + "nl": "fietsverhuurzaak", + "fr": "magasin de location de vélos" }, "tags": [ "amenity=bicycle_rental", @@ -296,7 +299,8 @@ ], "description": { "en": "A manned shop which focuses on bicycle rental", - "nl": "Een bemande winkel die focust op fietsverhuur" + "nl": "Een bemande winkel die focust op fietsverhuur", + "fr": "Un magasin qui priorise la location de vélos" } }, { @@ -346,7 +350,8 @@ { "explanation": { "nl": "{title()} is permanent gestopt", - "en": "{title()} has closed down permanently" + "en": "{title()} has closed down permanently", + "fr": "{title()} a était fermé de façon permanente" }, "changesetMessage": "shop_closed" } @@ -360,7 +365,8 @@ }, "then": { "en": "This bicycle shop used to rent out bikes but doesn't rent out bikes anymore", - "nl": "Deze fietszaak verhuurde vroeger fietsen, maar nu niet meer" + "nl": "Deze fietszaak verhuurde vroeger fietsen, maar nu niet meer", + "fr": "Ce magasin de vélo louait des vélos, mais n'en loue plus maintenant" } } ] diff --git a/assets/layers/note/note.json b/assets/layers/note/note.json index fc5b01587..3a81d6f26 100644 --- a/assets/layers/note/note.json +++ b/assets/layers/note/note.json @@ -91,7 +91,6 @@ "if": "_is_import_note~*", "then": "addSmall" } - ] } ], diff --git a/langs/fr.json b/langs/fr.json index 12bf6dabc..3f3c790d9 100644 --- a/langs/fr.json +++ b/langs/fr.json @@ -289,4 +289,4 @@ "split": "Couper", "splitTitle": "Choisissez sur la carte où couper cette route" } -} +} \ No newline at end of file diff --git a/langs/hu.json b/langs/hu.json index e7b5407e1..7ce3a4eb5 100644 --- a/langs/hu.json +++ b/langs/hu.json @@ -93,6 +93,7 @@ "themeBy": "A téma karbantartója: {author}" }, "back": "Vissza", + "backToMapcomplete": "Vissza a témák áttekintéséhez", "backgroundMap": "Háttértérkép", "cancel": "Mégse", "confirm": "Megerősítés", @@ -242,8 +243,7 @@ "noWikipediaPage": "Ennek a Wikidata-elemnek még nincs megfelelő Wikipédia-oldala.", "searchWikidata": "Keresés a Wikidatán", "wikipediaboxTitle": "Wikipédia" - }, - "backToMapcomplete": "Vissza a témák áttekintéséhez" + } }, "image": { "addPicture": "Kép hozzáadása", @@ -367,4 +367,4 @@ "split": "Szétvágás", "splitTitle": "Válaszd ki a térképen, hogy az út hol legyen elvágva" } -} +} \ No newline at end of file diff --git a/langs/layers/fr.json b/langs/layers/fr.json index 6abdb04c2..b72983647 100644 --- a/langs/layers/fr.json +++ b/langs/layers/fr.json @@ -417,6 +417,28 @@ "render": "Vélothèque" } }, + "bicycle_rental": { + "deletion": { + "extraDeleteReasons": { + "0": { + "explanation": "{title()} a était fermé de façon permanente" + } + }, + "nonDeleteMappings": { + "0": { + "then": "Ce magasin de vélo louait des vélos, mais n'en loue plus maintenant" + } + } + }, + "description": "Station de location de vélo", + "name": "Location de vélo", + "presets": { + "0": { + "description": "Un magasin qui priorise la location de vélos", + "title": "magasin de location de vélos" + } + } + }, "bicycle_tube_vending_machine": { "name": "Distributeur automatique de chambre à air de vélo", "presets": { @@ -2396,27 +2418,5 @@ }, "watermill": { "name": "Moulin à eau" - }, - "bicycle_rental": { - "name": "Location de vélo", - "presets": { - "0": { - "description": "Un magasin qui priorise la location de vélos", - "title": "magasin de location de vélos" - } - }, - "description": "Station de location de vélo", - "deletion": { - "extraDeleteReasons": { - "0": { - "explanation": "{title()} a était fermé de façon permanente" - } - }, - "nonDeleteMappings": { - "0": { - "then": "Ce magasin de vélo louait des vélos, mais n'en loue plus maintenant" - } - } - } } -} +} \ No newline at end of file From 78b54d2fce99b10fa7521a7190ba49e2b48d6ee5 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 29 Mar 2022 21:55:49 +0200 Subject: [PATCH 5/6] Automatically add articles to presets to transition --- Models/ThemeConfig/Json/LayerConfigJson.ts | 5 ++ .../ambulancestation/ambulancestation.json | 8 +-- assets/layers/artwork/artwork.json | 16 +++--- assets/layers/barrier/barrier.json | 14 ++--- assets/layers/bench/bench.json | 16 +++--- .../bicycle_library/bicycle_library.json | 12 ++--- .../layers/bicycle_rental/bicycle_rental.json | 6 +-- .../bicycle_tube_vending_machine.json | 12 ++--- assets/layers/bike_cafe/bike_cafe.json | 12 ++--- .../layers/bike_cleaning/bike_cleaning.json | 12 ++--- assets/layers/bike_parking/bike_parking.json | 12 ++--- .../bike_repair_station.json | 26 +++++----- assets/layers/bike_shop/bike_shop.json | 8 +-- assets/layers/binocular/binocular.json | 4 +- assets/layers/birdhide/birdhide.json | 4 +- assets/layers/cafe_pub/cafe_pub.json | 12 ++--- .../charging_station/charging_station.json | 6 +-- assets/layers/crossings/crossings.json | 12 ++--- .../layers/defibrillator/defibrillator.json | 12 ++--- .../layers/drinking_water/drinking_water.json | 8 +-- assets/layers/entrance/entrance.json | 4 +- assets/layers/extinguisher/extinguisher.json | 10 ++-- assets/layers/fire_station/fire_station.json | 8 +-- assets/layers/food/food.json | 12 ++--- assets/layers/ghost_bike/ghost_bike.json | 16 +++--- assets/layers/hydrant/hydrant.json | 8 +-- .../information_board/information_board.json | 8 +-- assets/layers/map/map.json | 8 +-- .../layers/nature_reserve/nature_reserve.json | 2 +- assets/layers/parking/parking.json | 2 +- assets/layers/picnic_table/picnic_table.json | 8 +-- assets/layers/play_forest/play_forest.json | 4 +- assets/layers/playground/playground.json | 8 +-- .../public_bookcase/public_bookcase.json | 8 +-- assets/layers/recycling/recycling.json | 4 +- assets/layers/shops/shops.json | 6 +-- assets/layers/sport_pitch/sport_pitch.json | 16 +++--- assets/layers/street_lamps/street_lamps.json | 2 +- assets/layers/toilet/toilet.json | 16 +++--- assets/layers/tree_node/tree_node.json | 24 ++++----- assets/layers/viewpoint/viewpoint.json | 8 +-- assets/layers/waste_basket/waste_basket.json | 4 +- assets/themes/buurtnatuur/buurtnatuur.json | 6 +-- assets/themes/campersite/campersite.json | 16 +++--- assets/themes/climbing/climbing.json | 36 ++++++------- .../themes/facadegardens/facadegardens.json | 8 +-- assets/themes/fruit_trees/fruit_trees.json | 4 +- assets/themes/hackerspaces/hackerspaces.json | 4 +- .../openwindpowermap/openwindpowermap.json | 8 +-- assets/themes/postboxes/postboxes.json | 4 +- langs/de.json | 2 +- langs/es.json | 2 +- langs/fr.json | 2 +- langs/it.json | 2 +- langs/nb_NO.json | 2 +- langs/nl.json | 2 +- langs/pt.json | 2 +- langs/pt_BR.json | 2 +- scripts/lint.ts | 51 ++++++++++++++++++- 59 files changed, 307 insertions(+), 249 deletions(-) diff --git a/Models/ThemeConfig/Json/LayerConfigJson.ts b/Models/ThemeConfig/Json/LayerConfigJson.ts index 9bc71e38f..d70433da9 100644 --- a/Models/ThemeConfig/Json/LayerConfigJson.ts +++ b/Models/ThemeConfig/Json/LayerConfigJson.ts @@ -203,6 +203,11 @@ export interface LayerConfigJson { presets?: { /** * The title - shown on the 'add-new'-button. + * + * This should include the article of the noun, e.g. 'a hydrant', 'a bicycle pump'. + * This text will be inserted into `Add {category} here`, becoming `Add a hydrant here`. + * + * Do _not_ indicate 'new': 'add a new shop here' is incorrect, as the shop might have existed forever, it could just be unmapped! */ title: string | any, /** diff --git a/assets/layers/ambulancestation/ambulancestation.json b/assets/layers/ambulancestation/ambulancestation.json index 4a18e1420..d7d921813 100644 --- a/assets/layers/ambulancestation/ambulancestation.json +++ b/assets/layers/ambulancestation/ambulancestation.json @@ -250,11 +250,11 @@ "en": "Ambulance station", "ru": "Станция скорой помощи", "ja": "救急ステーション(消防署)", - "fr": "Station d’ambulances", - "de": "Rettungswache", - "it": "Stazione delle ambulanze", + "fr": "une station d’ambulances", + "de": "eine rettungswache", + "it": "una stazione delle ambulanze", "hu": "Mentőállomás", - "nl": "Ambulancestation", + "nl": "een ambulancestation", "zh_Hans": "救护车站", "id": "Stasiun ambulans" }, diff --git a/assets/layers/artwork/artwork.json b/assets/layers/artwork/artwork.json index bffc6f05f..7df12ba1f 100644 --- a/assets/layers/artwork/artwork.json +++ b/assets/layers/artwork/artwork.json @@ -88,22 +88,22 @@ ], "title": { "en": "Artwork", - "nl": "Kunstwerk", - "fr": "Œuvre d'art", - "de": "Kunstwerk", - "it": "Opera d’arte", + "nl": "een kunstwerk", + "fr": "une œuvre d'art", + "de": "eine kunstwerk", + "it": "una opera d’arte", "ru": "Художественная работа", - "es": "Obra de arte", + "es": "una obra de arte", "ja": "アートワーク", "zh_Hant": "藝術品", - "nb_NO": "Kunstverk", + "nb_NO": "en kunstverk", "fi": "Taideteos", "gl": "Obra de arte", "hu": "Műalkotás", "id": "Karya Seni", "pl": "Dzieło sztuki", - "pt": "Obra de arte", - "pt_BR": "Obra de arte", + "pt": "uma obra de arte", + "pt_BR": "uma obra de arte", "sv": "Konstverk" } } diff --git a/assets/layers/barrier/barrier.json b/assets/layers/barrier/barrier.json index e0eecd93a..d147e9978 100644 --- a/assets/layers/barrier/barrier.json +++ b/assets/layers/barrier/barrier.json @@ -61,12 +61,12 @@ { "title": { "en": "Bollard", - "nl": "Paaltje", - "de": "Poller", + "nl": "een paaltje", + "de": "eine poller", "ru": "Прикол", - "fr": "Bollard", + "fr": "une bollard", "hu": "Terelőoszlop", - "es": "Bolardo" + "es": "una bolardo" }, "tags": [ "barrier=bollard" @@ -89,10 +89,10 @@ { "title": { "en": "Cycle barrier", - "nl": "Fietshekjes", - "de": "Fahrradhindernis", + "nl": "een fietshekjes", + "de": "eine fahrradhindernis", "hu": "Kerékpárakadály", - "fr": "Barrière cyclable" + "fr": "une barrière cyclable" }, "tags": [ "barrier=cycle_barrier" diff --git a/assets/layers/bench/bench.json b/assets/layers/bench/bench.json index 41e29267b..2748c73d4 100644 --- a/assets/layers/bench/bench.json +++ b/assets/layers/bench/bench.json @@ -606,20 +606,20 @@ ], "title": { "en": "bench", - "de": "sitzbank", - "fr": "banc", - "nl": "zitbank", - "es": "banco", - "it": "panchina", + "de": "eine sitzbank", + "fr": "une banc", + "nl": "een zitbank", + "es": "una banco", + "it": "una panchina", "ru": "cкамейка", "id": "bangku", "zh_Hans": "长椅", - "nb_NO": "benk", + "nb_NO": "en benk", "zh_Hant": "長椅", - "pt_BR": "banco", + "pt_BR": "uma banco", "fi": "penkki", "pl": "Ławka", - "pt": "banco" + "pt": "uma banco" }, "presiceInput": { "preferredBackground": "photo" diff --git a/assets/layers/bicycle_library/bicycle_library.json b/assets/layers/bicycle_library/bicycle_library.json index a4c78a05a..e2c5d1e63 100644 --- a/assets/layers/bicycle_library/bicycle_library.json +++ b/assets/layers/bicycle_library/bicycle_library.json @@ -240,14 +240,14 @@ { "title": { "en": "Fietsbibliotheek", - "nl": "Bicycle library", + "nl": "een bicycle library", "ru": "Велосипедная библиотека", "zh_Hant": "自行車圖書館 ( Fietsbibliotheek)", - "it": "Bici in prestito", - "fr": "Vélothèque", - "pt_BR": "Biblioteca de bicicletas", - "de": "Fahrradbibliothek", - "pt": "Biblioteca de bicicletas", + "it": "una bici in prestito", + "fr": "une vélothèque", + "pt_BR": "uma biblioteca de bicicletas", + "de": "eine fahrradbibliothek", + "pt": "uma biblioteca de bicicletas", "eo": "Fietsbibliotheek" }, "tags": [ diff --git a/assets/layers/bicycle_rental/bicycle_rental.json b/assets/layers/bicycle_rental/bicycle_rental.json index d163a0465..f2b28a8d2 100644 --- a/assets/layers/bicycle_rental/bicycle_rental.json +++ b/assets/layers/bicycle_rental/bicycle_rental.json @@ -290,8 +290,8 @@ { "title": { "en": "bicycle rental shop", - "nl": "fietsverhuurzaak", - "fr": "magasin de location de vélos" + "nl": "een fietsverhuurzaak", + "fr": "une magasin de location de vélos" }, "tags": [ "amenity=bicycle_rental", @@ -306,7 +306,7 @@ { "title": { "en": "bicycle rental", - "nl": "fietsverhuur" + "nl": "een fietsverhuur" }, "tags": [ "amenity=bicycle_rental" diff --git a/assets/layers/bicycle_tube_vending_machine/bicycle_tube_vending_machine.json b/assets/layers/bicycle_tube_vending_machine/bicycle_tube_vending_machine.json index 6558cc5d2..43ee693eb 100644 --- a/assets/layers/bicycle_tube_vending_machine/bicycle_tube_vending_machine.json +++ b/assets/layers/bicycle_tube_vending_machine/bicycle_tube_vending_machine.json @@ -50,14 +50,14 @@ { "title": { "en": "Bicycle tube vending machine", - "nl": "Fietsbanden-verkoopsautomaat", - "fr": "Distributeur automatique de chambre à air de vélo", - "it": "Distributore automatico di camere d’aria per bici", - "de": "Fahrradschlauch-Automat", + "nl": "een fietsbanden-verkoopsautomaat", + "fr": "une distributeur automatique de chambre à air de vélo", + "it": "una distributore automatico di camere d’aria per bici", + "de": "eine fahrradschlauch-automat", "ru": "Торговый автомат для велосипедистов", "zh_Hant": "自行車內胎自動售貨機", - "pt_BR": "Máquina de venda automática de tubos de bicicleta", - "pt": "Máquina de venda automática de tubos de bicicleta" + "pt_BR": "uma máquina de venda automática de tubos de bicicleta", + "pt": "uma máquina de venda automática de tubos de bicicleta" }, "tags": [ "amenity=vending_machine", diff --git a/assets/layers/bike_cafe/bike_cafe.json b/assets/layers/bike_cafe/bike_cafe.json index becb7d407..d124bd648 100644 --- a/assets/layers/bike_cafe/bike_cafe.json +++ b/assets/layers/bike_cafe/bike_cafe.json @@ -337,16 +337,16 @@ { "title": { "en": "Bike cafe", - "nl": "Fietscafé", - "fr": "Café Vélo", + "nl": "een fietscafé", + "fr": "une café vélo", "gl": "Café de ciclistas", - "de": "Fahrrad-Café", - "it": "Caffè in bici", + "de": "eine fahrrad-café", + "it": "una caffè in bici", "zh_Hans": "自行车咖啡", "zh_Hant": "單車咖啡廳", "ru": "Велосипедное кафе", - "pt_BR": "Café de bicicleta", - "pt": "Café de bicicleta" + "pt_BR": "uma café de bicicleta", + "pt": "uma café de bicicleta" }, "tags": [ "amenity=pub", diff --git a/assets/layers/bike_cleaning/bike_cleaning.json b/assets/layers/bike_cleaning/bike_cleaning.json index ace20b610..8637eff60 100644 --- a/assets/layers/bike_cleaning/bike_cleaning.json +++ b/assets/layers/bike_cleaning/bike_cleaning.json @@ -52,13 +52,13 @@ { "title": { "en": "Bike cleaning service", - "nl": "Fietsschoonmaakpunt", - "fr": "Service de nettoyage de vélo", - "it": "Servizio lavaggio bici", - "de": "Fahrrad-Reinigungsdienst", + "nl": "een fietsschoonmaakpunt", + "fr": "une service de nettoyage de vélo", + "it": "una servizio lavaggio bici", + "de": "eine fahrrad-reinigungsdienst", "zh_Hant": "單車清理服務", - "pt_BR": "Serviço de limpeza de bicicletas", - "pt": "Serviço de limpeza de bicicletas" + "pt_BR": "uma serviço de limpeza de bicicletas", + "pt": "uma serviço de limpeza de bicicletas" }, "tags": [ "amenity=bicycle_wash" diff --git a/assets/layers/bike_parking/bike_parking.json b/assets/layers/bike_parking/bike_parking.json index 7e7f91c3f..7b580090d 100644 --- a/assets/layers/bike_parking/bike_parking.json +++ b/assets/layers/bike_parking/bike_parking.json @@ -26,17 +26,17 @@ { "title": { "en": "Bike parking", - "nl": "Fietsparking", - "fr": "Parking à vélo", + "nl": "een fietsparking", + "fr": "une parking à vélo", "gl": "Aparcadoiro de bicicletas", - "de": "Fahrrad-Parkplätze", + "de": "eine fahrrad-parkplätze", "hu": "Kerékpártároló", - "it": "Parcheggio bici", + "it": "una parcheggio bici", "zh_Hant": "單車停車場", "ru": "Велопарковка", "pl": "Parking dla rowerów", - "pt_BR": "Estacionamento de bicicletas", - "pt": "Estacionamento de bicicletas" + "pt_BR": "uma estacionamento de bicicletas", + "pt": "uma estacionamento de bicicletas" }, "tags": [ "amenity=bicycle_parking" diff --git a/assets/layers/bike_repair_station/bike_repair_station.json b/assets/layers/bike_repair_station/bike_repair_station.json index 82512f157..a9e266dd4 100644 --- a/assets/layers/bike_repair_station/bike_repair_station.json +++ b/assets/layers/bike_repair_station/bike_repair_station.json @@ -658,15 +658,15 @@ { "title": { "en": "bike pump", - "nl": "fietspomp", - "fr": "pompe à vélo", + "nl": "een fietspomp", + "fr": "une pompe à vélo", "gl": "bomba de ar", - "de": "fahrradpumpe", - "it": "pompa per bici", + "de": "eine fahrradpumpe", + "it": "una pompa per bici", "ru": "bелосипедный насос", "fi": "pyöräpumppu", "pl": "pompka do roweru", - "pt_BR": "bomba de bicicleta" + "pt_BR": "uma bomba de bicicleta" }, "tags": [ "amenity=bicycle_repair_station", @@ -692,11 +692,11 @@ { "title": { "en": "bike repair station and pump", - "nl": "herstelpunt en pomp", - "fr": "point de réparation vélo avec pompe", + "nl": "een herstelpunt en pomp", + "fr": "une point de réparation vélo avec pompe", "gl": "estación de arranxo de bicicletas con bomba de ar", - "de": "fahrrad-Reparaturstation und Pumpe", - "it": "stazione di riparazione bici e pompa", + "de": "eine fahrrad-reparaturstation und pumpe", + "it": "una stazione di riparazione bici e pompa", "pl": "stacja naprawy rowerów i pompka" }, "tags": [ @@ -719,11 +719,11 @@ { "title": { "en": "bike repair station without pump", - "nl": "herstelpunt zonder pomp", - "fr": "point de réparation vélo sans pompe", + "nl": "een herstelpunt zonder pomp", + "fr": "une point de réparation vélo sans pompe", "gl": "estación de arranxo de bicicletas sin bomba de ar", - "de": "fahrrad-Reparaturstation ohne Pumpe", - "it": "stazione di riparazione bici senza pompa" + "de": "eine fahrrad-reparaturstation ohne pumpe", + "it": "una stazione di riparazione bici senza pompa" }, "tags": [ "amenity=bicycle_repair_station", diff --git a/assets/layers/bike_shop/bike_shop.json b/assets/layers/bike_shop/bike_shop.json index eda028865..b77f8df94 100644 --- a/assets/layers/bike_shop/bike_shop.json +++ b/assets/layers/bike_shop/bike_shop.json @@ -671,11 +671,11 @@ { "title": { "en": "Bike repair/shop", - "nl": "Fietszaak", - "fr": "Magasin et réparateur de vélo", + "nl": "een fietszaak", + "fr": "une magasin et réparateur de vélo", "gl": "Tenda/arranxo de bicicletas", - "de": "Fahrradwerkstatt/geschäft", - "it": "Negozio/riparatore di bici", + "de": "eine fahrradwerkstatt/geschäft", + "it": "una negozio/riparatore di bici", "ru": "Обслуживание велосипедов/магазин" }, "tags": [ diff --git a/assets/layers/binocular/binocular.json b/assets/layers/binocular/binocular.json index 60fd228c1..936587c0c 100644 --- a/assets/layers/binocular/binocular.json +++ b/assets/layers/binocular/binocular.json @@ -82,8 +82,8 @@ ], "title": { "en": "binoculars", - "nl": "verrekijker", - "de": "Ferngläser", + "nl": "een verrekijker", + "de": "eine ferngläser", "ru": "бинокль" }, "description": { diff --git a/assets/layers/birdhide/birdhide.json b/assets/layers/birdhide/birdhide.json index 07bbc253c..4f35f1433 100644 --- a/assets/layers/birdhide/birdhide.json +++ b/assets/layers/birdhide/birdhide.json @@ -234,7 +234,7 @@ ], "title": { "en": "Birdhide", - "nl": "vogelkijkhut" + "nl": "een vogelkijkhut" }, "description": { "en": "A covered shelter where one can watch birds comfortably", @@ -249,7 +249,7 @@ ], "title": { "en": "Bird blind", - "nl": "vogelkijkwand" + "nl": "een vogelkijkwand" }, "description": { "en": "A screen or wall with openings to watch birds", diff --git a/assets/layers/cafe_pub/cafe_pub.json b/assets/layers/cafe_pub/cafe_pub.json index 0b2164603..c18a75835 100644 --- a/assets/layers/cafe_pub/cafe_pub.json +++ b/assets/layers/cafe_pub/cafe_pub.json @@ -25,8 +25,8 @@ ], "title": { "en": "pub", - "nl": "bruin cafe of kroeg", - "de": "Kneipe", + "nl": "een bruin cafe of kroeg", + "de": "eine kneipe", "ru": "паб", "hu": "kocsma" }, @@ -44,8 +44,8 @@ ], "title": { "en": "bar", - "nl": "bar", - "de": "Bar", + "nl": "een bar", + "de": "eine bar", "ru": "бар", "hu": "bár" }, @@ -63,8 +63,8 @@ ], "title": { "en": "cafe", - "nl": "cafe", - "de": "Café", + "nl": "een cafe", + "de": "eine café", "ru": "кафе", "hu": "kávézó" }, diff --git a/assets/layers/charging_station/charging_station.json b/assets/layers/charging_station/charging_station.json index 9bde3a320..859ee8954 100644 --- a/assets/layers/charging_station/charging_station.json +++ b/assets/layers/charging_station/charging_station.json @@ -4001,7 +4001,7 @@ ], "title": { "en": "charging station for electrical bikes with a normal european wall plug (meant to charge electrical bikes)", - "nl": "oplaadpunt voor elektrische fietsen" + "nl": "een oplaadpunt voor elektrische fietsen" }, "preciseInput": { "preferredBackground": "map" @@ -4015,8 +4015,8 @@ ], "title": { "en": "charging station for cars", - "nl": "oplaadstation voor elektrische auto's", - "de": "Ladestation für e-bikes" + "nl": "een oplaadstation voor elektrische auto's", + "de": "eine ladestation für e-bikes" }, "preciseInput": { "preferredBackground": "map" diff --git a/assets/layers/crossings/crossings.json b/assets/layers/crossings/crossings.json index dd6a4f7b5..8d9a9a7f6 100644 --- a/assets/layers/crossings/crossings.json +++ b/assets/layers/crossings/crossings.json @@ -54,9 +54,9 @@ { "title": { "en": "Crossing", - "nl": "Oversteekplaats", - "de": "Kreuzung", - "fr": "Traversée" + "nl": "een oversteekplaats", + "de": "eine kreuzung", + "fr": "une traversée" }, "tags": [ "highway=crossing" @@ -78,10 +78,10 @@ { "title": { "en": "Traffic signal", - "nl": "Verkeerslicht", + "nl": "een verkeerslicht", "ru": "Светофор", - "de": "Ampel", - "fr": "Feu de signalisation" + "de": "eine ampel", + "fr": "une feu de signalisation" }, "tags": [ "highway=traffic_signals" diff --git a/assets/layers/defibrillator/defibrillator.json b/assets/layers/defibrillator/defibrillator.json index 6b4ca0127..49127b4a3 100644 --- a/assets/layers/defibrillator/defibrillator.json +++ b/assets/layers/defibrillator/defibrillator.json @@ -37,11 +37,11 @@ "title": { "en": "Defibrillator", "ca": "Desfibril·lador", - "es": "Desfibrilador", - "fr": "Défibrillateur", - "nl": "Defibrillator", - "de": "Defibrillator", - "it": "Defibrillatore", + "es": "una desfibrilador", + "fr": "une défibrillateur", + "nl": "een defibrillator", + "de": "eine defibrillator", + "it": "una defibrillatore", "ru": "Дефибриллятор", "sl": "Defibrilator" }, @@ -52,7 +52,7 @@ { "title": { "en": "defibrillator mounted on a wall", - "nl": "defibrillator die aan een muur hangt", + "nl": "een defibrillator die aan een muur hangt", "sl": "defibrilator je pritrjen na steno" }, "tags": [ diff --git a/assets/layers/drinking_water/drinking_water.json b/assets/layers/drinking_water/drinking_water.json index 22c659bcf..c72c72d39 100644 --- a/assets/layers/drinking_water/drinking_water.json +++ b/assets/layers/drinking_water/drinking_water.json @@ -43,11 +43,11 @@ { "title": { "en": "drinking water", - "nl": "drinkbaar water", - "fr": "eau potable", + "nl": "een drinkbaar water", + "fr": "une eau potable", "gl": "auga potábel", - "de": "trinkwasser", - "it": "acqua potabile", + "de": "eine trinkwasser", + "it": "una acqua potabile", "ru": "питьевая вода", "id": "air minum", "hu": "ivóvíz" diff --git a/assets/layers/entrance/entrance.json b/assets/layers/entrance/entrance.json index 57782545f..65a717e3b 100644 --- a/assets/layers/entrance/entrance.json +++ b/assets/layers/entrance/entrance.json @@ -296,7 +296,9 @@ ], "presets": [ { - "title": "entrance", + "title": { + "*": "entrance" + }, "preciseInput": { "preferredBackground": "photo", "snapToLayer": [ diff --git a/assets/layers/extinguisher/extinguisher.json b/assets/layers/extinguisher/extinguisher.json index 78fca9848..e03245705 100644 --- a/assets/layers/extinguisher/extinguisher.json +++ b/assets/layers/extinguisher/extinguisher.json @@ -108,12 +108,12 @@ "title": { "en": "Fire extinguisher", "ja": "消火器", - "nb_NO": "Brannslukker", + "nb_NO": "en brannslukker", "ru": "Огнетушитель", - "fr": "Extincteur", - "de": "Feuerlöscher", - "it": "Estintore", - "nl": "Brandblusser" + "fr": "une extincteur", + "de": "eine feuerlöscher", + "it": "una estintore", + "nl": "een brandblusser" }, "description": { "en": "A fire extinguisher is a small, portable device used to stop a fire", diff --git a/assets/layers/fire_station/fire_station.json b/assets/layers/fire_station/fire_station.json index 66c850e31..66a224ca8 100644 --- a/assets/layers/fire_station/fire_station.json +++ b/assets/layers/fire_station/fire_station.json @@ -218,10 +218,10 @@ "en": "Fire station", "ja": "消防署", "ru": "Пожарная часть", - "fr": "Caserne de pompiers", - "de": "Feuerwache", - "it": "Caserma dei vigili del fuoco", - "nb_NO": "Brannstasjon" + "fr": "une caserne de pompiers", + "de": "eine feuerwache", + "it": "una caserma dei vigili del fuoco", + "nb_NO": "en brannstasjon" }, "description": { "en": "A fire station is a place where the fire trucks and firefighters are located when not in operation.", diff --git a/assets/layers/food/food.json b/assets/layers/food/food.json index 4195e31c2..fad134f75 100644 --- a/assets/layers/food/food.json +++ b/assets/layers/food/food.json @@ -18,9 +18,9 @@ { "title": { "en": "restaurant", - "nl": "restaurant", + "nl": "een restaurant", "ru": "ресторан", - "de": "Restaurant" + "de": "eine restaurant" }, "tags": [ "amenity=restaurant" @@ -37,9 +37,9 @@ { "title": { "en": "fastfood", - "nl": "fastfood-zaak", + "nl": "een fastfood-zaak", "ru": "быстрое питание", - "de": "Schnellimbiss" + "de": "eine schnellimbiss" }, "tags": [ "amenity=fast_food" @@ -56,8 +56,8 @@ { "title": { "en": "fries shop", - "nl": "frituur", - "de": "Pommesbude" + "nl": "een frituur", + "de": "eine pommesbude" }, "tags": [ "amenity=fast_food", diff --git a/assets/layers/ghost_bike/ghost_bike.json b/assets/layers/ghost_bike/ghost_bike.json index 98697e3e9..263c1a4c5 100644 --- a/assets/layers/ghost_bike/ghost_bike.json +++ b/assets/layers/ghost_bike/ghost_bike.json @@ -62,20 +62,20 @@ { "title": { "en": "Ghost bike", - "nl": "Witte fiets", - "de": "Geisterrad", - "it": "Bici fantasma", - "fr": "Vélo fantôme", + "nl": "een witte fiets", + "de": "eine geisterrad", + "it": "una bici fantasma", + "fr": "une vélo fantôme", "eo": "Fantombiciklo", - "es": "Bicicleta blanca", + "es": "una bicicleta blanca", "fi": "Haamupyörä", "gl": "Bicicleta pantasma", "hu": "Emlékkerékpár", "ja": "ゴーストバイク", - "nb_NO": "Spøkelsessykler", + "nb_NO": "en spøkelsessykler", "pl": "Duch roweru", - "pt": "Bicicleta fantasma", - "pt_BR": "Bicicleta fantasma", + "pt": "uma bicicleta fantasma", + "pt_BR": "uma bicicleta fantasma", "ru": "Велосипед ghost", "sv": "Spökcykel", "zh_Hant": "幽靈單車" diff --git a/assets/layers/hydrant/hydrant.json b/assets/layers/hydrant/hydrant.json index b5b6c8305..0a50cbf18 100644 --- a/assets/layers/hydrant/hydrant.json +++ b/assets/layers/hydrant/hydrant.json @@ -297,10 +297,10 @@ "en": "Fire hydrant", "ru": "Пожарный гидрант", "ja": "消火栓", - "nb_NO": "Brannhydrant", - "fr": "Borne incendie", - "de": "Löschwasser-Hydrant", - "it": "Idrante antincendio" + "nb_NO": "en brannhydrant", + "fr": "une borne incendie", + "de": "eine löschwasser-hydrant", + "it": "una idrante antincendio" }, "description": { "en": "A hydrant is a connection point where firefighters can tap water. It might be located underground.", diff --git a/assets/layers/information_board/information_board.json b/assets/layers/information_board/information_board.json index d82fe3d94..8c4ec46b2 100644 --- a/assets/layers/information_board/information_board.json +++ b/assets/layers/information_board/information_board.json @@ -36,11 +36,11 @@ "information=board" ], "title": { - "nl": "informatiebord", + "nl": "een informatiebord", "en": "information board", - "it": "pannello informativo", - "fr": "panneau d'informations", - "de": "informationstafel", + "it": "una pannello informativo", + "fr": "une panneau d'informations", + "de": "eine informationstafel", "ru": "информационный щит" } } diff --git a/assets/layers/map/map.json b/assets/layers/map/map.json index 464ed658f..310e161c2 100644 --- a/assets/layers/map/map.json +++ b/assets/layers/map/map.json @@ -173,11 +173,11 @@ ], "title": { "en": "Map", - "nl": "Kaart", - "it": "Mappa", + "nl": "een kaart", + "it": "una mappa", "ru": "Карта", - "fr": "Carte", - "de": "Karte" + "fr": "une carte", + "de": "eine karte" }, "description": { "en": "Add a missing map", diff --git a/assets/layers/nature_reserve/nature_reserve.json b/assets/layers/nature_reserve/nature_reserve.json index f264a5693..362257149 100644 --- a/assets/layers/nature_reserve/nature_reserve.json +++ b/assets/layers/nature_reserve/nature_reserve.json @@ -381,7 +381,7 @@ ], "title": { "en": "nature reserve", - "nl": "natuurreservaat" + "nl": "een natuurreservaat" }, "description": { "en": "Add a missing nature reserve", diff --git a/assets/layers/parking/parking.json b/assets/layers/parking/parking.json index 1d3a5bf91..7ffa142a0 100644 --- a/assets/layers/parking/parking.json +++ b/assets/layers/parking/parking.json @@ -27,7 +27,7 @@ "amenity=parking" ], "title": { - "nl": "parking voor auto's", + "nl": "een parking voor auto's", "en": "car parking" } } diff --git a/assets/layers/picnic_table/picnic_table.json b/assets/layers/picnic_table/picnic_table.json index 03082ea33..88c805a05 100644 --- a/assets/layers/picnic_table/picnic_table.json +++ b/assets/layers/picnic_table/picnic_table.json @@ -86,11 +86,11 @@ ], "title": { "en": "picnic table", - "nl": "picnic-tafel", - "it": "tavolo da picnic", + "nl": "een picnic-tafel", + "it": "una tavolo da picnic", "ru": "стол для пикника", - "de": "picknicktisch", - "fr": "table de pique-nique" + "de": "eine picknicktisch", + "fr": "une table de pique-nique" } } ], diff --git a/assets/layers/play_forest/play_forest.json b/assets/layers/play_forest/play_forest.json index 227311cad..eb5014b60 100644 --- a/assets/layers/play_forest/play_forest.json +++ b/assets/layers/play_forest/play_forest.json @@ -95,7 +95,9 @@ "hideFromOverview": false, "presets": [ { - "title": "Speelbos", + "title": { + "*": "Speelbos" + }, "tags": [ "leisure=playground", "playground=forest", diff --git a/assets/layers/playground/playground.json b/assets/layers/playground/playground.json index b8eff0c6e..b457ffee7 100644 --- a/assets/layers/playground/playground.json +++ b/assets/layers/playground/playground.json @@ -492,12 +492,12 @@ "leisure=playground" ], "title": { - "nl": "speeltuin", + "nl": "een speeltuin", "en": "playground", "ru": "Детская площадка", - "fr": "terrain de jeux", - "it": "campetto", - "de": "spielplatz" + "fr": "une terrain de jeux", + "it": "una campetto", + "de": "eine spielplatz" } } ], diff --git a/assets/layers/public_bookcase/public_bookcase.json b/assets/layers/public_bookcase/public_bookcase.json index 8d267bdbd..e48135a86 100644 --- a/assets/layers/public_bookcase/public_bookcase.json +++ b/assets/layers/public_bookcase/public_bookcase.json @@ -51,11 +51,11 @@ { "title": { "en": "Bookcase", - "nl": "Boekenruilkast", - "de": "Bücherschrank", - "fr": "Microbibliothèque", + "nl": "een boekenruilkast", + "de": "eine bücherschrank", + "fr": "une microbibliothèque", "ru": "Книжный шкаф", - "it": "Microbiblioteca", + "it": "una microbiblioteca", "hu": "Könyvespolc" }, "tags": [ diff --git a/assets/layers/recycling/recycling.json b/assets/layers/recycling/recycling.json index bab282396..ec34478d5 100644 --- a/assets/layers/recycling/recycling.json +++ b/assets/layers/recycling/recycling.json @@ -408,7 +408,7 @@ { "title": { "en": "recycling container", - "nl": "recycling container" + "nl": "een recycling container" }, "tags": [ "amenity=recycling", @@ -418,7 +418,7 @@ { "title": { "en": "recycling centre", - "nl": "recycling centre" + "nl": "een recycling centre" }, "tags": [ "amenity=recycling", diff --git a/assets/layers/shops/shops.json b/assets/layers/shops/shops.json index 5899cf895..edbd599a8 100644 --- a/assets/layers/shops/shops.json +++ b/assets/layers/shops/shops.json @@ -332,11 +332,11 @@ ], "title": { "en": "Shop", - "fr": "Magasin", + "fr": "une magasin", "ru": "Магазин", "ja": "店", - "nl": "Winkel", - "de": "Geschäft", + "nl": "een winkel", + "de": "eine geschäft", "eo": "Butiko" }, "description": { diff --git a/assets/layers/sport_pitch/sport_pitch.json b/assets/layers/sport_pitch/sport_pitch.json index c3d7f38e1..e9adc044d 100644 --- a/assets/layers/sport_pitch/sport_pitch.json +++ b/assets/layers/sport_pitch/sport_pitch.json @@ -425,12 +425,12 @@ "presets": [ { "title": { - "nl": "Ping-pong tafel", - "fr": "Table de ping-pong", + "nl": "een ping-pong tafel", + "fr": "une table de ping-pong", "en": "Tabletennis table", - "it": "Tavolo da tennistavolo", + "it": "una tavolo da tennistavolo", "ru": "Стол для настольного тенниса", - "de": "Tischtennisplatte" + "de": "eine tischtennisplatte" }, "tags": [ "leisure=pitch", @@ -439,12 +439,12 @@ }, { "title": { - "nl": "Sportterrein", - "fr": "Terrain de sport", + "nl": "een sportterrein", + "fr": "une terrain de sport", "en": "Sport pitch", "ru": "Спортивная площадка", - "it": "Campo sportivo", - "de": "Sportplatz" + "it": "una campo sportivo", + "de": "eine sportplatz" }, "tags": [ "leisure=pitch", diff --git a/assets/layers/street_lamps/street_lamps.json b/assets/layers/street_lamps/street_lamps.json index 401b72f92..838ad184f 100644 --- a/assets/layers/street_lamps/street_lamps.json +++ b/assets/layers/street_lamps/street_lamps.json @@ -43,7 +43,7 @@ { "title": { "en": "street lamp", - "nl": "straatlantaarn" + "nl": "een straatlantaarn" }, "tags": [ "highway=street_lamp" diff --git a/assets/layers/toilet/toilet.json b/assets/layers/toilet/toilet.json index e74afb089..fbf145f56 100644 --- a/assets/layers/toilet/toilet.json +++ b/assets/layers/toilet/toilet.json @@ -26,11 +26,11 @@ { "title": { "en": "public toilet", - "de": "öffentlich zugängliche Toilette", - "fr": "toilette publique", - "nl": "publiek toilet", + "de": "eine öffentlich zugängliche toilette", + "fr": "une toilette publique", + "nl": "een publiek toilet", "ru": "общественный туалет ", - "it": "servizi igienici aperti al pubblico" + "it": "una servizi igienici aperti al pubblico" }, "tags": [ "amenity=toilets" @@ -39,10 +39,10 @@ { "title": { "en": "toilets with wheelchair accessible toilet", - "de": "toiletten mit rollstuhlgerechter Toilette", - "fr": "toilettes accessible aux personnes à mobilité réduite", - "nl": "rolstoeltoegankelijke, publiek toilet", - "it": "servizi igienici accessibili per persone in sedia a rotelle", + "de": "eine toiletten mit rollstuhlgerechter toilette", + "fr": "une toilettes accessible aux personnes à mobilité réduite", + "nl": "een rolstoeltoegankelijke, publiek toilet", + "it": "una servizi igienici accessibili per persone in sedia a rotelle", "ru": "tуалет с доступом для пользователей кресел-колясок" }, "tags": [ diff --git a/assets/layers/tree_node/tree_node.json b/assets/layers/tree_node/tree_node.json index ae1696f06..2725bb913 100644 --- a/assets/layers/tree_node/tree_node.json +++ b/assets/layers/tree_node/tree_node.json @@ -520,12 +520,12 @@ "leaf_type=broadleaved" ], "title": { - "nl": "Loofboom", + "nl": "een loofboom", "en": "Broadleaved tree", - "it": "Albero latifoglia", - "fr": "Arbre feuillu", + "it": "una albero latifoglia", + "fr": "une arbre feuillu", "ru": "Лиственное дерево", - "de": "Laubbaum" + "de": "eine laubbaum" }, "description": { "nl": "Een boom van een soort die blaadjes heeft, bijvoorbeeld eik of populier.", @@ -544,12 +544,12 @@ "leaf_type=needleleaved" ], "title": { - "nl": "Naaldboom", + "nl": "een naaldboom", "en": "Needleleaved tree", - "it": "Albero aghifoglia", + "it": "una albero aghifoglia", "ru": "Хвойное дерево", - "fr": "Arbre résineux", - "de": "Nadelbaum" + "fr": "une arbre résineux", + "de": "eine nadelbaum" }, "description": { "nl": "Een boom van een soort met naalden, bijvoorbeeld den of spar.", @@ -568,13 +568,13 @@ "natural=tree" ], "title": { - "nl": "Boom", + "nl": "een boom", "en": "Tree", - "it": "Albero", + "it": "una albero", "ru": "Дерево", - "fr": "Arbre", + "fr": "une arbre", "id": "Pohon", - "de": "Baum" + "de": "eine baum" }, "description": { "nl": "Wanneer je niet zeker bent of het nu een loof- of naaldboom is.", diff --git a/assets/layers/viewpoint/viewpoint.json b/assets/layers/viewpoint/viewpoint.json index b3f077b74..2f314af15 100644 --- a/assets/layers/viewpoint/viewpoint.json +++ b/assets/layers/viewpoint/viewpoint.json @@ -26,11 +26,11 @@ { "title": { "en": "Viewpoint", - "nl": "Uitzicht", - "de": "Aussichtspunkt", - "fr": "Point de vue", + "nl": "een uitzicht", + "de": "eine aussichtspunkt", + "fr": "une point de vue", "ru": "Смотровая площадка", - "it": "Punto panoramico", + "it": "una punto panoramico", "id": "Sudut pandang" }, "tags": [ diff --git a/assets/layers/waste_basket/waste_basket.json b/assets/layers/waste_basket/waste_basket.json index d78595b87..554a65481 100644 --- a/assets/layers/waste_basket/waste_basket.json +++ b/assets/layers/waste_basket/waste_basket.json @@ -157,9 +157,9 @@ ], "title": { "en": "Waste Basket", - "nl": "Vuilnisbak", + "nl": "een vuilnisbak", "ru": "Контейнер для мусора", - "de": "Abfalleimer", + "de": "eine abfalleimer", "eo": "Rubujo" }, "presiceInput": { diff --git a/assets/themes/buurtnatuur/buurtnatuur.json b/assets/themes/buurtnatuur/buurtnatuur.json index d6d16daca..b9c9bba16 100644 --- a/assets/themes/buurtnatuur/buurtnatuur.json +++ b/assets/themes/buurtnatuur/buurtnatuur.json @@ -78,7 +78,7 @@ "fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen" ], "title": { - "nl": "Natuurreservaat" + "nl": "een natuurreservaat" }, "description": { "nl": "Voeg een ontbrekend, erkend natuurreservaat toe, bv. een gebied dat beheerd wordt door het ANB of natuurpunt" @@ -198,7 +198,7 @@ "fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen" ], "title": { - "nl": "Park" + "nl": "een park" }, "description": { "nl": "Voeg een ontbrekend park toe" @@ -306,7 +306,7 @@ "fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen" ], "title": { - "nl": "Bos" + "nl": "een bos" }, "description": { "nl": "Voeg een ontbrekend bos toe aan de kaart" diff --git a/assets/themes/campersite/campersite.json b/assets/themes/campersite/campersite.json index e7c6fc25c..ffe8d336a 100644 --- a/assets/themes/campersite/campersite.json +++ b/assets/themes/campersite/campersite.json @@ -652,11 +652,11 @@ "ru": "площадка для кемпинга", "ja": "キャンプサイト", "zh_Hant": "露營地", - "it": "luogo di campeggio", - "fr": "Aire de camping", - "pt_BR": "local de acampamento", - "de": "Wohnmobilstellplatz", - "nl": "camperplaats", + "it": "una luogo di campeggio", + "fr": "une aire de camping", + "pt_BR": "uma local de acampamento", + "de": "eine wohnmobilstellplatz", + "nl": "een camperplaats", "hu": "lakóautós megállóhely" }, "description": { @@ -1105,9 +1105,9 @@ "title": { "en": "sanitary dump station", "ja": "衛生ゴミ捨て場", - "it": "luogo di sversamento delle acque reflue", - "fr": "Site de vidange", - "de": "Sanitäre Entsorgungsstation", + "it": "una luogo di sversamento delle acque reflue", + "fr": "une site de vidange", + "de": "eine sanitäre entsorgungsstation", "zh_Hant": "垃圾丟棄站" }, "description": { diff --git a/assets/themes/climbing/climbing.json b/assets/themes/climbing/climbing.json index 550131a86..5e4d20a51 100644 --- a/assets/themes/climbing/climbing.json +++ b/assets/themes/climbing/climbing.json @@ -159,14 +159,14 @@ "sport=climbing" ], "title": { - "de": "Kletterverein", + "de": "eine kletterverein", "en": "Climbing club", - "nl": "Klimclub", + "nl": "een klimclub", "ja": "クライミングクラブ", - "nb_NO": "Klatreklubb", + "nb_NO": "en klatreklubb", "ru": "Клуб скалолазания", - "fr": "Club d’escalade", - "it": "Club di arrampicata", + "fr": "une club d’escalade", + "it": "una club di arrampicata", "hu": "Mászóegyesület" }, "description": { @@ -187,12 +187,12 @@ "sport=climbing" ], "title": { - "de": "Eine Kletter-Organisation", + "de": "eine eine kletter-organisation", "en": "Climbing NGO", - "nl": "Een klimorganisatie", + "nl": "een een klimorganisatie", "ja": "クライミングNGO", - "fr": "Association d’escalade", - "it": "Associazione di arrampicata", + "fr": "une association d’escalade", + "it": "una associazione di arrampicata", "hu": "Mászószervezet" }, "description": { @@ -562,10 +562,10 @@ { "title": { "en": "Climbing route", - "nl": "Klimroute", - "fr": "Voie d’escalade", - "de": "Kletterroute", - "it": "Via di arrampicata" + "nl": "een klimroute", + "fr": "une voie d’escalade", + "de": "eine kletterroute", + "it": "una via di arrampicata" }, "tags": [ "sport=climbing", @@ -856,12 +856,12 @@ ], "title": { "en": "Climbing opportunity", - "nl": "Klimgelegenheid", - "de": "Klettermöglichkeit", + "nl": "een klimgelegenheid", + "de": "eine klettermöglichkeit", "ja": "登坂教室", - "nb_NO": "Klatremulighet", - "fr": "Opportunité d’escalade", - "it": "Opportunità di arrampicata" + "nb_NO": "en klatremulighet", + "fr": "une opportunité d’escalade", + "it": "una opportunità di arrampicata" }, "description": { "nl": "Een klimgelegenheid", diff --git a/assets/themes/facadegardens/facadegardens.json b/assets/themes/facadegardens/facadegardens.json index 923346ff3..2dd67fd06 100644 --- a/assets/themes/facadegardens/facadegardens.json +++ b/assets/themes/facadegardens/facadegardens.json @@ -394,12 +394,12 @@ "garden:type=facade_garden" ], "title": { - "nl": "geveltuintje", + "nl": "een geveltuintje", "en": "facade garden", "ja": "ファサード庭園", - "it": "giardino verticale", - "fr": "jardin mural", - "de": "Fassadengarten", + "it": "una giardino verticale", + "fr": "une jardin mural", + "de": "eine fassadengarten", "hu": "homlokzatkert" }, "description": { diff --git a/assets/themes/fruit_trees/fruit_trees.json b/assets/themes/fruit_trees/fruit_trees.json index 7fe8c9323..617fb8490 100644 --- a/assets/themes/fruit_trees/fruit_trees.json +++ b/assets/themes/fruit_trees/fruit_trees.json @@ -46,7 +46,7 @@ "fixme=Added with mapcomplete - geometry still to draw" ], "title": { - "nl": "Boomgaard" + "nl": "een boomgaard" }, "description": { "nl": "Voeg een boomgaard toe (als punt - omtrek nog te tekenen)" @@ -157,7 +157,7 @@ "natural=tree" ], "title": { - "nl": "Boom" + "nl": "een boom" }, "description": { "nl": "Voeg hier een boom toe" diff --git a/assets/themes/hackerspaces/hackerspaces.json b/assets/themes/hackerspaces/hackerspaces.json index c5728cb7e..e708f12f9 100644 --- a/assets/themes/hackerspaces/hackerspaces.json +++ b/assets/themes/hackerspaces/hackerspaces.json @@ -214,7 +214,7 @@ ], "title": { "en": "Hackerspace", - "de": "Hackerspace", + "de": "eine hackerspace", "ru": "Хакерспейс", "zh_Hant": "駭客空間", "hu": "Hackerspace" @@ -233,7 +233,7 @@ ], "title": { "en": "Makerspace", - "de": "Makerspace", + "de": "eine makerspace", "zh_Hant": "創客空間", "hu": "Makerspace" }, diff --git a/assets/themes/openwindpowermap/openwindpowermap.json b/assets/themes/openwindpowermap/openwindpowermap.json index 7c1d07978..aecf8205c 100644 --- a/assets/themes/openwindpowermap/openwindpowermap.json +++ b/assets/themes/openwindpowermap/openwindpowermap.json @@ -189,10 +189,10 @@ ], "title": { "en": "wind turbine", - "nl": "windturbine", - "fr": "Éolienne", - "de": "Windrad", - "it": "pala eolica", + "nl": "een windturbine", + "fr": "une éolienne", + "de": "eine windrad", + "it": "una pala eolica", "zh_Hant": "風機", "hu": "Szélerőmű" } diff --git a/assets/themes/postboxes/postboxes.json b/assets/themes/postboxes/postboxes.json index 4cb850b8c..a2f81f36a 100644 --- a/assets/themes/postboxes/postboxes.json +++ b/assets/themes/postboxes/postboxes.json @@ -79,7 +79,7 @@ ], "title": { "en": "postbox", - "de": "Briefkasten", + "de": "eine briefkasten", "ru": "почтовый ящик", "zh_Hant": "郵筒", "id": "kotak pos", @@ -195,7 +195,7 @@ ], "title": { "en": "Post Office", - "de": "Poststelle", + "de": "eine poststelle", "ru": "Почтовое отделение", "zh_Hant": "郵局", "id": "Kantor Pos", diff --git a/langs/de.json b/langs/de.json index d6dc6f7a3..d90c785ce 100644 --- a/langs/de.json +++ b/langs/de.json @@ -41,7 +41,7 @@ "about": "OpenStreetMap für ein bestimmtes Thema einfach bearbeiten und hinzufügen", "aboutMapcomplete": "

Über MapComplete

Nutzen Sie es, um OpenStreetMap-Informationen zu einem einzigen Thema hinzuzufügen. Beantworten Sie Fragen, und innerhalb weniger Minuten sind Ihre Beiträge überall verfügbar. Der Theme-Maintainer definiert Elemente, Fragen und Sprachen dafür.

Mehr erfahren

MapComplete bietet immer den nächsten Schritt, um mehr über OpenStreetMap zu erfahren.

  • Wenn es in eine Website eingebettet wird, verlinkt der iframe zu einer Vollbildversion von MapComplete
  • Die Vollbildversion bietet Infos über OpenStreetMap
  • Das Betrachten funktioniert ohne Anmeldung, aber das Bearbeiten erfordert ein OSM-Konto.
  • Wenn Sie nicht angemeldet sind, werden Sie dazu aufgefordert
  • Sobald Sie eine Frage beantwortet haben, können Sie der Karte neue Punkte hinzufügen
  • Nach einer Weile werden aktuelle OSM-Tags angezeigt, die später mit dem Wiki verlinkt werden


Haben Sie ein Problem bemerkt? Haben Sie einen Funktionswunsch? Möchten Sie bei der Übersetzung helfen? Besuchen Sie den Quellcode oder den Issue Tracker

Möchten Sie Ihren Fortschritt sehen? Verfolgen Sie die Anzahl der Änderungen auf OsmCha.

", "add": { - "addNew": "Füge eine neue {category} hinzu", + "addNew": "Füge {category} hinzu", "addNewMapLabel": "Hier klicken, um ein neues Element hinzuzufügen", "confirmButton": "Fügen Sie eine {category} hinzu.
Ihre Ergänzung ist für alle sichtbar
", "confirmIntro": "

Füge einen {title} hinzu?

Der Punkt, den Sie hier anlegen, wird für alle sichtbar sein. Bitte fügen Sie der Karte nur dann Dinge hinzu, wenn sie wirklich existieren. Viele Anwendungen verwenden diese Daten.", diff --git a/langs/es.json b/langs/es.json index 183d98076..df9849a01 100644 --- a/langs/es.json +++ b/langs/es.json @@ -26,7 +26,7 @@ "general": { "about": "Edita fácilmente y añade puntos en OpenStreetMap de un tema concreto", "add": { - "addNew": "Añadir una nueva {category}", + "addNew": "Añadir {category}", "addNewMapLabel": "Haga clic aquí para añadir un nuevo ítem", "confirmButton": "Añadir una {category} .
Tu contribución es visible para todos
", "confirmIntro": "

Añadir {title} aquí?

El punto que estás creando lo verá todo el mundo. Sólo añade cosas que realmente existan. Muchas aplicaciones usan estos datos.", diff --git a/langs/fr.json b/langs/fr.json index 3f3c790d9..a383e4d37 100644 --- a/langs/fr.json +++ b/langs/fr.json @@ -41,7 +41,7 @@ "about": "Éditer facilement et ajouter OpenStreetMap pour un certain thème", "aboutMapcomplete": "

À propos de MapComplete

Avec MapComplete vous pouvez enrichir OpenStreetMap d'informations sur un thème unique. Répondez à quelques questions, et en quelques minutes vos contributions seront disponible dans le monde entier ! Le concepteur du thème définis les éléments, questions et langues pour le thème.

En savoir plus

MapComplete propose toujours l'étape suivante pour en apprendre plus sur OpenStreetMap.

  • Lorsqu'il est intégré dans un site Web, l'<i>iframe</i> pointe vers MapComplete en plein écran
  • La version plein écran donne des informations sur OpenStreetMap
  • Il est possible de regarder sans se connecter, mais l'édition demande une connexion à OSM.
  • Si vous n'êtes pas connecté, il vous est demandé de le faire
  • Une fois que vous avez répondu à une seule question, vous pouvez ajouter de nouveaux points à la carte
  • Au bout d'un moment, les vrais tags OSM sont montrés, qui pointent ensuite vers le wiki


Vous avez remarqué un problème ? Vous souhaitez demander une fonctionnalité ? Vous voulez aider à traduire ? Allez voir le code source ou l'<i>issue tracker.</i>

Vous voulez visualiser votre progression ? Suivez le compteur d'édition sur OsmCha.

", "add": { - "addNew": "Ajouter une nouvelle {category}", + "addNew": "Ajouter {category}", "addNewMapLabel": "Cliquez ici pour ajouter un élément", "confirmButton": "Ajouter un/une {category} ici.
Votre ajout sera visible par tout le monde
", "confirmIntro": "

Ajouter un/une {title} ici?

Le point que vous ajouterez sera visible par tout le monde. Merci de vous assurer que ce point existe réellement. Beaucoup d'autres applications utilisent ces données.", diff --git a/langs/it.json b/langs/it.json index b8656f67f..13128003d 100644 --- a/langs/it.json +++ b/langs/it.json @@ -41,7 +41,7 @@ "about": "Modifica e aggiungi con semplicità OpenStreetMap per un certo tema", "aboutMapcomplete": "

Informazioni su MapComplete

Con MapComplete puoi arricchire OpenStreetMap con informazioni su un singolo argomento. Rispondi a poche domande e in pochi minuti i tuoi contributi saranno disponibili a tutto il mondo! L’utente gestore del tema definisce gli elementi, le domande e le lingue per quel tema.

Scopri altro

MapComplete propone sempre un passo in più per imparare qualcosa di nuovo su OpenStreetMap.

  • Quando viene incorporato in un sito web, il collegamento dell’iframe punta a MapComplete a tutto schermo
  • La versione a tutto schermo fornisce informazioni su OpenStreetMap
  • La visualizzazione non necessita di alcun accesso ma per modificare occorre aver effettuato l’accesso su OSM.
  • Se non hai effettuato l’accesso, ti verrà richiesto di farlo
  • Dopo aver risposto ad una sola domanda potrai aggiungere dei nuovi punti alla mappa
  • Dopo qualche momento verranno mostrate le etichette effettive, in seguito i collegamenti alla wiki


Hai trovato un errore? Vuoi richiedere nuove funzionalità? Vuoi aiutare con la traduzione? Dai un’occhiata al codice sorgente oppure al tracker degli errori.

Vuoi vedere i tuoi progressi?Segui il contatore delle modifiche su OsmCha.

", "add": { - "addNew": "Aggiungi una nuova {category} qua", + "addNew": "Aggiungi {category} qua", "addNewMapLabel": "Aggiungi nuovo elemento", "confirmButton": "Aggiungi una {category} qua.
La tua aggiunta è visibile a chiunque
", "confirmIntro": "

Aggiungere un {title} qua?

Il punto che hai creato qua sarà visibile da chiunque. Per favore, aggiungi sulla mappa solo oggetti realmente esistenti. Molte applicazioni usano questi dati.", diff --git a/langs/nb_NO.json b/langs/nb_NO.json index 92ff2f258..47ccb608f 100644 --- a/langs/nb_NO.json +++ b/langs/nb_NO.json @@ -37,7 +37,7 @@ }, "general": { "add": { - "addNew": "Legg til en ny {category} her", + "addNew": "Legg til {category} her", "addNewMapLabel": "Legg til nytt element", "confirmButton": "Legg til en {category} her.
Din endring er synlig for alle
", "confirmIntro": "

Legg til {title} her?

Punktet du oppretter her vil være synlig for alle. Kun legg til ting på kartet hvis de virkelig finnes. Mange programmer bruker denne dataen.", diff --git a/langs/nl.json b/langs/nl.json index c0c5a7c6a..04d0af9cb 100644 --- a/langs/nl.json +++ b/langs/nl.json @@ -41,7 +41,7 @@ "about": "Bewerk en voeg data toe aan OpenStreetMap over een specifiek onderwerp op een gemakkelijke manier", "aboutMapcomplete": "

Over MapComplete

Met MapComplete kun je OpenStreetMap verrijken met informatie over een bepaald thema. Beantwoord enkele vragen, en binnen een paar minuten is jouw bijdrage wereldwijd beschikbaar! De maker van het thema bepaalt de elementen, vragen en taalversies voor het thema.

Ontdek meer

MapComplete biedt altijd de volgende stap naar meer OpenStreetMap:

  • Indien ingebed in een website linkt het iframe naar de volledige MapComplete
  • De volledige versie heeft uitleg over OpenStreetMap
  • Bekijken kan altijd, maar wijzigen vereist een OSM-account
  • Als je niet aangemeld bent, wordt je gevraagd dit te doen
  • Als je minstens één vraag hebt beantwoord, kan je ook elementen toevoegen
  • Heb je genoeg changesets, dan verschijnen de OSM-tags, nog later links naar de wiki

Merk je een bug of wil je een extra feature? Wil je helpen vertalen? Bezoek dan de broncode en issue tracker.

Wil je je vorderingen zien? Volg de edits op OsmCha.

", "add": { - "addNew": "Voeg een {category} toe", + "addNew": "Voeg {category} toe", "addNewMapLabel": "Klik hier om een item toe te voegen", "confirmButton": "Voeg een {category} toe
Je toevoeging is voor iedereen zichtbaar
", "confirmIntro": "

Voeg een {title} toe?

Het punt dat je toevoegt, is zichtbaar voor iedereen. Veel applicaties gebruiken deze data, voeg dus enkel punten toe die echt bestaan.", diff --git a/langs/pt.json b/langs/pt.json index 50c200c5c..f185c3161 100644 --- a/langs/pt.json +++ b/langs/pt.json @@ -41,7 +41,7 @@ "about": "Edite e adicione facilmente o OpenStreetMap para um determinado tema", "aboutMapcomplete": "

Sobre o MapComplete

Use-o para adicionar informações ao OpenStreetMap sobre um tema específico. Responda a perguntas e em poucos minutos as suas contribuições estão disponíveis em todos os lugares. O responsável pelo tema define os elementos, as perguntas e os idiomas disponíveis nele.

Descubra mais

O MapComplete mostra sempre o próximo passo para saber mais sobre o OpenStreetMap.

  • Quando incorporado num site, o iframe liga-se ao MapComplete em ecrã cheio.
  • A versão ecrã cheio fornece informações sobre o OpenStreetMap
  • A visualização funciona sem ser preciso autenticar-se, mas a edição requer uma conta no OpenStreetMap.
  • Se não estiver autenticado, é solicitado a fazê-lo
  • Após responder a uma pergunta, pode adicionar novos pontos ao mapa
  • Depois de um tempo, as etiquetas reais do OpenStreetMap são mostradas, mais tarde vinculando-se à wiki


Deparou-se com um problema? Quer uma nova funcionalidade? Quer ajudar a traduzir? Vá ao código-fonte ou rastreador de problemas.

Quer ver o seu progresso? Veja a contagem de edições em OsmCha.

", "add": { - "addNew": "Adicionar uma nova {category} aqui", + "addNew": "Adicionar {category} aqui", "addNewMapLabel": "Adicionar novo item", "confirmButton": "Adicione uma {category} aqui.
Esta adição será visível a todos
", "confirmIntro": "

Adicionar {title} aqui?

O ponto que criar aqui será visível a todos. Por favor, só adicione coisas ao mapa se elas realmente existirem. Muitas aplicações usam estes dados.", diff --git a/langs/pt_BR.json b/langs/pt_BR.json index 0e393c85e..102e0085f 100644 --- a/langs/pt_BR.json +++ b/langs/pt_BR.json @@ -14,7 +14,7 @@ "about": "Edite e adicione facilmente o OpenStreetMap para um determinado tema", "aboutMapcomplete": "

Sobre o MapComplete

Com o MapComplete, você pode enriquecer o OpenStreetMap com informações sobre umúnico tema.Responda a algumas perguntas e, em minutos, suas contribuições estarão disponíveis em todo o mundo! Omantenedor do temadefine elementos, questões e linguagens para o tema.

Saiba mais

MapComplete sempreoferece a próxima etapapara saber mais sobre o OpenStreetMap.

  • Quando incorporado em um site, o iframe vincula-se a um MapComplete em tela inteira
  • A versão em tela inteira oferece informações sobre o OpenStreetMap
  • A visualização funciona sem login, mas a edição requer um login do OSM.
  • Se você não estiver conectado, será solicitado que você faça o login
  • Depois de responder a uma única pergunta, você pode adicionar novos aponta para o mapa
  • Depois de um tempo, as tags OSM reais são mostradas, posteriormente vinculadas ao wiki


Você percebeuum problema? Você tem umasolicitação de recurso ? Querajudar a traduzir? Acesse o código-fonteou rastreador de problemas.

Quer verseu progresso? Siga a contagem de edição emOsmCha.

", "add": { - "addNew": "Adicione uma nova {category} aqui", + "addNew": "Adicione {category} aqui", "confirmButton": "Adicione uma {category} aqui.
Sua adição é visível para todos
", "confirmIntro": "

Adicionar um {title} aqui?

O ponto que você criar aqui será visível para todos. Por favor, só adicione coisas ao mapa se elas realmente existirem. Muitos aplicativos usam esses dados.", "intro": "Você clicou em algum lugar onde ainda não há dados conhecidos.
", diff --git a/scripts/lint.ts b/scripts/lint.ts index 460eb8c87..00d2840a7 100644 --- a/scripts/lint.ts +++ b/scripts/lint.ts @@ -1,16 +1,59 @@ import ScriptUtils from "./ScriptUtils"; import {writeFileSync} from "fs"; import {FixLegacyTheme, UpdateLegacyLayer} from "../Models/ThemeConfig/Conversion/LegacyJsonConvert"; +import Translations from "../UI/i18n/Translations"; +import {Translation} from "../UI/i18n/Translation"; +import {LayerConfigJson} from "../Models/ThemeConfig/Json/LayerConfigJson"; /* * This script reads all theme and layer files and reformats them inplace * Use with caution, make a commit beforehand! */ +const t : Translation = Translations.t.general.add.addNew +t.OnEveryLanguage((txt, ln) => { + console.log(ln, txt) + return txt +}) + +const articles = { + de: "eine", + es: 'una', + fr: 'une', + it: 'una', + nb_NO: 'en', + nl: 'een', + pt: 'uma', + pt_BR : 'uma', +} + +function addArticleToPresets(layerConfig: {presets?: {title: any}[]}){ + /* + if(layerConfig.presets === undefined){ + return + } + for (const preset of layerConfig.presets) { + preset.title = new Translation(preset.title, "autofix") + .OnEveryLanguage((txt, lang) => { + const article = articles[lang] + if(article === undefined){ + return txt; + } + if(txt.startsWith(article)){ + return txt; + } + return article +" " + txt.toLowerCase(); + }) + .translations + } + //*/ +} + const layerFiles = ScriptUtils.getLayerFiles(); for (const layerFile of layerFiles) { try { - const fixed = new UpdateLegacyLayer().convertStrict(layerFile.parsed, "While linting " + layerFile.path); + const fixed = new UpdateLegacyLayer().convertStrict(layerFile.parsed, "While linting " + layerFile.path); + addArticleToPresets(fixed) writeFileSync(layerFile.path, JSON.stringify(fixed, null, " ")) } catch (e) { console.error("COULD NOT LINT LAYER" + layerFile.path + ":\n\t" + e) @@ -21,6 +64,12 @@ const themeFiles = ScriptUtils.getThemeFiles() for (const themeFile of themeFiles) { try { const fixed = new FixLegacyTheme().convertStrict(themeFile.parsed, "While linting " + themeFile.path); + for (const layer of fixed.layers) { + if(layer["presets"] !== undefined){ + addArticleToPresets( layer) + } + } + writeFileSync(themeFile.path, JSON.stringify(fixed, null, " ")) } catch (e) { console.error("COULD NOT LINT THEME" + themeFile.path + ":\n\t" + e) From f28b909372d2c4be01c3c9b7645f1cb21e0ee0c5 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 29 Mar 2022 22:03:55 +0200 Subject: [PATCH 6/6] Actually update english addNew too --- langs/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langs/en.json b/langs/en.json index ca538defe..d99a40519 100644 --- a/langs/en.json +++ b/langs/en.json @@ -41,7 +41,7 @@ "about": "Easily edit and add OpenStreetMap for a certain theme", "aboutMapcomplete": "

About MapComplete

Use it to add OpenStreetMap info on a single theme. Answer questions, and within minutes your contributions are available everywhere. The theme maintainer defines elements, questions and languages for it.

Find out more

MapComplete always offers the next step to learn more about OpenStreetMap.

  • When embedded in a website, the iframe links to a full-screen MapComplete
  • The fullscreen version offers info about OpenStreetMap
  • Viewing works without login, but editing requires an OSM account.
  • If you are not logged in, you are asked to do so
  • Once you answered a single question, you can add new points to the map
  • After a while, actual OSM-tags are shown, later linking to the wiki


Did you notice an issue? Do you have a feature request? Want to help translate? Head over to the source code or issue tracker.

Want to see your progress? Follow the edit count on OsmCha.

", "add": { - "addNew": "Add a new {category}", + "addNew": "Add {category}", "addNewMapLabel": "Click here to add a new item", "confirmButton": "Add a {category}
Your addition is visible for everyone
", "confirmIntro": "

Add a {title}?

The point you create here will be visible for everyone. Please, only add things on to the map if they truly exist. A lot of applications use this data.",