Add title to 'add' dialog for 'Groups' 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 8a834cdaa0
commit 794a51ea93
4 changed files with 6 additions and 0 deletions

View File

@ -185,6 +185,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.group.add',
$factory: IPA.group_adder_dialog,
fields: [
'cn',

View File

@ -104,6 +104,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.hostgroup.add',
fields: [
'cn',
{

View File

@ -71,6 +71,7 @@ var spec = {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.netgroup.add',
fields: [
'cn',
{

View File

@ -698,6 +698,7 @@ class i18n_messages(Command):
"set": _("Set Domain Level"),
},
"group": {
"add": _("Add user group"),
"details": _("Group Settings"),
"external": _("External"),
"groups": _("Groups"),
@ -843,6 +844,7 @@ class i18n_messages(Command):
"unprovisioned": _("Host unprovisioned"),
},
"hostgroup": {
"add": _("Add host group"),
"host_group": _("Host Groups"),
"identity": _("Host Group Settings"),
"remove": _("Remove host groups"),
@ -902,6 +904,7 @@ class i18n_messages(Command):
"identity": _("Kerberos Ticket Policy"),
},
"netgroup": {
"add": _("Add netgroup"),
"any_host": _("Any Host"),
"anyone": _("Anyone"),
"external": _("External"),