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

16 lines
223 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';
import fr from './fr';
2016-11-18 16:36:16 +02:00
const locales = {
en,
2016-11-19 01:10:47 +02:00
de,
es,
fr
2016-11-18 16:36:16 +02:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};