mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Stop fetching translations at metadata phase
Now i18n data is loaded at "translations" module resolve, on which "text" module depends. Therefore, there is no need to do it twice. 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
9492fb7f86
commit
c0c6b21ba1
@ -76,13 +76,6 @@ var IPA = function () {
|
||||
processData: false
|
||||
};
|
||||
|
||||
/**
|
||||
* i18n messages
|
||||
* @deprecated
|
||||
* @property {Object}
|
||||
*/
|
||||
that.messages = {};
|
||||
|
||||
/**
|
||||
* User information
|
||||
*
|
||||
@ -175,14 +168,6 @@ var IPA = function () {
|
||||
}
|
||||
});
|
||||
|
||||
batch.add_command(rpc.command({
|
||||
method: 'i18n_messages',
|
||||
on_success: function(data, text_status, xhr) {
|
||||
that.messages = data.texts;
|
||||
i18n.source = that.messages;
|
||||
}
|
||||
}));
|
||||
|
||||
batch.add_command(rpc.command({
|
||||
entity: 'config',
|
||||
method: 'show',
|
||||
|
Loading…
Reference in New Issue
Block a user