mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
Add title to 'add' dialog for details of 'Sudo' 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
30094d8212
commit
35b1b65a54
@ -156,6 +156,7 @@ return {
|
||||
width: '100px'
|
||||
}
|
||||
],
|
||||
add_title: '@i18n:objects.sudocmd.add_into_sudocmdgroups',
|
||||
remove_title: '@i18n:objects.sudocmd.remove_from_sudocmdgroups'
|
||||
}
|
||||
],
|
||||
@ -221,6 +222,7 @@ return {
|
||||
width: '100px'
|
||||
}
|
||||
],
|
||||
add_title: '@i18n:objects.sudocmdgroup.add_sudocmds',
|
||||
remove_title: '@i18n:objects.sudocmdgroup.remove_sudocmds'
|
||||
}
|
||||
],
|
||||
|
@ -1202,6 +1202,10 @@ class i18n_messages(Command):
|
||||
},
|
||||
"sudocmd": {
|
||||
"add": _("Add sudo command"),
|
||||
"add_into_sudocmdgroups": _(
|
||||
"Add sudo command '${primary_key}' into sudo command "
|
||||
"groups"
|
||||
),
|
||||
"groups": _("Groups"),
|
||||
"remove": _("Remove sudo commands"),
|
||||
"remove_from_sudocmdgroups": _(
|
||||
@ -1211,6 +1215,10 @@ class i18n_messages(Command):
|
||||
},
|
||||
"sudocmdgroup": {
|
||||
"add": _("Add sudo command group"),
|
||||
"add_sudocmds": _(
|
||||
"Add sudo commands into sudo command group "
|
||||
"'${primary_key}'"
|
||||
),
|
||||
"commands": _("Commands"),
|
||||
"remove": _("Remove sudo command groups"),
|
||||
"remove_sudocmds": _(
|
||||
|
Loading…
Reference in New Issue
Block a user