diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-03 18:18:57 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:21 +0200 |
commit | fcff33fb511db5ffe5c7809bb1a4593f2e681718 (patch) | |
tree | 31af15433d3e1a9df92f86a54eb56d8fcd2ebab9 /install/ui/src/freeipa/search.js | |
parent | 12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 (diff) | |
download | freeipa-fcff33fb511db5ffe5c7809bb1a4593f2e681718.tar.gz freeipa-fcff33fb511db5ffe5c7809bb1a4593f2e681718.tar.xz freeipa-fcff33fb511db5ffe5c7809bb1a4593f2e681718.zip |
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
Diffstat (limited to 'install/ui/src/freeipa/search.js')
-rw-r--r-- | install/ui/src/freeipa/search.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js index 0ea5c2b1..902696ed 100644 --- a/install/ui/src/freeipa/search.js +++ b/install/ui/src/freeipa/search.js @@ -47,19 +47,19 @@ IPA.search_facet = function(spec, no_init) { spec.control_buttons.unshift( { name: 'remove', - label: IPA.messages.buttons.remove, + label: '@i18n:buttons.remove', icon: 'remove-icon' }, { name: 'add', - label: IPA.messages.buttons.add, + label: '@i18n:buttons.add', icon: 'add-icon' }); } spec.control_buttons.unshift( { name: 'refresh', - label: IPA.messages.buttons.refresh, + label: '@i18n:buttons.refresh', icon: 'reset-icon' }); |