Compare commits

...

6 commits

Author SHA1 Message Date
cf19d9e3f1 Merge pull request 'Some fixes' (#2294) from Robin-van-der-Linde/MapComplete:RobinLinde-patch-1 into develop
All checks were successful
Deploy develop on dev.mapcomplete.org / deploy_on_hosted (push) Successful in 28m36s
Reviewed-on: #2294
Reviewed-by: Pieter Vander Vennet <pietervdvn@nerdlab.nohost.me>
2025-01-08 19:38:38 +01:00
Robin van der Linde
83f074efe6
Merge branch 'develop' into RobinLinde-patch-1
All checks were successful
Deploy develop on dev.mapcomplete.org / deploy_on_hosted (pull_request) Successful in 28m42s
2025-01-08 19:14:38 +01:00
Robin van der Linde
5a9c53e4d6
Themes(charging_station): Remove units for V and A (gh#2320), fix stray A
Some checks failed
Deploy develop on dev.mapcomplete.org / deploy_on_hosted (pull_request) Has been cancelled
2025-01-05 00:40:49 +01:00
Robin van der Linde
1f37780612
Chore: Fix translations 2025-01-05 00:32:56 +01:00
Robin van der Linde
f2bcfc5c07
Theme(vending_machine): Change filter options and zoom 2025-01-05 00:22:36 +01:00
Robin van der Linde
2dec3e671d
Chore: update extensiions list 2025-01-05 00:21:42 +01:00
11 changed files with 29 additions and 19 deletions

View file

@ -2,10 +2,10 @@
"recommendations": [ "recommendations": [
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"eamodio.gitlens", "eamodio.gitlens",
"github.vscode-pull-request-github",
"svelte.svelte-vscode", "svelte.svelte-vscode",
"bradlc.vscode-tailwindcss", "bradlc.vscode-tailwindcss",
"editorconfig.editorconfig", "editorconfig.editorconfig",
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint",
"robin-van-der-linde.mapcompletevscode"
] ]
} }

View file

@ -2200,7 +2200,7 @@
"type": "pfloat" "type": "pfloat"
}, },
"mappings": { "mappings": {
"if": "{{key}}:voltage={{commonVoltages}} V", "if": "{{key}}:voltage={{commonVoltages}}",
"then": { "then": {
"en": "{{description}} outputs {{commonVoltages}} volt", "en": "{{description}} outputs {{commonVoltages}} volt",
"nl": "{{description}} heeft een spanning van {{commonVoltages}} volt", "nl": "{{description}} heeft een spanning van {{commonVoltages}} volt",
@ -2238,7 +2238,7 @@
"type": "pfloat" "type": "pfloat"
}, },
"mappings": { "mappings": {
"if": "{{key}}:current={{commonCurrent}} A", "if": "{{key}}:current={{commonCurrent}}",
"then": { "then": {
"en": "{{description}} outputs at most {{commonCurrent}} A", "en": "{{description}} outputs at most {{commonCurrent}} A",
"nl": "{{description}} levert een stroom van maximaal {{commonCurrent}} A", "nl": "{{description}} levert een stroom van maximaal {{commonCurrent}} A",

View file

@ -266,7 +266,7 @@
"type": "pfloat" "type": "pfloat"
}, },
"mappings": { "mappings": {
"if": "{{key}}:voltage={{commonVoltages}} V", "if": "{{key}}:voltage={{commonVoltages}}",
"then": { "then": {
"en": "{{description}} outputs {{commonVoltages}} volt", "en": "{{description}} outputs {{commonVoltages}} volt",
"nl": "{{description}} heeft een spanning van {{commonVoltages}} volt", "nl": "{{description}} heeft een spanning van {{commonVoltages}} volt",
@ -299,7 +299,7 @@
"type": "pfloat" "type": "pfloat"
}, },
"mappings": { "mappings": {
"if": "{{key}}:current={{commonCurrent}} A", "if": "{{key}}:current={{commonCurrent}}",
"then": { "then": {
"en": "{{description}} outputs at most {{commonCurrent}} A", "en": "{{description}} outputs at most {{commonCurrent}} A",
"nl": "{{description}} levert een stroom van maximaal {{commonCurrent}} A" "nl": "{{description}} levert een stroom van maximaal {{commonCurrent}} A"
@ -332,8 +332,8 @@
"mappings": { "mappings": {
"if": "{{key}}:output={{commonOutput}}", "if": "{{key}}:output={{commonOutput}}",
"then": { "then": {
"en": "{{description}} outputs at most {{commonOutput}} A", "en": "{{description}} outputs at most {{commonOutput}} kW",
"nl": "{{description}} levert een vermogen van maximaal {{commonOutput}} A" "nl": "{{description}} levert een vermogen van maximaal {{commonOutput}} kW"
} }
}, },
"condition": { "condition": {

View file

@ -26,6 +26,7 @@
] ]
} }
}, },
"minzoom": 13,
"calculatedTags": [ "calculatedTags": [
"_vending_count=feat.properties.vending.split(';').length" "_vending_count=feat.properties.vending.split(';').length"
], ],

View file

@ -62,7 +62,10 @@
"override": { "override": {
"isCounted": false, "isCounted": false,
"name": null, "name": null,
"minzoom": 18 "minzoom": 16,
"=filter": {
"sameAs": "vending_machine"
}
} }
}, },
{ {
@ -70,7 +73,10 @@
"override": { "override": {
"isCounted": false, "isCounted": false,
"name": null, "name": null,
"minzoom": 18 "minzoom": 13,
"=filter": {
"sameAs": "vending_machine"
}
} }
}, },
{ {
@ -78,8 +84,11 @@
"override": { "override": {
"isCounted": false, "isCounted": false,
"name": null, "name": null,
"minzoom": 18 "minzoom": 16,
"=filter": {
"sameAs": "vending_machine"
}
} }
} }
] ]
} }

View file

@ -144,13 +144,13 @@
"import": { "import": {
"hasBeenImported": "이 객체는 추가되었습니다", "hasBeenImported": "이 객체는 추가되었습니다",
"howToTest": "테스트하려면 URL에 <b>test=true</b> 또는 <b>backend=osm-test</b>를 추가하세요. 변경사항은 콘솔에 출력됩니다. 실제로 가져오기 버튼을 활성화하려면 이 테마를 공식화하기 위한 PR을 열어주세요.", "howToTest": "테스트하려면 URL에 <b>test=true</b> 또는 <b>backend=osm-test</b>를 추가하세요. 변경사항은 콘솔에 출력됩니다. 실제로 가져오기 버튼을 활성화하려면 이 테마를 공식화하기 위한 PR을 열어주세요.",
"importTags": "이 요소는에 {tag}가 부여됩니다", "importTags": "이 요소는에 {tags}가 부여됩니다",
"officialThemesOnly": "비공식 테마에서는 사고를 방지하기 위해 가져오기 버튼이 비활성화됩니다", "officialThemesOnly": "비공식 테마에서는 사고를 방지하기 위해 가져오기 버튼이 비활성화됩니다",
"wrongType": "이 요소는 경로나 길이 아니기 때문에 추가할 수 없습니다", "wrongType": "이 요소는 경로나 길이 아니기 때문에 추가할 수 없습니다",
"wrongTypeToConflate": "이 요소는 경로나 길이 아니기 때문에, 통합할 수 없습니다", "wrongTypeToConflate": "이 요소는 경로나 길이 아니기 때문에, 통합할 수 없습니다",
"zoomInMore": "이 요소를 추가하기 위해서 확대하세요" "zoomInMore": "이 요소를 추가하기 위해서 확대하세요"
}, },
"importTags": "이 요소는에 {tag}가 부여됩니다", "importTags": "이 요소는에 {tags}가 부여됩니다",
"intro": "데이터가 없는 영역을 클릭했습니다.<br/>", "intro": "데이터가 없는 영역을 클릭했습니다.<br/>",
"layerNotEnabled": "기능을 추가하려면 레이어 {layer}를 먼저 활성화해야 합니다", "layerNotEnabled": "기능을 추가하려면 레이어 {layer}를 먼저 활성화해야 합니다",
"openLayerControl": "레이어 조정 상자 열기", "openLayerControl": "레이어 조정 상자 열기",

View file

@ -2732,7 +2732,7 @@
}, },
"3": { "3": {
"mappings": { "mappings": {
"then": "{{description}} liefert maximal {{commonOutput}} A" "then": "{{description}} liefert maximal {{commonOutput}}"
}, },
"question": "Welche Leistung liefert ein einzelner Stecker des Typs {{description}}?", "question": "Welche Leistung liefert ein einzelner Stecker des Typs {{description}}?",
"render": "{{description}} liefert maximal {canonical({{key}}:output)}" "render": "{{description}} liefert maximal {canonical({{key}}:output)}"

View file

@ -2761,7 +2761,7 @@
}, },
"3": { "3": {
"mappings": { "mappings": {
"then": "{{description}} outputs at most {{commonOutput}} A" "then": "{{description}} outputs at most {{commonOutput}}"
}, },
"question": "What power output does a single plug of type {{description}} offer?", "question": "What power output does a single plug of type {{description}} offer?",
"render": "{{description}} outputs at most {canonical({{key}}:output)}" "render": "{{description}} outputs at most {canonical({{key}}:output)}"

View file

@ -2724,7 +2724,7 @@
}, },
"3": { "3": {
"mappings": { "mappings": {
"then": "{{description}} entrega como máximo {{commonOutput}} A" "then": "{{description}} entrega como máximo {{commonOutput}}"
}, },
"question": "¿Qué potencia de salida ofrece un solo enchufe del tipo {{description}}?", "question": "¿Qué potencia de salida ofrece un solo enchufe del tipo {{description}}?",
"render": "{{description}} entrega como máximo {canonical({{key}}:output)}" "render": "{{description}} entrega como máximo {canonical({{key}}:output)}"

View file

@ -2728,7 +2728,7 @@
}, },
"3": { "3": {
"mappings": { "mappings": {
"then": "{{description}} levert een vermogen van maximaal {{commonOutput}} A" "then": "{{description}} levert een vermogen van maximaal {{commonOutput}}"
}, },
"question": "Welk vermogen levert een enkele stekker van type {{description}}?", "question": "Welk vermogen levert een enkele stekker van type {{description}}?",
"render": "{{description}} levert een vermogen van maximaal {canonical({{key}}:output)}" "render": "{{description}} levert een vermogen van maximaal {canonical({{key}}:output)}"

View file

@ -176,7 +176,7 @@
"0": { "0": {
"mappings": { "mappings": {
"0": { "0": {
"then": "<span class='subtle'>이<a href='#{_embedding_feature:id}'>포함된 요소</a>따르면, 이는</span>접근이 가능합니다<br/>{_embedding_feature:access:description" "then": "<span class='subtle'>이<a href='#{_embedding_feature:id}'>포함된 요소</a>따르면, 이는</span>접근이 가능합니다<br/>{_embedding_feature:access:description}"
}, },
"1": { "1": {
"then": "<span class='subtle'>이 <a href='#{_embedding_feature:id}'>포함된 요소</a>에 따르면,</span>접근을 위한 허가가 필요합니다<br/>{_embedding_feature:access:description}" "then": "<span class='subtle'>이 <a href='#{_embedding_feature:id}'>포함된 요소</a>에 따르면,</span>접근을 위한 허가가 필요합니다<br/>{_embedding_feature:access:description}"