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 'Services' 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
dc9e5c57d5
commit
ac52facac2
@ -345,7 +345,10 @@ return {
|
||||
],
|
||||
actions: [
|
||||
'service_unprovision',
|
||||
'cert_request'
|
||||
{
|
||||
$type: 'cert_request',
|
||||
title: '@i18n:objects.cert.issue_for_service'
|
||||
}
|
||||
],
|
||||
header_actions: [
|
||||
'unprovision',
|
||||
@ -369,12 +372,14 @@ return {
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'memberof_role',
|
||||
add_title: '@i18n:objects.service.add_into_roles',
|
||||
remove_title: '@i18n:objects.service.remove_from_roles'
|
||||
},
|
||||
{
|
||||
$type: 'association',
|
||||
name: 'managedby_host',
|
||||
add_method: 'add_host',
|
||||
add_title: '@i18n:objects.service.add_hosts_managing',
|
||||
remove_method: 'remove_host',
|
||||
remove_title: '@i18n:objects.service.remove_hosts_managing'
|
||||
}
|
||||
|
@ -583,6 +583,9 @@ class i18n_messages(Command):
|
||||
"issue_for_host": _(
|
||||
"Issue new certificate for host '${primary_key}'"
|
||||
),
|
||||
"issue_for_service": _(
|
||||
"Issue new certificate for service '${primary_key}'"
|
||||
),
|
||||
"issue_for_user": _(
|
||||
"Issue new certificate for user '${primary_key}'"
|
||||
),
|
||||
@ -1082,6 +1085,12 @@ class i18n_messages(Command):
|
||||
},
|
||||
"service": {
|
||||
"add": _("Add service"),
|
||||
"add_hosts_managing": _(
|
||||
"Add hosts managing service '${primary_key}'"
|
||||
),
|
||||
"add_into_roles": _(
|
||||
"Add service '${primary_key}' into roles"
|
||||
),
|
||||
"certificate": _("Service Certificate"),
|
||||
"delete_key_unprovision": _("Delete Key, Unprovision"),
|
||||
"details": _("Service Settings"),
|
||||
|
Loading…
Reference in New Issue
Block a user