Refactoring: fix delete indication, fix splitroad, fix addition of multiple new points snapped onto the same way (all will properly attach now)

This commit is contained in:
Pieter Vander Vennet 2023-04-20 17:42:07 +02:00
parent 1f9aacfb29
commit 4172af6a72
118 changed files with 1422 additions and 1357 deletions

View file

@ -531,7 +531,7 @@
"hu": "Kutya bevihető és szabadon szaladgálhat",
"it": "I cani sono ammessi e possono andare in giro liberamente",
"nb_NO": "Hunder tillates og kan gå fritt",
"ca": "S'accepten gossos lliures",
"ca": "S'accepten gossos i poden estar solts",
"sv": "Hundar tillåts och får springa fritt omkring",
"zh_Hant": "允許犬隻而且可以自由跑動",
"ru": "Собак свободно впускают",
@ -1406,6 +1406,40 @@
"*": "{all_tags()}"
}
},
"just_created": {
"description": "This element shows a 'thank you' that the contributor has recently created this element",
"classes": "rounded-xl thanks",
"mappings": [
{
"if": "id~*",
"icon": "./assets/svg/party.svg",
"then": {
"ca": "Acabeu de crear aquest element! Gràcies per compartir aquesta informació amb el mon i ajudar a persones al voltant del món.",
"de": "Sie haben gerade dieses Element erstellt! Vielen Dank, dass Sie diese Informationen mit der Welt teilen und Menschen weltweit helfen.",
"en": "You just created this element! Thanks for sharing this info with the world and helping people worldwide.",
"fr": "Vous venez de créer cet élément ! Merci d'avoir partagé cette information avec le monde et d'aider les autres personnes.",
"nl": "Je hebt dit punt net toegevoegd! Bedankt om deze info met iedereen te delen en om de mensen wereldwijd te helpen."
}
}
],
"condition": {
"and": [
"_backend~*",
"_last_edit:passed_time<300"
]
},
"metacondition": {
"and": [
{
"#": "if _last_edit:contributor:uid is unset, then the point hasn't been uploaded yet",
"or": [
"_last_edit:contributor:uid:={_uid}",
"_last_edit:contributor:uid="
]
}
]
}
},
"multilevels": {
"builtin": "level",
"override": {
@ -2049,7 +2083,7 @@
"ca": "Aquest objecte està il·luminat externament, p.e. amb un focus o altres llums",
"cs": "Tento objekt je osvětlen zvenčí, např. pomocí reflektoru nebo jiných světel",
"de": "Das Objekt wird von außen beleuchtet, z. B. durch Scheinwerfer oder andere Lichter",
"es": "Este objeto recibe iluminación, por ejemplo por un foco u otras luces",
"es": "Este objeto está iluminado desde el exterior, por ejemplo, por un foco u otras luces",
"fr": "Cet objet est éclairé par l'extérieur, par ex. par un projecteur ou d'autres lumières",
"pl": "Ten obiekt jest oświetlony zewnętrznie, np. przez reflektor lub inne światła"
},
@ -2069,11 +2103,11 @@
"ca": "Aquest objecte no emet llum i no està il·luminat externament",
"cs": "Tento objekt nevyzařuje světlo a není osvětlen zvenčí",
"de": "Das Objekt wird weder von außen beleuchtet, noch leuchtet es selbst",
"es": "Este objeto ni emite luz ni es iluminado",
"es": "Este objeto no emite luz y no está iluminado por fuentes externas",
"fr": "Cet objet n'émet pas de lumière et n'est pas éclairé par l'extérieur",
"pl": "Obiekt ten nie emituje światła i nie jest oświetlany z zewnątrz"
}
}
]
}
}
}