Changeset 18557 in josm


Ignore:
Timestamp:
2022-09-12T20:19:33+02:00 (2 years ago)
Author:
Klumbumbus
Message:

fix #22367, see #11499 - Don't warn anymore about payment:credit_cards=yes and payment:debit_cards=yes, Reduce warning of payment:electronic_purses=yes and payment:cryptocurrencies=yes to info level

Location:
trunk/resources/data
Files:
3 edited

Legend:

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

    r18552 r18557  
    80068006        </checkgroup>
    80078007        <space />
    8008         <combo key="payment:debit_cards" text="Debit cards" values="no" match="keyvalue" />
     8008        <combo key="payment:debit_cards" text="Debit cards" values="yes,no" match="keyvalue" />
    80098009        <checkgroup columns="4">
    80108010            <check key="payment:bankaxess" text="BankAxess" match="keyvalue" />
     
    80188018        </checkgroup>
    80198019        <space />
    8020         <combo key="payment:credit_cards" text="Credit cards" values="no" match="keyvalue" />
     8020        <combo key="payment:credit_cards" text="Credit cards" values="yes,no" match="keyvalue" />
    80218021        <checkgroup columns="4">
    80228022            <check key="payment:american_express" text="American Express" match="keyvalue" />
     
    80308030        <check key="payment:contactless" text="Contactless payment" match="keyvalue" />
    80318031        <space />
    8032         <combo key="payment:electronic_purses" text="Electronic purses and Charge cards" values="no" match="keyvalue" />
     8032        <combo key="payment:electronic_purses" text="Electronic purses and Charge cards" values="yes,no" match="keyvalue" />
    80338033        <checkgroup columns="4">
    80348034            <check key="payment:ep_avant" text="Avant (fi)" match="keyvalue" />
     
    80408040        </checkgroup>
    80418041        <space />
    8042         <combo key="payment:cryptocurrencies" text="Cryptocurrencies" values="no" match="keyvalue" />
     8042        <combo key="payment:cryptocurrencies" text="Cryptocurrencies" values="yes,no" match="keyvalue" />
    80438043        <checkgroup columns="4">
    80448044            <check key="payment:bitcoin" text="Bitcoin" match="keyvalue" />
  • trunk/resources/data/validator/deprecated.mapcss

    r18552 r18557  
    704704}
    705705
    706 /* #11499, #16928 */
    707 *[payment:credit_cards=yes] {
    708   throwOther: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:mastercard=yes", "payment:visa=yes");
    709 }
    710 *[payment:debit_cards=yes] {
    711   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");
    712 }
     706/* #11499, #16928, #22367 */
    713707*[payment:electronic_purses=yes] {
    714   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");
     708  throwOther: 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");
    715709}
    716710*[payment:cryptocurrencies=yes] {
    717   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");
     711  throwOther: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:bitcoin=yes", "payment:litecoin=yes");
    718712}
    719713
  • trunk/resources/data/validator/ignoretags.cfg

    r18552 r18557  
    513513K:sport=billards
    514514K:sport=billiard
    515 K:payment:credit_cards=yes
    516 K:payment:debit_cards=yes
    517 K:payment:electronic_purses=yes
    518 K:payment:cryptocurrencies=yes
    519515E:payment:ep_quick
    520516E:payment:ep_cash
Note: See TracChangeset for help on using the changeset viewer.