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