From d670eec72ad03eabae8b568b6a841a2b69df9b52 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 24 Jun 2022 16:57:11 +0200 Subject: [PATCH] Housekeeping... --- Docs/Layers/maxspeed.md | 87 +++ Docs/TagInfo/mapcomplete_maxspeed.json | 93 +++ assets/contributors.json | 2 +- assets/layers/language/language.json | 864 ------------------------- package.json | 2 +- 5 files changed, 182 insertions(+), 866 deletions(-) create mode 100644 Docs/Layers/maxspeed.md create mode 100644 Docs/TagInfo/mapcomplete_maxspeed.json delete mode 100644 assets/layers/language/language.json diff --git a/Docs/Layers/maxspeed.md b/Docs/Layers/maxspeed.md new file mode 100644 index 0000000000..60a9fdd1b4 --- /dev/null +++ b/Docs/Layers/maxspeed.md @@ -0,0 +1,87 @@ + + + maxspeed +========== + + + + + +Shows the allowed speed for every road + + + + + + + - This layer is shown at zoomlevel **16** and higher + + + + +#### Themes using this layer + + + + + + - [maxspeed](https://mapcomplete.osm.be/maxspeed) + - [personal](https://mapcomplete.osm.be/personal) + + + + + Basic tags for this layer +--------------------------- + + + +Elements must have the all of following tags to be shown on this layer: + + + + - highway=residential|highway=living_street|highway=motorway|highway=tertiary|highway=unclassified|highway=secondary|highway=primary|highway=trunk|highway=motorway|highway=tertiary_link|highway=secondary_link|highway=primary_link|highway=trunk_link|highway=motorway_link + - type!=multipolygon + - area!=yes + + +[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%20%20%20%20nwr%5B%22highway%22%3D%22residential%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22living_street%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22motorway%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22tertiary%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22unclassified%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22secondary%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22primary%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22trunk%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22motorway%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22tertiary_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22secondary_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22primary_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22trunk_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22motorway_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D(%7B%7Bbbox%7D%7D)%3B%0A)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B) + + + + Supported attributes +---------------------- + + + +Warning: + +this quick overview is incomplete + + + +attribute | type | values which are supported by this layer +----------- | ------ | ------------------------------------------ +[](https://taginfo.openstreetmap.org/keys/maxspeed#values) [maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed) | [pnat](../SpecialInputElements.md#pnat) | + + + + +### maxspeed-maxspeed + + + +The question is What is the legal maximum speed one is allowed to drive on this road? + +This rendering asks information about the property [maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed) + +This is rendered with The maximum allowed speed on this road is {maxspeed} + + + + + + - This is a living street, which has a maxspeed of 20km/h corresponds with highway=living_street + + +This document is autogenerated from [assets/layers/maxspeed/maxspeed.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/maxspeed/maxspeed.json) \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_maxspeed.json b/Docs/TagInfo/mapcomplete_maxspeed.json new file mode 100644 index 0000000000..aa7bb4b613 --- /dev/null +++ b/Docs/TagInfo/mapcomplete_maxspeed.json @@ -0,0 +1,93 @@ +{ + "data_format": 1, + "project": { + "name": "MapComplete Maxspeed", + "description": "This map shows the legally allowed maximum speed on every road.", + "project_url": "https://mapcomplete.osm.be/maxspeed", + "doc_url": "https://github.com/pietervdvn/MapComplete/tree/master/assets/themes/", + "icon_url": "https://mapcomplete.osm.be/assets/themes/maxspeed/maxspeed_logo.svg", + "contact_name": "Pieter Vander Vennet, ", + "contact_email": "pietervdvn@posteo.net" + }, + "tags": [ + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "residential" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "living_street" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "motorway" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "tertiary" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "unclassified" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "secondary" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "primary" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "trunk" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "motorway" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "tertiary_link" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "secondary_link" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "primary_link" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "trunk_link" + }, + { + "key": "highway", + "description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag", + "value": "motorway_link" + }, + { + "key": "maxspeed", + "description": "Layer 'Maxspeed' shows and asks freeform values for key 'maxspeed' (in the MapComplete.osm.be theme 'Maxspeed')" + }, + { + "key": "highway", + "description": "Layer 'Maxspeed' shows highway=living_street with a fixed text, namely 'This is a living street, which has a maxspeed of 20km/h' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Maxspeed')", + "value": "living_street" + } + ] +} \ No newline at end of file diff --git a/assets/contributors.json b/assets/contributors.json index 9879c00171..4cea52fbaa 100644 --- a/assets/contributors.json +++ b/assets/contributors.json @@ -1,7 +1,7 @@ { "contributors": [ { - "commits": 3990, + "commits": 3995, "contributor": "Pieter Vander Vennet" }, { diff --git a/assets/layers/language/language.json b/assets/layers/language/language.json deleted file mode 100644 index 094afbf2ca..0000000000 --- a/assets/layers/language/language.json +++ /dev/null @@ -1,864 +0,0 @@ -{ - "id": "language", - "description": "Various tagRenderings to help language tooling", - "tagRenderings": { - "id": "official-language", - "mappings": [ - { - "if": "language=ca", - "then": { - "ca": "català", - "da": "catalansk", - "de": "Katalanisch", - "en": "Catalan", - "eo": "kataluna lingvo", - "es": "catalán", - "fi": "katalaani", - "fr": "catalan", - "gl": "lingua catalá", - "hu": "katalán", - "id": "Bahasa Katala", - "it": "catalano", - "ja": "カタルーニャ語", - "nb_NO": "katalansk", - "nl": "Catalaans", - "pl": "język kataloński", - "pt": "língua catalã", - "pt_BR": "língua catalã", - "ru": "каталанский язык", - "sl": "Katalonščina", - "sv": "katalanska", - "zh_Hans": "加泰罗尼亚语", - "zh_Hant": "加泰隆尼亞語" - }, - "hideInAnswer": "_country=ad" - }, - { - "if": "language=ar", - "hideInAnswer": "_country=ae|af|bh|dj|dz|eg|er|iq|jo|km|kw|lb|ly|ma|mr|om|pk|ps|qa|sa|sd|so|ss|sy|td|tn|ye" - }, - { - "if": "language=uz", - "hideInAnswer": "_country=af|uz" - }, - { - "if": "language=tk", - "hideInAnswer": "_country=af|tm" - }, - { - "if": "language=ps", - "hideInAnswer": "_country=af" - }, - { - "if": "language=en", - "then": { - "ca": "anglès", - "da": "engelsk", - "de": "Englisch", - "en": "English", - "eo": "angla lingvo", - "es": "inglés", - "fi": "englanti", - "fr": "anglais", - "gl": "lingua inglesa", - "hu": "angol", - "id": "Inggris", - "it": "inglese", - "ja": "英語", - "nb_NO": "engelsk", - "nl": "Engels", - "pl": "język angielski", - "pt": "inglês", - "pt_BR": "inglês", - "ru": "английский язык", - "sl": "angleščina", - "sv": "engelska", - "zh_Hans": "英语", - "zh_Hant": "英語" - }, - "hideInAnswer": "_country=ag|au|bb|bi|bn|bs|bw|bz|ca|cm|dm|er|fj|fm|gb|gd|gh|gi|gm|gy|ie|in|jm|ke|ki|kn|lc|lr|ls|mh|mt|mu|mw|na|ng|nr|nz|pg|ph|pk|pw|rw|sb|sc|sd|sg|sl|ss|sz|to|tt|tv|tz|ug|vc|vu|ws|za|zm|zw" - }, - { - "if": "language=sq", - "hideInAnswer": "_country=al|mk" - }, - { - "if": "language=hy", - "hideInAnswer": "_country=am" - }, - { - "if": "language=pt", - "then": { - "ca": "portuguès", - "da": "portugisisk", - "de": "Portugiesisch", - "en": "Portuguese", - "eo": "portugala lingvo", - "es": "portugués", - "fi": "portugali", - "fr": "portugais", - "gl": "lingua portuguesa", - "hu": "portugál", - "id": "Portugis", - "it": "portoghese", - "ja": "ポルトガル語", - "nb_NO": "portugisisk", - "nl": "Portugees", - "pl": "język portugalski", - "pt": "português", - "pt_BR": "português", - "ru": "португальский язык", - "sl": "portugalščina", - "sv": "portugisiska", - "zh_Hans": "葡萄牙语", - "zh_Hant": "葡萄牙語" - }, - "hideInAnswer": "_country=ao|br|cv|gq|gw|mz|pt|st|tl" - }, - { - "if": "language=es", - "then": { - "ca": "castellà", - "da": "spansk", - "de": "Spanisch", - "en": "Spanish", - "eo": "hispana lingvo", - "es": "español", - "fi": "espanja", - "fr": "espagnol", - "gl": "lingua castelá", - "hu": "spanyol", - "id": "Spanyol", - "it": "spagnolo", - "ja": "スペイン語", - "nb_NO": "spansk", - "nl": "Spaans", - "pl": "język hiszpański", - "pt": "espanhol", - "pt_BR": "espanhol", - "ru": "испанский язык", - "sl": "španščina", - "sv": "spanska", - "zh_Hans": "西班牙语", - "zh_Hant": "西班牙語" - }, - "hideInAnswer": "_country=ar|bo|cl|co|cr|cu|do|ec|es|gq|gt|hn|mx|ni|pa|pe|py|sv|uy|ve" - }, - { - "if": "language=de", - "then": { - "ca": "alemany", - "da": "tysk", - "de": "Deutsch", - "en": "German", - "eo": "germana lingvo", - "es": "alemán", - "fi": "saksa", - "fr": "allemand", - "gl": "lingua alemá", - "hu": "német", - "id": "Jerman", - "it": "tedesco", - "ja": "ドイツ語", - "nb_NO": "tysk", - "nl": "Duits", - "pl": "język niemiecki", - "pt": "alemão", - "pt_BR": "alemão", - "ru": "немецкий язык", - "sl": "nemščina", - "sv": "tyska", - "zh_Hans": "德语", - "zh_Hant": "德語" - }, - "hideInAnswer": "_country=at|be|ch|de|li|lu" - }, - { - "if": "language=az", - "hideInAnswer": "_country=az" - }, - { - "if": "language=hr", - "hideInAnswer": "_country=ba|hr" - }, - { - "if": "language=sr", - "hideInAnswer": "_country=ba|rs" - }, - { - "if": "language=bs", - "hideInAnswer": "_country=ba" - }, - { - "if": "language=bn", - "hideInAnswer": "_country=bd" - }, - { - "if": "language=fr", - "then": { - "ca": "francès", - "da": "fransk", - "de": "Französisch", - "en": "French", - "eo": "franca lingvo", - "es": "francés", - "fi": "ranska", - "fr": "français", - "gl": "lingua francesa", - "hu": "francia", - "id": "Prancis", - "it": "francese", - "ja": "フランス語", - "nb_NO": "fransk", - "nl": "Frans", - "pl": "język francuski", - "pt": "francês", - "pt_BR": "francês", - "ru": "французский язык", - "sl": "francoščina", - "sv": "franska", - "zh_Hans": "法语", - "zh_Hant": "法語" - }, - "hideInAnswer": "_country=be|bf|bi|bj|ca|cd|cf|cg|ch|ci|cm|dj|fr|ga|gn|gq|ht|km|lu|mc|mg|ml|mu|ne|rw|sc|sn|td|tg|va|vu" - }, - { - "if": "language=nl", - "then": { - "ca": "neerlandès", - "da": "nederlandsk", - "de": "Niederländisch", - "en": "Dutch", - "eo": "nederlanda lingvo", - "es": "neerlandés", - "fi": "hollanti", - "fr": "néerlandais", - "gl": "lingua neerlandesa", - "hu": "holland", - "id": "Belanda", - "it": "olandese", - "ja": "オランダ語", - "nb_NO": "nederlandsk", - "nl": "Nederlands", - "pl": "język niderlandzki", - "pt": "neerlandês", - "pt_BR": "neerlandês", - "ru": "нидерландский язык", - "sl": "Nizozemščina", - "sv": "nederländska", - "zh_Hans": "荷兰语", - "zh_Hant": "荷蘭語" - }, - "hideInAnswer": "_country=be|nl|sr" - }, - { - "if": "language=bg", - "hideInAnswer": "_country=bg" - }, - { - "if": "language=rn", - "hideInAnswer": "_country=bi" - }, - { - "if": "language=ms", - "hideInAnswer": "_country=bn|my|sg" - }, - { - "if": "language=ay", - "hideInAnswer": "_country=bo|pe" - }, - { - "if": "language=qu", - "hideInAnswer": "_country=bo|pe" - }, - { - "if": "language=gn", - "hideInAnswer": "_country=bo|py" - }, - { - "if": "language=dz", - "hideInAnswer": "_country=bt" - }, - { - "if": "language=ru", - "then": { - "ca": "rus", - "da": "russisk", - "de": "Russisch", - "en": "Russian", - "eo": "rusa lingvo", - "es": "ruso", - "fi": "venäjä", - "fr": "russe", - "gl": "lingua rusa", - "hu": "orosz", - "id": "Rusia", - "it": "russo", - "ja": "ロシア語", - "nb_NO": "russisk", - "nl": "Russisch", - "pl": "język rosyjski", - "pt": "russo", - "pt_BR": "russo", - "ru": "русский язык", - "sl": "ruščina", - "sv": "ryska", - "zh_Hans": "俄语", - "zh_Hant": "俄語" - }, - "hideInAnswer": "_country=by|kg|kz|ru|tj" - }, - { - "if": "language=be", - "hideInAnswer": "_country=by" - }, - { - "if": "language=sg", - "hideInAnswer": "_country=cf" - }, - { - "if": "language=it", - "then": { - "ca": "italià", - "da": "italiensk", - "de": "Italienisch", - "en": "Italian", - "eo": "itala lingvo", - "es": "italiano", - "fi": "italia", - "fr": "italien", - "gl": "lingua italiana", - "hu": "olasz", - "id": "Italia", - "it": "italiano", - "ja": "イタリア語", - "nb_NO": "italiensk", - "nl": "Italiaans", - "pl": "język włoski", - "pt": "italiano", - "pt_BR": "língua italiana", - "ru": "итальянский язык", - "sl": "italijanščina", - "sv": "italienska", - "zh_Hans": "意大利语", - "zh_Hant": "義大利語" - }, - "hideInAnswer": "_country=ch|it|sm|va" - }, - { - "if": "language=rm", - "hideInAnswer": "_country=ch" - }, - { - "if": "language=zh", - "hideInAnswer": "_country=cn" - }, - { - "if": "language=tr", - "hideInAnswer": "_country=cy|tr" - }, - { - "if": "language=el", - "hideInAnswer": "_country=cy" - }, - { - "if": "language=cs", - "hideInAnswer": "_country=cz" - }, - { - "if": "language=da", - "then": { - "ca": "danès", - "da": "dansk", - "de": "Dänisch", - "en": "Danish", - "eo": "dana lingvo", - "es": "danés", - "fi": "tanska", - "fr": "danois", - "gl": "lingua dinamarquesa", - "hu": "dán", - "id": "Bahasa Denmark", - "it": "danese", - "ja": "デンマーク語", - "nb_NO": "dansk", - "nl": "Deens", - "pl": "język duński", - "pt": "dinamarquês", - "pt_BR": "dinamarquês", - "ru": "датский язык", - "sl": "Danščina", - "sv": "danska", - "zh_Hans": "丹麦语", - "zh_Hant": "丹麥語" - }, - "hideInAnswer": "_country=dk" - }, - { - "if": "language=et", - "hideInAnswer": "_country=ee" - }, - { - "if": "language=ti", - "hideInAnswer": "_country=er" - }, - { - "if": "language=am", - "hideInAnswer": "_country=et" - }, - { - "if": "language=fi", - "then": { - "ca": "finès", - "da": "finsk", - "de": "Finnisch", - "en": "Finnish", - "eo": "finna lingvo", - "es": "finés", - "fi": "suomi", - "fr": "finnois", - "gl": "finés", - "hu": "finn", - "id": "Finlandia", - "it": "finlandese", - "ja": "フィンランド語", - "nb_NO": "finsk", - "nl": "Fins", - "pl": "język fiński", - "pt": "finlandês", - "pt_BR": "língua finlandesa", - "ru": "финский язык", - "sl": "finščina", - "sv": "finska", - "zh_Hans": "芬兰语", - "zh_Hant": "芬蘭語" - }, - "hideInAnswer": "_country=fi" - }, - { - "if": "language=sv", - "then": { - "ca": "suec", - "da": "svensk", - "de": "Schwedisch", - "en": "Swedish", - "eo": "sveda lingvo", - "es": "sueco", - "fi": "ruotsi", - "fr": "suédois", - "gl": "lingua sueca", - "hu": "svéd", - "id": "Swedia", - "it": "svedese", - "ja": "スウェーデン語", - "nb_NO": "svensk", - "nl": "Zweeds", - "pl": "język szwedzki", - "pt": "língua sueca", - "pt_BR": "língua sueca", - "ru": "шведский язык", - "sl": "švedščina", - "sv": "svenska", - "zh_Hant": "瑞典語" - }, - "hideInAnswer": "_country=fi|se" - }, - { - "if": "language=fj", - "hideInAnswer": "_country=fj" - }, - { - "if": "language=ab", - "hideInAnswer": "_country=ge" - }, - { - "if": "language=ka", - "hideInAnswer": "_country=ge" - }, - { - "if": "language=ht", - "hideInAnswer": "_country=ht" - }, - { - "if": "language=hu", - "then": { - "ca": "hongarès", - "da": "ungarsk", - "de": "Ungarisch", - "en": "Hungarian", - "eo": "hungara lingvo", - "es": "húngaro", - "fi": "unkari", - "fr": "hongrois", - "gl": "lingua húngara", - "hu": "magyar", - "id": "Hongaria", - "it": "ungherese", - "ja": "ハンガリー語", - "nb_NO": "ungarsk", - "nl": "Hongaars", - "pl": "język węgierski", - "pt": "húngaro", - "pt_BR": "língua húngara", - "ru": "венгерский язык", - "sl": "madžarščina", - "sv": "ungerska", - "zh_Hant": "匈牙利語" - }, - "hideInAnswer": "_country=hu" - }, - { - "if": "language=id", - "then": { - "ca": "indonesi", - "da": "indonesisk", - "de": "Indonesisch", - "en": "Indonesian", - "eo": "indonezia lingvo", - "es": "indonesio", - "fi": "indonesia", - "fr": "indonésien", - "gl": "lingua indonesia", - "hu": "indonéz", - "id": "Indonesia", - "it": "indonesiano", - "ja": "インドネシア語", - "nb_NO": "indonesisk", - "nl": "Indonesisch", - "pl": "język indonezyjski", - "pt": "língua indonésia", - "pt_BR": "língua indonésia", - "ru": "индонезийский язык", - "sl": "indonezijščina", - "sv": "indonesiska", - "zh_Hans": "印度尼西亚语", - "zh_Hant": "印尼語" - }, - "hideInAnswer": "_country=id" - }, - { - "if": "language=jv", - "hideInAnswer": "_country=id" - }, - { - "if": "language=ga", - "hideInAnswer": "_country=ie" - }, - { - "if": "language=he", - "hideInAnswer": "_country=il" - }, - { - "if": "language=hi", - "hideInAnswer": "_country=in" - }, - { - "if": "language=ku", - "hideInAnswer": "_country=iq" - }, - { - "if": "language=fa", - "hideInAnswer": "_country=ir" - }, - { - "if": "language=is", - "hideInAnswer": "_country=is" - }, - { - "if": "language=ja", - "then": { - "ca": "japonès", - "da": "japansk", - "de": "Japanisch", - "en": "Japanese", - "eo": "japana lingvo", - "es": "japonés", - "fi": "japani", - "fr": "japonais", - "gl": "lingua xaponesa", - "hu": "japán", - "id": "bahasa Jepang", - "it": "giapponese", - "ja": "日本語", - "nb_NO": "japansk", - "nl": "Japans", - "pl": "język japoński", - "pt": "japonês", - "pt_BR": "língua japonesa", - "ru": "японский язык", - "sl": "Japonščina", - "sv": "japanska", - "zh_Hans": "日语", - "zh_Hant": "日語" - }, - "hideInAnswer": "_country=jp|pw" - }, - { - "if": "language=sw", - "hideInAnswer": "_country=ke|rw|tz|ug" - }, - { - "if": "language=ky", - "hideInAnswer": "_country=kg" - }, - { - "if": "language=km", - "hideInAnswer": "_country=kh" - }, - { - "if": "language=ko", - "hideInAnswer": "_country=kp|kr" - }, - { - "if": "language=kk", - "hideInAnswer": "_country=kz" - }, - { - "if": "language=lo", - "hideInAnswer": "_country=la" - }, - { - "if": "language=ta", - "hideInAnswer": "_country=lk|sg" - }, - { - "if": "language=si", - "hideInAnswer": "_country=lk" - }, - { - "if": "language=st", - "hideInAnswer": "_country=ls|za|zw" - }, - { - "if": "language=lt", - "hideInAnswer": "_country=lt" - }, - { - "if": "language=lb", - "hideInAnswer": "_country=lu" - }, - { - "if": "language=lv", - "hideInAnswer": "_country=lv" - }, - { - "if": "language=ro", - "hideInAnswer": "_country=md|ro" - }, - { - "if": "language=mg", - "hideInAnswer": "_country=mg" - }, - { - "if": "language=mh", - "hideInAnswer": "_country=mh" - }, - { - "if": "language=mk", - "hideInAnswer": "_country=mk" - }, - { - "if": "language=my", - "hideInAnswer": "_country=mm" - }, - { - "if": "language=mn", - "hideInAnswer": "_country=mn" - }, - { - "if": "language=mt", - "hideInAnswer": "_country=mt" - }, - { - "if": "language=dv", - "hideInAnswer": "_country=mv" - }, - { - "if": "language=ny", - "hideInAnswer": "_country=mw|zw" - }, - { - "if": "language=yo", - "hideInAnswer": "_country=ng" - }, - { - "if": "language=no", - "hideInAnswer": "_country=no" - }, - { - "if": "language=nn", - "hideInAnswer": "_country=no" - }, - { - "if": "language=nb", - "hideInAnswer": "_country=no" - }, - { - "if": "language=ne", - "hideInAnswer": "_country=np" - }, - { - "if": "language=na", - "hideInAnswer": "_country=nr" - }, - { - "if": "language=mi", - "hideInAnswer": "_country=nz" - }, - { - "if": "language=ho", - "hideInAnswer": "_country=pg" - }, - { - "if": "language=ur", - "hideInAnswer": "_country=pk" - }, - { - "if": "language=pl", - "then": { - "ca": "polonès", - "da": "polsk", - "de": "Polnisch", - "en": "Polish", - "eo": "pola lingvo", - "es": "polaco", - "fi": "puola", - "fr": "polonais", - "gl": "lingua polaca", - "hu": "lengyel", - "id": "Polandia", - "it": "polacco", - "ja": "ポーランド語", - "nb_NO": "polsk", - "nl": "Pools", - "pl": "język polski", - "pt": "polaco", - "pt_BR": "língua polonesa", - "ru": "польский язык", - "sl": "poljščina", - "sv": "polska", - "zh_Hans": "波兰语", - "zh_Hant": "波蘭語" - }, - "hideInAnswer": "_country=pl" - }, - { - "if": "language=rw", - "hideInAnswer": "_country=rw" - }, - { - "if": "language=sl", - "then": { - "ca": "eslovè", - "da": "slovensk", - "de": "Slowenisch", - "en": "Slovene", - "eo": "slovena lingvo", - "es": "esloveno", - "fi": "sloveeni", - "fr": "slovène", - "gl": "lingua eslovena", - "hu": "szlovén", - "id": "Bahasa Slovenia", - "it": "sloveno", - "ja": "スロベニア語", - "nb_NO": "slovensk", - "nl": "Sloveens", - "pl": "język słoweński", - "pt": "língua eslovena", - "pt_BR": "língua eslovena", - "ru": "словенский язык", - "sl": "slovenščina", - "sv": "slovenska", - "zh_Hant": "斯洛維尼亞語" - }, - "hideInAnswer": "_country=si" - }, - { - "if": "language=sk", - "hideInAnswer": "_country=sk" - }, - { - "if": "language=wo", - "hideInAnswer": "_country=sn" - }, - { - "if": "language=so", - "hideInAnswer": "_country=so" - }, - { - "if": "language=ss", - "hideInAnswer": "_country=sz|za" - }, - { - "if": "language=th", - "hideInAnswer": "_country=th" - }, - { - "if": "language=tg", - "hideInAnswer": "_country=tj" - }, - { - "if": "language=to", - "hideInAnswer": "_country=to" - }, - { - "if": "language=uk", - "hideInAnswer": "_country=ua" - }, - { - "if": "language=la", - "hideInAnswer": "_country=va" - }, - { - "if": "language=vi", - "hideInAnswer": "_country=vn" - }, - { - "if": "language=bi", - "hideInAnswer": "_country=vu" - }, - { - "if": "language=sm", - "hideInAnswer": "_country=ws" - }, - { - "if": "language=af", - "hideInAnswer": "_country=za" - }, - { - "if": "language=ve", - "hideInAnswer": "_country=za|zw" - }, - { - "if": "language=tn", - "hideInAnswer": "_country=za|zw" - }, - { - "if": "language=ts", - "hideInAnswer": "_country=za|zw" - }, - { - "if": "language=nr", - "hideInAnswer": "_country=za" - }, - { - "if": "language=zu", - "hideInAnswer": "_country=za" - }, - { - "if": "language=xh", - "hideInAnswer": "_country=za|zw" - }, - { - "if": "language=sn", - "hideInAnswer": "_country=zw" - }, - { - "if": "language=nd", - "hideInAnswer": "_country=zw" - } - ], - "question": "What languages are spoken here?" - } -} \ No newline at end of file diff --git a/package.json b/package.json index 622c433268..9a969f8927 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "weblate-add-upstream": "git remote add weblate-github git@github.com:weblate/MapComplete.git", "weblate-fix": "git remote update weblate-github ; git merge weblate-github/weblate-mapcomplete-core; git merge weblate-github/weblate-mapcomplete-layers ; git merge weblate-github/weblate-mapcomplete-layer-translations", "weblate-fix-heavy": "git remote rm weblate-layers; git remote add weblate-layers https://hosted.weblate.org/git/mapcomplete/layers/; git remote update weblate-layers; git merge weblate-layers/master", - "housekeeping": "npm run generate && npm run generate:docs && npm run generate:contributor-list && git commit assets/ langs/ Docs/ -m 'Housekeeping...'", + "housekeeping": "npm run generate && npm run generate:docs && npm run generate:contributor-list && git add Docs/* && git commit assets/ langs/ Docs/ -m 'Housekeeping...'", "parseSchools": "cd scripts/schools && ts-node amendSchoolData.ts" }, "keywords": [