Commit d10227af authored by ButterflyOfFire's avatar ButterflyOfFire Committed by Yamagishi Kazutoshi

Adding arabic. Update application.rb

parent 1ee1c852
import React from 'react';
import { Provider } from 'react-redux';
import { IntlProvider, addLocaleData } from 'react-intl';
import en from 'react-intl/locale-data/en';
import ar from 'react-intl/locale-data/ar'
import de from 'react-intl/locale-data/de';
import en from 'react-intl/locale-data/en';
import ja from 'react-intl/locale-data/ja';
import { defaultLocale } from '../../../locales/default';
import { translations } from '../../../locales/translations';
......@@ -10,8 +11,9 @@ import configureStore from '../store/helloWorldStore';
import HelloWorldContainer from '../containers/HelloWorldContainer';
addLocaleData([
...en,
...ar,
...de,
...en,
...ja,
]);
......
......@@ -24,7 +24,12 @@ module MastodonBridge
# All translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
config.i18n.available_locales = [:en, :de, :ja]
config.i18n.available_locales = [
:en,
:ar,
:de,
:ja,
]
config.active_job.queue_adapter = :sidekiq
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment