Add title to 'add' dialog for 'Vault' entity

To improve translation quality the title of 'Add' dialog should be
specified explicitly in the spec and should be an entire sentence.

Fixes: https://pagure.io/freeipa/issue/7707
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-21 11:45:28 +03:00 committed by Serhii Tsymbaliuk
parent 8dddc003bd
commit f3584661b4
2 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,7 @@ var make_my_vault_spec = function() {
}
],
adder_dialog: {
title: '@i18n:objects.vault.add',
$factory: vault.custom_adder_dialog,
name: 'add',
method: 'add_internal',

View File

@ -1266,6 +1266,7 @@ class i18n_messages(Command):
"unlock_confirm": _("Are you sure you want to unlock user ${object}?"),
},
"vault": {
"add": _("Add vault"),
"add_warn_arch_ret": _(
"Secrets can be added/retrieved to vault only by using "
"vault-archive and vault-retrieve from CLI."