about summary refs log tree commit diff
path: root/app/assets/javascripts/components/locales/index.jsx
blob: 7525022b1d2dd18fe23c16ef37c52b8bc57750e5 (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
26
27
28
29
30
31
32
33
34
35
36
37
import en from './en';
import de from './de';
import es from './es';
import hu from './hu';
import fr from './fr';
import nl from './nl';
import no from './no';
import pt from './pt';
import uk from './uk';
import fi from './fi';
import eo from './eo';
import ru from './ru';
import ja from './ja';
import zh_hk from './zh-hk';
import bg from './bg';

const locales = {
  en,
  de,
  es,
  hu,
  fr,
  nl,
  no,
  pt,
  uk,
  fi,
  eo,
  ru,
  ja,
  'zh-HK': zh_hk,
  bg,
};

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