From fcff33fb511db5ffe5c7809bb1a4593f2e681718 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 3 Apr 2013 18:18:57 +0200 Subject: 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 --- install/ui/src/freeipa/add.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install/ui/src/freeipa/add.js') 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(); -- cgit