tootlab-mastodon/app/assets/javascripts/components/locales/index.jsx

32 lines
428 B
React
Raw Normal View History

2016-11-18 09:36:16 -05:00
import en from './en';
import de from './de';
2016-11-18 18:10:47 -05:00
import es from './es';
2016-11-25 03:43:19 -05:00
import hu from './hu';
import fr from './fr';
2016-11-27 10:57:09 -05:00
import pt from './pt';
2016-12-07 13:39:22 -05:00
import uk from './uk';
import fi from './fi';
import eo from './eo';
import ru from './ru';
import ja from './ja';
2016-11-18 09:36:16 -05:00
const locales = {
en,
2016-11-18 18:10:47 -05:00
de,
es,
2016-11-25 03:43:19 -05:00
hu,
2016-11-27 10:57:09 -05:00
fr,
2016-12-07 13:39:22 -05:00
pt,
uk,
2017-04-05 14:28:58 -04:00
fi,
eo,
ru,
ja
2016-11-18 09:36:16 -05:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};