mirror of
https://github.com/mastodon/mastodon
synced 2024-12-14 06:38:21 +09:00
24 lines
339 B
JavaScript
24 lines
339 B
JavaScript
import en from './en';
|
|
import de from './de';
|
|
import es from './es';
|
|
import hu from './hu';
|
|
import fr from './fr';
|
|
import pt from './pt';
|
|
import uk from './uk';
|
|
import eo from './eo';
|
|
|
|
const locales = {
|
|
en,
|
|
de,
|
|
es,
|
|
hu,
|
|
fr,
|
|
pt,
|
|
uk,
|
|
eo
|
|
};
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
return locales[locale];
|
|
};
|