Skip to content

Commit

Permalink
Merge branch 'new-design' into new-design-german-grammar-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bonustrack authored Oct 21, 2017
2 parents e696cb9 + 75133d4 commit 62714b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/AppSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default class AppSettings extends React.Component {
sv: 'Svenska - Swedish',
vi: 'Tiếng Việt - Vietnamese',
tr: 'Türkçe - Turkish',
yo: 'Yorùbá - Yoruba',
el: 'Ελληνικά - Greek',
bg: 'Български език - Bulgarian',
ru: 'Русский - Russian',
Expand Down
4 changes: 4 additions & 0 deletions src/translations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import as from 'react-intl/locale-data/as';
import ta from 'react-intl/locale-data/ta';
import bn from 'react-intl/locale-data/bn';
import ne from 'react-intl/locale-data/ne';
import yo from 'react-intl/locale-data/yo';

import enTranslations from '../locales/en.json';
import csTranslations from '../locales/cs.json';
Expand Down Expand Up @@ -74,6 +75,7 @@ import asTranslations from '../locales/as.json';
import taTranslations from '../locales/ta.json';
import bnTranslations from '../locales/bn.json';
import neTranslations from '../locales/ne.json';
import yoTranslations from '../locales/yo.json';

addLocaleData([
...en,
Expand Down Expand Up @@ -113,6 +115,7 @@ addLocaleData([
...ta,
...bn,
...ne,
...yo,
]);

export const translations = {
Expand Down Expand Up @@ -153,6 +156,7 @@ export const translations = {
ta: taTranslations,
bn: bnTranslations,
ne: neTranslations,
yo: yoTranslations,
};

export const getBrowserLocale = () => {
Expand Down

0 comments on commit 62714b9

Please sign in to comment.