mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 11:06:25 +00:00
Use i18n for biometric auth types
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
parent
793579885a
commit
9c37eac6f4
@ -48,9 +48,9 @@
|
||||
|
||||
(defn get-label [supported-biometric-auth]
|
||||
(case supported-biometric-auth
|
||||
:fingerprint "Fingerprint"
|
||||
:FaceID "Face ID"
|
||||
"Touch ID"))
|
||||
:fingerprint (i18n/label :t/biometric-fingerprint)
|
||||
:FaceID (i18n/label :t/biometric-faceid)
|
||||
(i18n/label :t/biometric-touchid)))
|
||||
|
||||
(defn- get-error-message
|
||||
"must return an error message for the user"
|
||||
|
@ -75,6 +75,9 @@
|
||||
"biometric-disable-password-title": "Disable password saving",
|
||||
"biometric-disable-password-description": "If you disable this, you will also ",
|
||||
"biometric-enable-button": "Enable {{bio-type-label}}",
|
||||
"biometric-fingerprint": "Fingerprint",
|
||||
"biometric-faceid": "Face ID",
|
||||
"biometric-touchid": "Touch ID",
|
||||
"blank-keycard-text": "You can proceed with your keycard once you've generated your keys and name",
|
||||
"blank-keycard-title": "Looks like you’ve tapped \na blank keycard",
|
||||
"block": "Block",
|
||||
|
Loading…
x
Reference in New Issue
Block a user