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