23 lines
338 B
JavaScript
23 lines
338 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 fi from './fi';
|
|
|
|
const locales = {
|
|
en,
|
|
de,
|
|
es,
|
|
hu,
|
|
fr,
|
|
pt,
|
|
uk
|
|
fi
|
|
};
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
return locales[locale];
|
|
};
|