From 12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 4 Apr 2013 13:39:20 +0200 Subject: Replace IPA.messages with @i18n definition in spec objects https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/src/freeipa/user.js') diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index 0ec16081..b0b1efd7 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -471,7 +471,7 @@ IPA.user_password_dialog = function(spec) { spec = spec || {}; spec.width = spec.width || 400; - spec.title = spec.title || IPA.messages.password.reset_password; + spec.title = spec.title || '@i18n:password.reset_password'; spec.sections = spec.sections || []; spec.sections.push( @@ -622,7 +622,7 @@ IPA.user.reset_password_action = function(spec) { spec = spec || {}; spec.name = spec.name || 'reset_password'; - spec.label = spec.label || IPA.messages.password.reset_password; + spec.label = spec.label || '@i18n:password.reset_password'; spec.enable_cond = spec.enable_cond || ['userpassword_w']; var that = IPA.action(spec); -- cgit