Add title to 'add' dialog for 'HBAC' 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-10-01 10:28:14 +02:00
committed by Serhii Tsymbaliuk
parent e363fb3ebc
commit fd732aaafe
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -97,6 +97,7 @@ var spec = {
}
],
adder_dialog: {
title: '@i18n:objects.hbacrule.add',
fields: [ 'cn' ]
},
deleter_dialog: {
@@ -159,6 +160,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.hbacsvc.add',
fields: [
'cn',
{
@@ -222,6 +224,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.hbacsvcgroup.add',
fields: [
'cn',
{
+3
View File
@@ -741,6 +741,7 @@ class i18n_messages(Command):
"user_groups": _("User Groups"),
},
"hbacrule": {
"add": _("Add HBAC rule"),
"any_host": _("Any Host"),
"any_service": _("Any Service"),
"anyone": _("Anyone"),
@@ -773,6 +774,7 @@ class i18n_messages(Command):
"user": _("Who"),
},
"hbacsvc": {
"add": _("Add HBAC service"),
"remove": _("Remove HBAC services"),
"remove_from_hbacsvcgroups": _(
"Remove HBAC service '${primary_key}' from HBAC service "
@@ -780,6 +782,7 @@ class i18n_messages(Command):
),
},
"hbacsvcgroup": {
"add": _("Add HBAC service group"),
"remove": _("Remove HBAC service groups"),
"remove_hbacsvcs": _(
"Remove HBAC services from HBAC service group "