Cyclestreets: only add maxspeed=30 in Belgium; change 'language' to 'locale' in changeset tags, load notes in import_viewer up to two years back, language tweaks

This commit is contained in:
Pieter Vander Vennet 2022-01-31 20:52:56 +01:00
parent a11e0fc545
commit d1e99fc2d3
13 changed files with 88 additions and 13 deletions

View file

@ -271,7 +271,7 @@ export class ChangesetHandler {
path = path.substr(1, path.lastIndexOf("/"));
const metadata = [
["created_by", `MapComplete ${Constants.vNumber}`],
["language", Locale.language.data],
["locale", Locale.language.data],
["host", window.location.host],
["path", path],
["source", self.changes.state["currentUserLocation"]?.features?.data?.length > 0 ? "survey" : undefined],