i18n.js 1.3 KB

123456789101112131415161718192021222324252627282930
  1. export const messages = {
  2. zh: {
  3. i18n: {
  4. breadcrumb: '国际化产品',
  5. tips: '通过切换语言按钮,来改变当前内容的语言。',
  6. btn: '切换英文',
  7. title1: '常用用法',
  8. p1: '要是你把你的秘密告诉了风,那就别怪风把它带给树。',
  9. p2: '没有什么比信念更能支撑我们度过艰难的时光了。',
  10. p3: '只要能把自己的事做好,并让自己快乐,你就领先于大多数人了。',
  11. title2: '组件插值',
  12. info: 'Element组件需要国际化,请参考 {action}。',
  13. value: '文档',
  14. },
  15. },
  16. en: {
  17. i18n: {
  18. breadcrumb: 'International Products',
  19. tips: 'Click on the button to change the current language. ',
  20. btn: 'Switch Chinese',
  21. title1: 'Common usage',
  22. p1: 'If you reveal your secrets to the wind you should not blame the wind for revealing them to the trees.',
  23. p2: 'Nothing can help us endure dark times better than our faith. ',
  24. p3: "If you can do what you do best and be happy, you're further along in life than most people.",
  25. title2: 'Component interpolation',
  26. info: 'The default language of Element is Chinese. If you wish to use another language, please refer to the {action}.',
  27. value: 'documentation',
  28. },
  29. },
  30. };