Fix build, update some references

This commit is contained in:
Robin van der Linde 2022-12-02 18:48:56 +01:00
parent 327a01cb7c
commit b8cf2845e1
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
4 changed files with 56 additions and 38 deletions

View file

@ -17,7 +17,7 @@
"de": "Dieses Thema hilft beim Importieren von BAG-Daten" "de": "Dieses Thema hilft beim Importieren von BAG-Daten"
}, },
"credits": "Wouter van der Wal", "credits": "Wouter van der Wal",
"icon": "./assets/themes/bag_import/logo.svg", "icon": "./assets/themes/bag/logo.svg",
"startLat": 53.1726, "startLat": 53.1726,
"startLon": 7.04545, "startLon": 7.04545,
"startZoom": 9, "startZoom": 9,

View file

@ -15,7 +15,7 @@
"es": "Este tema es un intento de automatizar la importación GRB.", "es": "Este tema es un intento de automatizar la importación GRB.",
"da": "Dette tema er et forsøg på at hjælpe med at automatisere GRB-importen." "da": "Dette tema er et forsøg på at hjælpe med at automatisere GRB-importen."
}, },
"icon": "./assets/themes/grb_import/logo.svg", "icon": "./assets/themes/grb/logo.svg",
"startLat": 51.0249, "startLat": 51.0249,
"startLon": 4.026489, "startLon": 4.026489,
"startZoom": 9, "startZoom": 9,
@ -651,11 +651,11 @@
"mappings": [ "mappings": [
{ {
"if": "_intersects_with_other_features~*", "if": "_intersects_with_other_features~*",
"then": "./assets/themes/grb_import/warning.svg" "then": "./assets/themes/grb/warning.svg"
}, },
{ {
"if": "addr:housenumber~*", "if": "addr:housenumber~*",
"then": "./assets/themes/grb_import/housenumber_blank.svg" "then": "./assets/themes/grb/housenumber_blank.svg"
} }
] ]
}, },

View file

@ -1,13 +1,16 @@
{ {
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"title": { "title": {
"en": "Changes made with MapComplete" "en": "Changes made with MapComplete",
"de": "Mit MapComplete vorgenommene Änderungen"
}, },
"shortDescription": { "shortDescription": {
"en": "Shows changes made by MapComplete" "en": "Shows changes made by MapComplete",
"de": "Zeigt Änderungen an, die von MapComplete vorgenommen wurden"
}, },
"description": { "description": {
"en": "This maps shows all the changes made with MapComplete" "en": "This maps shows all the changes made with MapComplete",
"de": "Diese Karte zeigt alle mit MapComplete vorgenommenen Änderungen"
}, },
"icon": "./assets/svg/logo.svg", "icon": "./assets/svg/logo.svg",
"hideFromOverview": true, "hideFromOverview": true,
@ -20,7 +23,10 @@
{ {
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"name": { "name": {
"en": "Changeset centers" "en": "Changeset centers",
"ca": "Centres del conjunt de canvis",
"de": "Zentrum der Änderungssätze",
"pa_PK": "تبدیلیاں دے کیندر"
}, },
"minzoom": 0, "minzoom": 0,
"source": { "source": {
@ -31,41 +37,48 @@
}, },
"title": { "title": {
"render": { "render": {
"en": "Changeset for {theme}" "en": "Changeset for {theme}",
"de": "Änderungssatz für {theme}"
} }
}, },
"description": { "description": {
"en": "Shows all MapComplete changes" "en": "Shows all MapComplete changes",
"de": "Zeigt alle MapComplete-Änderungen"
}, },
"tagRenderings": [ "tagRenderings": [
{ {
"id": "show_changeset_id", "id": "show_changeset_id",
"render": { "render": {
"en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>" "en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>",
"de": "Änderungssatz <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
} }
}, },
{ {
"id": "contributor", "id": "contributor",
"question": { "question": {
"en": "What contributor did make this change?" "en": "What contributor did make this change?",
"de": "Welcher Mitwirkende hat diese Änderung vorgenommen?"
}, },
"freeform": { "freeform": {
"key": "user" "key": "user"
}, },
"render": { "render": {
"en": "Change made by <a href='https://openstreetmap.org/user/{user}' target='_blank'>{user}</a>" "en": "Change made by <a href='https://openstreetmap.org/user/{user}' target='_blank'>{user}</a>",
"de": "Änderung vorgenommen von <a href='https://openstreetmap.org/user/{user}' target='_blank'>{user}</a>"
} }
}, },
{ {
"id": "theme-id", "id": "theme-id",
"question": { "question": {
"en": "What theme was used to make this change?" "en": "What theme was used to make this change?",
"de": "Welches Thema wurde für diese Änderung verwendet?"
}, },
"freeform": { "freeform": {
"key": "theme" "key": "theme"
}, },
"render": { "render": {
"en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>" "en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>",
"de": "Geändert mit Thema <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>"
} }
}, },
{ {
@ -74,19 +87,23 @@
"key": "locale" "key": "locale"
}, },
"question": { "question": {
"en": "What locale (language) was this change made in?" "en": "What locale (language) was this change made in?",
"de": "In welchem Gebietsschema (Sprache) wurde diese Änderung vorgenommen?"
}, },
"render": { "render": {
"en": "User locale is {locale}" "en": "User locale is {locale}",
"de": "Benutzergebietsschema ist {locale}"
} }
}, },
{ {
"id": "host", "id": "host",
"render": { "render": {
"en": "Change with with <a href='{host}'>{host}</a>" "en": "Change with with <a href='{host}'>{host}</a>",
"de": "Geändert über <a href='{host}'>{host}</a>"
}, },
"question": { "question": {
"en": "What host (website) was this change made with?" "en": "What host (website) was this change made with?",
"de": "Über welchen Host (Webseite) wurde diese Änderung vorgenommen?"
}, },
"freeform": { "freeform": {
"key": "host" "key": "host"
@ -118,17 +135,13 @@
"if": "theme=aed", "if": "theme=aed",
"then": "./assets/themes/aed/aed.svg" "then": "./assets/themes/aed/aed.svg"
}, },
{
"if": "theme=aed_brugge",
"then": "./assets/themes/aed/aed.svg"
},
{ {
"if": "theme=artwork", "if": "theme=artwork",
"then": "./assets/themes/artwork/artwork.svg" "then": "./assets/themes/artwork/artwork.svg"
}, },
{ {
"if": "theme=bag", "if": "theme=bag",
"then": "./assets/themes/bag_import/logo.svg" "then": "./assets/themes/bag/logo.svg"
}, },
{ {
"if": "theme=benches", "if": "theme=benches",
@ -228,16 +241,12 @@
}, },
{ {
"if": "theme=grb", "if": "theme=grb",
"then": "./assets/themes/grb_import/logo.svg" "then": "./assets/themes/grb/logo.svg"
}, },
{ {
"if": "theme=grb_fixme", "if": "theme=grb_fixme",
"then": "./assets/svg/bug.svg" "then": "./assets/svg/bug.svg"
}, },
{
"if": "theme=missing_streets",
"then": "./assets/svg/robot.svg"
},
{ {
"if": "theme=hackerspaces", "if": "theme=hackerspaces",
"then": "./assets/themes/hackerspaces/glider.svg" "then": "./assets/themes/hackerspaces/glider.svg"
@ -427,7 +436,9 @@
} }
], ],
"question": { "question": {
"en": "Themename contains {search}" "en": "Themename contains {search}",
"ca": "El nom de la petició conté {search}",
"de": "Themename enthält {search}"
} }
} }
] ]
@ -443,7 +454,8 @@
} }
], ],
"question": { "question": {
"en": "Made by contributor {search}" "en": "Made by contributor {search}",
"de": "Erstellt vom Mitwirkenden {search}"
} }
} }
] ]
@ -459,7 +471,8 @@
} }
], ],
"question": { "question": {
"en": "<b>Not</b> made by contributor {search}" "en": "<b>Not</b> made by contributor {search}",
"de": "<b>Nicht</b> von Mitwirkendem {search}"
} }
} }
] ]
@ -476,7 +489,8 @@
} }
], ],
"question": { "question": {
"en": "Made before {search}" "en": "Made before {search}",
"de": "Erstellt vor {search}"
} }
} }
] ]
@ -493,7 +507,8 @@
} }
], ],
"question": { "question": {
"en": "Made after {search}" "en": "Made after {search}",
"de": "Erstellt nach {search}"
} }
} }
] ]
@ -509,7 +524,8 @@
} }
], ],
"question": { "question": {
"en": "User language (iso-code) {search}" "en": "User language (iso-code) {search}",
"de": "Benutzersprache (ISO-Code) {search}"
} }
} }
] ]
@ -525,7 +541,8 @@
} }
], ],
"question": { "question": {
"en": "Made with host {search}" "en": "Made with host {search}",
"de": "Erstellt mit host {search}"
} }
} }
] ]
@ -540,7 +557,8 @@
{ {
"id": "link_to_more", "id": "link_to_more",
"render": { "render": {
"en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>" "en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>",
"de": "Weitere Statistiken finden Sie unter <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>hier</a>"
} }
}, },
{ {

View file

@ -294,7 +294,7 @@ describe("ReplaceGeometryAction", () => {
mapRendering: [ mapRendering: [
{ {
iconSize: "50,50,center", iconSize: "50,50,center",
icon: "./assets/themes/grb_import/housenumber_blank.svg", icon: "./assets/themes/grb/housenumber_blank.svg",
location: ["point", "centroid"], location: ["point", "centroid"],
}, },
], ],