search contacts -> search messages

This commit is contained in:
erik-sn committed 2020-11-21 09:56:16 -05:00
1 parent c5b1e3d8c7
commit 9cccf91a84
2 files changed
+4 -1

No files matched your search

@@ -1,4 +1,5 @@
import React from "react";
import { useTranslation } from "react-i18next";
import { InputBase, Paper } from "@material-ui/core";
import SearchIcon from "@material-ui/icons/Search";
@@ -12,6 +13,7 @@ interface IProps {
}
const MessageSearch = ({ value, handleChange }: IProps) => {
const { t } = useTranslation();
const classes = useStyles();
return (
<Paper elevation={24} variant="outlined" className={classes.bg}>
@@ -22,7 +24,7 @@ const MessageSearch = ({ value, handleChange }: IProps) => {
<InputBase
value={value}
onChange={handleChange}
placeholder="Search contacts..."
placeholder={t("APPS_MESSAGES_SEARCH_PLACEHOLDER")}
classes={{
root: classes.inputRoot,
input: classes.inputInput,
+1
View File
@@ -53,6 +53,7 @@
"APPS_CONTACT_FORM_NUMBER": "Number",
"APPS_CONTACT_FORM_AVATAR": "Avatar URL",
"APPS_MESSAGES_SEARCH_PLACEHOLDER": "Search messages...",
"APPS_MESSAGES_NEW_MESSAGE": "Message...",
"APPS_MESSAGES_NEW_MESSAGE_GROUP": "Phone numbers...",
"APPS_MESSAGES_GROUP_CHAT_LABEL": "Group chat label...",