en.ts 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import type { LocaleType } from './index'
  2. const en: LocaleType = {
  3. ChatItem: {
  4. ChatItemCount: (count: number) => `${count} messages`,
  5. },
  6. Chat: {
  7. SubTitle: (count: number) => `${count} messages with ChatGPT`,
  8. Actions: {
  9. ChatList: 'Go To Chat List',
  10. CompressedHistory: 'Compressed History Memory Prompt',
  11. Export: 'Export All Messages as Markdown',
  12. },
  13. Typing: 'Typing…',
  14. Input: (submitKey: string) => `Type something and press ${submitKey} to send`,
  15. Send: 'Send',
  16. },
  17. Export: {
  18. Title: 'All Messages',
  19. Copy: 'Copy All',
  20. Download: 'Download',
  21. },
  22. Memory: {
  23. Title: 'Memory Prompt',
  24. EmptyContent: 'Nothing yet.',
  25. Copy: 'Copy All',
  26. },
  27. Home: {
  28. NewChat: 'New Chat',
  29. DeleteChat: 'Confirm to delete the selected conversation?',
  30. },
  31. Settings: {
  32. Title: 'Settings',
  33. SubTitle: 'All Settings',
  34. Actions: {
  35. ClearAll: 'Clear All Data',
  36. ResetAll: 'Reset All Settings',
  37. Close: 'Close',
  38. },
  39. Lang: {
  40. Name: '语言',
  41. Options: {
  42. cn: '中文',
  43. en: 'English'
  44. }
  45. },
  46. Avatar: 'Avatar',
  47. SendKey: 'Send Key',
  48. Theme: 'Theme',
  49. TightBorder: 'Tight Border',
  50. HistoryCount: 'History Message Count',
  51. CompressThreshold: 'Message Compression Threshold',
  52. },
  53. Store: {
  54. DefaultTopic: 'New Conversation',
  55. BotHello: 'Hello! How can I assist you today?',
  56. Error: 'Something went wrong, please try again later.',
  57. Prompt: {
  58. History: (content: string) => 'This is a summary of the chat history between the AI and the user as a recap: ' + content,
  59. Topic: "Provide a brief topic of the sentence without explanation. If there is no topic, return 'Chitchat'.",
  60. Summarize: 'Summarize our discussion briefly in 50 characters or less to use as a prompt for future context.',
  61. },
  62. ConfirmClearAll: 'Confirm to clear all chat and setting data?',
  63. },
  64. Copy: {
  65. Success: 'Copied to clipboard',
  66. Failed: 'Copy failed, please grant permission to access clipboard',
  67. }
  68. }
  69. export default en;