Changeset 14392 in josm


Ignore:
Timestamp:
2018-10-31T19:08:03+01:00 (6 years ago)
Author:
Klumbumbus
Message:

fix #16928 - improve payment methods validator message

File:
1 edited

Legend:

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

    r13982 r14392  
    687687}
    688688
    689 /* see #11499 */
     689/* see #11499, #16928 */
    690690*[payment:credit_cards=yes] {
    691   throwWarning: tr("{0} is inaccurate", "{0.tag}");
    692   suggestAlternative: "payment:mastercard=yes";
    693   suggestAlternative: "payment:visa=yes";
    694   suggestAlternative: "...";
     691  throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:mastercard=yes", "payment:visa=yes");
    695692}
    696693*[payment:debit_cards=yes] {
    697   throwWarning: tr("{0} is inaccurate", "{0.tag}");
    698   suggestAlternative: "payment:maestro=yes";
    699   suggestAlternative: "payment:girocard=yes";
    700   suggestAlternative: "...";
     694  throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:maestro=yes", "payment:girocard=yes");
    701695}
    702696*[payment:electronic_purses=yes] {
    703   throwWarning: tr("{0} is inaccurate", "{0.tag}");
    704   suggestAlternative: "payment:ep_geldkarte=yes";
    705   suggestAlternative: "payment:ep_quick=yes";
    706   suggestAlternative: "...";
     697  throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:ep_geldkarte=yes", "payment:ep_quick=yes");
    707698}
    708699*[payment:cryptocurrencies=yes] {
    709   throwWarning: tr("{0} is inaccurate", "{0.tag}");
    710   suggestAlternative: "payment:bitcoin=yes";
    711   suggestAlternative: "payment:litecoin=yes";
    712   suggestAlternative: "...";
     700  throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:bitcoin=yes", "payment:litecoin=yes");
    713701}
    714702
Note: See TracChangeset for help on using the changeset viewer.