forked from MapComplete/MapComplete
		
	Merge branch 'master' into develop
This commit is contained in:
		
						commit
						5a861404e5
					
				
					 4 changed files with 83 additions and 55 deletions
				
			
		| 
						 | 
					@ -188,7 +188,9 @@
 | 
				
			||||||
            "includeMetaData": "Metadaten übernehmen (letzter Bearbeiter, berechnete Werte, ...)",
 | 
					            "includeMetaData": "Metadaten übernehmen (letzter Bearbeiter, berechnete Werte, ...)",
 | 
				
			||||||
            "licenseInfo": "<h3>Copyright-Hinweis</h3>Die bereitgestellten Daten sind unter ODbL verfügbar. Die Wiederverwendung ist für jeden Zweck frei, aber <ul><li>die Namensnennung <b>© OpenStreetMap contributors</b> ist darzustellen</li><li>Jede Änderung muss unter der gleichen Lizenz veröffentlicht werden</li></ul> Bitte lesen Sie den vollständigen <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">Copyright-Hinweis</a> für weitere Details.",
 | 
					            "licenseInfo": "<h3>Copyright-Hinweis</h3>Die bereitgestellten Daten sind unter ODbL verfügbar. Die Wiederverwendung ist für jeden Zweck frei, aber <ul><li>die Namensnennung <b>© OpenStreetMap contributors</b> ist darzustellen</li><li>Jede Änderung muss unter der gleichen Lizenz veröffentlicht werden</li></ul> Bitte lesen Sie den vollständigen <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">Copyright-Hinweis</a> für weitere Details.",
 | 
				
			||||||
            "noDataLoaded": "Noch keine Daten geladen. Download in Kürze verfügbar",
 | 
					            "noDataLoaded": "Noch keine Daten geladen. Download in Kürze verfügbar",
 | 
				
			||||||
            "pdf": {},
 | 
					            "pdf": {
 | 
				
			||||||
 | 
					                "current_view_generic": "Exportiere eine PDF-Ansicht im aktuellen Modus für {paper_size} im {orientation} Modus"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
            "title": "Download",
 | 
					            "title": "Download",
 | 
				
			||||||
            "uploadGpx": "Einen Track auf OpenStreetMap hochladen"
 | 
					            "uploadGpx": "Einen Track auf OpenStreetMap hochladen"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
| 
						 | 
					@ -402,6 +404,7 @@
 | 
				
			||||||
        "key": "Tastenkombination",
 | 
					        "key": "Tastenkombination",
 | 
				
			||||||
        "openLayersPanel": "Öffnet das Menü für Ebenen und Filter",
 | 
					        "openLayersPanel": "Öffnet das Menü für Ebenen und Filter",
 | 
				
			||||||
        "selectAerial": "Hintergrund als Luftbild oder Satellitenbild einstellen. Wechselt zwischen den zwei besten verfügbaren Ebenen",
 | 
					        "selectAerial": "Hintergrund als Luftbild oder Satellitenbild einstellen. Wechselt zwischen den zwei besten verfügbaren Ebenen",
 | 
				
			||||||
 | 
					        "selectItem": "Wähle das POI, das dem Kartenmittelpunkt (Fadenkreuz) am nächsten liegt. Nur wenn die Tastaturnavigation verwendet wird",
 | 
				
			||||||
        "selectMap": "Karte aus externer Quelle als Hintergrund wählen. Wechselt zwischen den zwei besten verfügbaren Ebenen",
 | 
					        "selectMap": "Karte aus externer Quelle als Hintergrund wählen. Wechselt zwischen den zwei besten verfügbaren Ebenen",
 | 
				
			||||||
        "selectMapnik": "OpenStreetMap-carto als Hintergrundebene wählen",
 | 
					        "selectMapnik": "OpenStreetMap-carto als Hintergrundebene wählen",
 | 
				
			||||||
        "selectOsmbasedmap": "OpenStreetMap-basierte Karte als Hintergrund auswählen (oder Hintergrundebene deaktivieren)",
 | 
					        "selectOsmbasedmap": "OpenStreetMap-basierte Karte als Hintergrund auswählen (oder Hintergrundebene deaktivieren)",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										112
									
								
								langs/fi.json
									
										
									
									
									
								
							
							
						
						
									
										112
									
								
								langs/fi.json
									
										
									
									
									
								
							| 
						 | 
					@ -1,36 +1,73 @@
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					    "advanced": {
 | 
				
			||||||
 | 
					        "title": "Lisäominaisuudet"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    "centerMessage": {
 | 
					    "centerMessage": {
 | 
				
			||||||
        "ready": "Valmis!"
 | 
					        "allFilteredAway": "Mikään kohde näkyvällä alueella ei täytä kaikkien suodatinten ehtoja",
 | 
				
			||||||
 | 
					        "loadingData": "Ladataan dataa…",
 | 
				
			||||||
 | 
					        "noData": "Ei relevantteja kohteita näkyvällä alueella",
 | 
				
			||||||
 | 
					        "ready": "Valmis!",
 | 
				
			||||||
 | 
					        "retrying": "Datan lataaminen epäonnistui. Yritetään uudelleen {count} sekunnin kuluttua…",
 | 
				
			||||||
 | 
					        "zoomIn": "Lähennä ensin karttaa, jotta data näytetään ja on muokattavissa"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "communityIndex": {
 | 
				
			||||||
 | 
					        "available": "Tämä yhteisö puhuu kieltä {native}",
 | 
				
			||||||
 | 
					        "intro": "Ole yhteydessä muihin, jotta voit tutustua heihin, oppia heiltä, …",
 | 
				
			||||||
 | 
					        "notAvailable": "Tämä yhteisö ei puhu kieltä {native}",
 | 
				
			||||||
 | 
					        "title": "Ole yhteydessä muihin"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "delete": {
 | 
					    "delete": {
 | 
				
			||||||
        "explanations": {},
 | 
					        "cancel": "Peru",
 | 
				
			||||||
        "reasons": {}
 | 
					        "cannotBeDeleted": "Tätä kohdetta ei voi poistaa",
 | 
				
			||||||
    },
 | 
					        "delete": "Poista",
 | 
				
			||||||
    "favourite": {},
 | 
					        "explanations": {
 | 
				
			||||||
    "general": {
 | 
					            "hardDelete": "Tämä kohde poistetaan OpenStreetMapistä. Kokenut kartoittaja voi palauttaa sen."
 | 
				
			||||||
        "add": {
 | 
					 | 
				
			||||||
            "import": {}
 | 
					 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "apply_button": {},
 | 
					        "isDeleted": "Tämä kohde on poistettu",
 | 
				
			||||||
 | 
					        "loginToDelete": "Kohteen poistamiseksi täytyy kirjautua",
 | 
				
			||||||
 | 
					        "notEnoughExperience": "Tämän kohteen loi joku muu.",
 | 
				
			||||||
 | 
					        "onlyEditedByLoggedInUser": "Tätä kohdetta ei ole muokannut kukaan muu kuin sinä, joten sen voi huoletta poistaa."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "flyer": {
 | 
				
			||||||
 | 
					        "callToAction": "Kokeile sitä osoitteessa mapcomplete.org",
 | 
				
			||||||
 | 
					        "tagline": "Kerää paikkatietoa OpenStreetMapillä"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "general": {
 | 
				
			||||||
        "attribution": {
 | 
					        "attribution": {
 | 
				
			||||||
            "iconAttribution": {}
 | 
					            "followOnMastodon": "Seuraa MapCompletea Mastodonissa"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "backgroundMap": "Taustakartta",
 | 
					        "backgroundMap": "Taustakartta",
 | 
				
			||||||
        "cancel": "Peruuta",
 | 
					        "cancel": "Peruuta",
 | 
				
			||||||
        "download": {},
 | 
					        "download": {
 | 
				
			||||||
        "histogram": {},
 | 
					            "title": "Lataa"
 | 
				
			||||||
        "layerSelection": {},
 | 
					        },
 | 
				
			||||||
        "levelSelection": {},
 | 
					        "error": "Jotain meni vikaan",
 | 
				
			||||||
 | 
					        "example": "Esimerkki",
 | 
				
			||||||
 | 
					        "examples": "Esimerkit",
 | 
				
			||||||
        "loginWithOpenStreetMap": "Kirjaudu sisään OpenStreetMapilla",
 | 
					        "loginWithOpenStreetMap": "Kirjaudu sisään OpenStreetMapilla",
 | 
				
			||||||
        "morescreen": {},
 | 
					        "logout": "Kirjaudu ulos",
 | 
				
			||||||
 | 
					        "menu": {
 | 
				
			||||||
 | 
					            "aboutMapComplete": "Tietoa MapCompletesta"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "morescreen": {
 | 
				
			||||||
 | 
					            "searchForATheme": "Etsi teemaa"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        "number": "numero",
 | 
					        "number": "numero",
 | 
				
			||||||
 | 
					        "openTheMap": "Avaa kartta",
 | 
				
			||||||
 | 
					        "openTheMapAtGeolocation": "Zoomaa sijaintiisi",
 | 
				
			||||||
        "opening_hours": {
 | 
					        "opening_hours": {
 | 
				
			||||||
 | 
					            "loadingCountry": "Määritetään maata…",
 | 
				
			||||||
            "ph_closed": "suljettu",
 | 
					            "ph_closed": "suljettu",
 | 
				
			||||||
            "ph_not_known": " ",
 | 
					            "ph_not_known": " ",
 | 
				
			||||||
            "ph_open": "avattu"
 | 
					            "ph_open": "avattu"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "pdf": {},
 | 
					 | 
				
			||||||
        "pickLanguage": "Valitse kieli: ",
 | 
					        "pickLanguage": "Valitse kieli: ",
 | 
				
			||||||
 | 
					        "questionBox": {
 | 
				
			||||||
 | 
					            "answeredMultiple": "Vastasit {answered} kysymykseen",
 | 
				
			||||||
 | 
					            "answeredOne": "Vastasit yhteen kysymykseen",
 | 
				
			||||||
 | 
					            "skippedMultiple": "Ohitit {skipped} kysymystä",
 | 
				
			||||||
 | 
					            "skippedOne": "Ohitit yhden kysymyksen"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        "questions": {
 | 
					        "questions": {
 | 
				
			||||||
            "websiteIs": "Verkkosivusto: <a href=\"{website}\" target=\"_blank\">{website}</a>"
 | 
					            "websiteIs": "Verkkosivusto: <a href=\"{website}\" target=\"_blank\">{website}</a>"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
| 
						 | 
					@ -42,6 +79,7 @@
 | 
				
			||||||
            "thanksForSharing": "Kiitos jakamisesta!"
 | 
					            "thanksForSharing": "Kiitos jakamisesta!"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "skip": "Ohita tämä kysymys",
 | 
					        "skip": "Ohita tämä kysymys",
 | 
				
			||||||
 | 
					        "waitingForLocation": "Etsitään nykyistä sijaintiasi…",
 | 
				
			||||||
        "weekdays": {
 | 
					        "weekdays": {
 | 
				
			||||||
            "abbreviations": {
 | 
					            "abbreviations": {
 | 
				
			||||||
                "friday": "Pe",
 | 
					                "friday": "Pe",
 | 
				
			||||||
| 
						 | 
					@ -60,9 +98,8 @@
 | 
				
			||||||
            "tuesday": "Tiistai",
 | 
					            "tuesday": "Tiistai",
 | 
				
			||||||
            "wednesday": "Keskiviikko"
 | 
					            "wednesday": "Keskiviikko"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "welcomeExplanation": {},
 | 
					 | 
				
			||||||
        "wikipedia": {
 | 
					        "wikipedia": {
 | 
				
			||||||
            "previewbox": {}
 | 
					            "addEntry": "Lisää toinen Wikipedia-sivu"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "image": {
 | 
					    "image": {
 | 
				
			||||||
| 
						 | 
					@ -71,40 +108,27 @@
 | 
				
			||||||
        "dontDelete": "Peruuta",
 | 
					        "dontDelete": "Peruuta",
 | 
				
			||||||
        "isDeleted": "Poistettu"
 | 
					        "isDeleted": "Poistettu"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "importInspector": {},
 | 
					 | 
				
			||||||
    "importLayer": {},
 | 
					 | 
				
			||||||
    "index": {
 | 
					    "index": {
 | 
				
			||||||
        "title": "Tervetuloa MapCompleteen"
 | 
					        "title": "Tervetuloa MapCompleteen"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "move": {
 | 
					    "plantDetection": {
 | 
				
			||||||
        "inviteToMove": {},
 | 
					        "tryAgain": "Valitse eri laji"
 | 
				
			||||||
        "reasons": {}
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "multi_apply": {},
 | 
					 | 
				
			||||||
    "notes": {},
 | 
					 | 
				
			||||||
    "privacy": {},
 | 
					 | 
				
			||||||
    "reviews": {
 | 
					    "reviews": {
 | 
				
			||||||
        "title": "{count} arvostelua",
 | 
					        "title": "{count} arvostelua",
 | 
				
			||||||
        "title_singular": "Yksi arvostelu"
 | 
					        "title_singular": "Yksi arvostelu"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "split": {},
 | 
					    "split": {
 | 
				
			||||||
    "translations": {},
 | 
					        "splitAgain": "Katkaise tämä tie uudelleen"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "userinfo": {
 | 
				
			||||||
 | 
					        "editDescription": "Muokkaa profiilin kuvausta",
 | 
				
			||||||
 | 
					        "noDescriptionCallToAction": "Lisää profiilin kuvaus",
 | 
				
			||||||
 | 
					        "notLoggedIn": "Olet kirjautunut ulos"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    "validation": {
 | 
					    "validation": {
 | 
				
			||||||
        "color": {},
 | 
					        "distance": {
 | 
				
			||||||
        "date": {},
 | 
					            "description": "Etäisyys metreinä"
 | 
				
			||||||
        "direction": {},
 | 
					        }
 | 
				
			||||||
        "distance": {},
 | 
					 | 
				
			||||||
        "email": {},
 | 
					 | 
				
			||||||
        "float": {},
 | 
					 | 
				
			||||||
        "int": {},
 | 
					 | 
				
			||||||
        "nat": {},
 | 
					 | 
				
			||||||
        "opening_hours": {},
 | 
					 | 
				
			||||||
        "pfloat": {},
 | 
					 | 
				
			||||||
        "phone": {},
 | 
					 | 
				
			||||||
        "pnat": {},
 | 
					 | 
				
			||||||
        "string": {},
 | 
					 | 
				
			||||||
        "text": {},
 | 
					 | 
				
			||||||
        "url": {},
 | 
					 | 
				
			||||||
        "wikidata": {}
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -168,8 +168,18 @@ export class UpdateLegacyLayer extends DesugaringStep<
 | 
				
			||||||
            const pr = rendering
 | 
					            const pr = rendering
 | 
				
			||||||
            if (pr["icon"]) {
 | 
					            if (pr["icon"]) {
 | 
				
			||||||
                try {
 | 
					                try {
 | 
				
			||||||
                    const icon = Utils.NoEmpty(pr["icon"].split(";"))
 | 
					                    let iconConfig = pr["icon"]
 | 
				
			||||||
 | 
					                    if (
 | 
				
			||||||
 | 
					                        Object.keys(iconConfig).length === 1 &&
 | 
				
			||||||
 | 
					                        iconConfig["render"] !== undefined
 | 
				
			||||||
 | 
					                    ) {
 | 
				
			||||||
 | 
					                        iconConfig = iconConfig.render
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                    const icon = Utils.NoEmpty(iconConfig.split(";"))
 | 
				
			||||||
                    pr.marker = icon.map((i) => {
 | 
					                    pr.marker = icon.map((i) => {
 | 
				
			||||||
 | 
					                        if (i.startsWith("http")) {
 | 
				
			||||||
 | 
					                            return { icon: i }
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
                        const [iconPath, color] = i.split(":")
 | 
					                        const [iconPath, color] = i.split(":")
 | 
				
			||||||
                        return { icon: iconPath, color }
 | 
					                        return { icon: iconPath, color }
 | 
				
			||||||
                    })
 | 
					                    })
 | 
				
			||||||
| 
						 | 
					@ -243,10 +253,6 @@ class UpdateLegacyTheme extends DesugaringStep<LayoutConfigJson> {
 | 
				
			||||||
            delete oldThemeConfig.socialImage
 | 
					            delete oldThemeConfig.socialImage
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (oldThemeConfig.defaultBackgroundId === "osm") {
 | 
					 | 
				
			||||||
            console.log("Removing old background in", json.id)
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        if (typeof oldThemeConfig.credits === "string") {
 | 
					        if (typeof oldThemeConfig.credits === "string") {
 | 
				
			||||||
            oldThemeConfig.credits = [oldThemeConfig.credits]
 | 
					            oldThemeConfig.credits = [oldThemeConfig.credits]
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,11 +27,6 @@ export default class WithContextLoader {
 | 
				
			||||||
                `${translationContext ?? this._context}.${key}.default value`
 | 
					                `${translationContext ?? this._context}.${key}.default value`
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (Object.keys(v).length === 1 && typeof v["render"] === "string") {
 | 
					 | 
				
			||||||
            throw `At ${
 | 
					 | 
				
			||||||
                translationContext ?? "<unknown>"
 | 
					 | 
				
			||||||
            }: use the content directly instead of {${key}: ${JSON.stringify(v)}}`
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return new TagRenderingConfig(
 | 
					        return new TagRenderingConfig(
 | 
				
			||||||
            <QuestionableTagRenderingConfigJson>v,
 | 
					            <QuestionableTagRenderingConfigJson>v,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue