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

47 lines
736 B
React
Raw Normal View History

2016-11-18 14:36:16 +00:00
import en from './en';
import de from './de';
2016-11-18 23:10:47 +00:00
import es from './es';
import hr from './hr';
2016-11-25 08:43:19 +00:00
import hu from './hu';
import it from './it';
import fr from './fr';
import nl from './nl';
import no from './no';
import oc from './oc';
2016-11-27 15:57:09 +00:00
import pt from './pt';
import pt_br from './pt-br';
2016-12-07 18:39:22 +00:00
import uk from './uk';
import fi from './fi';
import eo from './eo';
import ru from './ru';
import ja from './ja';
import zh_hk from './zh-hk';
import zh_cn from './zh-cn';
import bg from './bg';
2016-11-18 14:36:16 +00:00
const locales = {
en,
2016-11-18 23:10:47 +00:00
de,
es,
hr,
2016-11-25 08:43:19 +00:00
hu,
it,
2016-11-27 15:57:09 +00:00
fr,
nl,
no,
2016-12-07 18:39:22 +00:00
pt,
'pt-BR': pt_br,
uk,
2017-04-05 18:28:58 +00:00
fi,
eo,
ru,
ja,
'zh-HK': zh_hk,
'zh-CN': zh_cn,
bg,
2016-11-18 14:36:16 +00:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};