Skip to content

Commit

Permalink
lower case room type
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-rajpal committed Jun 18, 2024
1 parent a2e727c commit a53ae74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const RoomsTab = ({ form: { control }, setSelectedRoom }: RoomsTabProps) => {
<Icon
name='key'
color='danger'
title={t('Encrypted_content_will_not_appear_search', { roomType: getRoomTypeTranslation(type) })}
title={t('Encrypted_content_will_not_appear_search', { roomType: getRoomTypeTranslation(type).toLowerCase() })}
/>
) : null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const MessageSearchForm = ({ provider, onSearch }: MessageSearchFormProps) => {
</Box>
{room.encrypted && (
<Callout type='warning' mbs={12} icon='circle-exclamation'>
<Box fontScale='p2b'>{t('Encrypted_RoomType', { roomType: getRoomTypeTranslation(room.t) })}</Box>
<Box fontScale='p2b'>{t('Encrypted_RoomType', { roomType: getRoomTypeTranslation(room.t).toLowerCase() })}</Box>
{t('Encrypted_content_cannot_be_searched')}
</Callout>
)}
Expand Down

0 comments on commit a53ae74

Please sign in to comment.