parent
4af8c26d02
commit
2f112ecc54
@ -1,71 +1,97 @@
|
|||||||
import type { LocaleType } from './index'
|
import type { LocaleType } from "./index";
|
||||||
|
|
||||||
const en: LocaleType = {
|
const en: LocaleType = {
|
||||||
ChatItem: {
|
ChatItem: {
|
||||||
ChatItemCount: (count: number) => `${count} messages`,
|
ChatItemCount: (count: number) => `${count} messages`,
|
||||||
|
},
|
||||||
|
Chat: {
|
||||||
|
SubTitle: (count: number) => `${count} messages with ChatGPT`,
|
||||||
|
Actions: {
|
||||||
|
ChatList: "Go To Chat List",
|
||||||
|
CompressedHistory: "Compressed History Memory Prompt",
|
||||||
|
Export: "Export All Messages as Markdown",
|
||||||
},
|
},
|
||||||
Chat: {
|
Typing: "Typing…",
|
||||||
SubTitle: (count: number) => `${count} messages with ChatGPT`,
|
Input: (submitKey: string) =>
|
||||||
Actions: {
|
`Type something and press ${submitKey} to send`,
|
||||||
ChatList: 'Go To Chat List',
|
Send: "Send",
|
||||||
CompressedHistory: 'Compressed History Memory Prompt',
|
},
|
||||||
Export: 'Export All Messages as Markdown',
|
Export: {
|
||||||
},
|
Title: "All Messages",
|
||||||
Typing: 'Typing…',
|
Copy: "Copy All",
|
||||||
Input: (submitKey: string) => `Type something and press ${submitKey} to send`,
|
Download: "Download",
|
||||||
Send: 'Send',
|
},
|
||||||
|
Memory: {
|
||||||
|
Title: "Memory Prompt",
|
||||||
|
EmptyContent: "Nothing yet.",
|
||||||
|
Copy: "Copy All",
|
||||||
|
},
|
||||||
|
Home: {
|
||||||
|
NewChat: "New Chat",
|
||||||
|
DeleteChat: "Confirm to delete the selected conversation?",
|
||||||
|
},
|
||||||
|
Settings: {
|
||||||
|
Title: "Settings",
|
||||||
|
SubTitle: "All Settings",
|
||||||
|
Actions: {
|
||||||
|
ClearAll: "Clear All Data",
|
||||||
|
ResetAll: "Reset All Settings",
|
||||||
|
Close: "Close",
|
||||||
},
|
},
|
||||||
Export: {
|
Lang: {
|
||||||
Title: 'All Messages',
|
Name: "语言",
|
||||||
Copy: 'Copy All',
|
Options: {
|
||||||
Download: 'Download',
|
cn: "中文",
|
||||||
|
en: "English",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Memory: {
|
Avatar: "Avatar",
|
||||||
Title: 'Memory Prompt',
|
SendKey: "Send Key",
|
||||||
EmptyContent: 'Nothing yet.',
|
Theme: "Theme",
|
||||||
Copy: 'Copy All',
|
TightBorder: "Tight Border",
|
||||||
|
HistoryCount: {
|
||||||
|
Title: "Attached Messages Count",
|
||||||
|
SubTitle: "Number of sent messages attached per request",
|
||||||
},
|
},
|
||||||
Home: {
|
CompressThreshold: {
|
||||||
NewChat: 'New Chat',
|
Title: "History Compression Threshold",
|
||||||
DeleteChat: 'Confirm to delete the selected conversation?',
|
SubTitle:
|
||||||
|
"Will compress if uncompressed messages length exceeds the value",
|
||||||
},
|
},
|
||||||
Settings: {
|
Model: "Model",
|
||||||
Title: 'Settings',
|
Temperature: {
|
||||||
SubTitle: 'All Settings',
|
Title: "Temperature",
|
||||||
Actions: {
|
SubTitle: "A larger value makes the more random output",
|
||||||
ClearAll: 'Clear All Data',
|
|
||||||
ResetAll: 'Reset All Settings',
|
|
||||||
Close: 'Close',
|
|
||||||
},
|
|
||||||
Lang: {
|
|
||||||
Name: '语言',
|
|
||||||
Options: {
|
|
||||||
cn: '中文',
|
|
||||||
en: 'English'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
Avatar: 'Avatar',
|
|
||||||
SendKey: 'Send Key',
|
|
||||||
Theme: 'Theme',
|
|
||||||
TightBorder: 'Tight Border',
|
|
||||||
HistoryCount: 'History Message Count',
|
|
||||||
CompressThreshold: 'Message Compression Threshold',
|
|
||||||
},
|
},
|
||||||
Store: {
|
MaxTokens: {
|
||||||
DefaultTopic: 'New Conversation',
|
Title: "Max Tokens",
|
||||||
BotHello: 'Hello! How can I assist you today?',
|
SubTitle: "Maximum length of input tokens and generated tokens",
|
||||||
Error: 'Something went wrong, please try again later.',
|
|
||||||
Prompt: {
|
|
||||||
History: (content: string) => 'This is a summary of the chat history between the AI and the user as a recap: ' + content,
|
|
||||||
Topic: "Provide a brief topic of the sentence without explanation. If there is no topic, return 'Chitchat'.",
|
|
||||||
Summarize: 'Summarize our discussion briefly in 50 characters or less to use as a prompt for future context.',
|
|
||||||
},
|
|
||||||
ConfirmClearAll: 'Confirm to clear all chat and setting data?',
|
|
||||||
},
|
},
|
||||||
Copy: {
|
PresencePenlty: {
|
||||||
Success: 'Copied to clipboard',
|
Title: "Presence Penalty",
|
||||||
Failed: 'Copy failed, please grant permission to access clipboard',
|
SubTitle:
|
||||||
}
|
"A larger value increases the likelihood to talk about new topics",
|
||||||
}
|
},
|
||||||
|
},
|
||||||
|
Store: {
|
||||||
|
DefaultTopic: "New Conversation",
|
||||||
|
BotHello: "Hello! How can I assist you today?",
|
||||||
|
Error: "Something went wrong, please try again later.",
|
||||||
|
Prompt: {
|
||||||
|
History: (content: string) =>
|
||||||
|
"This is a summary of the chat history between the AI and the user as a recap: " +
|
||||||
|
content,
|
||||||
|
Topic:
|
||||||
|
"Provide a brief topic of the sentence without explanation. If there is no topic, return 'Chitchat'.",
|
||||||
|
Summarize:
|
||||||
|
"Summarize our discussion briefly in 50 characters or less to use as a prompt for future context.",
|
||||||
|
},
|
||||||
|
ConfirmClearAll: "Confirm to clear all chat and setting data?",
|
||||||
|
},
|
||||||
|
Copy: {
|
||||||
|
Success: "Copied to clipboard",
|
||||||
|
Failed: "Copy failed, please grant permission to access clipboard",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
export default en;
|
export default en;
|
Loading…
Reference in new issue