From dcd903433211a8eaa3dcac11500a25fb807810f7 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 14 Sep 2018 11:23:45 +0300 Subject: [PATCH] Add title to remove dialog of 'Certificate Identity Mapping Rules' 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/plugins/certmap.js | 5 ++++- ipaserver/plugins/internal.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/install/ui/src/freeipa/plugins/certmap.js b/install/ui/src/freeipa/plugins/certmap.js index c613601e9..04c54d506 100644 --- a/install/ui/src/freeipa/plugins/certmap.js +++ b/install/ui/src/freeipa/plugins/certmap.js @@ -165,7 +165,10 @@ return { name: 'description' } ] - } + }, + deleter_dialog: { + title: '@i18n:objects.certmap.remove', + }, };}; diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 01a75cee6..b3888185a 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -545,6 +545,7 @@ class i18n_messages(Command): "deleter_title": _("Remove Certificate Mapping Data"), "issuer": _("Issuer"), "issuer_subject": _("Issuer and subject"), + "remove": _("Remove certificate identity mapping rules"), "subject": _("Subject"), "version": _("Version"), },