forked from treehouse/mastodon
12 lines
165 B
React
12 lines
165 B
React
|
import en from './en';
|
||
|
import de from './de';
|
||
|
|
||
|
const locales = {
|
||
|
en,
|
||
|
de
|
||
|
};
|
||
|
|
||
|
export default function getMessagesForLocale (locale) {
|
||
|
return locales[locale];
|
||
|
};
|