diff options
author | Ratmir Karabut <rkarabut@sfmodern.ru> | 2017-04-10 13:52:06 +0300 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-10 12:52:06 +0200 |
commit | 9043b3218302e77dda65a6b453ee49920f133398 (patch) | |
tree | c67fa0da531c7313aa1c51c9bb24d645954eecd4 /app/assets/javascripts/components/containers/mastodon.jsx | |
parent | e30bbb1cb097ded7db59e905287f85f9f2b5d1b8 (diff) |
Add Russian translation (ru) (#1023)
* Add Russian translation (ru) * Fix a missing comma * Fix the wording for better consistency
Diffstat (limited to 'app/assets/javascripts/components/containers/mastodon.jsx')
-rw-r--r-- | app/assets/javascripts/components/containers/mastodon.jsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/containers/mastodon.jsx b/app/assets/javascripts/components/containers/mastodon.jsx index 00f20074d..fea8b1594 100644 --- a/app/assets/javascripts/components/containers/mastodon.jsx +++ b/app/assets/javascripts/components/containers/mastodon.jsx @@ -48,6 +48,8 @@ import hu from 'react-intl/locale-data/hu'; import uk from 'react-intl/locale-data/uk'; import fi from 'react-intl/locale-data/fi'; import eo from 'react-intl/locale-data/eo'; +import ru from 'react-intl/locale-data/ru'; + import getMessagesForLocale from '../locales'; import { hydrateStore } from '../actions/store'; import createStream from '../stream'; @@ -60,7 +62,9 @@ const browserHistory = useRouterHistory(createBrowserHistory)({ basename: '/web' }); -addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu, ...uk, ...fi, ...eo]); + +addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu, ...uk, ...fi, ...eo, ...ru]); + const Mastodon = React.createClass({ |