mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 11:40:29 +03:00
Improve strings (#488)
* Update SpaceOptions.jsx * Update RoomOptions.jsx * Update RoomProfile.jsx * Update ProfileEditor.jsx * Update RoomSettings.jsx * Update SpaceSettings.jsx * Update Message.jsx * Update DeviceManage.jsx * Update Message.jsx * Update RoomProfile.jsx
This commit is contained in:
parent
ba0de8800a
commit
8b3bd38bad
8 changed files with 8 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ function GeneralSettings({ roomId }) {
|
|||
<MenuItem
|
||||
variant="danger"
|
||||
onClick={() => {
|
||||
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);
|
||||
}
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ function GeneralSettings({ roomId }) {
|
|||
<MenuItem
|
||||
variant="danger"
|
||||
onClick={() => {
|
||||
if (confirm('Are you really want to leave this space?')) {
|
||||
if (confirm('Are you sure that you want to leave this space?')) {
|
||||
leave(roomId);
|
||||
}
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue