Fix display of road names and house numbers in some countries

pull/108/head
Candid Dauth 2017-12-23 18:21:16 +01:00
rodzic 38d1d9e7c0
commit cbbf8ad44c
1 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -221,9 +221,6 @@ const search = module.exports = {
case "pl": case "pl":
road = "ul. "+road; road = "ul. "+road;
break; break;
case "ro":
road = "str. "+road;
break;
} }
} }
@ -270,7 +267,7 @@ const search = module.exports = {
road = "No." +housenumber+", "+road; road = "No." +housenumber+", "+road;
break; break;
case "ro": case "ro":
road += ", nr. "+road; road += ", nr. "+housenumber;
break; break;
case "au": case "au":
case "fr": case "fr":
@ -284,7 +281,7 @@ const search = module.exports = {
case "gb": case "gb":
case "us": case "us":
default: default:
road += housenumber+" "+road; road = housenumber+" "+road;
break; break;
} }
} }