Add title to 'add' dialog for details of 'HBAC' 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:
Stanislav Levin 2018-09-24 11:41:58 +03:00 committed by Serhii Tsymbaliuk
parent 01eba53c80
commit 30094d8212
2 changed files with 10 additions and 0 deletions

View File

@ -155,6 +155,7 @@ return {
width: '100px'
}
],
add_title: '@i18n:objects.hbacsvc.add_hbacsvcgroups',
remove_title: '@i18n:objects.hbacsvc.remove_from_hbacsvcgroups'
}
],
@ -219,6 +220,7 @@ return {
width: '100px'
}
],
add_title: '@i18n:objects.hbacsvcgroup.add_hbacsvcs',
remove_title: '@i18n:objects.hbacsvcgroup.remove_hbacsvcs'
}
],

View File

@ -811,6 +811,10 @@ class i18n_messages(Command):
},
"hbacsvc": {
"add": _("Add HBAC service"),
"add_hbacsvcgroups": _(
"Add HBAC service '${primary_key}' into HBAC service "
"groups"
),
"remove": _("Remove HBAC services"),
"remove_from_hbacsvcgroups": _(
"Remove HBAC service '${primary_key}' from HBAC service "
@ -819,6 +823,10 @@ class i18n_messages(Command):
},
"hbacsvcgroup": {
"add": _("Add HBAC service group"),
"add_hbacsvcs": _(
"Add HBAC services into HBAC service group "
"'${primary_key}'"
),
"remove": _("Remove HBAC service groups"),
"remove_hbacsvcs": _(
"Remove HBAC services from HBAC service group "