Add title to 'add' dialog for 'Certificates' entity

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

Fixes: https://pagure.io/freeipa/issue/7707
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-21 11:45:28 +03:00 committed by Serhii Tsymbaliuk
parent 4bd03e4723
commit c38aab1045
3 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ function(IPA, $, phases, reg, cert) {
}
],
adder_dialog: {
title: '@i18n:objects.ca.add',
fields: [
{
$type: 'text',

View File

@ -84,6 +84,7 @@ var spec = {
}
],
adder_dialog: {
title: '@i18n:objects.caacl.add',
fields: [
'cn',
{

View File

@ -504,9 +504,11 @@ class i18n_messages(Command):
"remove": _("Remove automount maps"),
},
"ca": {
"add": _("Add certificate authority"),
"remove": _("Remove certificate authorities"),
},
"caacl": {
"add": _("Add CA ACL"),
"all": _("All"),
"any_ca": _("Any CA"),
"any_host": _("Any Host"),