diff options
Diffstat (limited to 'webapp/components/more_direct_channels.jsx')
-rw-r--r-- | webapp/components/more_direct_channels.jsx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/webapp/components/more_direct_channels.jsx b/webapp/components/more_direct_channels.jsx index 4011cab63..2d4780359 100644 --- a/webapp/components/more_direct_channels.jsx +++ b/webapp/components/more_direct_channels.jsx @@ -12,6 +12,7 @@ import TeamStore from 'stores/team_store.jsx'; import * as AsyncClient from 'utils/async_client.jsx'; import * as UserAgent from 'utils/user_agent.jsx'; +import {localizeMessage} from 'utils/utils.jsx'; import Constants from 'utils/constants.jsx'; import React from 'react'; @@ -196,16 +197,10 @@ export default class MoreDirectChannels extends React.Component { onChange={this.toggleList} > <option value='any'> - <FormattedMessage - id='filtered_user_list.any_team' - defaultMessage='All Users' - /> + {localizeMessage('filtered_user_list.any_team', 'All Users')} </option> <option value='team'> - <FormattedMessage - id='filtered_user_list.team_only' - defaultMessage='Members of this Team' - /> + {localizeMessage('filtered_user_list.team_only', 'Members of this Team')} </option> </select> <span |