闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
858 B

  1. import ar from './ar';
  2. import en from './en';
  3. import de from './de';
  4. import es from './es';
  5. import fa from './fa';
  6. import hr from './hr';
  7. import hu from './hu';
  8. import io from './io';
  9. import it from './it';
  10. import fr from './fr';
  11. import nl from './nl';
  12. import no from './no';
  13. import oc from './oc';
  14. import pt from './pt';
  15. import pt_br from './pt-br';
  16. import uk from './uk';
  17. import fi from './fi';
  18. import eo from './eo';
  19. import ru from './ru';
  20. import ja from './ja';
  21. import zh_hk from './zh-hk';
  22. import zh_cn from './zh-cn';
  23. import bg from './bg';
  24. import id from './id';
  25. const locales = {
  26. ar,
  27. en,
  28. de,
  29. es,
  30. fa,
  31. hr,
  32. hu,
  33. io,
  34. it,
  35. fr,
  36. nl,
  37. no,
  38. oc,
  39. pt,
  40. 'pt-BR': pt_br,
  41. uk,
  42. fi,
  43. eo,
  44. ru,
  45. ja,
  46. 'zh-HK': zh_hk,
  47. 'zh-CN': zh_cn,
  48. bg,
  49. id,
  50. };
  51. export default function getMessagesForLocale (locale) {
  52. return locales[locale];
  53. };