chore: Give non-destructive instructions when Keycard migration failed (#21843)
This commit is contained in:
parent
3191c70048
commit
398c30e9ed
|
@ -13,7 +13,7 @@
|
|||
customization-color (rf/sub [:profile/customization-color])]
|
||||
[:<>
|
||||
[quo/page-top
|
||||
{:title (i18n/label :t/failed-to-migrate-key-pair)
|
||||
{:title (i18n/label :t/something-didnt-go-as-planned)
|
||||
:description :context-tag
|
||||
:context-tag {:full-name profile-name
|
||||
:profile-picture profile-picture
|
||||
|
@ -24,9 +24,9 @@
|
|||
{:resize-mode :contain
|
||||
:source (resources/get-image :keycard-migration-failed)}]]
|
||||
[quo/divider-label (i18n/label :t/what-you-can-do)]
|
||||
[quo/markdown-list {:description (i18n/label :t/log-out-remove-profile)}]
|
||||
[quo/markdown-list {:description (i18n/label :t/recover-status-profile)}]
|
||||
[quo/markdown-list {:description (i18n/label :t/keycard-migration-failed-instruction-1)}]
|
||||
[quo/markdown-list {:description (i18n/label :t/keycard-migration-failed-instruction-2)}]
|
||||
[quo/bottom-actions
|
||||
{:actions :one-action
|
||||
:button-one-label (i18n/label :t/log-out-remove)
|
||||
:button-one-label (i18n/label :t/logout)
|
||||
:button-one-props {:on-press #(rf/dispatch [:profile/logout])}}]]))
|
||||
|
|
|
@ -1386,6 +1386,8 @@
|
|||
"keycard-is-frozen-reset": "Reset with PUK",
|
||||
"keycard-is-frozen-title": "Keycard is frozen",
|
||||
"keycard-locked": "Keycard is locked",
|
||||
"keycard-migration-failed-instruction-1": "Try logging out and logging back in with Keycard; everything might work fine.",
|
||||
"keycard-migration-failed-instruction-2": "If the key pair hasn’t migrated to Keycard, remove your profile, and recover it using your recovery phrase.",
|
||||
"keycard-not-empty": "Keycard is not empty",
|
||||
"keycard-onboarding-finishing-header": "Finishing up",
|
||||
"keycard-onboarding-intro-header": "Store your keys on Keycard",
|
||||
|
@ -2427,6 +2429,7 @@
|
|||
"slippage-should-be-more-than-0": "Slippage should be more than 0",
|
||||
"slow": "Slow",
|
||||
"something-about-you": "Something about you",
|
||||
"something-didnt-go-as-planned": "Something didn't go as planned",
|
||||
"something-went-wrong": "Something went wrong",
|
||||
"something-went-wrong-please-try-again-later": "Something went wrong. Modify swap parameters or try again later.",
|
||||
"soon": "Soon",
|
||||
|
|
Loading…
Reference in New Issue