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/dialog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/src/freeipa/dialog.js') diff --git a/install/ui/src/freeipa/dialog.js b/install/ui/src/freeipa/dialog.js index bf9e12a7..b23f5c59 100644 --- a/install/ui/src/freeipa/dialog.js +++ b/install/ui/src/freeipa/dialog.js @@ -448,7 +448,7 @@ IPA.adder_dialog = function(spec) { that.find_button = IPA.button({ name: 'find', - label: IPA.messages.buttons.find, + label: '@i18n:buttons.find', click: function() { that.search(); return false; @@ -558,7 +558,7 @@ IPA.adder_dialog = function(spec) { var add_button = that.create_button({ name: 'add', - label: IPA.messages.buttons.add, + label: '@i18n:buttons.add', click: function() { if (!add_button.is_enabled()) return; that.execute(); @@ -567,7 +567,7 @@ IPA.adder_dialog = function(spec) { that.create_button({ name: 'cancel', - label: IPA.messages.buttons.cancel, + label: '@i18n:buttons.cancel', click: function() { that.close(); } -- cgit