mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add dependency to "translations" module
To ensure translatability i18n messages should be initialized before any other JS code interacted with user is run. Fixes: https://pagure.io/freeipa/issue/7559 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
parent
de58b80891
commit
9492fb7f86
@ -18,7 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
define(['./_base/Provider', './_base/i18n', './metadata'],
|
||||
define([ './_base/Provider', './_base/i18n', './metadata', './translations'],
|
||||
function(Provider, i18n, metadata) {
|
||||
|
||||
/**
|
||||
@ -45,4 +45,4 @@ define(['./_base/Provider', './_base/i18n', './metadata'],
|
||||
});
|
||||
|
||||
return text;
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user