mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix metadata editor text not translating
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user