summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/association.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 14:13:34 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:22 +0200
commitd5c0945890a4f2d360465ac2201ed2928f64dd23 (patch)
treef1fb80432266839bf50c08d054cc18d7ce13c2a7 /install/ui/src/freeipa/association.js
parent8ee752c284241bd7ca87de31125716329a110eb5 (diff)
downloadfreeipa-d5c0945890a4f2d360465ac2201ed2928f64dd23.tar.gz
freeipa-d5c0945890a4f2d360465ac2201ed2928f64dd23.tar.xz
freeipa-d5c0945890a4f2d360465ac2201ed2928f64dd23.zip
Replace remaining IPA.messages with text.get calls
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/association.js')
-rw-r--r--install/ui/src/freeipa/association.js12
1 files changed, 6 insertions, 6 deletions
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);
$('<label/>', {
- text: IPA.messages.association.direct_membership,
+ text: text.get('@i18n:association.direct_membership'),
'for': direct_id
}).appendTo(div);
@@ -950,7 +950,7 @@ IPA.association_facet = function (spec, no_init) {
}).appendTo(div);
$('<label/>', {
- text: IPA.messages.association.indirect_membership,
+ text: text.get('@i18n:association.indirect_membership'),
'for': indirect_id
}).appendTo(div);
}
@@ -1031,7 +1031,7 @@ IPA.association_facet = function (spec, no_init) {
var values = that.table.get_selected_values();
if (!values.length) {
- var message = IPA.messages.dialogs.remove_empty;
+ var message = text.get('@i18n:dialogs.remove_empty');
alert(message);
return;
}
@@ -1284,7 +1284,7 @@ IPA.attribute_facet = function(spec, no_init) {
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;
}