"Search in $conversationName$" is now "Search chat"

This commit is contained in:
Evan Hahn 2021-11-18 13:29:17 -06:00 committed by GitHub
parent ab91cbf94d
commit 80320d8825
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 15 deletions

View file

@ -37,13 +37,7 @@ export const LeftPaneSearchInput = forwardRef<HTMLInputElement, PropsType>(
const emptyOrClear =
searchConversation && value ? () => onChangeValue('') : onClear;
const label = searchConversation
? i18n('searchIn', [
searchConversation.isMe
? i18n('noteToSelf')
: searchConversation.title,
])
: i18n('search');
const label = i18n(searchConversation ? 'searchIn' : 'search');
return (
<div className="LeftPaneSearchInput">