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

14 lines
194 B
React
Raw Normal View History

2016-11-18 15:36:16 +01:00
import en from './en';
import de from './de';
2016-11-19 00:10:47 +01:00
import es from './es';
2016-11-18 15:36:16 +01:00
const locales = {
en,
2016-11-19 00:10:47 +01:00
de,
es
2016-11-18 15:36:16 +01:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};