"Search in $conversationName$" is now "Search chat"
This commit is contained in:
parent
ab91cbf94d
commit
80320d8825
2 changed files with 3 additions and 15 deletions
|
@ -770,14 +770,8 @@
|
|||
"description": "Aria label for clear search button"
|
||||
},
|
||||
"searchIn": {
|
||||
"message": "Search in $conversationName$",
|
||||
"description": "Shown in the search box before text is entered when searching in a specific conversation",
|
||||
"placeholders": {
|
||||
"conversationName": {
|
||||
"content": "$1",
|
||||
"example": "Friends"
|
||||
}
|
||||
}
|
||||
"message": "Search chat",
|
||||
"description": "Shown in the search box before text is entered when searching in a specific conversation"
|
||||
},
|
||||
"noSearchResults": {
|
||||
"message": "No results for \"$searchTerm$\"",
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue