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/add.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/add.js')
-rw-r--r-- | install/ui/src/freeipa/add.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/add.js b/install/ui/src/freeipa/add.js index fc14269f5..f371ce1db 100644 --- a/install/ui/src/freeipa/add.js +++ b/install/ui/src/freeipa/add.js @@ -45,7 +45,7 @@ IPA.entity_adder_dialog = function(spec) { var init = function() { that.create_button({ name: 'add', - label: IPA.messages.buttons.add, + label: '@i18n:buttons.add', click: function() { that.on_add(); } @@ -53,7 +53,7 @@ IPA.entity_adder_dialog = function(spec) { that.create_button({ name: 'add_and_add_another', - label: IPA.messages.buttons.add_and_add_another, + label: '@i18n:buttons.add_and_add_another', click: function() { that.hide_message(); that.add( @@ -69,7 +69,7 @@ IPA.entity_adder_dialog = function(spec) { that.create_button({ name: 'add_and_edit', - label: IPA.messages.buttons.add_and_edit, + label: '@i18n:buttons.add_and_edit', click: function() { that.hide_message(); that.add( @@ -86,7 +86,7 @@ IPA.entity_adder_dialog = function(spec) { that.create_button({ name: 'cancel', - label: IPA.messages.buttons.cancel, + label: '@i18n:buttons.cancel', click: function() { that.hide_message(); that.close(); |