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/ipa.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/src/freeipa/ipa.js') diff --git a/install/ui/src/freeipa/ipa.js b/install/ui/src/freeipa/ipa.js index a1fefa50..f9f8a16c 100644 --- a/install/ui/src/freeipa/ipa.js +++ b/install/ui/src/freeipa/ipa.js @@ -1331,7 +1331,7 @@ IPA.dirty_dialog = function(spec) { that.create_button({ name: 'update', - label: IPA.messages.buttons.update, + label: '@i18n:buttons.update', click: function() { that.facet.update(function() { that.close(); @@ -1342,7 +1342,7 @@ IPA.dirty_dialog = function(spec) { that.create_button({ name: 'reset', - label: IPA.messages.buttons.reset, + label: '@i18n:buttons.reset', click: function() { that.facet.reset(); that.close(); @@ -1352,7 +1352,7 @@ IPA.dirty_dialog = function(spec) { that.create_button({ name: 'cancel', - label: IPA.messages.buttons.cancel, + label: '@i18n:buttons.cancel', click: function() { that.close(); } -- cgit