Add a title to 'remove' dialog for details of 'HBAC' entity

To improve translation quality the title of 'Remove' 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/7702
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin authored and Serhii Tsymbaliuk committed 2018-09-25 15:16:05 +02:00
1 parent 6e839f91fa
commit ea0e6a3663
2 files changed
+12 -2

No files matched your search

+4 -2
View File
@@ -153,7 +153,8 @@ return {
name: 'description',
width: '100px'
}
]
],
remove_title: '@i18n:objects.hbacsvc.remove_from_hbacsvcgroups',
}
],
standard_association_facets: true,
@@ -215,7 +216,8 @@ return {
name: 'description',
width: '100px'
}
]
],
remove_title: '@i18n:objects.hbacsvcgroup.remove_hbacsvcs',
}
],
standard_association_facets: true,
+8
View File
@@ -670,9 +670,17 @@ class i18n_messages(Command):
},
"hbacsvc": {
"remove": _("Remove HBAC services"),
"remove_from_hbacsvcgroups": _(
"Remove HBAC service '${primary_key}' from HBAC service "
"groups"
),
},
"hbacsvcgroup": {
"remove": _("Remove HBAC service groups"),
"remove_hbacsvcs": _(
"Remove HBAC services from HBAC service group "
"'${primary_key}'"
),
"services": _("Services"),
},
"hbactest": {