diff --git a/public/src/overrides.js b/public/src/overrides.js index cfd40ff92a..1d16328b6b 100644 --- a/public/src/overrides.js +++ b/public/src/overrides.js @@ -110,6 +110,11 @@ if ('undefined' !== typeof window) { var dialog = bootbox.dialog, prompt = bootbox.prompt, confirm = bootbox.confirm; + + var translator; + require(['translator'], function(_translator) { + translator = _translator; + }); function translate(modal) { var header = modal.find('.modal-header'),