chinwagsocial/app/assets/javascripts/components/locales/index.jsx

22 lines
310 B
React
Raw Normal View History

2016-11-19 01:36:16 +11:00
import en from './en';
import de from './de';
2016-11-19 10:10:47 +11:00
import es from './es';
2016-11-25 19:43:19 +11:00
import hu from './hu';
import fr from './fr';
2016-11-28 02:57:09 +11:00
import pt from './pt';
2016-12-08 05:39:22 +11:00
import uk from './uk';
2016-11-19 01:36:16 +11:00
const locales = {
en,
2016-11-19 10:10:47 +11:00
de,
es,
2016-11-25 19:43:19 +11:00
hu,
2016-11-28 02:57:09 +11:00
fr,
2016-12-08 05:39:22 +11:00
pt,
uk
2016-11-19 01:36:16 +11:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};