From 9cbf16a79021f3771cec1640d6c1f04b9b7c24e4 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Sun, 16 Sep 2018 23:14:45 +0300 Subject: [PATCH] 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 --- install/ui/src/freeipa/trust.js | 4 ++++ ipaserver/plugins/internal.py | 1 + 2 files changed, 5 insertions(+) diff --git a/install/ui/src/freeipa/trust.js b/install/ui/src/freeipa/trust.js index 77a2031ee..98afa3cf8 100644 --- a/install/ui/src/freeipa/trust.js +++ b/install/ui/src/freeipa/trust.js @@ -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' diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 9718a9385..ab88d51bf 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -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"),