2016-11-18 14:36:16 +00:00
|
|
|
import en from './en';
|
|
|
|
import de from './de';
|
2016-11-18 23:10:47 +00:00
|
|
|
import es from './es';
|
2017-04-17 08:38:13 +00:00
|
|
|
import hr from './hr';
|
2016-11-25 08:43:19 +00:00
|
|
|
import hu from './hu';
|
2017-04-19 14:40:45 +00:00
|
|
|
import it from './it';
|
2016-11-24 19:12:16 +00:00
|
|
|
import fr from './fr';
|
2017-04-13 14:02:23 +00:00
|
|
|
import nl from './nl';
|
2017-04-12 15:07:51 +00:00
|
|
|
import no from './no';
|
2017-04-18 13:21:16 +00:00
|
|
|
import oc from './oc';
|
2016-11-27 15:57:09 +00:00
|
|
|
import pt from './pt';
|
2017-04-17 08:38:27 +00:00
|
|
|
import pt_br from './pt-br';
|
2016-12-07 18:39:22 +00:00
|
|
|
import uk from './uk';
|
2017-04-03 11:32:10 +00:00
|
|
|
import fi from './fi';
|
2017-04-04 18:54:42 +00:00
|
|
|
import eo from './eo';
|
2017-04-10 10:52:06 +00:00
|
|
|
import ru from './ru';
|
2017-04-11 19:52:09 +00:00
|
|
|
import ja from './ja';
|
2017-04-12 06:50:50 +00:00
|
|
|
import zh_hk from './zh-hk';
|
2017-04-21 01:28:38 +00:00
|
|
|
import zh_cn from './zh-cn';
|
2017-04-13 11:16:28 +00:00
|
|
|
import bg from './bg';
|
2016-11-18 14:36:16 +00:00
|
|
|
|
|
|
|
const locales = {
|
|
|
|
en,
|
2016-11-18 23:10:47 +00:00
|
|
|
de,
|
2016-11-24 19:12:16 +00:00
|
|
|
es,
|
2017-04-17 08:38:13 +00:00
|
|
|
hr,
|
2016-11-25 08:43:19 +00:00
|
|
|
hu,
|
2017-04-19 14:40:45 +00:00
|
|
|
it,
|
2016-11-27 15:57:09 +00:00
|
|
|
fr,
|
2017-04-13 14:02:23 +00:00
|
|
|
nl,
|
2017-04-12 15:07:51 +00:00
|
|
|
no,
|
2016-12-07 18:39:22 +00:00
|
|
|
pt,
|
2017-04-17 08:38:27 +00:00
|
|
|
'pt-BR': pt_br,
|
2017-04-04 18:54:42 +00:00
|
|
|
uk,
|
2017-04-05 18:28:58 +00:00
|
|
|
fi,
|
2017-04-10 10:52:06 +00:00
|
|
|
eo,
|
2017-04-11 19:52:09 +00:00
|
|
|
ru,
|
2017-04-12 06:50:50 +00:00
|
|
|
ja,
|
|
|
|
'zh-HK': zh_hk,
|
2017-04-21 01:28:38 +00:00
|
|
|
'zh-CN': zh_cn,
|
2017-04-13 11:16:28 +00:00
|
|
|
bg,
|
2016-11-18 14:36:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
|
|
return locales[locale];
|
|
|
|
};
|