about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/home_timeline
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-18 15:36:16 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-18 15:53:46 +0100
commit85d1b74ac3bbd563c35a7212069b84f8d3a6bd99 (patch)
tree5226341c1cbe8e7cf983b629577c22812056062a /app/assets/javascripts/components/features/home_timeline
parentc1be1ac7c6ebaabcd936f41d7a74ec8977625942 (diff)
Adding german localization
Diffstat (limited to 'app/assets/javascripts/components/features/home_timeline')
-rw-r--r--app/assets/javascripts/components/features/home_timeline/index.jsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/features/home_timeline/index.jsx b/app/assets/javascripts/components/features/home_timeline/index.jsx
index 117a4a72d..e4f4fa7c7 100644
--- a/app/assets/javascripts/components/features/home_timeline/index.jsx
+++ b/app/assets/javascripts/components/features/home_timeline/index.jsx
@@ -3,7 +3,11 @@ import PureRenderMixin from 'react-addons-pure-render-mixin';
 import StatusListContainer from '../ui/containers/status_list_container';
 import Column from '../ui/components/column';
 import { refreshTimeline } from '../../actions/timelines';
-import { injectIntl } from 'react-intl';
+import { defineMessages, injectIntl } from 'react-intl';
+
+const messages = defineMessages({
+  title: { id: 'column.home', defaultMessage: 'Home' }
+});
 
 const HomeTimeline = React.createClass({
 
@@ -21,7 +25,7 @@ const HomeTimeline = React.createClass({
     const { intl } = this.props;
 
     return (
-      <Column icon='home' heading={intl.formatMessage({ id: 'column.home', defaultMessage: 'Home' })}>
+      <Column icon='home' heading={intl.formatMessage(messages.title)}>
         <StatusListContainer {...this.props} type='home' />
       </Column>
     );