Changeset 8546 in josm for trunk/data/validator


Ignore:
Timestamp:
2015-06-30T23:06:15+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #11499 - add warning for inaccurate payment values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/deprecated.mapcss

    r8544 r8546  
    486486  fixAdd: "sport=billiards";
    487487}
     488
     489/* see #11499 */
     490*[payment:credit_cards=yes] {
     491  throwWarning: tr("{0} is inaccurate", "{0.tag}");
     492  suggestAlternative: "payment:mastercard=yes";
     493  suggestAlternative: "payment:visa=yes";
     494  suggestAlternative: "...";
     495}
     496*[payment:debit_cards=yes] {
     497  throwWarning: tr("{0} is inaccurate", "{0.tag}");
     498  suggestAlternative: "payment:maestro=yes";
     499  suggestAlternative: "payment:girocard=yes";
     500  suggestAlternative: "...";
     501}
     502*[payment:electronic_purses=yes] {
     503  throwWarning: tr("{0} is inaccurate", "{0.tag}");
     504  suggestAlternative: "payment:ep_geldkarte=yes";
     505  suggestAlternative: "payment:ep_quick=yes";
     506  suggestAlternative: "...";
     507}
     508*[payment:cryptocurrencies=yes] {
     509  throwWarning: tr("{0} is inaccurate", "{0.tag}");
     510  suggestAlternative: "payment:bitcoin=yes";
     511  suggestAlternative: "payment:litecoin=yes";
     512  suggestAlternative: "...";
     513}
Note: See TracChangeset for help on using the changeset viewer.