Add title to 'add' dialog for 'ID Views' 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 794a51ea93
commit 348e813b65
2 changed files with 6 additions and 0 deletions

View File

@ -208,6 +208,7 @@ return {
],
adder_dialog: {
title: '@i18n:objects.idview.add',
fields: [
'cn',
{
@ -291,6 +292,7 @@ return {
],
adder_dialog: {
title: '@i18n:objects.idview.add_user',
policies: [
{ $factory: idviews.idoverride_adder_policy }
],
@ -386,6 +388,7 @@ return {
],
adder_dialog: {
title: '@i18n:objects.idview.add_group',
policies: [
{ $factory: idviews.idoverride_adder_policy }
],

View File

@ -879,6 +879,9 @@ class i18n_messages(Command):
"anchor_tooltip_ad": _("Enter trusted group name."),
},
"idview": {
"add": _("Add ID view"),
"add_group": _("Add group ID override"),
"add_user": _("Add user ID override"),
"appliesto_tab": _("${primary_key} applies to:"),
"appliedtohosts": _("Applied to hosts"),
"appliedtohosts_title": _("Applied to hosts"),