en.ts 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. },
  30. Settings: {
  31. Title: 'Settings',
  32. SubTitle: 'All Settings',
  33. Actions: {
  34. ClearAll: 'Clear All Data',
  35. ResetAll: 'Reset All Settings',
  36. Close: 'Close',
  37. },
  38. Lang: {
  39. Name: '语言',
  40. Options: {
  41. cn: '中文',
  42. en: 'English'
  43. }
  44. },
  45. Avatar: 'Avatar',
  46. SendKey: 'Send Key',
  47. Theme: 'Theme',
  48. TightBorder: 'Tight Border',
  49. HistoryCount: 'History Message Count',
  50. CompressThreshold: 'Message Compression Threshold',
  51. },
  52. Store: {
  53. DefaultTopic: 'New Conversation',
  54. BotHello: 'Hello! How can I assist you today?',
  55. Error: 'Something went wrong, please try again later.',
  56. Prompt: {
  57. History: (content: string) => 'This is a summary of the chat history between the AI and the user as a recap: ' + content,
  58. Topic: "Provide a brief topic of the sentence without explanation. If there is no topic, return 'Chitchat'.",
  59. Summarize: 'Summarize our discussion briefly in 50 characters or less to use as a prompt for future context.',
  60. },
  61. ConfirmClearAll: 'Confirm to clear all chat and setting data?',
  62. },
  63. Copy: {
  64. Success: 'Copied to clipboard',
  65. Failed: 'Copy failed, please grant permission to access clipboard',
  66. }
  67. }
  68. export default en;