From 0f72fa2e441a7a6d178b959939887bfbfcd85ede 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 'Password Policies' 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/policy.js b/install/ui/src/freeipa/policy.js index 3e04986..97317df 100644 --- a/install/ui/src/freeipa/policy.js +++ b/install/ui/src/freeipa/policy.js @@ -79,6 +79,7 @@ return { ], standard_association_facets: true, adder_dialog: { + title: '@i18n:objects.pwpolicy.add', fields: [ { $type: 'entity_select', diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 9ce09ae..952d60a 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -987,6 +987,7 @@ class i18n_messages(Command): "status_new_s": _("New: key set"), }, "pwpolicy": { + "add": _("Add password policy"), "identity": _("Password Policy"), "remove": _("Remove password policies"), },