Update English strings, fix #352, #354 (#356)
authorKrishan <33421343+kfiven@users.noreply.github.com>
Sun, 6 Mar 2022 10:27:39 +0000 (15:57 +0530)
committerGitHub <noreply@github.com>
Sun, 6 Mar 2022 10:27:39 +0000 (15:57 +0530)
* Fix #354

* Fix #352

src/app/molecules/room-search/RoomSearch.jsx
src/app/molecules/space-add-existing/SpaceAddExisting.jsx
src/app/organisms/room/PeopleDrawer.jsx
src/app/organisms/room/common.jsx

index 64356f0055122c9d5ba5a80828acf2ab639b3da9..f6bdf2424e91a98f465e928bf4d74a64a320611b 100644 (file)
@@ -164,7 +164,7 @@ function RoomSearch({ roomId }) {
 
         {!isRoomEncrypted && searchData?.results.length === 0 && (
           <div className="room-search__help">
-            <Text>No result found</Text>
+            <Text>No results found</Text>
           </div>
         )}
         {isRoomEncrypted && (
index 58604c7efdea17be64992967b0c0254c308ce266..f7a3120d62acda76d759b21f07602cbbfc80732d 100644 (file)
@@ -124,7 +124,7 @@ function SpaceAddExistingContent({ roomId }) {
         />
         <IconButton size="small" type="button" onClick={handleSearchClear} src={CrossIC} />
       </form>
-      {searchIds?.length === 0 && <Text>No result found</Text>}
+      {searchIds?.length === 0 && <Text>No results found</Text>}
       {
         (searchIds || allRoomIds).map((rId) => {
           const room = mx.getRoom(rId);
index ee96614685d0caeebc459463fa86055334e3987d..f00ff890543cb187c62001e24f6ba5f0eb62ae3e 100644 (file)
@@ -195,7 +195,7 @@ function PeopleDrawer({ roomId }) {
                 (searchedMembers?.data.length === 0 || memberList.length === 0)
                 && (
                   <div className="people-drawer__noresult">
-                    <Text variant="b2">No result found!</Text>
+                    <Text variant="b2">No results found!</Text>
                   </div>
                 )
               }
index 2120e7858f49307a2f7080e50416a8d1cdd30c98..12b9f2ba46f57bd275c65b49370ea23c75507993 100644 (file)
@@ -87,7 +87,7 @@ function getTimelineJSXMessages() {
       return (
         <>
           <b>{twemojify(user)}</b>
-          {' set the avatar'}
+          {' set a avatar'}
         </>
       );
     },
@@ -95,7 +95,7 @@ function getTimelineJSXMessages() {
       return (
         <>
           <b>{twemojify(user)}</b>
-          {' changed the avatar'}
+          {' changed their avatar'}
         </>
       );
     },
@@ -103,7 +103,7 @@ function getTimelineJSXMessages() {
       return (
         <>
           <b>{twemojify(user)}</b>
-          {' removed the avatar'}
+          {' removed their avatar'}
         </>
       );
     },
@@ -111,7 +111,7 @@ function getTimelineJSXMessages() {
       return (
         <>
           <b>{twemojify(user)}</b>
-          {' set the display name to '}
+          {' set display name to '}
           <b>{twemojify(newName)}</b>
         </>
       );
@@ -120,7 +120,7 @@ function getTimelineJSXMessages() {
       return (
         <>
           <b>{twemojify(user)}</b>
-          {' changed the display name to '}
+          {' changed their display name to '}
           <b>{twemojify(newName)}</b>
         </>
       );
@@ -129,7 +129,7 @@ function getTimelineJSXMessages() {
       return (
         <>
           <b>{twemojify(user)}</b>
-          {' removed the display name '}
+          {' removed their display name '}
           <b>{twemojify(lastName)}</b>
         </>
       );