summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 14:41:17 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:22 +0200
commitbc566ede32099de1f5015779c0ab14003840a059 (patch)
treecb919463ec4c16acbe7c3f15204b34101cb4f96e
parent5f96e75b74ac28d560ca8919e82cd56d088abafd (diff)
downloadfreeipa-bc566ede32099de1f5015779c0ab14003840a059.tar.gz
freeipa-bc566ede32099de1f5015779c0ab14003840a059.tar.xz
freeipa-bc566ede32099de1f5015779c0ab14003840a059.zip
Replace IPA.messages with @i18n definition for message specs
https://fedorahosted.org/freeipa/ticket/3235
-rw-r--r--install/ui/src/freeipa/realmdomains.js2
-rw-r--r--install/ui/src/freeipa/search.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/realmdomains.js b/install/ui/src/freeipa/realmdomains.js
index 9a0cc523d..0bd3eddaa 100644
--- a/install/ui/src/freeipa/realmdomains.js
+++ b/install/ui/src/freeipa/realmdomains.js
@@ -71,7 +71,7 @@ define(['./ipa', './jquery', './details', './entity'], function (IPA, $) {
var dialog = IPA.confirm_dialog({
title: IPA.messages.objects.realmdomains.check_dns,
- message: IPA.messages.objects.realmdomains.check_dns_confirmation,
+ message: '@i18n:objects.realmdomains.check_dns_confirmation',
ok_label: '@i18n:objects.realmdomains.check_dns',
on_ok: function () {
command.execute();
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js
index 902696edd..46b589205 100644
--- a/install/ui/src/freeipa/search.js
+++ b/install/ui/src/freeipa/search.js
@@ -289,7 +289,7 @@ IPA.search_deleter_dialog = function(spec) {
that.create_command = function() {
var batch = IPA.batch_command({
- error_message: IPA.messages.search.partial_delete
+ error_message: '@i18n:search.partial_delete'
});
for (var i=0; i<that.values.length; i++) {