en.ts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. import type { LocaleType } from "./index";
  2. const en: LocaleType = {
  3. WIP: "WIP...",
  4. ChatItem: {
  5. ChatItemCount: (count: number) => `${count} messages`,
  6. },
  7. Chat: {
  8. SubTitle: (count: number) => `${count} messages with ChatGPT`,
  9. Actions: {
  10. ChatList: "Go To Chat List",
  11. CompressedHistory: "Compressed History Memory Prompt",
  12. Export: "Export All Messages as Markdown",
  13. Copy: "Copy",
  14. Stop: "Stop",
  15. },
  16. Typing: "Typing…",
  17. Input: (submitKey: string) =>
  18. `Type something and press ${submitKey} to send`,
  19. Send: "Send",
  20. },
  21. Export: {
  22. Title: "All Messages",
  23. Copy: "Copy All",
  24. Download: "Download",
  25. },
  26. Memory: {
  27. Title: "Memory Prompt",
  28. EmptyContent: "Nothing yet.",
  29. Copy: "Copy All",
  30. },
  31. Home: {
  32. NewChat: "New Chat",
  33. DeleteChat: "Confirm to delete the selected conversation?",
  34. },
  35. Settings: {
  36. Title: "Settings",
  37. SubTitle: "All Settings",
  38. Actions: {
  39. ClearAll: "Clear All Data",
  40. ResetAll: "Reset All Settings",
  41. Close: "Close",
  42. },
  43. Lang: {
  44. Name: "语言",
  45. Options: {
  46. cn: "中文",
  47. en: "English",
  48. },
  49. },
  50. Avatar: "Avatar",
  51. Update: {
  52. Version: (x: string) => `Version: ${x}`,
  53. IsLatest: "Latest version",
  54. CheckUpdate: "Check Update",
  55. IsChecking: "Checking update...",
  56. FoundUpdate: (x: string) => `Found new version: ${x}`,
  57. GoToUpdate: "Update",
  58. },
  59. SendKey: "Send Key",
  60. Theme: "Theme",
  61. TightBorder: "Tight Border",
  62. HistoryCount: {
  63. Title: "Attached Messages Count",
  64. SubTitle: "Number of sent messages attached per request",
  65. },
  66. CompressThreshold: {
  67. Title: "History Compression Threshold",
  68. SubTitle:
  69. "Will compress if uncompressed messages length exceeds the value",
  70. },
  71. Model: "Model",
  72. Temperature: {
  73. Title: "Temperature",
  74. SubTitle: "A larger value makes the more random output",
  75. },
  76. MaxTokens: {
  77. Title: "Max Tokens",
  78. SubTitle: "Maximum length of input tokens and generated tokens",
  79. },
  80. PresencePenlty: {
  81. Title: "Presence Penalty",
  82. SubTitle:
  83. "A larger value increases the likelihood to talk about new topics",
  84. },
  85. },
  86. Store: {
  87. DefaultTopic: "New Conversation",
  88. BotHello: "Hello! How can I assist you today?",
  89. Error: "Something went wrong, please try again later.",
  90. Prompt: {
  91. History: (content: string) =>
  92. "This is a summary of the chat history between the AI and the user as a recap: " +
  93. content,
  94. Topic:
  95. "Provide a brief topic of the sentence without explanation. If there is no topic, return 'Chitchat'.",
  96. Summarize:
  97. "Summarize our discussion briefly in 50 characters or less to use as a prompt for future context.",
  98. },
  99. ConfirmClearAll: "Confirm to clear all chat and setting data?",
  100. },
  101. Copy: {
  102. Success: "Copied to clipboard",
  103. Failed: "Copy failed, please grant permission to access clipboard",
  104. },
  105. };
  106. export default en;