1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/assets/javascripts/components/locales/index.jsx

58 lines
887 B
React
Raw Normal View History

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