From 8d13d4efca5b59835f8666c7308d15f7b345fd0b Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 14 Sep 2018 09:54:31 +0300 Subject: [PATCH] Add title to remove dialog of 'Password Policies' 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/policy.js | 7 +++++-- ipaserver/plugins/internal.py | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/install/ui/src/freeipa/policy.js b/install/ui/src/freeipa/policy.js index 83f47e70e..b890f2bda 100644 --- a/install/ui/src/freeipa/policy.js +++ b/install/ui/src/freeipa/policy.js @@ -93,7 +93,10 @@ return { } ], height: 300 - } + }, + deleter_dialog: { + title: '@i18n:objects.pwpolicy.remove', + }, };}; exp.krbtpolicy = IPA.krbtpolicy = {}; @@ -135,4 +138,4 @@ exp.register = function() { phases.on('registration', exp.register); return exp; -}); \ No newline at end of file +}); diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index f804bf31d..068eae94b 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -763,6 +763,7 @@ class i18n_messages(Command): }, "pwpolicy": { "identity": _("Password Policy"), + "remove": _("Remove password policies"), }, "idrange": { "details": _("Range Settings"),