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/association.js | |
parent | 12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 (diff) | |
download | freeipa.git-fcff33fb511db5ffe5c7809bb1a4593f2e681718.tar.gz freeipa.git-fcff33fb511db5ffe5c7809bb1a4593f2e681718.tar.xz freeipa.git-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/association.js')
-rw-r--r-- | install/ui/src/freeipa/association.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/install/ui/src/freeipa/association.js b/install/ui/src/freeipa/association.js index d137c9d2..7fb49562 100644 --- a/install/ui/src/freeipa/association.js +++ b/install/ui/src/freeipa/association.js @@ -431,7 +431,7 @@ IPA.association_table_widget = function (spec) { that.remove_button = IPA.action_button({ name: 'remove', - label: IPA.messages.buttons.remove, + label: '@i18n:buttons.remove', icon: 'remove-icon', 'class': 'action-button-disabled', click: function() { @@ -444,7 +444,7 @@ IPA.association_table_widget = function (spec) { that.add_button = IPA.action_button({ name: 'add', - label: IPA.messages.buttons.add, + label: '@i18n:buttons.add', icon: 'add-icon', click: function() { if (!that.add_button.hasClass('action-button-disabled')) { @@ -786,17 +786,17 @@ IPA.association_facet = function (spec, no_init) { spec.control_buttons.unshift( { name: 'refresh', - label: IPA.messages.buttons.refresh, + label: '@i18n:buttons.refresh', icon: 'reset-icon' }, { 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' }); @@ -1169,17 +1169,17 @@ IPA.attribute_facet = function(spec, no_init) { spec.control_buttons.unshift( { name: 'refresh', - label: IPA.messages.buttons.refresh, + label: '@i18n:buttons.refresh', icon: 'reset-icon' }, { 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' }); |