From 98f40993fa3f317bb6097ca0c23808d6468f26c5 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Oct 01 2018 09:34:08 +0000 Subject: 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 --- diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js index 09f5aa4..da336fe 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 306de8d..99c8d2a 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"),