From fcff33fb511db5ffe5c7809bb1a4593f2e681718 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 3 Apr 2013 18:18:57 +0200 Subject: Replace IPA.messages with @i18n definition for label specs Replaced by execution of ls | grep .js | xargs sed -i -r "s/label: IPA.messages\.((.\w+)+)/label: '@i18n:\1'/" https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/details.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'install/ui/src/freeipa/details.js') diff --git a/install/ui/src/freeipa/details.js b/install/ui/src/freeipa/details.js index abe90375..71e7567c 100644 --- a/install/ui/src/freeipa/details.js +++ b/install/ui/src/freeipa/details.js @@ -243,19 +243,19 @@ IPA.details_facet = function(spec, no_init) { spec.control_buttons.unshift( { name: 'reset', - label: IPA.messages.buttons.reset, + label: '@i18n:buttons.reset', icon: 'reset-icon' }, { name: 'update', - label: IPA.messages.buttons.update, + label: '@i18n:buttons.update', icon: 'update-icon' }); } spec.control_buttons.unshift( { name: 'refresh', - label: IPA.messages.buttons.refresh, + label: '@i18n:buttons.refresh', icon: 'reset-icon' }); @@ -319,7 +319,7 @@ IPA.details_facet = function(spec, no_init) { that.expand_button = IPA.action_button({ name: 'expand_all', href: 'expand_all', - label: IPA.messages.details.expand_all, + label: '@i18n:details.expand_all', 'class': 'right-aligned-facet-controls', style: 'display: none;', click: function() { @@ -340,7 +340,7 @@ IPA.details_facet = function(spec, no_init) { that.collapse_button = IPA.action_button({ name: 'collapse_all', href: 'collapse_all', - label: IPA.messages.details.collapse_all, + label: '@i18n:details.collapse_all', 'class': 'right-aligned-facet-controls', click: function() { that.expand_button.css('display', 'inline-block'); -- cgit