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 <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin
2018-09-21 11:45:28 +03:00
committed by Serhii Tsymbaliuk
parent e506f266ef
commit 4bd03e4723
2 changed files with 2 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.pwpolicy.add',
fields: [
{
$type: 'entity_select',

View File

@@ -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"),
},