mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Replace IPA.messages with @i18n definition for title specs
https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user