Add a title to 'remove' dialog for details of 'HBAC' entity

To improve translation quality the title of 'Remove' dialog,
which is initialized within details of the entity, should be
specified explicitly in the spec and should be an entire sentence.

Fixes: https://pagure.io/freeipa/issue/7702
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-16 23:14:45 +03:00 committed by Serhii Tsymbaliuk
parent 6e839f91fa
commit ea0e6a3663
2 changed files with 12 additions and 2 deletions

View File

@ -153,7 +153,8 @@ return {
name: 'description',
width: '100px'
}
]
],
remove_title: '@i18n:objects.hbacsvc.remove_from_hbacsvcgroups',
}
],
standard_association_facets: true,
@ -215,7 +216,8 @@ return {
name: 'description',
width: '100px'
}
]
],
remove_title: '@i18n:objects.hbacsvcgroup.remove_hbacsvcs',
}
],
standard_association_facets: true,

View File

@ -670,9 +670,17 @@ class i18n_messages(Command):
},
"hbacsvc": {
"remove": _("Remove HBAC services"),
"remove_from_hbacsvcgroups": _(
"Remove HBAC service '${primary_key}' from HBAC service "
"groups"
),
},
"hbacsvcgroup": {
"remove": _("Remove HBAC service groups"),
"remove_hbacsvcs": _(
"Remove HBAC services from HBAC service group "
"'${primary_key}'"
),
"services": _("Services"),
},
"hbactest": {