diff --git a/communication.json b/communication.json index 3382980..2168b38 100644 --- a/communication.json +++ b/communication.json @@ -40,6 +40,7 @@ "{% if tags.vending %}", " {% set key = 'amenity' %}", " {% set value = 'parcel_locker' %}", + " {% set deprecated = ['vending=' ~ tags.vending, 'https://wiki.openstreetmap.org/wiki/Proposed_features/amenity%3Dparcel_locker'] %}", "{% elseif tags.amenity %}", " {% set key = 'amenity' %}", " {% set value = tags.amenity %}", @@ -55,7 +56,10 @@ " {{ tagTransList(key, value) }}", "{% endif %}" ], - "body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ localizedTag(tags, 'operator') }}
{% endif %}", + "body": [ + "{% if deprecated %}
{{ repoTrans('deprecated', deprecated[0], deprecated[1])|raw }}
{% endif %}", + "{% if tags.operator %}{{ keyTrans('operator') }}: {{ localizedTag(tags, 'operator') }}
{% endif %}" + ], "markerSign": [ "{% set data = const[key ~ '=' ~ value] %}", "{% if data %}", diff --git a/lang/en.json b/lang/en.json index c97dad0..1c34a2f 100644 --- a/lang/en.json +++ b/lang/en.json @@ -96,5 +96,6 @@ "category:xmas": "Christmas", "date format not understood": "Invalid Date Format", "outdated feature": "Features outdated", - "xmas:outdated-warning": "Feature has not been updated for the current season! Please check and set the tag 'xmas:lastcheck' to the current date." + "xmas:outdated-warning": "Feature has not been updated for the current season! Please check and set the tag 'xmas:lastcheck' to the current date.", + "deprecated": "Tag %s is deprecated. See here for details." }