Add warning/note when removing devices

This commit is contained in:
Eric Eastwood committed 2026-03-24 16:31:10 -05:00
1 parent 9927382400
commit 823fbe854d
4 files changed
+10 -5

No files matched your search

+2 -1
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": {
+2 -2
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."
}
}
}
}
+2 -2
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"
}
}
}
}
@@ -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