udpated two recovery device lost message

This commit is contained in:
Abhinav-grd 2021-06-29 19:52:41 +05:30
parent 63d44d1da4
commit 6b5b513f6a
2 changed files with 6 additions and 2 deletions

View file

@ -103,9 +103,9 @@ export default function Recover() {
show={messageDialogView}
onHide={() => SetMessageDialogView(false)}
attributes={{
title: constants.SORRY,
title: constants.CONTACT_SUPPORT,
close: {},
content: constants.NO_RECOVERY_KEY_MESSAGE,
content: constants.NO_TWO_FACTOR_RECOVERY_KEY_MESSAGE(),
}}
/>
</>

View file

@ -167,6 +167,10 @@ const englishConstants = {
SORRY: 'sorry',
NO_RECOVERY_KEY_MESSAGE:
'due to the nature of our end-to-end encryption protocol, your data cannot be decrypted without your password or recovery key',
NO_TWO_FACTOR_RECOVERY_KEY_MESSAGE: () => (<>
please drop an email to <a href="mailto:support@ente.io">support@ente.io</a> from your registered email
</>),
CONTACT_SUPPORT: 'contact support',
REQUEST_FEATURE: 'request feature',
SUPPORT: 'support',
CONFIRM: 'confirm',