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 authored and Serhii Tsymbaliuk committed 2018-10-01 10:28:14 +02:00
1 parent 8a834cdaa0
commit 794a51ea93
4 files changed
+6

No files matched your search

+1
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',
+1
View File
@@ -104,6 +104,7 @@ return {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.hostgroup.add',
fields: [
'cn',
{
+1
View File
@@ -71,6 +71,7 @@ var spec = {
],
standard_association_facets: true,
adder_dialog: {
title: '@i18n:objects.netgroup.add',
fields: [
'cn',
{
+3
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"),