Localize Explore Title and Dropdown

As per #1023
This commit is contained in:
The_Grits 2016-11-16 14:20:43 -05:00 committed by GitHub
parent e4231e9d57
commit 015cca13f4

View file

@ -137,7 +137,7 @@ var Explore = injectIntl(React.createClass({
<div className='outer'> <div className='outer'>
<TitleBanner className="masthead"> <TitleBanner className="masthead">
<div className="inner"> <div className="inner">
<h1>Explore</h1> <h1><FormattedMessage id='general.explore' /></h1>
</div> </div>
</TitleBanner> </TitleBanner>
<Tabs> <Tabs>
@ -156,9 +156,9 @@ var Explore = injectIntl(React.createClass({
<Form className='sort-mode'> <Form className='sort-mode'>
<Select name="sort" <Select name="sort"
options={[ options={[
{value: 'trending', label: 'Trending'}, {value: 'trending', label: <FormattedMessage id='explore.trending' />},
{value: 'popular', label: 'Popular'}, {value: 'popular', label: <FormattedMessage id='explore.popular' />},
{value: 'recent', label: 'Recent'} {value: 'recent', label: <FormattedMessage id='explore.recent' />}
]} ]}
value={this.props.mode} value={this.props.mode}
onChange={this.changeSortMode}/> onChange={this.changeSortMode}/>