summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/host.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 13:39:20 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:21 +0200
commit12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 (patch)
treeb9b9239bdb839d1df30230499f8d1cb64a405f0c /install/ui/src/freeipa/host.js
parentf492e61f46abb0899d26d03f1599dd9f0f01a6f3 (diff)
downloadfreeipa-12f5f4cfdd38c2a29c8e6eeac17557f4e7731307.tar.gz
freeipa-12f5f4cfdd38c2a29c8e6eeac17557f4e7731307.tar.xz
freeipa-12f5f4cfdd38c2a29c8e6eeac17557f4e7731307.zip
Replace IPA.messages with @i18n definition in spec objects
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/host.js')
-rw-r--r--install/ui/src/freeipa/host.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js
index a31c32ef..f5f6a2be 100644
--- a/install/ui/src/freeipa/host.js
+++ b/install/ui/src/freeipa/host.js
@@ -621,7 +621,7 @@ IPA.host_keytab_widget = function(spec) {
IPA.host_unprovision_dialog = function(spec) {
- spec.title = spec.title || IPA.messages.objects.host.unprovision_title;
+ spec.title = spec.title || '@i18n:objects.host.unprovision_title';
spec = spec || {};
@@ -687,7 +687,7 @@ IPA.host.unprovision_action = function(spec) {
spec = spec || {};
spec.name = spec.name || 'unprovision';
- spec.label = spec.label || IPA.messages.objects.host.unprovision;
+ spec.label = spec.label || '@i18n:objects.host.unprovision';
spec.enable_cond = spec.enable_cond || ['has_keytab', 'krbprincipalkey_w'];
var that = IPA.action(spec);
@@ -899,7 +899,7 @@ IPA.host.set_otp_action = function(spec) {
spec = spec || {};
spec.name = spec.name || 'set_otp';
- spec.label = spec.label || IPA.messages.objects.host.password_set_title;
+ spec.label = spec.label || '@i18n:objects.host.password_set_title';
spec.enable_cond = spec.enable_cond || ['userpassword_w'];
var that = IPA.action(spec);