summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/search.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-03 18:18:57 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:21 +0200
commitfcff33fb511db5ffe5c7809bb1a4593f2e681718 (patch)
tree31af15433d3e1a9df92f86a54eb56d8fcd2ebab9 /install/ui/src/freeipa/search.js
parent12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 (diff)
downloadfreeipa-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.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js
index 0ea5c2b1e..902696edd 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'
});