summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/dialog.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-03 18:18:57 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:21 +0200
commitfcff33fb511db5ffe5c7809bb1a4593f2e681718 (patch)
tree31af15433d3e1a9df92f86a54eb56d8fcd2ebab9 /install/ui/src/freeipa/dialog.js
parent12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 (diff)
downloadfreeipa-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/dialog.js')
-rw-r--r--install/ui/src/freeipa/dialog.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/dialog.js b/install/ui/src/freeipa/dialog.js
index bf9e12a7a..b23f5c59e 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();
}