From 3e1a4a1d05a8a972cb2c547e76f1f65ead9ed573 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 14 Sep 2018 13:20:30 +0300 Subject: [PATCH] Add title to remove dialog of 'Trusts' entity To improve translation quality the title of Remove dialog should be specified explicitly in the spec and should be an entire sentence. Fixes: https://pagure.io/freeipa/issue/7699 Reviewed-By: Serhii Tsymbaliuk --- install/ui/src/freeipa/trust.js | 5 ++++- ipaserver/plugins/internal.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/install/ui/src/freeipa/trust.js b/install/ui/src/freeipa/trust.js index ff019cab3..77a2031ee 100644 --- a/install/ui/src/freeipa/trust.js +++ b/install/ui/src/freeipa/trust.js @@ -331,7 +331,10 @@ return { widget: 'method' } ] - } + }, + deleter_dialog: { + title: '@i18n:objects.trust.remove', + }, };}; IPA.trust.adder_dialog = function(spec) { diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index a2da5bd06..142560d93 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -944,6 +944,7 @@ class i18n_messages(Command): "ipantflatname": _("Domain NetBIOS name"), "ipanttrusteddomainsid": _("Domain Security Identifier"), "preshared_password": _("Pre-shared password"), + "remove": _("Remove trusts"), "trustdirection": _("Trust direction"), "truststatus": _("Trust status"), "trusttype": _("Trust type"),