This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/assets/javascripts/components/locales/index.jsx

20 lines
281 B
React
Raw Normal View History

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