gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/assets/javascripts/components/locales/index.jsx

30 lines
399 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-25 09:43:19 +01:00
import hu from './hu';
import fr from './fr';
2016-11-27 16:57:09 +01:00
import pt from './pt';
2016-12-07 19:39:22 +01:00
import uk from './uk';
import fi from './fi';
import eo from './eo';
import ru from './ru';
2016-11-18 15:36:16 +01:00
const locales = {
en,
2016-11-19 00:10:47 +01:00
de,
es,
2016-11-25 09:43:19 +01:00
hu,
2016-11-27 16:57:09 +01:00
fr,
2016-12-07 19:39:22 +01:00
pt,
uk,
2017-04-05 20:28:58 +02:00
fi,
eo,
ru
2016-11-18 15:36:16 +01:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};