Update English strings, fix #352, #354 (#356)

* Fix #354

* Fix #352
This commit is contained in:
Krishan 2022-03-06 15:57:39 +05:30 committed by GitHub
parent eb1ef16b5e
commit edcf43efba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View 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 && (

View 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);

View 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>
)
}

View 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>
</>
);