summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/add.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/add.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/add.js')
-rw-r--r--install/ui/src/freeipa/add.js4
1 files changed, 2 insertions, 2 deletions
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(' ');
$('<span/>', {
- text: IPA.messages.widget.validation.required
+ text: text.get('@i18n:widget.validation.required')
}).appendTo(div);
};