mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add a title to 'remove' dialog for details of 'Users' entity
To improve translation quality the title of 'Remove' 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/7702 Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
parent
ca68848ea4
commit
35fa528cdf
@ -463,19 +463,22 @@ return {
|
||||
$type: 'association',
|
||||
$pre_ops: [ IPA.user.association_facet_ss_pre_op ],
|
||||
name: 'memberof_group',
|
||||
associator: IPA.serial_associator
|
||||
associator: IPA.serial_associator,
|
||||
remove_title: '@i18n:objects.user.remove_from_groups',
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
$pre_ops: [ IPA.user.association_facet_ss_pre_op ],
|
||||
name: 'memberof_netgroup',
|
||||
associator: IPA.serial_associator
|
||||
associator: IPA.serial_associator,
|
||||
remove_title: '@i18n:objects.user.remove_from_netgroups',
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
$pre_ops: [ IPA.user.association_facet_ss_pre_op ],
|
||||
name: 'memberof_role',
|
||||
associator: IPA.serial_associator
|
||||
associator: IPA.serial_associator,
|
||||
remove_title: '@i18n:objects.user.remove_from_roles',
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
@ -483,7 +486,8 @@ return {
|
||||
name: 'memberof_hbacrule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_user',
|
||||
remove_method: 'remove_user'
|
||||
remove_method: 'remove_user',
|
||||
remove_title: '@i18n:objects.user.remove_from_hbac',
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
@ -491,7 +495,8 @@ return {
|
||||
name: 'memberof_sudorule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_user',
|
||||
remove_method: 'remove_user'
|
||||
remove_method: 'remove_user',
|
||||
remove_title: '@i18n:objects.user.remove_from_sudo',
|
||||
}
|
||||
],
|
||||
standard_association_facets: {
|
||||
|
@ -960,6 +960,21 @@ class i18n_messages(Command):
|
||||
"mode_preserve": _("preserve"),
|
||||
"noprivate": _("No private group"),
|
||||
"remove": _("Remove users"),
|
||||
"remove_from_groups": _(
|
||||
"Remove user '${primary_key}' from user groups"
|
||||
),
|
||||
"remove_from_netgroups": _(
|
||||
"Remove user '${primary_key}' from netgroups"
|
||||
),
|
||||
"remove_from_roles": _(
|
||||
"Remove user '${primary_key}' from roles"
|
||||
),
|
||||
"remove_from_hbac": _(
|
||||
"Remove user '${primary_key}' from HBAC rules"
|
||||
),
|
||||
"remove_from_sudo": _(
|
||||
"Remove user '${primary_key}' from sudo rules"
|
||||
),
|
||||
"status_confirmation": _("Are you sure you want to ${action} the user?<br/>The change will take effect immediately."),
|
||||
"status_link": _("Click to ${action}"),
|
||||
"unlock": _("Unlock"),
|
||||
|
Loading…
Reference in New Issue
Block a user