diff --git a/install/ui/src/freeipa/aci.js b/install/ui/src/freeipa/aci.js index 0213d93c0..3165cdddf 100644 --- a/install/ui/src/freeipa/aci.js +++ b/install/ui/src/freeipa/aci.js @@ -498,7 +498,7 @@ IPA.attributes_widget = function(spec) { }) })).append($('', { 'class': 'aci-attribute-column', - html: IPA.messages.objects.aci.attribute + html: text.get('@i18n:objects.aci.attribute') })); if (that.undo) { diff --git a/install/ui/src/freeipa/add.js b/install/ui/src/freeipa/add.js index f371ce1db..eb7ce38dc 100644 --- a/install/ui/src/freeipa/add.js +++ b/install/ui/src/freeipa/add.js @@ -111,7 +111,7 @@ IPA.entity_adder_dialog = function(spec) { }; that.get_success_message = function(data) { - var message = IPA.messages.dialogs.add_confirmation; + var message = text.get('@i18n:dialogs.add_confirmation'); return message.replace('${entity}', that.subject); }; @@ -191,7 +191,7 @@ IPA.entity_adder_dialog = function(spec) { div.append(' '); $('', { - text: IPA.messages.widget.validation.required + text: text.get('@i18n:widget.validation.required') }).appendTo(div); }; diff --git a/install/ui/src/freeipa/association.js b/install/ui/src/freeipa/association.js index 4c4f3ef8f..8e70b68ef 100644 --- a/install/ui/src/freeipa/association.js +++ b/install/ui/src/freeipa/association.js @@ -619,7 +619,7 @@ IPA.association_table_widget = function (spec) { var selected_values = that.get_selected_values(); if (!selected_values.length) { - var message = IPA.messages.dialogs.remove_empty; + var message = text.get('@i18n:dialogs.remove_empty'); alert(message); return; } @@ -910,7 +910,7 @@ IPA.association_facet = function (spec, no_init) { 'class': 'right-aligned-facet-controls' }).appendTo(that.controls); - div.append(IPA.messages.association.show_results); + div.append(text.get('@i18n:association.show_results')); div.append(' '); var name = that.entity.name+'-'+that.attribute_member+'-'+that.other_entity.name+'-type-radio'; @@ -929,7 +929,7 @@ IPA.association_facet = function (spec, no_init) { }).appendTo(div); $('