diff --git a/frontend/locales/en.json b/frontend/locales/en.json index f3028c155..cd4836d18 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -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_body_text": "Make sure you always have access to another verified device or your recovery key to avoid losing your encrypted chat history.", + "confirmation_modal_title": "Are you sure you want to remove this device?", "text": "Remove device" }, "error": { diff --git a/frontend/src/components/Session/EndSessionButton.tsx b/frontend/src/components/Session/EndSessionButton.tsx index 8dd0af67d..58d432704 100644 --- a/frontend/src/components/Session/EndSessionButton.tsx +++ b/frontend/src/components/Session/EndSessionButton.tsx @@ -44,6 +44,10 @@ const EndSessionButton: React.FC< {t("frontend.end_session_button.confirmation_modal_title")} + + {t("frontend.end_session_button.confirmation_modal_body_text")} + + {children && {children}}