about summary refs log tree commit diff
path: root/app/assets/javascripts/components/locales/index.jsx
blob: 203929d66b5202f1b31b93cb2075359b50021043 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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';

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

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