From 3921210d466a44fd78bb09e0c38064b4f0c93e2b Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Thu, 13 Sep 2018 20:35:56 +0300 Subject: [PATCH] Add title to remove dialog of 'Hosts' 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/host.js | 1 + ipaserver/plugins/internal.py | 1 + 2 files changed, 2 insertions(+) diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js index 8aa1ef9d8..2d3570006 100644 --- a/install/ui/src/freeipa/host.js +++ b/install/ui/src/freeipa/host.js @@ -477,6 +477,7 @@ return { ] }, deleter_dialog: { + title: '@i18n:objects.host.remove', $factory: IPA.host_deleter_dialog } };}; diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 4c0907371..32bded131 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -659,6 +659,7 @@ class i18n_messages(Command): "password_set_button": _("Set OTP"), "password_set_success": _("OTP set"), "password_set_title": _("Set One-Time-Password"), + "remove": _("Remove hosts"), "status": _("Status"), "unprovision": _("Unprovision"), "unprovision_confirmation": _("Are you sure you want to unprovision this host?"),