From edcf43efba812427f022de8328b53ada2b08b1e4 Mon Sep 17 00:00:00 2001
From: Krishan <33421343+kfiven@users.noreply.github.com>
Date: Sun, 6 Mar 2022 15:57:39 +0530
Subject: [PATCH] Update English strings, fix #352, #354 (#356)
* Fix #354
* Fix #352
---
src/app/molecules/room-search/RoomSearch.jsx | 2 +-
.../space-add-existing/SpaceAddExisting.jsx | 2 +-
src/app/organisms/room/PeopleDrawer.jsx | 2 +-
src/app/organisms/room/common.jsx | 12 ++++++------
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/app/molecules/room-search/RoomSearch.jsx b/src/app/molecules/room-search/RoomSearch.jsx
index 64356f0..f6bdf24 100644
--- a/src/app/molecules/room-search/RoomSearch.jsx
+++ b/src/app/molecules/room-search/RoomSearch.jsx
@@ -164,7 +164,7 @@ function RoomSearch({ roomId }) {
{!isRoomEncrypted && searchData?.results.length === 0 && (
- No result found
+ No results found
)}
{isRoomEncrypted && (
diff --git a/src/app/molecules/space-add-existing/SpaceAddExisting.jsx b/src/app/molecules/space-add-existing/SpaceAddExisting.jsx
index 58604c7..f7a3120 100644
--- a/src/app/molecules/space-add-existing/SpaceAddExisting.jsx
+++ b/src/app/molecules/space-add-existing/SpaceAddExisting.jsx
@@ -124,7 +124,7 @@ function SpaceAddExistingContent({ roomId }) {
/>
- {searchIds?.length === 0 && No result found}
+ {searchIds?.length === 0 && No results found}
{
(searchIds || allRoomIds).map((rId) => {
const room = mx.getRoom(rId);
diff --git a/src/app/organisms/room/PeopleDrawer.jsx b/src/app/organisms/room/PeopleDrawer.jsx
index ee96614..f00ff89 100644
--- a/src/app/organisms/room/PeopleDrawer.jsx
+++ b/src/app/organisms/room/PeopleDrawer.jsx
@@ -195,7 +195,7 @@ function PeopleDrawer({ roomId }) {
(searchedMembers?.data.length === 0 || memberList.length === 0)
&& (
- No result found!
+ No results found!
)
}
diff --git a/src/app/organisms/room/common.jsx b/src/app/organisms/room/common.jsx
index 2120e78..12b9f2b 100644
--- a/src/app/organisms/room/common.jsx
+++ b/src/app/organisms/room/common.jsx
@@ -87,7 +87,7 @@ function getTimelineJSXMessages() {
return (
<>
{twemojify(user)}
- {' set the avatar'}
+ {' set a avatar'}
>
);
},
@@ -95,7 +95,7 @@ function getTimelineJSXMessages() {
return (
<>
{twemojify(user)}
- {' changed the avatar'}
+ {' changed their avatar'}
>
);
},
@@ -103,7 +103,7 @@ function getTimelineJSXMessages() {
return (
<>
{twemojify(user)}
- {' removed the avatar'}
+ {' removed their avatar'}
>
);
},
@@ -111,7 +111,7 @@ function getTimelineJSXMessages() {
return (
<>
{twemojify(user)}
- {' set the display name to '}
+ {' set display name to '}
{twemojify(newName)}
>
);
@@ -120,7 +120,7 @@ function getTimelineJSXMessages() {
return (
<>
{twemojify(user)}
- {' changed the display name to '}
+ {' changed their display name to '}
{twemojify(newName)}
>
);
@@ -129,7 +129,7 @@ function getTimelineJSXMessages() {
return (
<>
{twemojify(user)}
- {' removed the display name '}
+ {' removed their display name '}
{twemojify(lastName)}
>
);