mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-15 19:24:36 +00:00
[#9666] Missing translations on "Lock app with fingerprint", "Save with password" popups
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
6a90d76c98
commit
6982414af8
@ -18,8 +18,9 @@
|
|||||||
ok-button-label cancel-button-label on-cancel on-confirm]}]
|
ok-button-label cancel-button-label on-cancel on-confirm]}]
|
||||||
(let [supported-biometric-auth (get-supported-biometric-auth)
|
(let [supported-biometric-auth (get-supported-biometric-auth)
|
||||||
bio-type-label (get-bio-type-label)]
|
bio-type-label (get-bio-type-label)]
|
||||||
[react/view {:margin-top 24
|
[react/view {:margin-top 24
|
||||||
:align-items :center}
|
:align-items :center
|
||||||
|
:padding-horizontal 24}
|
||||||
[react/view {:width 32
|
[react/view {:width 32
|
||||||
:height 32
|
:height 32
|
||||||
:background-color colors/blue-light
|
:background-color colors/blue-light
|
||||||
@ -63,7 +64,7 @@
|
|||||||
|
|
||||||
(defn enable-biometric-popover []
|
(defn enable-biometric-popover []
|
||||||
[biometric-popover
|
[biometric-popover
|
||||||
{:title-label :t/biometric-enable-title
|
{:title-label :t/biometric-secure-with
|
||||||
:description-label :t/to-enable-biometric
|
:description-label :t/to-enable-biometric
|
||||||
:ok-button-label :t/biometric-enable-button
|
:ok-button-label :t/biometric-enable-button
|
||||||
:on-confirm :biometric-logout}])
|
:on-confirm :biometric-logout}])
|
||||||
@ -72,11 +73,9 @@
|
|||||||
(let [keycard-account? @(re-frame/subscribe
|
(let [keycard-account? @(re-frame/subscribe
|
||||||
[:multiaccounts.login/keycard-account?])]
|
[:multiaccounts.login/keycard-account?])]
|
||||||
[biometric-popover
|
[biometric-popover
|
||||||
{:title-label :t/biometric-secure-with
|
{:title-label :t/biometric-secure-with
|
||||||
:ok-button-label :t/biometric-enable-button
|
:ok-button-label :t/biometric-enable-button
|
||||||
:on-confirm :biometric/enable
|
:on-confirm :biometric/enable
|
||||||
|
:description-label (if keycard-account?
|
||||||
:description-label
|
:t/biometric-enable-keycard
|
||||||
(if keycard-account?
|
:t/biometric-enable)}]))
|
||||||
(i18n/label :t/biometric-enable-keycard)
|
|
||||||
(i18n/label :t/biometric-enable))}]))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user