From 99a7e90c0a8315da0bfcb3df28c198ea403e4e7a Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 29 Aug 2011 17:34:10 -0500 Subject: Fixed hard-coded UI messages. Some hard-coded messages in ipa.js have been moved into internal.py. The messages in internal.py have been rearranged to match the output (ipa_init.json). A new method IPA.get_message() has been added to take a message ID and return the translated message or a default message if not found. Ticket #1701 --- install/ui/hbac.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/hbac.js') diff --git a/install/ui/hbac.js b/install/ui/hbac.js index 3223e0f31..7f445b91f 100644 --- a/install/ui/hbac.js +++ b/install/ui/hbac.js @@ -156,8 +156,8 @@ IPA.hbacrule_details_facet = function(spec) { section.radio({ name: 'ipaenabledflag', options:[ - {'value': 'TRUE',label: IPA.messages['true']}, - {'value': 'FALSE',label:IPA.messages['false']} + { value: 'TRUE', label: IPA.get_message('true') }, + { value: 'FALSE', label: IPA.get_message('false') } ] }); return section; -- cgit