Add a title to 'remove' dialog for details of 'Services' 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 authored and Serhii Tsymbaliuk committed 2018-09-25 15:16:05 +02:00
1 parent d97ff69ed1
commit c4729e1155
2 files changed
+13 -1

No files matched your search

+7 -1
View File
@@ -366,11 +366,17 @@ return {
IPA.service.certificate_policy
]
},
{
$type: 'association',
name: 'memberof_role',
remove_title: '@i18n:objects.service.remove_from_roles',
},
{
$type: 'association',
name: 'managedby_host',
add_method: 'add_host',
remove_method: 'remove_host'
remove_method: 'remove_host',
remove_title: '@i18n:objects.service.remove_hosts_managing',
}
],
standard_association_facets: true,
+6
View File
@@ -864,6 +864,12 @@ class i18n_messages(Command):
"missing": _("Kerberos Key Not Present"),
"provisioning": _("Provisioning"),
"remove": _("Remove services"),
"remove_from_roles": _(
"Remove service '${primary_key}' from roles"
),
"remove_hosts_managing": _(
"Remove hosts managing service '${primary_key}'"
),
"service": _("Service"),
"status": _("Status"),
"unprovision": _("Unprovision"),