Add title to remove dialog of 'OTP Tokens' entity

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

Fixes: https://pagure.io/freeipa/issue/7699
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-14 11:09:09 +03:00 committed by Serhii Tsymbaliuk
parent dfd22e7497
commit 93eebdb581
2 changed files with 5 additions and 1 deletions

View File

@ -305,7 +305,10 @@ return {
},
'description'
]
}
},
deleter_dialog: {
title: '@i18n:objects.otptoken.remove',
},
};};
otptoken.adder_policy = function(spec) {

View File

@ -743,6 +743,7 @@ class i18n_messages(Command):
"details": _("OTP Token Settings"),
"disable": _("Disable token"),
"enable": _("Enable token"),
"remove": _("Remove OTP tokens"),
"show_qr": _("Show QR code"),
"show_uri": _("Show configuration uri"),
"type_hotp": _("Counter-based (HOTP)"),