extractPoiTypesFromID: Adapt to lates iD iD has changed the format of the locale .json definitions. Adapt the script to the new format. https://bugzilla.gnome.org/show_bug.cgi?id=777718
Marcus Lundblad
7 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
scripts/extractPoiTypesFromID.js
less
more
88
88
let name;
89
89
90
90
try {
91
name = object.presets.presets[type].name;
91
name = object[lang].presets.presets[type].name;
92
92
} catch (ex) {
93
93
continue;
94
94
}