diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-18 15:36:16 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-18 15:53:46 +0100 |
commit | 85d1b74ac3bbd563c35a7212069b84f8d3a6bd99 (patch) | |
tree | 5226341c1cbe8e7cf983b629577c22812056062a /app/assets/javascripts/components/features/public_timeline | |
parent | c1be1ac7c6ebaabcd936f41d7a74ec8977625942 (diff) |
Adding german localization
Diffstat (limited to 'app/assets/javascripts/components/features/public_timeline')
-rw-r--r-- | app/assets/javascripts/components/features/public_timeline/index.jsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/features/public_timeline/index.jsx b/app/assets/javascripts/components/features/public_timeline/index.jsx index 445a4fc63..c3da09a09 100644 --- a/app/assets/javascripts/components/features/public_timeline/index.jsx +++ b/app/assets/javascripts/components/features/public_timeline/index.jsx @@ -7,7 +7,11 @@ import { updateTimeline, deleteFromTimelines } from '../../actions/timelines'; -import { injectIntl } from 'react-intl'; +import { defineMessages, injectIntl } from 'react-intl'; + +const messages = defineMessages({ + title: { id: 'column.public', defaultMessage: 'Public' } +}); const PublicTimeline = React.createClass({ @@ -48,7 +52,7 @@ const PublicTimeline = React.createClass({ const { intl } = this.props; return ( - <Column icon='globe' heading={intl.formatMessage({ id: 'column.public', defaultMessage: 'Public' })}> + <Column icon='globe' heading={intl.formatMessage(messages.title)}> <StatusListContainer type='public' /> </Column> ); |