Changes between Version 17 and Version 18 of Rules/Portuguese-Errors-PT2


Ignore:
Timestamp:
2015-11-28T17:48:50+01:00 (11 years ago)
Author:
Don-vip
Comment:

fix rules

Legend:

Unmodified
Added
Removed
Modified
  • Rules/Portuguese-Errors-PT2

    v17 v18  
    8787                throwWarning: tr("PT2-Correto é The Phone House");
    8888}
    89 *[name =~ /Banco Português de Investimento/] [!short_name]{
     89*[name =~ /Banco Português de Investimento/][!short_name]{
    9090                throwWarning: tr("PT2-Falta a etiqueta short_name=BPI");
    9191        fixAdd: "short_name=BPI";
    9292}
    93 *[name =~ /Caixa Geral de Depósitos/] [!short_name]{
     93*[name =~ /Caixa Geral de Depósitos/][!short_name]{
    9494                throwWarning: tr("PT2-Falta a etiqueta short_name=CGD");
    9595        fixAdd: "short_name=CGD";
    9696}
    97 *[name =~ /Banco Espírito Santo/] [!short_name]{
     97*[name =~ /Banco Espírito Santo/][!short_name]{
    9898                throwWarning: tr("PT2-Falta a etiqueta short_name=BES");
    9999        fixAdd: "short_name=BES";
    100100}
    101 *[name =~ /Banco Comercial Português/] [!short_name]{
     101*[name =~ /Banco Comercial Português/][!short_name]{
    102102                throwWarning: tr("PT2-Falta a etiqueta short_name=BCP");
    103103        fixAdd: "short_name=BCP";
    104104}
    105 *[name =~ /Guarda Nacional Republicana/] [!short_name]{
     105*[name =~ /Guarda Nacional Republicana/][!short_name]{
    106106                throwWarning: tr("PT2-Falta a etiqueta short_name=GNR");
    107107        fixAdd: "short_name=GNR";
    108108}
    109 *[name =~ /Polícia de Segurança Pública/] [!short_name]{
     109*[name =~ /Polícia de Segurança Pública/][!short_name]{
    110110                throwWarning: tr("PT2-Falta a etiqueta short_name=PSP");
    111111        fixAdd: "short_name=PSP";
     
    544544                fixAdd: "layer=1";
    545545}
    546 *[name =~ /^(Quebra-mar|Pontão)/] [!man_made=breakwater] {
     546*[name =~ /^(Quebra-mar|Pontão)/][!man_made=breakwater] {
    547547                throwWarning: tr("PT2-Pontão deve ter etiqueta man_made=breakwater");
    548548        fixAdd: "man_made=breakwater";
    549549}
    550 *[name =~ /^Igreja Matriz/] [building != church],
    551 *[name =~ /^Igreja Matriz/] [religion != christian],
    552 *[name =~ /^Igreja Matriz/] [denomination != roman_catholic] {
     550*[name =~ /^Igreja Matriz/][building != church],
     551*[name =~ /^Igreja Matriz/][religion != christian],
     552*[name =~ /^Igreja Matriz/][denomination != roman_catholic] {
    553553                throwWarning: tr("PT2-Igreja Matriz deve ter building=church religion=christian e denomination=roman_catholic");
    554554        fixAdd: "building=church";
     
    556556        fixAdd: "denomination=roman_catholic";
    557557}
    558 *[name =~ /^Capela/] [building != chapel],
    559 *[name =~ /^Capela/] [religion != christian],
    560 *[name =~ /^Capela/] [denomination != roman_catholic] {
     558*[name =~ /^Capela/][building != chapel],
     559*[name =~ /^Capela/][religion != christian],
     560*[name =~ /^Capela/][denomination != roman_catholic] {
    561561                throwWarning: tr("PT2-Capela deve ter building=chapel religion=christian e denomination=roman_catholic");
    562562        fixAdd: "building=chapel";
     
    769769*[name =~ /^(?i)(Cabine|Posto de Transformador) ((da )? EDP).*/][power != substation],
    770770*[name =~ /^(?i)(Cabine|Posto de Transformador) ((da )? EDP).*/][substation != minor_distribution],
    771 *[building = transformer_tower] [power != substation],
    772 *[building = transformer_tower] [substation != minor_distribution] {
     771*[building = transformer_tower][power != substation],
     772*[building = transformer_tower][substation != minor_distribution] {
    773773        throwWarning: tr("PT2-Cabines da EDP devem ter building=transformer_tower power=substation e substation=minor_distribution");
    774774                fixAdd: "building=transformer_tower";
     
    794794        throwWarning: tr("PT2-Edifícios degradados devem ter abandoned:building=yes ou abandoned:shop=yes...");
    795795}
    796 *[name =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/] [shop != medical_supply],
    797 *[description =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/] [shop != medical_supply],
    798 *[note =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/] [shop != medical_supply],
    799 *[designation =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/] [shop != medical_supply] {
     796*[name =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/][shop != medical_supply],
     797*[description =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/][shop != medical_supply],
     798*[note =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/][shop != medical_supply],
     799*[designation =~ /(?i)((Equipamentos?|Materia(is|l)) Hospitalar|instrumentos médicos)/][shop != medical_supply] {
    800800        throwWarning: tr("PT2-Edifícios degradados devem ter abandoned:building=yes ou abandoned:shop=yes...");
    801801                fixAdd: "shop=medical_supply";
    802802}
    803 *[name =~ /(?i)Noiv[ao]s/] [shop = clothes] [!clothes] {
     803*[name =~ /(?i)Noiv[ao]s/][shop = clothes][!clothes] {
    804804        throwWarning: tr("PT2-Lojas de roupa para noivas devem ter clothes=wedding");
    805805                fixAdd: "clothes=wedding";
    806806}
    807 *[name =~ /(?i)\b(Zara Kids|Lanidor J[úu]nior|Roupa (de )?Criança)\b/] [shop = clothes] [!clothes] {
     807*[name =~ /(?i)\b(Zara Kids|Lanidor J[úu]nior|Roupa (de )?Criança)\b/][shop = clothes][!clothes] {
    808808        throwWarning: tr("PT2-Lojas de roupa para crianças devem ter clothes=children");
    809809                fixAdd: "clothes=children";
    810810}
    811 *[name =~ /(?i)\b(Salsa|Levi's|Levi Strauss|Pepe Jeans|Lee)\b/] [shop = clothes] [!clothes] {
     811*[name =~ /(?i)\b(Salsa|Levi's|Levi Strauss|Pepe Jeans|Lee)\b/][shop = clothes][!clothes] {
    812812        throwWarning: tr("PT2-Lojas de jeans devem ter clothes=denim");
    813813                fixAdd: "clothes=denim";
    814814}
    815 *[name =~ /(?i)\b(lingerie|women'secret|Calzedonia|Intimissimi)?\b/] [shop = clothes] [!clothes] {
     815*[name =~ /(?i)\b(lingerie|women'secret|Calzedonia|Intimissimi)?\b/][shop = clothes][!clothes] {
    816816        throwWarning: tr("PT2-Lojas de roupa interior,meias... devem ter clothes=underwear");
    817817                fixAdd: "clothes=underwear";