Ignore:
Timestamp:
2020-04-18T18:00:12+02:00 (6 years ago)
Author:
Klumbumbus
Message:

fix #11253 - require to add unit to maxstay tag, rework preset and add validator rules with autofixes for the most common cases (patch by skyper, modified)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r16316 r16340  
    231231    </chunk>
    232232    <chunk id="maxstay">
    233         <combo key="maxstay" text="Time Limit (minutes)" values="0,30,60,90,120,180" />
     233        <combo key="maxstay" text="Time Limit" values="30 minutes,60 minutes,180 minutes,1 hour,1.5 hours,1 day,3 days,2 weeks,4 months,1.5 years,unlimited,no,load-unload" values_no_i18n="true" values_sort="false" />
    234234    </chunk>
    235235    <chunk id="supervised">
     
    24242424            <reference ref="parking_access_fee_operator_surface_smoothness" />
    24252425            <reference ref="supervised_lit_oh" />
     2426            <reference ref="maxstay" />
    24262427            <check key="covered" text="Covered (with roof)" />
    24272428        </item> <!-- Parking -->
Note: See TracChangeset for help on using the changeset viewer.