From d8c6bff2558f150b889ea637301e69a810fc4e5a Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sat, 10 Jul 2021 14:01:33 +0200 Subject: [PATCH 01/10] Version bump --- Models/Constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/Constants.ts b/Models/Constants.ts index 79bcb5ca0a..34859e6142 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import { Utils } from "../Utils"; export default class Constants { - public static vNumber = "0.8.3d"; + public static vNumber = "0.8.3e"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { From 74579d8170542d851e189be18fbfb7c7637e15ae Mon Sep 17 00:00:00 2001 From: Raphael Das Gupta Date: Fri, 9 Jul 2021 18:41:07 +0200 Subject: [PATCH 02/10] Added translation using Weblate (Esperanto) --- langs/eo.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 langs/eo.json diff --git a/langs/eo.json b/langs/eo.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/langs/eo.json @@ -0,0 +1 @@ +{} From b6dea319885b5ac4ef9a7ec21275bf8a30594e77 Mon Sep 17 00:00:00 2001 From: Weblate Date: Fri, 9 Jul 2021 18:41:17 +0200 Subject: [PATCH 03/10] Added translation using Weblate (Esperanto) --- langs/themes/eo.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 langs/themes/eo.json diff --git a/langs/themes/eo.json b/langs/themes/eo.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/langs/themes/eo.json @@ -0,0 +1 @@ +{} From 0cb5e7b716e953132652780000f350ad6c2df6eb Mon Sep 17 00:00:00 2001 From: Weblate Date: Fri, 9 Jul 2021 18:41:19 +0200 Subject: [PATCH 04/10] Added translation using Weblate (Esperanto) --- langs/shared-questions/eo.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 langs/shared-questions/eo.json diff --git a/langs/shared-questions/eo.json b/langs/shared-questions/eo.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/langs/shared-questions/eo.json @@ -0,0 +1 @@ +{} From 74e7f9ae525741c96e9e80e56048dc1fe1f0c635 Mon Sep 17 00:00:00 2001 From: seppesantens Date: Sat, 10 Jul 2021 07:41:08 +0000 Subject: [PATCH 05/10] Translated using Weblate (Dutch) Currently translated at 55.2% (225 of 407 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/nl/ --- langs/themes/nl.json | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/langs/themes/nl.json b/langs/themes/nl.json index 6746eff92b..b23136e56b 100644 --- a/langs/themes/nl.json +++ b/langs/themes/nl.json @@ -1022,5 +1022,61 @@ } } } + }, + "charging_stations": { + "layers": { + "0": { + "description": "Een oplaadpunt", + "title": { + "render": "Oplaadpunt" + }, + "name": "Oplaadpunten" + } + }, + "title": "Oplaadpunten" + }, + "shops": { + "layers": { + "0": { + "tagRenderings": { + "4": { + "question": "Wat is de website van deze winkel?" + }, + "3": { + "question": "Wat is het telefoonnummer?" + }, + "2": { + "mappings": { + "4": { + "then": "Bakkerij" + }, + "3": { + "then": "Kapper" + }, + "1": { + "then": "Supermarkt" + } + } + }, + "1": { + "question": "Wat is de naam van deze winkel?" + }, + "6": { + "question": "Wat zijn de openingsuren van deze winkel?" + } + }, + "description": "Een winkel", + "title": { + "render": "Winkel" + }, + "name": "Winkel", + "presets": { + "0": { + "title": "Winkel", + "description": "Voeg een nieuwe winkel toe" + } + } + } + } } } From 6179a26812b35a4d895ecdde75d5eb111e05e062 Mon Sep 17 00:00:00 2001 From: Weblate Date: Fri, 9 Jul 2021 18:41:14 +0200 Subject: [PATCH 06/10] Added translation using Weblate (Esperanto) --- langs/layers/eo.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 langs/layers/eo.json diff --git a/langs/layers/eo.json b/langs/layers/eo.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/langs/layers/eo.json @@ -0,0 +1 @@ +{} From cddea6ced9a9eb89705168952d3e83e4116b5db1 Mon Sep 17 00:00:00 2001 From: Irina Date: Fri, 9 Jul 2021 19:45:47 +0000 Subject: [PATCH 07/10] Translated using Weblate (Russian) Currently translated at 54.3% (303 of 557 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/ru/ --- langs/layers/ru.json | 209 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 193 insertions(+), 16 deletions(-) diff --git a/langs/layers/ru.json b/langs/layers/ru.json index d8905f92f7..b97d98281d 100644 --- a/langs/layers/ru.json +++ b/langs/layers/ru.json @@ -609,14 +609,17 @@ "1": { "then": "Это бетонный стол для пикника" } - } + }, + "render": "Этот стол для пикника сделан из {material}", + "question": "Из чего изготовлен этот стол для пикника?" } }, "presets": { "0": { "title": "Стол для пикника" } - } + }, + "description": "Слой, отображающий столы для пикника" }, "playground": { "name": "Детские площадки", @@ -647,11 +650,15 @@ }, "5": { "then": "Поверхность - бетон" + }, + "2": { + "then": "Покрытие из щепы" } } }, "3": { - "render": "Доступно для детей старше {min_age} лет" + "render": "Доступно для детей старше {min_age} лет", + "question": "С какого возраста доступна эта детская площадка?" }, "6": { "mappings": { @@ -673,8 +680,40 @@ }, "2": { "then": "Всегда доступен" + }, + "0": { + "then": "Открыто от рассвета до заката" } - } + }, + "question": "Когда открыта эта игровая площадка?" + }, + "9": { + "mappings": { + "2": { + "then": "Недоступна пользователям кресел-колясок" + }, + "1": { + "then": "Частично доступна пользователям кресел-колясок" + }, + "0": { + "then": "Полностью доступна пользователям кресел-колясок" + } + }, + "question": "Доступна ли детская площадка пользователям кресел-колясок?" + }, + "4": { + "render": "Доступно детям до {max_age}" + }, + "2": { + "mappings": { + "1": { + "then": "Эта детская площадка не освещается ночью" + }, + "0": { + "then": "Эта детская площадка освещается ночью" + } + }, + "question": "Эта игровая площадка освещается ночью?" } }, "presets": { @@ -701,7 +740,7 @@ "tagRenderings": { "2": { "render": "Название книжного шкафа — {name}", - "question": "Как называется общественный книжный шкаф?", + "question": "Как называется этот общественный книжный шкаф?", "mappings": { "0": { "then": "У этого книжного шкафа нет названия" @@ -709,7 +748,8 @@ } }, "3": { - "question": "Сколько книг помещается в этом общественном книжном шкафу?" + "question": "Сколько книг помещается в этом общественном книжном шкафу?", + "render": "{capacity} книг помещается в этот книжный шкаф" }, "4": { "mappings": { @@ -718,13 +758,31 @@ }, "1": { "then": "В основном книги для взрослых" + }, + "2": { + "then": "Книги и для детей, и для взрослых" } - } + }, + "question": "Какие книги можно найти в этом общественном книжном шкафу?" }, "11": { - "render": "Более подробная информация на сайте" + "render": "Более подробная информация на сайте", + "question": "Есть ли веб-сайт с более подробной информацией об этом общественном книжном шкафе?" + }, + "10": { + "render": "Установлен {start_date}", + "question": "Когда был установлен этот общественный книжный шкаф?" + }, + "6": { + "mappings": { + "0": { + "then": "Свободный доступ" + } + }, + "question": "Имеется ли свободный доступ к этому общественному книжному шкафу?" } - } + }, + "description": "Уличный шкаф с книгами, доступными для всех" }, "slow_roads": { "tagRenderings": { @@ -763,6 +821,21 @@ "mappings": { "2": { "then": "Это стол для пинг-понга" + }, + "5": { + "then": "Здесь можно играть в баскетбол" + }, + "4": { + "then": "Здесь можно играть в корфбол" + }, + "3": { + "then": "Здесь можно играть в теннис" + }, + "1": { + "then": "Здесь можно играть в футбол" + }, + "0": { + "then": "Здесь можно играть в баскетбол" } } }, @@ -784,21 +857,55 @@ "4": { "then": "Поверхность - бетон" } - } + }, + "question": "Какое покрытие на этой спортивной площадке?" }, "7": { "mappings": { "1": { "then": "Всегда доступен" } - } + }, + "question": "В какое время доступна эта площадка?" + }, + "4": { + "mappings": { + "1": { + "then": "Желательна предварительная запись для доступа на эту спортивную площадку" + }, + "3": { + "then": "Невозможна предварительная запись" + }, + "2": { + "then": "Предварительная запись для доступа на эту спортивную площадку возможна, но не обязательна" + } + }, + "question": "Нужна ли предварительная запись для доступа на эту спортивную площадку?" + }, + "3": { + "mappings": { + "2": { + "then": "Доступ только членам клуба" + }, + "1": { + "then": "Ограниченный доступ (напр., только по записи, в определённые часы, ...)" + }, + "0": { + "then": "Свободный доступ" + } + }, + "question": "Есть ли свободный доступ к этой спортивной площадке?" } }, "presets": { "1": { "title": "Спортивная площадка" + }, + "0": { + "title": "Стол для настольного тенниса" } - } + }, + "description": "Спортивная площадка" }, "surveillance_camera": { "name": "Камеры наблюдения", @@ -810,6 +917,23 @@ "mappings": { "2": { "then": "Панорамная камера" + }, + "1": { + "then": "Камера с поворотным механизмом" + } + }, + "question": "Какая это камера?" + }, + "8": { + "question": "Как расположена эта камера?" + }, + "5": { + "mappings": { + "2": { + "then": "Возможно, эта камера расположена снаружи" + }, + "1": { + "then": "Эта камера расположена снаружи" } } } @@ -822,7 +946,11 @@ }, "presets": { "0": { - "title": "Туалет" + "title": "Туалет", + "description": "Туалет или комната отдыха со свободным доступом" + }, + "1": { + "title": "Туалет с доступом для пользователей кресел-колясок" } }, "tagRenderings": { @@ -830,8 +958,12 @@ "mappings": { "2": { "then": "Недоступно" + }, + "0": { + "then": "Свободный доступ" } - } + }, + "question": "Есть ли свободный доступ к этим туалетам?" }, "2": { "mappings": { @@ -839,6 +971,20 @@ "then": "Это платные туалеты" } } + }, + "5": { + "question": "Какие это туалеты?" + }, + "4": { + "mappings": { + "1": { + "then": "Недоступно пользователям кресел-колясок" + } + } + }, + "3": { + "render": "Стоимость {charge}", + "question": "Сколько стоит посещение туалета?" } } }, @@ -862,12 +1008,43 @@ } }, "5": { - "render": "Название: {name}" + "render": "Название: {name}", + "mappings": { + "0": { + "then": "У этого дерева нет названия." + } + }, + "question": "Есть ли у этого дерева название?" + }, + "8": { + "render": "\"\"/ Wikidata: {wikidata}" + }, + "7": { + "render": "\"\"/ Onroerend Erfgoed ID: {ref:OnroerendErfgoed}" + }, + "4": { + "mappings": { + "1": { + "then": "Вечнозелёное." + }, + "0": { + "then": "Листопадное: у дерева опадают листья в определённое время года." + } + }, + "question": "Это дерево вечнозелёное или листопадное?" } }, "presets": { "2": { - "title": "Дерево" + "title": "Дерево", + "description": "Если вы не уверены в том, лиственное это дерево или хвойное." + }, + "1": { + "description": "Дерево с хвоей (иглами), например, сосна или ель.", + "title": "Хвойное дерево" + }, + "0": { + "title": "Лиственное дерево" } } }, From 4fd3f5cd4cc5a2f379eae492f19beb33c657bf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCrten?= Date: Sun, 11 Jul 2021 12:25:16 +0200 Subject: [PATCH 08/10] Add link to Matrix channel on Element --- Docs/Making_Your_Own_Theme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Docs/Making_Your_Own_Theme.md b/Docs/Making_Your_Own_Theme.md index b669e986b7..8e550fe136 100644 --- a/Docs/Making_Your_Own_Theme.md +++ b/Docs/Making_Your_Own_Theme.md @@ -14,6 +14,7 @@ Before you start, you should have the following qualifications: - You are in contact with your local OpenStreetMap community and do know some other members to discuss tagging and to help testing If you do not have those qualifications, reach out to the MapComplete community channel on [Telegram](https://t.me/joinchat/HiMUavahRG--SCvC) +or [Matrix](https://app.element.io/#/room/#MapComplete:matrix.org). The custom theme generator -------------------------- From d581d3ec180c0efd525073f8760f6e275b62b609 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 11 Jul 2021 13:11:57 +0200 Subject: [PATCH 09/10] Update telegram link --- Docs/Making_Your_Own_Theme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/Making_Your_Own_Theme.md b/Docs/Making_Your_Own_Theme.md index 8e550fe136..8549a8ab6f 100644 --- a/Docs/Making_Your_Own_Theme.md +++ b/Docs/Making_Your_Own_Theme.md @@ -13,7 +13,7 @@ Before you start, you should have the following qualifications: - You're theme will add well-understood tags (aka: the tags have a wiki page, are not controversial and are objective) - You are in contact with your local OpenStreetMap community and do know some other members to discuss tagging and to help testing -If you do not have those qualifications, reach out to the MapComplete community channel on [Telegram](https://t.me/joinchat/HiMUavahRG--SCvC) +If you do not have those qualifications, reach out to the MapComplete community channel on [Telegram](https://t.me/MapComplete) or [Matrix](https://app.element.io/#/room/#MapComplete:matrix.org). The custom theme generator From 8a83bef5a922292b369c55d004c30a726319fa37 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 11 Jul 2021 13:45:56 +0200 Subject: [PATCH 10/10] Add 'climbing=area' as alternative for 'climbing=site' --- assets/themes/climbing/climbing.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/themes/climbing/climbing.json b/assets/themes/climbing/climbing.json index aa8d113106..72a53780ba 100644 --- a/assets/themes/climbing/climbing.json +++ b/assets/themes/climbing/climbing.json @@ -547,7 +547,12 @@ } }, { - "if": "climbing=site", + "if": { + "or": [ + "climbing=site", + "climbing=area" + ] + }, "then": { "en": "Climbing site", "nl": "Klimsite"