summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/freeipa/otptoken.js4
-rw-r--r--install/ui/test/data/ipa_init.json4
2 files changed, 5 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/otptoken.js b/install/ui/src/freeipa/otptoken.js
index c9570a697..c32df3c00 100644
--- a/install/ui/src/freeipa/otptoken.js
+++ b/install/ui/src/freeipa/otptoken.js
@@ -227,8 +227,8 @@ return {
name: 'type',
default_value: 'totp',
options: [
- { label: 'TOTP', value: 'totp' },
- { label: 'HOTP', value: 'hotp' }
+ { label: '@i18n:objects.otptoken.type_totp', value: 'totp' },
+ { label: '@i18n:objects.otptoken.type_hotp', value: 'hotp' }
]
},
{
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index 7f268de8d..6d1cfc54c 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -378,7 +378,9 @@
"otptoken": {
"details": "OTP Token Settings",
"disable": "Disable token",
- "enable": "Enable token"
+ "enable": "Enable token",
+ "type_hotp": "Counter-based (HOTP)",
+ "type_totp": "Time-based (TOTP)"
},
"permission": {
"add_custom_attr": "Add custom attribute",