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