Add title to 'add' dialog for 'RBAC' 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 f3584661b4
commit 16fed6e97a
2 changed files with 10 additions and 0 deletions

View File

@ -210,6 +210,7 @@ return {
}
],
adder_dialog: {
title: '@i18n:objects.acipermission.add',
height: 450,
fields: [
{
@ -368,6 +369,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.aciprivilege.add',
fields: [
'cn',
{
@ -445,6 +447,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.acirole.add',
fields: [
'cn',
{
@ -487,6 +490,7 @@ return {
}
],
adder_dialog: {
title: '@i18n:objects.aciselfservice.add',
fields: [
'aciname',
{
@ -550,6 +554,7 @@ return {
],
standard_association_facets: false,
adder_dialog: {
title: '@i18n:objects.acidelegation.add',
fields: [
'aciname',
{

View File

@ -422,15 +422,18 @@ class i18n_messages(Command):
"attribute": _("Attribute"),
},
"acidelegation": {
"add": _("Add delegation"),
"remove": _("Remove delegations"),
},
"acipermission": {
"add": _("Add permission"),
"remove": _("Remove permissions"),
"remove_privileges": _(
"Remove privileges from permission '${primary_key}'"
),
},
"aciprivilege": {
"add": _("Add privilege"),
"remove": _("Remove privileges"),
"remove_from_permissions": _(
"Remove privilege '${primary_key}' from permissions"
@ -441,6 +444,7 @@ class i18n_messages(Command):
},
"acirole": {
"identity": _("Role Settings"),
"add": _("Add role"),
"remove": _("Remove roles"),
"remove_from_privileges": _(
"Remove role '${primary_key}' from privileges"
@ -462,6 +466,7 @@ class i18n_messages(Command):
),
},
"aciselfservice": {
"add": _("Add self service permission"),
"remove": _("Remove self service permissions"),
},
"automember": {