activitypub-academy/app/assets/javascripts/components/locales/index.jsx

18 lines
252 B
React
Raw Normal View History

2016-11-18 23:36:16 +09:00
import en from './en';
import de from './de';
2016-11-19 08:10:47 +09:00
import es from './es';
2016-11-25 17:43:19 +09:00
import hu from './hu';
import fr from './fr';
2016-11-18 23:36:16 +09:00
const locales = {
en,
2016-11-19 08:10:47 +09:00
de,
es,
2016-11-25 17:43:19 +09:00
hu,
fr
2016-11-18 23:36:16 +09:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};