Add a title to 'remove' dialog for details of 'Trusts' 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 715944665c
commit 9cbf16a790
2 changed files with 5 additions and 0 deletions

View File

@ -68,6 +68,10 @@ return {
label: '@mo:trustdomain.label',
tab_label: '@mo:trustdomain.label',
search_all_entries: true,
deleter_dialog: {
title: '@i18n:objects.trust.remove_domains',
$factory: IPA.search_deleter_dialog,
},
actions: [
{
$type: 'batch_disable'

View File

@ -1053,6 +1053,7 @@ class i18n_messages(Command):
"ipanttrusteddomainsid": _("Domain Security Identifier"),
"preshared_password": _("Pre-shared password"),
"remove": _("Remove trusts"),
"remove_domains": _("Remove domains"),
"trustdirection": _("Trust direction"),
"truststatus": _("Trust status"),
"trusttype": _("Trust type"),