From 98c290e4035f179c63a94eb59fc9f2ec9e30c01b 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 'Certificate Identity' 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/plugins/certmap.js | 1 + ipaserver/plugins/internal.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install/ui/src/freeipa/plugins/certmap.js b/install/ui/src/freeipa/plugins/certmap.js index e20467f61..ea56c38e0 100644 --- a/install/ui/src/freeipa/plugins/certmap.js +++ b/install/ui/src/freeipa/plugins/certmap.js @@ -133,6 +133,7 @@ return { } ], adder_dialog: { + title: '@i18n:objects.certmap.add', fields: [ 'cn', { diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 491940573..c4f8a5d3d 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -632,12 +632,13 @@ class i18n_messages(Command): "userlogin": _("User Login"), }, "certmap": { - "adder_title": _("Add Certificate Mapping Data"), + "add": _("Add certificate identity mapping rule"), + "adder_title": _("Add certificate mapping data"), "data_label": _("Certificate mapping data"), "certificate": _("Certificate"), "conf_str": _("Configuration string"), "deleter_content": _("Do you want to remove certificate mapping data ${data}?"), - "deleter_title": _("Remove Certificate Mapping Data"), + "deleter_title": _("Remove certificate mapping data"), "issuer": _("Issuer"), "issuer_subject": _("Issuer and subject"), "remove": _("Remove certificate identity mapping rules"),