From 6881bf8d7438b5f52fd0daf4b63f479f6fac67f9 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 21 Sep 2018 11:45:28 +0300 Subject: [PATCH] Add title to 'add' dialog for 'Host' entity To improve translation quality the title of 'Add' dialog should be specified explicitly in the spec and should be an entire sentence. Fixes: https://pagure.io/freeipa/issue/7707 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 21720415e..91de7d64c 100644 --- a/install/ui/src/freeipa/host.js +++ b/install/ui/src/freeipa/host.js @@ -444,6 +444,7 @@ return { ], standard_association_facets: true, adder_dialog: { + title: '@i18n:objects.host.add', $factory: IPA.host_adder_dialog, height: 300, sections: [ diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index cdef6c96a..306de8d76 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -796,6 +796,7 @@ class i18n_messages(Command): "unmatched": _("Unmatched"), }, "host": { + "add": _("Add host"), "certificate": _("Host Certificate"), "cn": _("Host Name"), "delete_key_unprovision": _("Delete Key, Unprovision"),