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/entitle.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install/ui/src/freeipa/entitle.js') diff --git a/install/ui/src/freeipa/entitle.js b/install/ui/src/freeipa/entitle.js index 04857703..584d28f0 100644 --- a/install/ui/src/freeipa/entitle.js +++ b/install/ui/src/freeipa/entitle.js @@ -18,8 +18,8 @@ * along with this program. If not, see . */ -define(['./ipa', './jquery', './details', './search', './add', - './facet', './entity', './field', './widget'], function(IPA, $) { +define(['./ipa', './jquery', './text', './details', './search', './add', + './facet', './entity', './field', './widget'], function(IPA, $, text) { IPA.entitle = {}; @@ -521,8 +521,8 @@ IPA.entitle.certificate_dialog = function(spec) { that.width = spec.width || 500; that.height = spec.height || 400; - that.message = spec.message; - that.label = spec.label; + that.message = text.get(spec.message); + that.label = text.get(spec.label); that.get_certificate = function() { var certificate = that.textarea.val(); -- cgit