about summary refs log tree commit diff
path: root/app/assets/javascripts/components/locales/index.jsx
blob: 1e7b8b548e2d3f36c128d1c93870df96666d398c (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
24
25
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';
import eo from './eo';

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

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