From 037dee660db8e1b1a2401f98afcbf3e1defd7e4b Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:48:27 +0000 Subject: [PATCH 01/26] Translated using Weblate (Spanish) Currently translated at 4.9% (38 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/es/ --- langs/layers/es.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/es.json b/langs/layers/es.json index 62896c8e83..623b0c5999 100644 --- a/langs/layers/es.json +++ b/langs/layers/es.json @@ -112,5 +112,11 @@ "question": "Da detalles de dónde se puede encontrar el desfibrilador (en frances)" } } + }, + "ghost_bike": { + "title": { + "render": "Bicicleta blanca" + }, + "name": "Bicicleta blanca" } -} \ No newline at end of file +} From 46058d0a4c72a5d601e7630b600124a8780e9b2d Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 18:47:17 +0000 Subject: [PATCH 02/26] Translated using Weblate (Galician) Currently translated at 14.7% (112 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/gl/ --- langs/layers/gl.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/gl.json b/langs/layers/gl.json index d0ff3955fc..d041743885 100644 --- a/langs/layers/gl.json +++ b/langs/layers/gl.json @@ -378,5 +378,11 @@ "title": "Auga potábel" } } + }, + "ghost_bike": { + "title": { + "render": "Bicicleta pantasma" + }, + "name": "Bicicleta pantasma" } -} \ No newline at end of file +} From 2c46a6996e8764d122c832ef341f71aea47b8b6b Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:49:28 +0000 Subject: [PATCH 03/26] Translated using Weblate (Polish) Currently translated at 8.1% (62 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/pl/ --- langs/layers/pl.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/pl.json b/langs/layers/pl.json index eb235e651f..ac42fe3442 100644 --- a/langs/layers/pl.json +++ b/langs/layers/pl.json @@ -194,5 +194,11 @@ "title": "Stacja naprawy rowerów i pompka" } } + }, + "ghost_bike": { + "title": { + "render": "Duch roweru" + }, + "name": "Duch roweru" } -} \ No newline at end of file +} From 7ceb3f01aadebaed9607b8c52316cb7fe8526e74 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 18:46:57 +0000 Subject: [PATCH 04/26] Translated using Weblate (Hungarian) Currently translated at 7.7% (59 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/hu/ --- langs/layers/hu.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/hu.json b/langs/layers/hu.json index 6c313c911b..1cda7fdc1b 100644 --- a/langs/layers/hu.json +++ b/langs/layers/hu.json @@ -198,5 +198,11 @@ } } } + }, + "ghost_bike": { + "title": { + "render": "Emlékkerékpár" + }, + "name": "Emlékkerékpár" } -} \ No newline at end of file +} From 079278970b51da9510e1b3dd8a98d4d664258f69 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:48:54 +0000 Subject: [PATCH 05/26] Translated using Weblate (Russian) Currently translated at 41.7% (318 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/ru/ --- langs/layers/ru.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/langs/layers/ru.json b/langs/layers/ru.json index 1e363798bd..065476a662 100644 --- a/langs/layers/ru.json +++ b/langs/layers/ru.json @@ -602,7 +602,11 @@ "5": { "render": "Установлен {start_date}" } - } + }, + "title": { + "render": "Велосипед Ghost" + }, + "name": "Велосипед Ghost" }, "information_board": { "name": "Информационные щиты", @@ -1115,4 +1119,4 @@ } } } -} \ No newline at end of file +} From 47128aadceab826e639c3e96068defdbd4a2b350 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:43:38 +0000 Subject: [PATCH 06/26] Translated using Weblate (Spanish) Currently translated at 2.9% (13 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/es/ --- langs/themes/es.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langs/themes/es.json b/langs/themes/es.json index 91a123d7f0..c5e59908fd 100644 --- a/langs/themes/es.json +++ b/langs/themes/es.json @@ -34,5 +34,8 @@ "personal": { "title": "Interficie personal", "description": "Crea una interficie basada en todas las capas disponibles de todas las interficies" + }, + "ghostbikes": { + "title": "Bicicleta blanca" } -} \ No newline at end of file +} From d558499459a0c30600fc517924d5210276e6a669 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:49:13 +0000 Subject: [PATCH 07/26] Translated using Weblate (Portuguese (Brazil)) Currently translated at 20.1% (153 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/pt_BR/ --- langs/layers/pt_BR.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/pt_BR.json b/langs/layers/pt_BR.json index bef8cac726..9eee260865 100644 --- a/langs/layers/pt_BR.json +++ b/langs/layers/pt_BR.json @@ -537,5 +537,11 @@ } } } + }, + "ghost_bike": { + "title": { + "render": "Bicicleta fantasma" + }, + "name": "Bicicleta fantasma" } -} \ No newline at end of file +} From d5494a10a6d5e1992cb03115d8729297cb754b8e Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:48:13 +0000 Subject: [PATCH 08/26] Translated using Weblate (Galician) Currently translated at 1.1% (5 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/gl/ --- langs/themes/gl.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langs/themes/gl.json b/langs/themes/gl.json index 8a8cbe3d35..c2ffdebcf9 100644 --- a/langs/themes/gl.json +++ b/langs/themes/gl.json @@ -6,5 +6,8 @@ "personal": { "title": "Tema personalizado", "description": "Crea un tema baseado en todas as capas dispoñíbeis de todos os temas" + }, + "ghostbikes": { + "title": "Bicicleta pantasma" } -} \ No newline at end of file +} From ea707f5baaf7393e2b595d1e3fa586a9ceb6e1bd Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:44:28 +0000 Subject: [PATCH 09/26] Translated using Weblate (Polish) Currently translated at 2.0% (9 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/pl/ --- langs/themes/pl.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/langs/themes/pl.json b/langs/themes/pl.json index d52f2713b0..da2c7d88eb 100644 --- a/langs/themes/pl.json +++ b/langs/themes/pl.json @@ -17,5 +17,8 @@ }, "artwork": { "title": "Otwórz mapę dzieł sztuki" + }, + "ghostbikes": { + "title": "Duch roweru" } } From 7480e9352b1e22f1287ed6f47dfdfe5981969502 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:45:55 +0000 Subject: [PATCH 10/26] Translated using Weblate (Italian) Currently translated at 42.0% (187 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/it/ --- langs/themes/it.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langs/themes/it.json b/langs/themes/it.json index 313e2715f9..b0b7a70d4a 100644 --- a/langs/themes/it.json +++ b/langs/themes/it.json @@ -579,5 +579,8 @@ "title": "Alberi", "shortDescription": "Mappa tutti gli alberi", "description": "Mappa tutti gli alberi!" + }, + "ghostbikes": { + "title": "Bici fantasma" } -} \ No newline at end of file +} From 75524e6591fef173fc6df8e5f12acb74f0fa2c90 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:47:51 +0000 Subject: [PATCH 11/26] Translated using Weblate (Hungarian) Currently translated at 0.6% (3 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/hu/ --- langs/themes/hu.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langs/themes/hu.json b/langs/themes/hu.json index cb8f0fd7ff..a7432fd2ad 100644 --- a/langs/themes/hu.json +++ b/langs/themes/hu.json @@ -4,5 +4,8 @@ }, "artwork": { "title": "Nyít Műalkotás Térkép" + }, + "ghostbikes": { + "title": "Emlékkerékpár" } -} \ No newline at end of file +} From 53179fa9b0525238b8c83d829e676efed2f1fbdc Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:48:07 +0000 Subject: [PATCH 12/26] Translated using Weblate (Swedish) Currently translated at 0.2% (2 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/sv/ --- langs/layers/sv.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/langs/layers/sv.json b/langs/layers/sv.json index 0967ef424b..7e4d58c534 100644 --- a/langs/layers/sv.json +++ b/langs/layers/sv.json @@ -1 +1,8 @@ -{} +{ + "ghost_bike": { + "title": { + "render": "Spökcykel" + }, + "name": "Spökcykel" + } +} From cef414c8cd6f856d21102f674f89f11297f6dfd2 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:43:56 +0000 Subject: [PATCH 13/26] Translated using Weblate (Russian) Currently translated at 48.5% (216 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/ru/ --- langs/themes/ru.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langs/themes/ru.json b/langs/themes/ru.json index a50a68f947..e136aa95d3 100644 --- a/langs/themes/ru.json +++ b/langs/themes/ru.json @@ -699,5 +699,8 @@ "title": "Деревья", "shortDescription": "Карта деревьев", "description": "Нанесите все деревья на карту!" + }, + "ghostbikes": { + "title": "Велосипед Ghost" } -} \ No newline at end of file +} From cb0c3954c56e8b684459e6726414182b1271f66b Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:50:17 +0000 Subject: [PATCH 14/26] Translated using Weblate (Japanese) Currently translated at 0.2% (2 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/ja/ --- langs/layers/ja.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/langs/layers/ja.json b/langs/layers/ja.json index 0967ef424b..cd1b2ba328 100644 --- a/langs/layers/ja.json +++ b/langs/layers/ja.json @@ -1 +1,8 @@ -{} +{ + "ghost_bike": { + "title": { + "render": "ゴーストバイク" + }, + "name": "ゴーストバイク" + } +} From d5b9da3fa5e710b73aac2b2cfb1cae195804b6e8 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:44:14 +0000 Subject: [PATCH 15/26] Translated using Weblate (Portuguese (Brazil)) Currently translated at 12.8% (57 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/pt_BR/ --- langs/themes/pt_BR.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langs/themes/pt_BR.json b/langs/themes/pt_BR.json index 50e7f94319..7f2b019613 100644 --- a/langs/themes/pt_BR.json +++ b/langs/themes/pt_BR.json @@ -170,5 +170,8 @@ } } } + }, + "ghostbikes": { + "title": "Bicicleta fantasma" } -} \ No newline at end of file +} From ea8e69bb794852529a92dd7cad74d3ab223206b9 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:36:58 +0000 Subject: [PATCH 16/26] Translated using Weblate (Chinese (Traditional)) Currently translated at 16.0% (122 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/zh_Hant/ --- langs/layers/zh_Hant.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/zh_Hant.json b/langs/layers/zh_Hant.json index 2d198d8085..1dd0c014dd 100644 --- a/langs/layers/zh_Hant.json +++ b/langs/layers/zh_Hant.json @@ -386,5 +386,11 @@ } } } + }, + "ghost_bike": { + "title": { + "render": "幽靈單車" + }, + "name": "幽靈單車" } -} \ No newline at end of file +} From 734464159d14b2adcf3091e0cd83ba1e8322d4d3 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:43:13 +0000 Subject: [PATCH 17/26] Translated using Weblate (Swedish) Currently translated at 0.6% (3 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/sv/ --- langs/themes/sv.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langs/themes/sv.json b/langs/themes/sv.json index 59d44792db..627a119f01 100644 --- a/langs/themes/sv.json +++ b/langs/themes/sv.json @@ -5,5 +5,8 @@ }, "artwork": { "title": "Öppen konstverkskarta" + }, + "ghostbikes": { + "title": "Spökcykel" } -} \ No newline at end of file +} From 0dfaebcd90327ab9ed74d6c0703d4321e260c9d5 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 17:49:53 +0000 Subject: [PATCH 18/26] =?UTF-8?q?Translated=20using=20Weblate=20(Norwegian?= =?UTF-8?q?=20Bokm=C3=A5l)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 4.5% (35 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/nb_NO/ --- langs/layers/nb_NO.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/nb_NO.json b/langs/layers/nb_NO.json index 96ea5056b8..e3404c0d92 100644 --- a/langs/layers/nb_NO.json +++ b/langs/layers/nb_NO.json @@ -103,5 +103,11 @@ } } } + }, + "ghost_bike": { + "title": { + "render": "Spøkelsessykler" + }, + "name": "Spøkelsessykler" } -} \ No newline at end of file +} From b28b86482cddd514ad139bc4479ba95577794259 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 18:57:47 +0000 Subject: [PATCH 19/26] Translated using Weblate (Finnish) Currently translated at 0.2% (1 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/fi/ --- langs/themes/fi.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/langs/themes/fi.json b/langs/themes/fi.json index 0967ef424b..6e55fc9431 100644 --- a/langs/themes/fi.json +++ b/langs/themes/fi.json @@ -1 +1,5 @@ -{} +{ + "ghostbikes": { + "title": "Haamupyörä" + } +} From cc0fe021a187221e0bce91b85e9d50dfc7a8c07e Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 18:58:00 +0000 Subject: [PATCH 20/26] Translated using Weblate (Finnish) Currently translated at 3.8% (29 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/fi/ --- langs/layers/fi.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/langs/layers/fi.json b/langs/layers/fi.json index 71e6a3ca12..5d541db739 100644 --- a/langs/layers/fi.json +++ b/langs/layers/fi.json @@ -99,5 +99,11 @@ "title": "Pyöräpumppu" } } + }, + "ghost_bike": { + "title": { + "render": "Haamupyörä" + }, + "name": "Haamupyörä" } -} \ No newline at end of file +} From 8bb989889d8775153e3e40827da3cd19cd0fb9f0 Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 16:49:07 +0000 Subject: [PATCH 21/26] Translated using Weblate (Esperanto) Currently translated at 0.2% (1 of 445 strings) Translation: MapComplete/themes Translate-URL: https://hosted.weblate.org/projects/mapcomplete/themes/eo/ --- langs/themes/eo.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/langs/themes/eo.json b/langs/themes/eo.json index 0967ef424b..14237a1193 100644 --- a/langs/themes/eo.json +++ b/langs/themes/eo.json @@ -1 +1,5 @@ -{} +{ + "ghostbikes": { + "title": "Fantombiciklo" + } +} From c7a3206799d571a950744e71039a2b53e3e3816a Mon Sep 17 00:00:00 2001 From: danieldegroot2 Date: Sun, 12 Sep 2021 18:47:53 +0000 Subject: [PATCH 22/26] Translated using Weblate (Esperanto) Currently translated at 0.2% (2 of 761 strings) Translation: MapComplete/Layer translations Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layer-translations/eo/ --- langs/layers/eo.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/langs/layers/eo.json b/langs/layers/eo.json index 0967ef424b..d895e7dab3 100644 --- a/langs/layers/eo.json +++ b/langs/layers/eo.json @@ -1 +1,8 @@ -{} +{ + "ghost_bike": { + "title": { + "render": "Fantombiciklo" + }, + "name": "Fantombiciklo" + } +} From 43a4a91016e444eca4dc5e61cb4ce2f129676c73 Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 22 Sep 2021 14:23:19 +0200 Subject: [PATCH 23/26] package.json: Fix folder name `assets/tagRendering` does not exist, but `assets/tagRenderings` does. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8baeb62fdc..5a99707867 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "main": "index.js", "scripts": { "increase-memory": "export NODE_OPTIONS=--max_old_space_size=4096", - "start": "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory && parcel *.html UI/** Logic/** assets/*.json assets/svg/* assets/generated/* assets/layers/*/*.svg assets/tagRendering/*.json assets/themes/*/*.svg assets/themes/*/*.png vendor/* vendor/*/*", + "start": "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory && parcel *.html UI/** Logic/** assets/*.json assets/svg/* assets/generated/* assets/layers/*/*.svg assets/tagRenderings/*.json assets/themes/*/*.svg assets/themes/*/*.png vendor/* vendor/*/*", "test": "ts-node test/TestAll.ts", "init": "npm ci && npm run generate && npm run generate:editor-layer-index && npm run generate:layouts && npm run clean", "add-weblate-upstream": "git remote add weblate-layers https://hosted.weblate.org/git/mapcomplete/layer-translations/ ; git remote update weblate-layers", From 8194f2e65588ea08a71d99894bd7c7b54a118d8c Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 22 Sep 2021 16:11:47 +0200 Subject: [PATCH 24/26] Fix workflow --- .github/workflows/pull_request_check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull_request_check.yml b/.github/workflows/pull_request_check.yml index b2b49d6a41..27165f7761 100644 --- a/.github/workflows/pull_request_check.yml +++ b/.github/workflows/pull_request_check.yml @@ -24,6 +24,9 @@ jobs: - name: create stub themes run: "echo '{\"layers\": [], \"themes\": []}' > ./assets/generated/known_layers_and_themes.json" + - name: generate assets + run: npm run generate:images + - name: generate translations run: npm run generate:translations From 3401ec97e3eccf1c255ef4f4881a4c8f06d48480 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 22 Sep 2021 16:26:34 +0200 Subject: [PATCH 25/26] Regenerate translations --- assets/themes/ghostbikes/ghostbikes.json | 24 ++++++++++++++++++++++-- langs/themes/eo.json | 2 +- langs/themes/es.json | 10 +++++----- langs/themes/fi.json | 2 +- langs/themes/gl.json | 10 +++++----- langs/themes/hu.json | 2 +- langs/themes/it.json | 9 +++++---- langs/themes/pl.json | 13 +++++-------- langs/themes/pt_BR.json | 9 ++++----- langs/themes/ru.json | 9 +++++---- langs/themes/sv.json | 2 +- scripts/generateTranslations.ts | 7 ++++++- 12 files changed, 61 insertions(+), 38 deletions(-) diff --git a/assets/themes/ghostbikes/ghostbikes.json b/assets/themes/ghostbikes/ghostbikes.json index 7c03c64bb4..229a32751f 100644 --- a/assets/themes/ghostbikes/ghostbikes.json +++ b/assets/themes/ghostbikes/ghostbikes.json @@ -9,7 +9,17 @@ "ja", "nb_NO", "zh_Hant", - "fr" + "fr", + "eo", + "es", + "fi", + "gl", + "hu", + "it", + "pl", + "pt_BR", + "ru", + "sv" ], "title": { "en": "Ghost bikes", @@ -18,7 +28,17 @@ "ja": "ゴーストバイク", "nb_NO": "Spøkelsessykler", "zh_Hant": "幽靈單車", - "fr": "Vélo fantôme" + "fr": "Vélo fantôme", + "eo": "Fantombiciklo", + "es": "Bicicleta blanca", + "fi": "Haamupyörä", + "gl": "Bicicleta pantasma", + "hu": "Emlékkerékpár", + "it": "Bici fantasma", + "pl": "Duch roweru", + "pt_BR": "Bicicleta fantasma", + "ru": "Велосипед Ghost", + "sv": "Spökcykel" }, "description": { "en": "A ghost bike is a memorial for a cyclist who died in a traffic accident, in the form of a white bicycle placed permanently near the accident location.

On this map, one can see all the ghost bikes which are known by OpenStreetMap. Is a ghost bike missing? Everyone can add or update information here - you only need to have a (free) OpenStreetMap account.", diff --git a/langs/themes/eo.json b/langs/themes/eo.json index 14237a1193..968beb4986 100644 --- a/langs/themes/eo.json +++ b/langs/themes/eo.json @@ -2,4 +2,4 @@ "ghostbikes": { "title": "Fantombiciklo" } -} +} \ No newline at end of file diff --git a/langs/themes/es.json b/langs/themes/es.json index bd4468d84a..158b8b000e 100644 --- a/langs/themes/es.json +++ b/langs/themes/es.json @@ -31,11 +31,11 @@ } } }, - "personal": { - "title": "Interficie personal", - "description": "Crea una interficie basada en todas las capas disponibles de todas las interficies" - }, "ghostbikes": { "title": "Bicicleta blanca" + }, + "personal": { + "description": "Crea una interficie basada en todas las capas disponibles de todas las interficies", + "title": "Interficie personal" } -} +} \ No newline at end of file diff --git a/langs/themes/fi.json b/langs/themes/fi.json index 6e55fc9431..62f2d561dc 100644 --- a/langs/themes/fi.json +++ b/langs/themes/fi.json @@ -2,4 +2,4 @@ "ghostbikes": { "title": "Haamupyörä" } -} +} \ No newline at end of file diff --git a/langs/themes/gl.json b/langs/themes/gl.json index 80fcaffa92..907a31cae9 100644 --- a/langs/themes/gl.json +++ b/langs/themes/gl.json @@ -3,11 +3,11 @@ "description": "O obxectivo deste mapa é amosar ós ciclistas unha solución doada de empregar para atopar a infraestrutura axeitada para as súas necesidades.

Podes obter a túa localización precisa (só para dispositivos móbiles) e escoller as capas que sexan relevantes para ti na esquina inferior esquerda. Tamén podes empregar esta ferramenta para engadir ou editar puntos de interese ó mapa e fornecer máis datos respondendo as cuestións.

Todas as modificacións que fagas serán gardadas de xeito automático na base de datos global do OpenStreetMap e outros poderán reutilizalos libremente.

Para máis información sobre o proxecto cyclofix, vai a cyclofix.osm.be.", "title": "Cyclofix - Un mapa aberto para os ciclistas" }, - "personal": { - "title": "Tema personalizado", - "description": "Crea un tema baseado en todas as capas dispoñíbeis de todos os temas" - }, "ghostbikes": { "title": "Bicicleta pantasma" + }, + "personal": { + "description": "Crea un tema baseado en todas as capas dispoñíbeis de todos os temas", + "title": "Tema personalizado" } -} +} \ No newline at end of file diff --git a/langs/themes/hu.json b/langs/themes/hu.json index a7432fd2ad..202f0811d0 100644 --- a/langs/themes/hu.json +++ b/langs/themes/hu.json @@ -8,4 +8,4 @@ "ghostbikes": { "title": "Emlékkerékpár" } -} +} \ No newline at end of file diff --git a/langs/themes/it.json b/langs/themes/it.json index 38e22ebfec..e75545c575 100644 --- a/langs/themes/it.json +++ b/langs/themes/it.json @@ -488,6 +488,9 @@ "shortDescription": "Questa mappa mostra i giardini verticali, con foto e informazioni utili sulla loro orientazione, sull'illuminazione solare e sui tipi di piante.", "title": "Giardini verticali" }, + "ghostbikes": { + "title": "Bici fantasma" + }, "hailhydrant": { "layers": { "0": { @@ -531,8 +534,6 @@ "trees": { "description": "Mappa tutti gli alberi!", "shortDescription": "Mappa tutti gli alberi", - }, - "ghostbikes": { - "title": "Bici fantasma" + "title": "Alberi" } -} +} \ No newline at end of file diff --git a/langs/themes/pl.json b/langs/themes/pl.json index 2e8c85c73a..48289dbab0 100644 --- a/langs/themes/pl.json +++ b/langs/themes/pl.json @@ -6,6 +6,9 @@ "artwork": { "title": "Otwórz mapę dzieł sztuki" }, + "ghostbikes": { + "title": "Duch roweru" + }, "surveillance": { "description": "Na tej otwartej mapie można znaleźć kamery monitoringu.", "shortDescription": "Kamery monitorujące i inne środki nadzoru" @@ -15,13 +18,7 @@ "title": "Mapa otwartych toalet" }, "trees": { - "title": "Drzewa", - "shortDescription": "Sporządzić mapę wszystkich drzew" - }, - "artwork": { - "title": "Otwórz mapę dzieł sztuki" - }, - "ghostbikes": { - "title": "Duch roweru" + "shortDescription": "Sporządzić mapę wszystkich drzew", + "title": "Drzewa" } } \ No newline at end of file diff --git a/langs/themes/pt_BR.json b/langs/themes/pt_BR.json index c6ccc90706..56138ae8f3 100644 --- a/langs/themes/pt_BR.json +++ b/langs/themes/pt_BR.json @@ -166,13 +166,12 @@ }, "render": "Estação de despejo {nome}" } - }, - "shortDescription": "Encontre locais para passar a noite com o seu campista", + } + }, + "shortDescription": "Encontre locais para passar a noite com o seu campista", "title": "Locais de acampamento" - } }, "ghostbikes": { "title": "Bicicleta fantasma" - } } -} +} \ No newline at end of file diff --git a/langs/themes/ru.json b/langs/themes/ru.json index 311141679b..e4168c08da 100644 --- a/langs/themes/ru.json +++ b/langs/themes/ru.json @@ -421,6 +421,9 @@ } } }, + "ghostbikes": { + "title": "Велосипед Ghost" + }, "hailhydrant": { "layers": { "0": { @@ -642,8 +645,6 @@ "trees": { "description": "Нанесите все деревья на карту!", "shortDescription": "Карта деревьев", - }, - "ghostbikes": { - "title": "Велосипед Ghost" + "title": "Деревья" } -} +} \ No newline at end of file diff --git a/langs/themes/sv.json b/langs/themes/sv.json index 7c08320e76..8c5ac8469c 100644 --- a/langs/themes/sv.json +++ b/langs/themes/sv.json @@ -9,4 +9,4 @@ "ghostbikes": { "title": "Spökcykel" } -} +} \ No newline at end of file diff --git a/scripts/generateTranslations.ts b/scripts/generateTranslations.ts index 12dadee55f..f5f59afd81 100644 --- a/scripts/generateTranslations.ts +++ b/scripts/generateTranslations.ts @@ -277,7 +277,12 @@ function loadTranslationFilesFrom(target: string): Map { for (const translationFilePath of translationFilePaths) { let language = translationFilePath.substr(translationFilePath.lastIndexOf("/") + 1) language = language.substr(0, language.length - 5) - translationFiles.set(language, JSON.parse(readFileSync(translationFilePath, "utf8"))) + try{ + translationFiles.set(language, JSON.parse(readFileSync(translationFilePath, "utf8"))) + }catch(e){ + console.error("Invalid JSON file or file does not exist", translationFilePath) + throw e; + } } return translationFiles; } From 8f4bf6ca58ebf714ca15cd9cf946dec883e50069 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 22 Sep 2021 16:27:28 +0200 Subject: [PATCH 26/26] Regenerate translations --- assets/layers/ghost_bike/ghost_bike.json | 28 ++++++++++++++++++++++-- langs/layers/eo.json | 6 ++--- langs/layers/es.json | 6 ++--- langs/layers/fi.json | 6 ++--- langs/layers/gl.json | 6 ++--- langs/layers/hu.json | 6 ++--- langs/layers/ja.json | 15 ++++++------- langs/layers/nb_NO.json | 14 ++++++------ langs/layers/pl.json | 6 ++--- langs/layers/pt_BR.json | 6 ++--- langs/layers/ru.json | 6 ++--- langs/layers/sv.json | 6 ++--- langs/layers/zh_Hant.json | 6 ++--- 13 files changed, 70 insertions(+), 47 deletions(-) diff --git a/assets/layers/ghost_bike/ghost_bike.json b/assets/layers/ghost_bike/ghost_bike.json index 2a2b8342d3..68020ab520 100644 --- a/assets/layers/ghost_bike/ghost_bike.json +++ b/assets/layers/ghost_bike/ghost_bike.json @@ -5,7 +5,19 @@ "nl": "Witte Fietsen", "de": "Geisterrad", "it": "Bici fantasma", - "fr": "Vélos fantômes" + "fr": "Vélos fantômes", + "eo": "Fantombiciklo", + "es": "Bicicleta blanca", + "fi": "Haamupyörä", + "gl": "Bicicleta pantasma", + "hu": "Emlékkerékpár", + "ja": "ゴーストバイク", + "nb_NO": "Spøkelsessykler", + "pl": "Duch roweru", + "pt_BR": "Bicicleta fantasma", + "ru": "Велосипед Ghost", + "sv": "Spökcykel", + "zh_Hant": "幽靈單車" }, "source": { "osmTags": "memorial=ghost_bike" @@ -17,7 +29,19 @@ "nl": "Witte Fiets", "de": "Geisterrad", "it": "Bici fantasma", - "fr": "Vélo fantôme" + "fr": "Vélo fantôme", + "eo": "Fantombiciklo", + "es": "Bicicleta blanca", + "fi": "Haamupyörä", + "gl": "Bicicleta pantasma", + "hu": "Emlékkerékpár", + "ja": "ゴーストバイク", + "nb_NO": "Spøkelsessykler", + "pl": "Duch roweru", + "pt_BR": "Bicicleta fantasma", + "ru": "Велосипед Ghost", + "sv": "Spökcykel", + "zh_Hant": "幽靈單車" }, "mappings": [ { diff --git a/langs/layers/eo.json b/langs/layers/eo.json index d895e7dab3..4041ba0b78 100644 --- a/langs/layers/eo.json +++ b/langs/layers/eo.json @@ -1,8 +1,8 @@ { "ghost_bike": { + "name": "Fantombiciklo", "title": { "render": "Fantombiciklo" - }, - "name": "Fantombiciklo" + } } -} +} \ No newline at end of file diff --git a/langs/layers/es.json b/langs/layers/es.json index 2cb9610a04..2b1005bef4 100644 --- a/langs/layers/es.json +++ b/langs/layers/es.json @@ -114,9 +114,9 @@ } }, "ghost_bike": { + "name": "Bicicleta blanca", "title": { "render": "Bicicleta blanca" - }, - "name": "Bicicleta blanca" + } } -} +} \ No newline at end of file diff --git a/langs/layers/fi.json b/langs/layers/fi.json index 1affc48fac..3499be2da2 100644 --- a/langs/layers/fi.json +++ b/langs/layers/fi.json @@ -101,9 +101,9 @@ } }, "ghost_bike": { + "name": "Haamupyörä", "title": { "render": "Haamupyörä" - }, - "name": "Haamupyörä" + } } -} +} \ No newline at end of file diff --git a/langs/layers/gl.json b/langs/layers/gl.json index 836665d770..5a6d58c6d9 100644 --- a/langs/layers/gl.json +++ b/langs/layers/gl.json @@ -380,9 +380,9 @@ } }, "ghost_bike": { + "name": "Bicicleta pantasma", "title": { "render": "Bicicleta pantasma" - }, - "name": "Bicicleta pantasma" + } } -} +} \ No newline at end of file diff --git a/langs/layers/hu.json b/langs/layers/hu.json index 2225413225..4ffbf2671c 100644 --- a/langs/layers/hu.json +++ b/langs/layers/hu.json @@ -200,9 +200,9 @@ } }, "ghost_bike": { + "name": "Emlékkerékpár", "title": { "render": "Emlékkerékpár" - }, - "name": "Emlékkerékpár" + } } -} +} \ No newline at end of file diff --git a/langs/layers/ja.json b/langs/layers/ja.json index 711685c3e0..24b81b31b4 100644 --- a/langs/layers/ja.json +++ b/langs/layers/ja.json @@ -1,10 +1,4 @@ { - "ghost_bike": { - "title": { - "render": "ゴーストバイク" - }, - "name": "ゴーストバイク" - }, "charging_station": { "description": "充電ステーション", "name": "充電ステーション", @@ -38,6 +32,11 @@ "question": "お客様が持参容器(調理用の鍋や小さな鍋など)をもってきた場合は、注文の梱包に使用されますか?
" } } + }, + "ghost_bike": { + "name": "ゴーストバイク", + "title": { + "render": "ゴーストバイク" + } } -} - +} \ No newline at end of file diff --git a/langs/layers/nb_NO.json b/langs/layers/nb_NO.json index 00a158e307..12821e8295 100644 --- a/langs/layers/nb_NO.json +++ b/langs/layers/nb_NO.json @@ -104,12 +104,6 @@ } } }, - "ghost_bike": { - "title": { - "render": "Spøkelsessykler" - }, - "name": "Spøkelsessykler" - }, "charging_station": { "description": "En ladestasjon", "name": "Ladestasjoner", @@ -124,5 +118,11 @@ "title": { "render": "Ladestasjon" } + }, + "ghost_bike": { + "name": "Spøkelsessykler", + "title": { + "render": "Spøkelsessykler" + } } -} +} \ No newline at end of file diff --git a/langs/layers/pl.json b/langs/layers/pl.json index 49000a5d81..682a453333 100644 --- a/langs/layers/pl.json +++ b/langs/layers/pl.json @@ -196,9 +196,9 @@ } }, "ghost_bike": { + "name": "Duch roweru", "title": { "render": "Duch roweru" - }, - "name": "Duch roweru" + } } -} +} \ No newline at end of file diff --git a/langs/layers/pt_BR.json b/langs/layers/pt_BR.json index f72deb3562..835527f4b4 100644 --- a/langs/layers/pt_BR.json +++ b/langs/layers/pt_BR.json @@ -539,9 +539,9 @@ } }, "ghost_bike": { + "name": "Bicicleta fantasma", "title": { "render": "Bicicleta fantasma" - }, - "name": "Bicicleta fantasma" + } } -} +} \ No newline at end of file diff --git a/langs/layers/ru.json b/langs/layers/ru.json index 190ec3672a..8993b6f058 100644 --- a/langs/layers/ru.json +++ b/langs/layers/ru.json @@ -616,6 +616,7 @@ } }, "ghost_bike": { + "name": "Велосипед Ghost", "tagRenderings": { "2": { "render": "В знак памяти о {name}" @@ -632,8 +633,7 @@ }, "title": { "render": "Велосипед Ghost" - }, - "name": "Велосипед Ghost" + } }, "information_board": { "name": "Информационные щиты", @@ -1149,4 +1149,4 @@ "render": "Смотровая площадка" } } -} +} \ No newline at end of file diff --git a/langs/layers/sv.json b/langs/layers/sv.json index 7e4d58c534..1cf6690a81 100644 --- a/langs/layers/sv.json +++ b/langs/layers/sv.json @@ -1,8 +1,8 @@ { "ghost_bike": { + "name": "Spökcykel", "title": { "render": "Spökcykel" - }, - "name": "Spökcykel" + } } -} +} \ No newline at end of file diff --git a/langs/layers/zh_Hant.json b/langs/layers/zh_Hant.json index b62421f01d..00df6ac598 100644 --- a/langs/layers/zh_Hant.json +++ b/langs/layers/zh_Hant.json @@ -404,9 +404,9 @@ } }, "ghost_bike": { + "name": "幽靈單車", "title": { "render": "幽靈單車" - }, - "name": "幽靈單車" + } } -} +} \ No newline at end of file