summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings2/settings-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/settings2/settings-main.js')
-rw-r--r--ext/bg/js/settings2/settings-main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings2/settings-main.js b/ext/bg/js/settings2/settings-main.js
index 1a719edd..1b3bfaa0 100644
--- a/ext/bg/js/settings2/settings-main.js
+++ b/ext/bg/js/settings2/settings-main.js
@@ -36,6 +36,7 @@
* SettingsDisplayController
* StatusFooter
* StorageController
+ * TranslationTextReplacementsController
* api
*/
@@ -120,6 +121,9 @@ async function setupGenericSettingsController(genericSettingController) {
const secondarySearchDictionaryController = new SecondarySearchDictionaryController(settingsController);
secondarySearchDictionaryController.prepare();
+ const translationTextReplacementsController = new TranslationTextReplacementsController(settingsController);
+ translationTextReplacementsController.prepare();
+
await Promise.all(preparePromises);
document.documentElement.dataset.loaded = 'true';