glitchier-soc/app/assets/javascripts/components/locales/index.jsx

24 lines
339 B
React
Raw Normal View History

2016-11-18 16:36:16 +02:00
import en from './en';
import de from './de';
2016-11-19 01:10:47 +02:00
import es from './es';
2016-11-25 10:43:19 +02:00
import hu from './hu';
import fr from './fr';
2016-11-27 17:57:09 +02:00
import pt from './pt';
2016-12-07 20:39:22 +02:00
import uk from './uk';
import fi from './fi';
2016-11-18 16:36:16 +02:00
const locales = {
en,
2016-11-19 01:10:47 +02:00
de,
es,
2016-11-25 10:43:19 +02:00
hu,
2016-11-27 17:57:09 +02:00
fr,
2016-12-07 20:39:22 +02:00
pt,
2017-04-03 15:16:03 +03:00
uk,
fi
2016-11-18 16:36:16 +02:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};