Add some script corrections

This commit is contained in:
fgerber 2024-04-12 17:00:02 +02:00
parent 14b5562234
commit d17a2409f1

View File

@ -76,6 +76,11 @@ const formatStr = (str)=> str.replace(/(?<!\b\w\u00E0-\u00FC)\B[A-Z\u00C0-\u00DC
.replace("Valledel ","Valle del ").replace("Valde ","Val de ").replace("Îlesdu ","Îles du ") .replace("Valledel ","Valle del ").replace("Valde ","Val de ").replace("Îlesdu ","Îles du ")
.replace("sÉ","s É").replace("áO","á O").replace("N C Tof ","NCT of ").replace("N A","NA") .replace("sÉ","s É").replace("áO","á O").replace("N C Tof ","NCT of ").replace("N A","NA")
.replace("Nortede ", "Norte de ") .replace("Nortede ", "Norte de ")
.replace("Pinardel ", "Pinar del ")
.replace("Greeceand", "Greece and the Ionian")
.replace("Vientiane", "Vientiane Province")
.replace("Vientiane Province[prefecture]", "Vientiane Prefecture")
.replace("Valduz", "Vaduz")
.trim() .trim()
const parse0 = (country) => { const parse0 = (country) => {