Add title to remove dialog of 'Groups' 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-13 21:41:34 +03:00 committed by Serhii Tsymbaliuk
parent 3c26a3b850
commit d06f4984be
4 changed files with 15 additions and 3 deletions

View File

@ -207,7 +207,10 @@ return {
},
'gidnumber'
]
}
},
deleter_dialog: {
title: '@i18n:objects.group.remove',
},
};};
IPA.group_adder_dialog = function(spec) {

View File

@ -97,7 +97,10 @@ return {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.hostgroup.remove',
},
};};

View File

@ -72,7 +72,10 @@ var spec = {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.netgroup.remove',
},
};
add_netgroup_details_facet_widgets(spec.facets[1]);

View File

@ -604,6 +604,7 @@ class i18n_messages(Command):
"make_posix": _("Change to POSIX group"),
"nonposix": _("Non-POSIX"),
"posix": _("POSIX"),
"remove": _("Remove user groups"),
"type": _("Group Type"),
"user_groups": _("User Groups"),
},
@ -669,6 +670,7 @@ class i18n_messages(Command):
"hostgroup": {
"host_group": _("Host Groups"),
"identity": _("Host Group Settings"),
"remove": _("Remove host groups"),
},
"idoverrideuser": {
"anchor_label": _("User to override"),
@ -712,6 +714,7 @@ class i18n_messages(Command):
"hosts": _("Hosts"),
"identity": _("Netgroup Settings"),
"netgroups": _("Netgroups"),
"remove": _("Remove netgroups"),
"specified_hosts": _("Specified Hosts and Groups"),
"specified_users": _("Specified Users and Groups"),
"user": _("User"),