Add a title to 'remove' dialog for details of 'OTP Tokens' 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 db6462b826
commit f741c62f59
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -226,7 +226,8 @@ return {
$type: 'association',
name: 'managedby_user',
add_method: 'add_managedby',
remove_method: 'remove_managedby'
remove_method: 'remove_managedby',
remove_title: '@i18n:objects.otptoken.remove_users_managing',
}
],
+3
View File
@@ -833,6 +833,9 @@ class i18n_messages(Command):
"disable": _("Disable token"),
"enable": _("Enable token"),
"remove": _("Remove OTP tokens"),
"remove_users_managing": _(
"Remove users managing OTP token '${primary_key}'"
),
"show_qr": _("Show QR code"),
"show_uri": _("Show configuration uri"),
"type_hotp": _("Counter-based (HOTP)"),