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 'association_table' widget of Groups entity
To improve translation quality the title of 'Add' 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/7712 Fixes: https://pagure.io/freeipa/issue/7714 Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
parent
20688f0fa7
commit
c14ef57307
@ -190,7 +190,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
|
||||
name: 'memberuser_user',
|
||||
add_method: 'add_member',
|
||||
remove_method: 'remove_member',
|
||||
add_title: '@i18n:association.add.member',
|
||||
add_title: '@i18n:objects.netgroup.add_users',
|
||||
remove_title: '@i18n:objects.netgroup.remove_users',
|
||||
columns: [
|
||||
{
|
||||
@ -206,7 +206,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
|
||||
name: 'memberuser_group',
|
||||
add_method: 'add_member',
|
||||
remove_method: 'remove_member',
|
||||
add_title: '@i18n:association.add.member',
|
||||
add_title: '@i18n:objects.netgroup.add_groups',
|
||||
remove_title: '@i18n:objects.netgroup.remove_groups',
|
||||
columns: [
|
||||
{
|
||||
@ -279,7 +279,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
|
||||
add_method: 'add_member',
|
||||
remove_method: 'remove_member',
|
||||
external: 'externalhost',
|
||||
add_title: '@i18n:association.add.member',
|
||||
add_title: '@i18n:objects.netgroup.add_hosts',
|
||||
remove_title: '@i18n:objects.netgroup.remove_hosts',
|
||||
columns: [
|
||||
{
|
||||
@ -301,7 +301,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
|
||||
name: 'memberhost_hostgroup',
|
||||
add_method: 'add_member',
|
||||
remove_method: 'remove_member',
|
||||
add_title: '@i18n:association.add.member',
|
||||
add_title: '@i18n:objects.netgroup.add_hostgroups',
|
||||
remove_title: '@i18n:objects.netgroup.remove_hostgroups',
|
||||
columns: [
|
||||
{
|
||||
|
@ -1056,6 +1056,18 @@ class i18n_messages(Command):
|
||||
"add_netgroups": _(
|
||||
"Add netgroups into netgroup '${primary_key}'"
|
||||
),
|
||||
"add_groups": _(
|
||||
"Add user groups into netgroup '${primary_key}'"
|
||||
),
|
||||
"add_hosts": _(
|
||||
"Add hosts into netgroup '${primary_key}'"
|
||||
),
|
||||
"add_hostgroups": _(
|
||||
"Add host groups into netgroup '${primary_key}'"
|
||||
),
|
||||
"add_users": _(
|
||||
"Add users into netgroup '${primary_key}'"
|
||||
),
|
||||
"any_host": _("Any Host"),
|
||||
"anyone": _("Anyone"),
|
||||
"external": _("External"),
|
||||
|
Loading…
Reference in New Issue
Block a user