summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/hbactest.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 14:32:47 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:21 +0200
commit09296fc0b302d9a105aacad960c295991fa88a1d (patch)
tree54a4aef171dc65c250b8d01f0d79714d364a84df /install/ui/src/freeipa/hbactest.js
parente3ea5e8d5050890a8e7f17271d04954f71dad325 (diff)
downloadfreeipa-09296fc0b302d9a105aacad960c295991fa88a1d.tar.gz
freeipa-09296fc0b302d9a105aacad960c295991fa88a1d.tar.xz
freeipa-09296fc0b302d9a105aacad960c295991fa88a1d.zip
Use text.get for transforming values supplied by spec
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/hbactest.js')
-rw-r--r--install/ui/src/freeipa/hbactest.js6
1 files changed, 3 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>.
*/
-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({