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