Add title to 'add' dialog for 'OTP' 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 c6221a5104
commit 70cb5ba095
2 changed files with 2 additions and 1 deletions

View File

@@ -232,6 +232,7 @@ return {
],
adder_dialog: {
title: '@i18n:objects.otptoken.add',
$factory: otptoken.adder_dialog,
$pre_ops: [
otptoken.adder_dialog_preop