diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-02-01 17:23:45 -0300 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-02-01 17:23:45 -0300 |
commit | 3f91bc2df2c6f9d8437f258233609e9801b7f8f6 (patch) | |
tree | 3721db61cb0c052fba9c100c000ab64297c81f51 /web/react/components/search_results_header.jsx | |
parent | 9fe4c0603e8b98570d4a9ab1c6bd3d69b321c36c (diff) | |
download | chat-3f91bc2df2c6f9d8437f258233609e9801b7f8f6.tar.gz chat-3f91bc2df2c6f9d8437f258233609e9801b7f8f6.tar.bz2 chat-3f91bc2df2c6f9d8437f258233609e9801b7f8f6.zip |
PLT-7: Refactoring frontend (chunk 9)
- sidebar right & rhs
Diffstat (limited to 'web/react/components/search_results_header.jsx')
-rw-r--r-- | web/react/components/search_results_header.jsx | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/web/react/components/search_results_header.jsx b/web/react/components/search_results_header.jsx index 581976494..45f56f65a 100644 --- a/web/react/components/search_results_header.jsx +++ b/web/react/components/search_results_header.jsx @@ -3,6 +3,9 @@ import AppDispatcher from '../dispatcher/app_dispatcher.jsx'; import Constants from '../utils/constants.jsx'; + +import {FormattedMessage} from 'mm-intl'; + var ActionTypes = Constants.ActionTypes; export default class SearchResultsHeader extends React.Component { @@ -34,10 +37,20 @@ export default class SearchResultsHeader extends React.Component { } render() { - var title = 'Search Results'; + var title = ( + <FormattedMessage + id='search_header.results' + defaultMessage='Search Results' + /> + ); if (this.props.isMentionSearch) { - title = 'Recent Mentions'; + title = ( + <FormattedMessage + id='search_header.title2' + defaultMessage='Recent Mentions' + /> + ); } return ( |