Add title to 'remove' dialog for 'association_table' widget of 'Groups' 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:
Stanislav Levin
2018-09-16 23:14:45 +03:00
committed by Serhii Tsymbaliuk
parent 0825170a58
commit 79aa59205a
2 changed files with 18 additions and 6 deletions

View File

@@ -188,7 +188,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
add_method: 'add_member',
remove_method: 'remove_member',
add_title: '@i18n:association.add.member',
remove_title: '@i18n:association.remove.member',
remove_title: '@i18n:objects.netgroup.remove_users',
columns: [
{
name: 'memberuser_user',
@@ -204,7 +204,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
add_method: 'add_member',
remove_method: 'remove_member',
add_title: '@i18n:association.add.member',
remove_title: '@i18n:association.remove.member',
remove_title: '@i18n:objects.netgroup.remove_groups',
columns: [
{
name: 'memberuser_group',
@@ -277,7 +277,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
remove_method: 'remove_member',
external: 'externalhost',
add_title: '@i18n:association.add.member',
remove_title: '@i18n:association.remove.member',
remove_title: '@i18n:objects.netgroup.remove_hosts',
columns: [
{
name: 'memberhost_host',
@@ -299,7 +299,7 @@ var add_netgroup_details_facet_widgets = function (spec) {
add_method: 'add_member',
remove_method: 'remove_member',
add_title: '@i18n:association.add.member',
remove_title: '@i18n:association.remove.member',
remove_title: '@i18n:objects.netgroup.remove_hostgroups',
columns: [
{
name: 'memberhost_hostgroup',