Fix metadata editor text not translating

This commit is contained in:
Oliver Hamlet
2016-11-14 17:35:33 +00:00
parent 92a69779ca
commit b0e3291602
+1 -1
View File
@@ -27,7 +27,7 @@
function translatePluginEditorTemplate(l10n) {
/* Plugin editor template. */
const pluginEditor = document.getElementById('loot-plugin-editor').querySelector('template').content;
const pluginEditor = document.getElementById('editor').shadowRoot;
pluginEditor.getElementById('enableEdits').previousElementSibling.textContent = l10n.translate('Enable Edits');
pluginEditor.getElementById('priorityValue').previousElementSibling.textContent = l10n.translate('Priority');