about summary refs log tree commit diff
path: root/app/assets/javascripts/components/components/status.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/components/components/status.jsx')
-rw-r--r--app/assets/javascripts/components/components/status.jsx19
1 files changed, 10 insertions, 9 deletions
diff --git a/app/assets/javascripts/components/components/status.jsx b/app/assets/javascripts/components/components/status.jsx
index ff14ba4f1..8077308c4 100644
--- a/app/assets/javascripts/components/components/status.jsx
+++ b/app/assets/javascripts/components/components/status.jsx
@@ -1,12 +1,13 @@
 import ImmutablePropTypes from 'react-immutable-proptypes';
-import Avatar             from './avatar';
-import RelativeTimestamp  from './relative_timestamp';
-import PureRenderMixin    from 'react-addons-pure-render-mixin';
-import DisplayName        from './display_name';
-import MediaGallery       from './media_gallery';
-import VideoPlayer        from './video_player';
-import StatusContent      from './status_content';
-import StatusActionBar    from './status_action_bar';
+import Avatar from './avatar';
+import RelativeTimestamp from './relative_timestamp';
+import PureRenderMixin from 'react-addons-pure-render-mixin';
+import DisplayName from './display_name';
+import MediaGallery from './media_gallery';
+import VideoPlayer from './video_player';
+import StatusContent from './status_content';
+import StatusActionBar from './status_action_bar';
+import { FormattedMessage } from 'react-intl';
 
 const Status = React.createClass({
 
@@ -59,7 +60,7 @@ const Status = React.createClass({
         <div style={{ cursor: 'default' }}>
           <div style={{ marginLeft: '68px', color: '#616b86', padding: '8px 0', paddingBottom: '2px', fontSize: '14px', position: 'relative' }}>
             <div style={{ position: 'absolute', 'left': '-26px'}}><i className='fa fa-fw fa-retweet'></i></div>
-            <a onClick={this.handleAccountClick.bind(this, status.getIn(['account', 'id']))} href={status.getIn(['account', 'url'])} className='status__display-name'><strong style={{ color: '#616b86'}}>{displayName}</strong></a> reblogged
+            <FormattedMessage id='status.reblogged_by' defaultMessage='{name} reblogged' values={{ name: <a onClick={this.handleAccountClick.bind(this, status.getIn(['account', 'id']))} href={status.getIn(['account', 'url'])} className='status__display-name'><strong style={{ color: '#616b86'}}>{displayName}</strong></a> }} />
           </div>
 
           <Status {...other} wrapped={true} status={status.get('reblog')} />