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';
|
2016-11-25 08:43:19 +00:00
|
|
|
import hu from './hu';
|
2016-11-24 19:12:16 +00:00
|
|
|
import fr from './fr';
|
2017-04-12 15:07:51 +00:00
|
|
|
import no from './no';
|
2016-11-27 15:57:09 +00:00
|
|
|
import pt from './pt';
|
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-10 10:52:06 +00:00
|
|
|
|
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,
|
2016-11-25 08:43:19 +00:00
|
|
|
hu,
|
2016-11-27 15:57:09 +00:00
|
|
|
fr,
|
2017-04-12 15:07:51 +00:00
|
|
|
no,
|
2016-12-07 18:39:22 +00:00
|
|
|
pt,
|
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,
|
2016-11-18 14:36:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
|
|
return locales[locale];
|
|
|
|
};
|