diff --git a/cycleway_types.yaml b/cycleway_types.yaml index 7ff5f3d..4543616 100644 --- a/cycleway_types.yaml +++ b/cycleway_types.yaml @@ -266,7 +266,7 @@ feature:
  • {{ keyTrans('cycleway:left') }}: {% if const.types[leftCycle].warning %} -
    {{ const.types[leftCycle].warning }}
    +
    {{ const.types[leftCycle].warning|replace({'%driving_side%': map.driving_side, '%other_driving_side%': map.driving_side == 'right' ? 'left': 'right', '%current%': 'left'}) }}
    {% elseif not const.types[leftCycle] %}
    Invalid tag cycleway:left={{ attribute(tags, 'cycleway:left') }}.
    {% endif %} @@ -290,7 +290,7 @@ feature:
  • {{ keyTrans('cycleway:right') }}: {% if const.types[rightCycle].warning %} -
    {{ const.types[rightCycle].warning }}
    +
    {{ const.types[rightCycle].warning|replace({'%driving_side%': map.driving_side, '%other_driving_side%': map.driving_side == 'right' ? 'left': 'right', '%current%': 'right'}) }}
    {% elseif not const.types[rightCycle] %}
    Invalid tag cycleway:right={{ attribute(tags, 'cycleway:right') }}.
    Unknown
    @@ -358,13 +358,13 @@ const: color: '#ff7f00' opposite: color: '#ff0000' - warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway=lane, cycleway:oneway=-1 instead.' + warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.' opposite_lane: color: '#ff0000' - warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway=lane, cycleway:oneway=-1 instead.' + warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.' opposite_share_busway: color: '#ff0000' - warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway=share_busway, cycleway:oneway=-1 instead.' + warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=share_busway, cycleway:%other_driving_side%:oneway=-1 instead.' opposite_track: color: '#ff0000' - warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway=track, cycleway:oneway=-1 instead.' + warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=track, cycleway:%other_driving_side%:oneway=-1 instead.'