Add title to remove dialog of 'Certificates' entity

To improve translation quality the title of Remove dialog
should be specified explicitly in the spec and should be an
entire sentence.

Fixes: https://pagure.io/freeipa/issue/7699
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-14 11:05:28 +03:00 committed by Serhii Tsymbaliuk
parent 8d13d4efca
commit dfd22e7497
4 changed files with 19 additions and 3 deletions

View File

@ -63,7 +63,10 @@ function(IPA, $, phases, reg, cert) {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.ca.remove',
},
};
return spec;

View File

@ -102,7 +102,10 @@ var spec = {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.caacl.remove',
},
};
add_caacl_details_facet_widgets(spec.facets[1]);

View File

@ -58,7 +58,10 @@ return {
}
]
}
]
],
deleter_dialog: {
title: '@i18n:objects.caprofile.remove',
},
};};

View File

@ -432,6 +432,9 @@ class i18n_messages(Command):
"direct": _("Direct"),
"indirect": _("Indirect"),
},
"ca": {
"remove": _("Remove certificate authorities"),
},
"caacl": {
"all": _("All"),
"any_ca": _("Any CA"),
@ -442,6 +445,7 @@ class i18n_messages(Command):
"ipaenabledflag": _("Rule status"),
"no_ca_msg": _("If no CAs are specified, requests to the default CA are allowed."),
"profile": _("Profiles"),
"remove": _("Remove CA ACLs"),
"specified_cas": _("Specified CAs"),
"specified_hosts": _("Specified Hosts and Groups"),
"specified_profiles": _("Specified Profiles"),
@ -449,6 +453,9 @@ class i18n_messages(Command):
"specified_users": _("Specified Users and Groups"),
"who": _("Permitted to have certificates issued"),
},
"caprofile": {
"remove": _("Remove certificate profiles"),
},
"cert": {
"aa_compromise": _("AA Compromise"),
"add_principal": _("Add principal"),