about summary refs log tree commit diff
path: root/app/assets/javascripts/components/locales/index.jsx
blob: 72b8a5df5d3e49cc402efced40f6fdd8541dc24c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import en from './en';
import de from './de';
import es from './es';
import hu from './hu';
import fr from './fr';
import pt from './pt';
import uk from './uk';
import fi from './fi';

const locales = {
  en,
  de,
  es,
  hu,
  fr,
  pt,
  uk,
  fi
};

export default function getMessagesForLocale (locale) {
  return locales[locale];
};