Skip to content

Commit

Permalink
FollowingEditEmptyContent: Use this.props.translate instead of i18n.t…
Browse files Browse the repository at this point in the history
…ranslate
  • Loading branch information
ockham committed May 9, 2017
1 parent e14766d commit ba918ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/reader/following-edit/empty.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* External dependencies
*/
import React from 'react';
import i18n, { localize } from 'i18n-calypso';
import { localize } from 'i18n-calypso';

/**
* Internal dependencies
Expand Down Expand Up @@ -40,8 +40,8 @@ const FollowingEditEmptyContent = React.createClass( {
<EmptyContent
action={ action }
secondaryAction={ secondaryAction }
title={ i18n.translate( 'You haven\'t followed any sites yet' ) }
line={ i18n.translate( 'Search for a site or explore Discover.' ) }
title={ this.props.translate( 'You haven\'t followed any sites yet' ) }
line={ this.props.translate( 'Search for a site or explore Discover.' ) }
illustration={ '/calypso/images/drake/drake-404.svg' }
illustrationWidth={ 500 }
/>
Expand Down

0 comments on commit ba918ac

Please sign in to comment.