mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Add title to 'add' dialog for details of 'Groups' entity
To improve translation quality the title of 'Add' dialog, which is initialized within details of the entity, should be specified explicitly in the spec and should be an entire sentence. Fixes: https://pagure.io/freeipa/issue/7712 Fixes: https://pagure.io/freeipa/issue/7714 Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
parent
ac52facac2
commit
9e4de506cb
@ -123,16 +123,19 @@ return {
|
||||
primary_key: true
|
||||
}
|
||||
],
|
||||
add_title: '@i18n:objects.group.add_users',
|
||||
remove_title: '@i18n:objects.group.remove_users'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'member_group',
|
||||
add_title: '@i18n:objects.group.add_groups',
|
||||
remove_title: '@i18n:objects.group.remove_groups'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'member_service',
|
||||
add_title: '@i18n:objects.group.add_services',
|
||||
remove_title: '@i18n:objects.group.remove_services'
|
||||
},
|
||||
{
|
||||
@ -152,18 +155,21 @@ return {
|
||||
$type: 'association',
|
||||
name: 'memberof_group',
|
||||
associator: IPA.serial_associator,
|
||||
add_title: '@i18n:objects.group.add_into_groups',
|
||||
remove_title: '@i18n:objects.group.remove_from_groups'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'memberof_netgroup',
|
||||
associator: IPA.serial_associator,
|
||||
add_title: '@i18n:objects.group.add_into_netgroups',
|
||||
remove_title: '@i18n:objects.group.remove_from_netgroups'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'memberof_role',
|
||||
associator: IPA.serial_associator,
|
||||
add_title: '@i18n:objects.group.add_into_roles',
|
||||
remove_title: '@i18n:objects.group.remove_from_roles'
|
||||
},
|
||||
{
|
||||
@ -171,6 +177,7 @@ return {
|
||||
name: 'memberof_hbacrule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_user',
|
||||
add_title: '@i18n:objects.group.add_into_hbac',
|
||||
remove_method: 'remove_user',
|
||||
remove_title: '@i18n:objects.group.remove_from_hbac'
|
||||
},
|
||||
@ -179,6 +186,7 @@ return {
|
||||
name: 'memberof_sudorule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_user',
|
||||
add_title: '@i18n:objects.group.add_into_sudo',
|
||||
remove_method: 'remove_user',
|
||||
remove_title: '@i18n:objects.group.remove_from_sudo'
|
||||
}
|
||||
|
@ -66,23 +66,27 @@ return {
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'member_host',
|
||||
add_title: '@i18n:objects.hostgroup.add_hosts',
|
||||
remove_title: '@i18n:objects.hostgroup.remove_hosts'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'member_hostgroup',
|
||||
add_title: '@i18n:objects.hostgroup.add_hostgroups',
|
||||
remove_title: '@i18n:objects.hostgroup.remove_hostgroups'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'memberof_hostgroup',
|
||||
associator: IPA.serial_associator,
|
||||
add_title: '@i18n:objects.hostgroup.add_into_hostgroups',
|
||||
remove_title: '@i18n:objects.hostgroup.remove_from_hostgroups'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'memberof_netgroup',
|
||||
associator: IPA.serial_associator,
|
||||
add_title: '@i18n:objects.hostgroup.add_into_netgroups',
|
||||
remove_title: '@i18n:objects.hostgroup.remove_from_netgroups'
|
||||
},
|
||||
{
|
||||
@ -90,6 +94,7 @@ return {
|
||||
name: 'memberof_hbacrule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_host',
|
||||
add_title: '@i18n:objects.hostgroup.add_into_hbac',
|
||||
remove_method: 'remove_host',
|
||||
remove_title: '@i18n:objects.hostgroup.remove_from_hbac'
|
||||
},
|
||||
@ -98,6 +103,7 @@ return {
|
||||
name: 'memberof_sudorule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_host',
|
||||
add_title: '@i18n:objects.hostgroup.add_into_sudo',
|
||||
remove_method: 'remove_host',
|
||||
remove_title: '@i18n:objects.hostgroup.remove_from_sudo'
|
||||
}
|
||||
|
@ -60,12 +60,14 @@ var spec = {
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'member_netgroup',
|
||||
add_title: '@i18n:objects.netgroup.add_netgroups',
|
||||
remove_title: '@i18n:objects.netgroup.remove_netgroups'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'memberof_netgroup',
|
||||
associator: IPA.serial_associator,
|
||||
add_title: '@i18n:objects.netgroup.add_into_netgroups',
|
||||
remove_title: '@i18n:objects.netgroup.remove_from_netgroups'
|
||||
}
|
||||
],
|
||||
|
@ -716,6 +716,30 @@ class i18n_messages(Command):
|
||||
},
|
||||
"group": {
|
||||
"add": _("Add user group"),
|
||||
"add_groups": _(
|
||||
"Add user groups into user group '${primary_key}'"
|
||||
),
|
||||
"add_into_groups": _(
|
||||
"Add user group '${primary_key}' into user groups"
|
||||
),
|
||||
"add_into_hbac": _(
|
||||
"Add user group '${primary_key}' into HBAC rules"
|
||||
),
|
||||
"add_into_netgroups": _(
|
||||
"Add user group '${primary_key}' into netgroups"
|
||||
),
|
||||
"add_into_roles": _(
|
||||
"Add user group '${primary_key}' into roles"
|
||||
),
|
||||
"add_into_sudo": _(
|
||||
"Add user group '${primary_key}' into sudo rules"
|
||||
),
|
||||
"add_services": _(
|
||||
"Add services into user group '${primary_key}'"
|
||||
),
|
||||
"add_users": _(
|
||||
"Add users into user group '${primary_key}'"
|
||||
),
|
||||
"details": _("Group Settings"),
|
||||
"external": _("External"),
|
||||
"groups": _("Groups"),
|
||||
@ -883,6 +907,24 @@ class i18n_messages(Command):
|
||||
},
|
||||
"hostgroup": {
|
||||
"add": _("Add host group"),
|
||||
"add_hosts": _(
|
||||
"Add hosts into host group '${primary_key}'"
|
||||
),
|
||||
"add_hostgroups": _(
|
||||
"Add host groups into host group '${primary_key}'"
|
||||
),
|
||||
"add_into_hostgroups": _(
|
||||
"Add host group '${primary_key}' into host groups"
|
||||
),
|
||||
"add_into_hbac": _(
|
||||
"Add host group '${primary_key}' into HBAC rules"
|
||||
),
|
||||
"add_into_netgroups": _(
|
||||
"Add host group '${primary_key}' into netgroups"
|
||||
),
|
||||
"add_into_sudo": _(
|
||||
"Add host group '${primary_key}' into sudo rules"
|
||||
),
|
||||
"host_group": _("Host Groups"),
|
||||
"identity": _("Host Group Settings"),
|
||||
"remove": _("Remove host groups"),
|
||||
@ -946,6 +988,12 @@ class i18n_messages(Command):
|
||||
},
|
||||
"netgroup": {
|
||||
"add": _("Add netgroup"),
|
||||
"add_into_netgroups": _(
|
||||
"Add netgroup '${primary_key}' into netgroups"
|
||||
),
|
||||
"add_netgroups": _(
|
||||
"Add netgroups into netgroup '${primary_key}'"
|
||||
),
|
||||
"any_host": _("Any Host"),
|
||||
"anyone": _("Anyone"),
|
||||
"external": _("External"),
|
||||
|
Loading…
Reference in New Issue
Block a user