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/hbactest.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/src/freeipa/hbactest.js') diff --git a/install/ui/src/freeipa/hbactest.js b/install/ui/src/freeipa/hbactest.js index 247e5efb7..a39a77593 100644 --- a/install/ui/src/freeipa/hbactest.js +++ b/install/ui/src/freeipa/hbactest.js @@ -18,8 +18,8 @@ * along with this program. If not, see . */ -define(['./ipa', './jquery', './navigation', './details', './search', - './association', './entity', './hbac'], function(IPA, $, navigation) { +define(['./ipa', './jquery', './navigation', './text', './details', './search', + './association', './entity', './hbac'], function(IPA, $, navigation, text) { IPA.hbac.test_entity = function(spec) { @@ -32,7 +32,7 @@ IPA.hbac.test_entity = function(spec) { that.init = function() { that.entity_init(); - that.label = IPA.messages.objects.hbactest.label; + that.label = text.get('@i18n:objects.hbactest.label'); that.builder.facet_groups([ 'default' ]). facet({ -- cgit