- Fix (regression): i18n of markers extension

master
Brett Zamir 2018-09-14 07:36:06 +08:00
parent b51db3a3c1
commit cba5909472
2 changed files with 6 additions and 2 deletions

View File

@ -640,7 +640,9 @@ var svgEditorExtension_markers = (function () {
},
buttons: buildButtonList(),
context_tools: contextTools
context_tools: strings.contextTools.map(function (contextTool, i) {
return Object.assign(contextTools[i], contextTool);
})
});
case 28:

View File

@ -537,7 +537,9 @@ export default {
// changing_flag = false; // Not apparently in use
},
buttons: buildButtonList(),
context_tools: contextTools
context_tools: strings.contextTools.map((contextTool, i) => {
return Object.assign(contextTools[i], contextTool);
})
};
}
};