Codebase list gnome-maps / 799f48c
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
8888 let name;
8989
9090 try {
91 name = object.presets.presets[type].name;
91 name = object[lang].presets.presets[type].name;
9292 } catch (ex) {
9393 continue;
9494 }