Compare commits

..

10 commits

Author SHA1 Message Date
6e3136a478
Fix: deduplicate .gitignore and reorder 2024-12-18 02:14:51 +01:00
98c7ceed9a
Fix: remove checked-in file that is covered by .gitignore 2024-12-18 02:14:51 +01:00
702aa2b9c3
Fix: order of commands in npm run init
ELI should be downloaded before generate, because it depends on that
file. After clearing the generated assets directory, npm run init failed,
this commit fixes that.
2024-12-18 02:14:51 +01:00
Weblate
344aa4b3eb Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: MapComplete/layers
Translate-URL: https://translate.mapcomplete.org/projects/mapcomplete/layers/
2024-12-18 01:23:21 +01:00
2c9a593ab5 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 8.1% (334 of 4077 strings)

Translation: MapComplete/layers
Translate-URL: https://translate.mapcomplete.org/projects/mapcomplete/layers/zh_Hant/
2024-12-18 01:23:21 +01:00
550d95fcb7 Translated using Weblate (Polish)
Currently translated at 24.9% (1017 of 4077 strings)

Translation: MapComplete/layers
Translate-URL: https://translate.mapcomplete.org/projects/mapcomplete/layers/pl/
2024-12-18 01:23:21 +01:00
172d5c900b Translated using Weblate (Dutch)
Currently translated at 80.6% (3290 of 4077 strings)

Translation: MapComplete/layers
Translate-URL: https://translate.mapcomplete.org/projects/mapcomplete/layers/nl/
2024-12-18 01:23:21 +01:00
77d837d17b Translated using Weblate (Italian)
Currently translated at 25.1% (1025 of 4077 strings)

Translation: MapComplete/layers
Translate-URL: https://translate.mapcomplete.org/projects/mapcomplete/layers/it/
2024-12-18 01:23:21 +01:00
dd1d6d2898 Translated using Weblate (Indonesian)
Currently translated at 6.5% (267 of 4077 strings)

Translation: MapComplete/layers
Translate-URL: https://translate.mapcomplete.org/projects/mapcomplete/layers/id/
2024-12-18 01:23:20 +01:00
232153048d Translated using Weblate (Hungarian)
Currently translated at 10.0% (409 of 4077 strings)

Translation: MapComplete/layers
Translate-URL: https://translate.mapcomplete.org/projects/mapcomplete/layers/hu/
2024-12-18 01:23:20 +01:00
9 changed files with 11 additions and 182 deletions

6
.gitignore vendored
View file

@ -4,9 +4,10 @@ node_modules
.cache/* .cache/*
.idea/* .idea/*
scratch scratch
src/assets/editor-layer-index.json
src/assets/generated/
assets/editor-layer-index.json assets/editor-layer-index.json
assets/generated/* assets/generated/*
src/assets/generated/
assets/layers/favourite/favourite.json assets/layers/favourite/favourite.json
public/*.webmanifest public/*.webmanifest
/*.html /*.html
@ -20,8 +21,6 @@ missing_translations.txt
.DS_Store .DS_Store
Svg.ts Svg.ts
data/ data/
src/assets/generated/nsi_stats/brand.json
src/assets/generated/nsi_stats/brand.summarized.json
Folder.DotSettings.user Folder.DotSettings.user
index_*.ts index_*.ts
@ -29,7 +28,6 @@ index_*.ts
*.doctest.ts *.doctest.ts
service-worker.js service-worker.js
.env .env
src/assets/editor-layer-index.json
error_changeset_* error_changeset_*

View file

@ -1457,4 +1457,4 @@
"render": "szélerőmű" "render": "szélerőmű"
} }
} }
} }

View file

@ -1015,4 +1015,4 @@
"render": "turbin angin" "render": "turbin angin"
} }
} }
} }

View file

@ -3348,4 +3348,4 @@
"render": "pala eolica" "render": "pala eolica"
} }
} }
} }

View file

@ -2036,9 +2036,6 @@
}, },
"title": { "title": {
"mappings": { "mappings": {
"0": {
"then": "{name}"
},
"1": { "1": {
"then": "Vogelkijkhut {name}" "then": "Vogelkijkhut {name}"
}, },
@ -4068,7 +4065,7 @@
"render": "<i>Meer informatie over de locatie (in het Frans):</i><br/>{defibrillator:location:fr}" "render": "<i>Meer informatie over de locatie (in het Frans):</i><br/>{defibrillator:location:fr}"
}, },
"defibrillator-description": { "defibrillator-description": {
"question": "Is er nog iets bijzonder aan deze defibrillator dat je nog niet hebt kunnen meegeven? (laat leeg indien niet)", "question": "Is er nog iets bijzonders aan deze defibrillator dat je nog niet hebt kunnen meegeven? (laat leeg indien niet)",
"render": "Aanvullende info: {description}" "render": "Aanvullende info: {description}"
}, },
"defibrillator-email": { "defibrillator-email": {
@ -6343,11 +6340,6 @@
} }
}, },
"title": { "title": {
"mappings": {
"0": {
"then": "{name}"
}
},
"render": "Natuurgebied" "render": "Natuurgebied"
} }
}, },
@ -6879,21 +6871,6 @@
"render": "Picknicktafel" "render": "Picknicktafel"
} }
}, },
"play_forest": {
"description": "Een speelbos is een vrij toegankelijke zone in een bos",
"name": "Speelbossen",
"title": {
"mappings": {
"0": {
"then": "{name}"
},
"1": {
"then": "Speelbos {name}"
}
},
"render": "Speelbos"
}
},
"playground": { "playground": {
"deletion": { "deletion": {
"nonDeleteMappings": { "nonDeleteMappings": {
@ -8451,9 +8428,6 @@
}, },
"title": { "title": {
"mappings": { "mappings": {
"0": {
"then": "{name}"
},
"1": { "1": {
"then": "Voetpad" "then": "Voetpad"
}, },
@ -10606,25 +10580,13 @@
} }
}, },
"village_green": { "village_green": {
"description": "Een laag die dorpsgroen toont (gemeenschapsgroen, maar niet echt een park)", "description": "Een laag die dorpsgroen toont (gemeenschapsgroen, maar niet echt een park)"
"name": "Speelweide",
"title": {
"mappings": {
"0": {
"then": "{name}"
}
},
"render": "Speelweide"
}
}, },
"visitor_information_centre": { "visitor_information_centre": {
"description": "Een bezoekerscentrum biedt informatie over een specifieke attractie of bezienswaardigheid waar het is gevestigd.", "description": "Een bezoekerscentrum biedt informatie over een specifieke attractie of bezienswaardigheid waar het is gevestigd.",
"name": "Bezoekerscentrum", "name": "Bezoekerscentrum",
"title": { "title": {
"mappings": { "mappings": {
"0": {
"then": "{name:nl}"
},
"1": { "1": {
"then": "{name}" "then": "{name}"
} }
@ -10854,4 +10816,4 @@
"render": "windturbine" "render": "windturbine"
} }
} }
} }

View file

@ -3700,4 +3700,4 @@
"render": "turbina wiatrowa" "render": "turbina wiatrowa"
} }
} }
} }

View file

@ -1158,4 +1158,4 @@
"render": "風機" "render": "風機"
} }
} }
} }

View file

@ -77,7 +77,7 @@
} }
}, },
"scripts": { "scripts": {
"init": "npm ci && npm run prep:layeroverview && npm run generate && npm run download:editor-layer-index && npm run generate:layouts && npm run clean", "init": "npm ci && npm run prep:layeroverview && npm run download:editor-layer-index && npm run generate && npm run generate:layouts && npm run clean",
"start": "npm run generate:layeroverview && npm run strt", "start": "npm run generate:layeroverview && npm run strt",
"strt": "vite --host | sed 's/localhost:/127.0.0.1:/g'", "strt": "vite --host | sed 's/localhost:/127.0.0.1:/g'",
"build": "./scripts/build.sh", "build": "./scripts/build.sh",

View file

@ -1,131 +0,0 @@
[
{
"name": "CyclOSM",
"id": "cyclosm",
"url": "https://{switch:a,b,c}.tile-cyclosm.openstreetmap.fr/cyclosm/{zoom}/{x}/{y}.png",
"attribution": {
"text": "Rendering: CyclOSM (hosted by OpenStreetMap France) © Map data OpenStreetMap contributors",
"url": "https://www.cyclosm.org/"
},
"type": "tms",
"category": "osmbasedmap",
"max_zoom": 20
},
{
"name": "Esri World Imagery",
"id": "EsriWorldImagery",
"url": "https://{switch:services,server}.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}",
"attribution": {
"required": true,
"text": "Terms & Feedback",
"url": "https://wiki.openstreetmap.org/wiki/Esri"
},
"type": "tms",
"category": "photo",
"max_zoom": 22,
"default": true
},
{
"name": "Esri World Imagery (Clarity) Beta",
"id": "EsriWorldImageryClarity",
"url": "https://clarity.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}",
"attribution": {
"required": true,
"text": "Terms & Feedback",
"url": "https://wiki.openstreetmap.org/wiki/Esri"
},
"type": "tms",
"category": "photo",
"max_zoom": 22,
"default": true
},
{
"name": "Mapbox Satellite",
"id": "Mapbox",
"url": "https://{switch:a,b,c,d}.tiles.mapbox.com/v4/mapbox.satellite/{zoom}/{x}/{y}.jpg?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJjbGZkempiNDkyandvM3lwY3M4MndpdWdzIn0.QnvRv52n3qffVEKmQa9vJA",
"attribution": {
"required": true,
"text": "Terms & Feedback",
"url": "https://www.mapbox.com/about/maps"
},
"type": "tms",
"category": "photo",
"max_zoom": 22,
"default": true
},
{
"name": "OpenAerialMap Mosaic, by Kontur.io",
"id": "OpenAerialMapMosaic",
"url": "https://apps.kontur.io/raster-tiler/oam/mosaic/{zoom}/{x}/{y}.png",
"type": "tms",
"category": "photo",
"min_zoom": 1,
"max_zoom": 31,
"default": true
},
{
"name": "OpenStreetMap (Basque Style)",
"id": "osmfr-basque",
"url": "https://tile.openstreetmap.bzh/eu/{zoom}/{x}/{y}.png",
"attribution": {
"required": true,
"text": "Tiles © OpenStreetMap France, data © OpenStreetMap contributors, ODbL",
"url": "https://www.openstreetmap.org/"
},
"type": "tms",
"category": "osmbasedmap",
"max_zoom": 20
},
{
"name": "OpenStreetMap (Breton Style)",
"id": "osmfr-breton",
"url": "https://tile.openstreetmap.bzh/br/{zoom}/{x}/{y}.png",
"attribution": {
"required": true,
"text": "Tiles © OpenStreetMap France, data © OpenStreetMap contributors, ODbL",
"url": "https://www.openstreetmap.org/"
},
"type": "tms",
"category": "osmbasedmap",
"max_zoom": 20
},
{
"name": "OpenStreetMap (French Style)",
"id": "osmfr",
"url": "https://{switch:a,b,c}.tile.openstreetmap.fr/osmfr/{zoom}/{x}/{y}.png",
"attribution": {
"required": true,
"text": "Tiles © cquest@Openstreetmap France, data © OpenStreetMap contributors, ODBL",
"url": "https://www.openstreetmap.org/"
},
"type": "tms",
"category": "osmbasedmap",
"max_zoom": 20
},
{
"name": "OpenStreetMap (HOT Style)",
"id": "HDM_HOT",
"url": "https://{switch:a,b,c}.tile.openstreetmap.fr/hot/{zoom}/{x}/{y}.png",
"attribution": {
"required": true,
"text": "© OpenStreetMap contributors, tiles courtesy of Humanitarian OpenStreetMap Team",
"url": "https://www.hotosm.org/"
},
"type": "tms",
"category": "osmbasedmap",
"max_zoom": 20
},
{
"name": "OpenStreetMap (Occitan Style)",
"id": "osmfr-occitan",
"url": "https://tile.openstreetmap.bzh/oc/{zoom}/{x}/{y}.png",
"attribution": {
"required": true,
"text": "Tiles © OpenStreetMap France, data © OpenStreetMap contributors, ODbL",
"url": "https://www.openstreetmap.org/"
},
"type": "tms",
"category": "osmbasedmap",
"max_zoom": 20
}
]