Add title to 'add' dialog for details of 'OTP Tokens' 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 authored and Serhii Tsymbaliuk committed 2018-10-02 16:37:17 +02:00
1 parent 35b1b65a54
commit 958b105761
2 files changed
+4

No files matched your search

+1
View File
@@ -226,6 +226,7 @@ return {
$type: 'association',
name: 'managedby_user',
add_method: 'add_managedby',
add_title: '@i18n:objects.otptoken.add_users_managing',
remove_method: 'remove_managedby',
remove_title: '@i18n:objects.otptoken.remove_users_managing'
}
+3
View File
@@ -1042,6 +1042,9 @@ class i18n_messages(Command):
},
"otptoken": {
"add": _("Add OTP token"),
"add_users_managing": _(
"Add users managing OTP token '${primary_key}'"
),
"app_link": _("You can use <a href=\"${link}\" target=\"_blank\">FreeOTP<a/> as a software OTP token application."),
"config_title": _("Configure your token"),
"config_instructions": _("Configure your token by scanning the QR code below. Click on the QR code if you see this on the device you want to configure."),