fix prefs

This commit is contained in:
JFH
2021-01-01 17:19:57 +01:00
parent 7e33ea2bdc
commit 16f05f1aee
20 changed files with 47 additions and 47 deletions

View File

@@ -23,7 +23,7 @@ export default {
name: 'imagelib',
async init ({$, decode64, dropXMLInternalSubset}) {
const svgEditor = this;
const imagelibStrings = await loadExtensionTranslation(svgEditor.pref('lang'));
const imagelibStrings = await loadExtensionTranslation(svgEditor.configObj.pref('lang'));
const {uiStrings, canvas: svgCanvas} = svgEditor;