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 <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-14 09:54:31 +03:00 committed by Serhii Tsymbaliuk
parent 772e096de0
commit 8d13d4efca
2 changed files with 6 additions and 2 deletions

View File

@ -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;
});
});

View File

@ -763,6 +763,7 @@ class i18n_messages(Command):
},
"pwpolicy": {
"identity": _("Password Policy"),
"remove": _("Remove password policies"),
},
"idrange": {
"details": _("Range Settings"),