From 09296fc0b302d9a105aacad960c295991fa88a1d Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 4 Apr 2013 14:32:47 +0200 Subject: Use text.get for transforming values supplied by spec https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/certificate.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'install/ui/src/freeipa/certificate.js') diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js index 4000e5aa..6b312887 100755 --- a/install/ui/src/freeipa/certificate.js +++ b/install/ui/src/freeipa/certificate.js @@ -19,7 +19,8 @@ * along with this program. If not, see . */ -define(['./ipa', './jquery','dojo/_base/lang', './dialog'], function(IPA, $, lang) { +define(['./ipa', './jquery','dojo/_base/lang', './text', './dialog'], + function(IPA, $, lang, text) { IPA.cert = {}; @@ -388,7 +389,7 @@ IPA.cert.request_dialog = function(spec) { that.width = spec.width || 600; that.height = spec.height || 480; - that.message = spec.message; + that.message = text.get(spec.message); that.request = spec.request; @@ -1205,7 +1206,7 @@ IPA.cert.search_facet = function(spec) { var doc = metadata.doc || ''; $('