kopia lustrzana https://github.com/FacilMap/facilmap
Fix display of road names and house numbers in some countries
rodzic
38d1d9e7c0
commit
cbbf8ad44c
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue