summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/details.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/details.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/details.js')
-rw-r--r--install/ui/src/freeipa/details.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/src/freeipa/details.js b/install/ui/src/freeipa/details.js
index abe903750..71e7567cb 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');