diff --git a/src/app/molecules/message/Message.jsx b/src/app/molecules/message/Message.jsx index 5a906f0d..07499977 100644 --- a/src/app/molecules/message/Message.jsx +++ b/src/app/molecules/message/Message.jsx @@ -547,7 +547,7 @@ const MessageOptions = React.memo(({ variant="danger" iconSrc={BinIC} onClick={() => { - if (window.confirm('Are you sure you want to delete this event')) { + if (window.confirm('Are you sure that you want to delete this event?')) { redactEvent(roomId, mEvent.getId()); } }} diff --git a/src/app/molecules/room-options/RoomOptions.jsx b/src/app/molecules/room-options/RoomOptions.jsx index 85b2b5a5..50178895 100644 --- a/src/app/molecules/room-options/RoomOptions.jsx +++ b/src/app/molecules/room-options/RoomOptions.jsx @@ -30,7 +30,7 @@ function RoomOptions({ roomId, afterOptionSelect }) { afterOptionSelect(); }; const handleLeaveClick = () => { - if (confirm('Are you really want to leave this room?')) { + if (confirm('Are you sure that you want to leave this room?')) { roomActions.leave(roomId); afterOptionSelect(); } diff --git a/src/app/molecules/room-profile/RoomProfile.jsx b/src/app/molecules/room-profile/RoomProfile.jsx index e485bede..4043cbf8 100644 --- a/src/app/molecules/room-profile/RoomProfile.jsx +++ b/src/app/molecules/room-profile/RoomProfile.jsx @@ -117,7 +117,7 @@ function RoomProfile({ roomId }) { const handleAvatarUpload = async (url) => { if (url === null) { - if (confirm('Are you sure you want to remove avatar?')) { + if (confirm('Are you sure that you want to remove room avatar?')) { await mx.sendStateEvent(roomId, 'm.room.avatar', { url }, ''); } } else await mx.sendStateEvent(roomId, 'm.room.avatar', { url }, ''); diff --git a/src/app/molecules/space-options/SpaceOptions.jsx b/src/app/molecules/space-options/SpaceOptions.jsx index 4b3e8cad..e9b72cb6 100644 --- a/src/app/molecules/space-options/SpaceOptions.jsx +++ b/src/app/molecules/space-options/SpaceOptions.jsx @@ -55,7 +55,7 @@ function SpaceOptions({ roomId, afterOptionSelect }) { }; const handleLeaveClick = () => { - if (confirm('Are you really want to leave this space?')) { + if (confirm('Are you sure that you want to leave this space?')) { leave(roomId); afterOptionSelect(); } diff --git a/src/app/organisms/profile-editor/ProfileEditor.jsx b/src/app/organisms/profile-editor/ProfileEditor.jsx index 038c2175..677985f4 100644 --- a/src/app/organisms/profile-editor/ProfileEditor.jsx +++ b/src/app/organisms/profile-editor/ProfileEditor.jsx @@ -40,7 +40,7 @@ function ProfileEditor({ userId }) { const handleAvatarUpload = (url) => { if (url === null) { - if (confirm('Are you sure you want to remove avatar?')) { + if (confirm('Are you sure that you want to remove avatar?')) { mx.setAvatarUrl(''); setAvatarSrc(null); } diff --git a/src/app/organisms/room/RoomSettings.jsx b/src/app/organisms/room/RoomSettings.jsx index 0fb27221..8d14c18d 100644 --- a/src/app/organisms/room/RoomSettings.jsx +++ b/src/app/organisms/room/RoomSettings.jsx @@ -86,7 +86,7 @@ function GeneralSettings({ roomId }) { { - if (confirm('Are you really want to leave this room?')) { + if (confirm('Are you sure that you want to leave this room?')) { roomActions.leave(roomId); } }} diff --git a/src/app/organisms/settings/DeviceManage.jsx b/src/app/organisms/settings/DeviceManage.jsx index ccc6c478..6beb2dc6 100644 --- a/src/app/organisms/settings/DeviceManage.jsx +++ b/src/app/organisms/settings/DeviceManage.jsx @@ -107,7 +107,7 @@ function DeviceManage() { const handleRemove = async (device, auth = undefined) => { if (auth === undefined - ? window.confirm(`You are about to logout "${device.display_name}" session?`) + ? window.confirm(`You are about to logout "${device.display_name}" session.`) : true ) { addToProcessing(device); diff --git a/src/app/organisms/space-settings/SpaceSettings.jsx b/src/app/organisms/space-settings/SpaceSettings.jsx index 5e557c80..18e21cf3 100644 --- a/src/app/organisms/space-settings/SpaceSettings.jsx +++ b/src/app/organisms/space-settings/SpaceSettings.jsx @@ -90,7 +90,7 @@ function GeneralSettings({ roomId }) { { - if (confirm('Are you really want to leave this space?')) { + if (confirm('Are you sure that you want to leave this space?')) { leave(roomId); } }}