mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
Add title to 'Remove' dialog for 'association_table' widget of 'HBAC' entity
To improve translation quality the title of 'Remove' dialog, which is initialized within details table of the entity, should be specified explicitly in the spec and should be an entire sentence. Fixes: https://pagure.io/freeipa/issue/7704 Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
parent
8657b57a04
commit
1fd6817b6b
@ -327,7 +327,7 @@ var add_hbacrule_details_facet_widgets = function (spec) {
|
||||
add_method: 'add_user',
|
||||
remove_method: 'remove_user',
|
||||
add_title: '@i18n:association.add.member',
|
||||
remove_title: '@i18n:association.remove.member'
|
||||
remove_title: '@i18n:objects.hbacrule.remove_users',
|
||||
},
|
||||
{
|
||||
$type: 'rule_association_table',
|
||||
@ -336,7 +336,7 @@ var add_hbacrule_details_facet_widgets = function (spec) {
|
||||
add_method: 'add_user',
|
||||
remove_method: 'remove_user',
|
||||
add_title: '@i18n:association.add.member',
|
||||
remove_title: '@i18n:association.remove.member'
|
||||
remove_title: '@i18n:objects.hbacrule.remove_groups',
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -400,7 +400,7 @@ var add_hbacrule_details_facet_widgets = function (spec) {
|
||||
add_method: 'add_host',
|
||||
remove_method: 'remove_host',
|
||||
add_title: '@i18n:association.add.member',
|
||||
remove_title: '@i18n:association.remove.member'
|
||||
remove_title: '@i18n:objects.hbacrule.remove_hosts',
|
||||
},
|
||||
{
|
||||
$type: 'rule_association_table',
|
||||
@ -409,7 +409,7 @@ var add_hbacrule_details_facet_widgets = function (spec) {
|
||||
add_method: 'add_host',
|
||||
remove_method: 'remove_host',
|
||||
add_title: '@i18n:association.add.member',
|
||||
remove_title: '@i18n:association.remove.member'
|
||||
remove_title: '@i18n:objects.hbacrule.remove_hostgroups',
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -467,7 +467,7 @@ var add_hbacrule_details_facet_widgets = function (spec) {
|
||||
add_method: 'add_service',
|
||||
remove_method: 'remove_service',
|
||||
add_title: '@i18n:association.add.member',
|
||||
remove_title: '@i18n:association.remove.member'
|
||||
remove_title: '@i18n:objects.hbacrule.remove_services',
|
||||
},
|
||||
{
|
||||
$type: 'rule_association_table',
|
||||
@ -476,7 +476,7 @@ var add_hbacrule_details_facet_widgets = function (spec) {
|
||||
add_method: 'add_service',
|
||||
remove_method: 'remove_service',
|
||||
add_title: '@i18n:association.add.member',
|
||||
remove_title: '@i18n:association.remove.member'
|
||||
remove_title: '@i18n:objects.hbacrule.remove_servicegroups',
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -718,6 +718,25 @@ class i18n_messages(Command):
|
||||
"host": _("Accessing"),
|
||||
"ipaenabledflag": _("Rule status"),
|
||||
"remove": _("Remove HBAC rules"),
|
||||
"remove_groups": _(
|
||||
"Remove user groups from HBAC rule '${primary_key}'"
|
||||
),
|
||||
"remove_hostgroups": _(
|
||||
"Remove host groups from HBAC rule '${primary_key}'"
|
||||
),
|
||||
"remove_hosts": _(
|
||||
"Remove hosts from HBAC rule '${primary_key}'"
|
||||
),
|
||||
"remove_servicegroups": _(
|
||||
"Remove HBAC service groups from HBAC rule "
|
||||
"'${primary_key}'"
|
||||
),
|
||||
"remove_services": _(
|
||||
"Remove HBAC services from HBAC rule '${primary_key}'"
|
||||
),
|
||||
"remove_users": _(
|
||||
"Remove users from HBAC rule '${primary_key}'"
|
||||
),
|
||||
"service": _("Via Service"),
|
||||
"specified_hosts": _("Specified Hosts and Groups"),
|
||||
"specified_services": _("Specified Services and Groups"),
|
||||
|
Loading…
Reference in New Issue
Block a user