diff options
author | Stanislav Makar <stas.makar@gmail.com> | 2016-12-08 18:54:35 +0200 |
---|---|---|
committer | Stanislav Makar <stas.makar@gmail.com> | 2016-12-08 18:57:58 +0200 |
commit | d2ab41aea4ce7b1f133ab07fe4e81a4abb38e8aa (patch) | |
tree | 7dc4903a557197ce81acd84df69b8e3274bdf1d8 /app | |
parent | 1759cf83366a3081cbb9e1d677629a106ab124d8 (diff) |
Declare Ukrainian
Closes: #345
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/components/containers/mastodon.jsx | 3 | ||||
-rw-r--r-- | app/helpers/settings_helper.rb | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/containers/mastodon.jsx b/app/assets/javascripts/components/containers/mastodon.jsx index c42582bfd..69fe2d07f 100644 --- a/app/assets/javascripts/components/containers/mastodon.jsx +++ b/app/assets/javascripts/components/containers/mastodon.jsx @@ -41,6 +41,7 @@ import es from 'react-intl/locale-data/es'; import fr from 'react-intl/locale-data/fr'; import pt from 'react-intl/locale-data/pt'; import hu from 'react-intl/locale-data/hu'; +import uk from 'react-intl/locale-data/uk'; import getMessagesForLocale from '../locales'; const store = configureStore(); @@ -49,7 +50,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({ basename: '/web' }); -addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu]); +addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu, ...uk]); const Mastodon = React.createClass({ diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb index 26c4cd58f..fa569e73a 100644 --- a/app/helpers/settings_helper.rb +++ b/app/helpers/settings_helper.rb @@ -8,6 +8,7 @@ module SettingsHelper pt: 'Português', fr: 'Français', hu: 'Magyar', + uk: 'Українська', }.freeze def human_locale(locale) |