diff --git a/engines/bastion/app/assets/javascripts/bastion/i18n/i18n.module.js b/engines/bastion/app/assets/javascripts/bastion/i18n/i18n.module.js index d0452493834..1be0eb0453b 100644 --- a/engines/bastion/app/assets/javascripts/bastion/i18n/i18n.module.js +++ b/engines/bastion/app/assets/javascripts/bastion/i18n/i18n.module.js @@ -8,3 +8,6 @@ angular.module('Bastion.i18n', [ 'gettext' ]); + +const loadAngularJSi18n = new Event('loadAngularJSi18n'); +document.dispatchEvent(loadAngularJSi18n); diff --git a/engines/bastion/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js b/engines/bastion/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js index d04240bf354..b2f4d66f444 100644 --- a/engines/bastion/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js +++ b/engines/bastion/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js @@ -342,4 +342,7 @@ angular.module('gettext').factory('gettextPlurals', function () { return n != 1 ? 1 : 0; } }; -}); \ No newline at end of file +}); + +const loadAngularJSgettext = new Event('loadAngularJSgettext'); +document.dispatchEvent(loadAngularJSgettext);