Add warning/note when removing devices

This commit is contained in:
Eric Eastwood
2026-03-24 16:26:49 -05:00
parent 9927382400
commit 823fbe854d
4 changed files with 10 additions and 5 deletions

View File

@@ -102,7 +102,8 @@
"heading": "The email address {{email}} is already in use."
},
"end_session_button": {
"confirmation_modal_title": "Are you sure you want to end this session?",
"confirmation_modal_title": "Are you sure you want to remove this device?",
"confirmation_modal_body_text": "Make sure you always have access to another verified device or your recovery key to avoid losing your encrypted chat history.",
"text": "Remove device"
},
"error": {

View File

@@ -125,7 +125,7 @@
"heading": "The email address {{email}} is already in use."
},
"end_session_button": {
"confirmation_modal_title": "Are you sure you want to end this session?",
"confirmation_modal_title": "Are you sure you want to remove this device?",
"text": "Remove device"
},
"error": {
@@ -398,4 +398,4 @@
"view_profile": "Veja as informações do seu perfil e os seus dados de contato."
}
}
}
}

View File

@@ -125,7 +125,7 @@
"heading": "The email address {{email}} is already in use."
},
"end_session_button": {
"confirmation_modal_title": "Are you sure you want to end this session?",
"confirmation_modal_title": "Are you sure you want to remove this device?",
"text": "Remove device"
},
"error": {
@@ -398,4 +398,4 @@
"view_profile": "Zobraziť informácie o vašom profile a kontaktné údaje"
}
}
}
}

View File

@@ -44,6 +44,10 @@ const EndSessionButton: React.FC<
{t("frontend.end_session_button.confirmation_modal_title")}
</Dialog.Title>
<Dialog.Description>
{t("frontend.end_session_button.confirmation_modal_body_text")}
</Dialog.Description>
{children && <Dialog.Description asChild>{children}</Dialog.Description>}
<Button