mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-03-29 13:10:00 +00:00
Add warning/note when removing devices
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user