summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/host.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 15:29:41 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:22 +0200
commit8ee752c284241bd7ca87de31125716329a110eb5 (patch)
tree66b923c46d6d26b0444417c3440e612e207e3d70 /install/ui/src/freeipa/host.js
parented94fdf1904a29b72772524c53e1ffeecf3134f8 (diff)
downloadfreeipa-8ee752c284241bd7ca87de31125716329a110eb5.tar.gz
freeipa-8ee752c284241bd7ca87de31125716329a110eb5.tar.xz
freeipa-8ee752c284241bd7ca87de31125716329a110eb5.zip
Use text.get in IPA.notify_success
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/host.js')
-rw-r--r--install/ui/src/freeipa/host.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js
index 65557dc8c..f0630c945 100644
--- a/install/ui/src/freeipa/host.js
+++ b/install/ui/src/freeipa/host.js
@@ -644,7 +644,7 @@ IPA.host_unprovision_dialog = function(spec) {
function(data, text_status, xhr) {
that.facet.refresh();
that.close();
- IPA.notify_success(IPA.messages.objects.host.unprovisioned);
+ IPA.notify_success('@i18n:objects.host.unprovisioned');
},
function(xhr, text_status, error_thrown) {
that.close();
@@ -880,7 +880,7 @@ IPA.host.set_otp_dialog = function(spec) {
on_success: function(data) {
that.facet.load(data);
that.close();
- IPA.notify_success(IPA.messages.objects.host.password_set_success);
+ IPA.notify_success('@i18n:objects.host.password_set_success');
},
on_error: function() {
that.close();