From 8a834cdaa09b9befc3834539206a607d73e22227 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 'Service' 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/service.js | 1 + ipaserver/plugins/internal.py | 1 + 2 files changed, 2 insertions(+) diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js index 09f5aa465..da336fe8b 100644 --- a/install/ui/src/freeipa/service.js +++ b/install/ui/src/freeipa/service.js @@ -381,6 +381,7 @@ return { ], standard_association_facets: true, adder_dialog: { + title: '@i18n:objects.service.add', $factory: IPA.service_adder_dialog, height: 350, sections: [ diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 306de8d76..99c8d2a63 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -1036,6 +1036,7 @@ class i18n_messages(Command): "remove_server_msg": _("Deleting a server removes it permanently from the topology. Note that this is a non-reversible action.") }, "service": { + "add": _("Add service"), "certificate": _("Service Certificate"), "delete_key_unprovision": _("Delete Key, Unprovision"), "details": _("Service Settings"),