summaryrefslogtreecommitdiffstats
path: root/install/ui/src
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 15:12:34 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:22 +0200
commited94fdf1904a29b72772524c53e1ffeecf3134f8 (patch)
tree5ff0758769aa637673aea25fb4e3505883cbb131 /install/ui/src
parentbc566ede32099de1f5015779c0ab14003840a059 (diff)
downloadfreeipa-ed94fdf1904a29b72772524c53e1ffeecf3134f8.tar.gz
freeipa-ed94fdf1904a29b72772524c53e1ffeecf3134f8.tar.xz
freeipa-ed94fdf1904a29b72772524c53e1ffeecf3134f8.zip
Replace IPA.messages with @i18n definition for title specs
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src')
-rw-r--r--install/ui/src/freeipa/entitle.js4
-rw-r--r--install/ui/src/freeipa/realmdomains.js2
-rw-r--r--install/ui/src/freeipa/widget.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/entitle.js b/install/ui/src/freeipa/entitle.js
index f0802c7e4..743bc5a0c 100644
--- a/install/ui/src/freeipa/entitle.js
+++ b/install/ui/src/freeipa/entitle.js
@@ -501,7 +501,7 @@ IPA.entitle.certificate_column = function(spec) {
html: IPA.messages.objects.entitle.download,
click: function() {
var dialog = IPA.cert.download_dialog({
- title: IPA.messages.objects.entitle.download_certificate,
+ title: '@i18n:objects.entitle.download_certificate',
certificate: certificate
});
dialog.open();
@@ -717,7 +717,7 @@ IPA.entitle.download_widget = function(spec) {
* Hence the reason add_pem_delimiters is false.
*/
var dialog = IPA.cert.download_dialog({
- title: IPA.messages.objects.entitle.download_certificate,
+ title: '@i18n:objects.entitle.download_certificate',
certificate: userpkcs12[0].__base64__,
add_pem_delimiters: false
});
diff --git a/install/ui/src/freeipa/realmdomains.js b/install/ui/src/freeipa/realmdomains.js
index 0bd3eddaa..645f444d1 100644
--- a/install/ui/src/freeipa/realmdomains.js
+++ b/install/ui/src/freeipa/realmdomains.js
@@ -70,7 +70,7 @@ define(['./ipa', './jquery', './details', './entity'], function (IPA, $) {
};
var dialog = IPA.confirm_dialog({
- title: IPA.messages.objects.realmdomains.check_dns,
+ title: '@i18n:objects.realmdomains.check_dns',
message: '@i18n:objects.realmdomains.check_dns_confirmation',
ok_label: '@i18n:objects.realmdomains.check_dns',
on_ok: function () {
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index c6fba474b..61e30a63c 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -3737,7 +3737,7 @@ IPA.sshkey_widget = function(spec) {
var dialog = IPA.dialog({
name: 'sshkey-edit-dialog',
- title: IPA.messages.objects.sshkeystore.set_dialog_title,
+ title: '@i18n:objects.sshkeystore.set_dialog_title',
width: 500,
height: 380
});