strings.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. const messages = {
  2. en: {
  3. wenda: 'Wenda',
  4. history: 'History',
  5. send: 'Send',
  6. abord: 'Abort',
  7. clear_history: 'Clear History',
  8. chat: 'Chat',
  9. setting: 'Settings',
  10. feature_selection: 'Feature Selection'
  11. },
  12. 'zh-CN': {
  13. wenda: '闻达',
  14. zhishiku: "知识库",
  15. history: "对话历史",
  16. send: "发送",
  17. abord: "中断",
  18. clear_history: "清除历史",
  19. chat: "对话",
  20. setting: "设置",
  21. feature_selection: "功能选择",
  22. re_generate: "重新生成",
  23. title: "标题",
  24. content: "内容",
  25. input_question:"输入问题",
  26. save_to_disk:"保存至硬盘",
  27. memory_name:"记忆区名称",
  28. simplify_historical_information:"简化历史",
  29. upload:"上传"
  30. }
  31. ,
  32. 'ja': {
  33. history: '履歴',
  34. send: '送信',
  35. abord: '中止',
  36. clear_history: '履歴を消去',
  37. chat: 'チャット',
  38. setting: '設定',
  39. feature_selection: '機能選択'
  40. }
  41. }
  42. // Create VueI18n instance with options
  43. const i18n = new VueI18n({
  44. locale: navigator.language, // set locale
  45. messages, // set locale messages
  46. })
粤ICP备19079148号