ChatGPT-Next-Web/app/locales/en.ts

119 lines
3.2 KiB
TypeScript
Raw Normal View History

2023-03-21 16:20:32 +00:00
import type { LocaleType } from "./index";
2023-03-20 16:17:45 +00:00
const en: LocaleType = {
WIP: "WIP...",
Error: {
Unauthorized:
"Unauthorized access, please enter access code in settings page.",
},
2023-03-21 16:20:32 +00:00
ChatItem: {
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",
Copy: "Copy",
Stop: "Stop",
2023-03-26 10:59:09 +00:00
Retry: "Retry",
2023-03-20 16:17:45 +00:00
},
2023-03-21 16:20:32 +00:00
Typing: "Typing…",
Input: (submitKey: string) =>
`Type something and press ${submitKey} to send`,
Send: "Send",
},
Export: {
Title: "All Messages",
Copy: "Copy All",
Download: "Download",
},
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",
2023-03-20 16:17:45 +00:00
},
2023-03-21 16:20:32 +00:00
Lang: {
Name: "语言",
Options: {
cn: "中文",
en: "English",
},
2023-03-20 16:17:45 +00:00
},
2023-03-21 16:20:32 +00:00
Avatar: "Avatar",
2023-03-23 16:01:00 +00:00
Update: {
Version: (x: string) => `Version: ${x}`,
IsLatest: "Latest version",
CheckUpdate: "Check Update",
IsChecking: "Checking update...",
FoundUpdate: (x: string) => `Found new version: ${x}`,
GoToUpdate: "Update",
},
2023-03-21 16:20:32 +00:00
SendKey: "Send Key",
Theme: "Theme",
TightBorder: "Tight Border",
HistoryCount: {
Title: "Attached Messages Count",
SubTitle: "Number of sent messages attached per request",
2023-03-20 16:17:45 +00:00
},
2023-03-21 16:20:32 +00:00
CompressThreshold: {
Title: "History Compression Threshold",
SubTitle:
"Will compress if uncompressed messages length exceeds the value",
2023-03-20 16:17:45 +00:00
},
AccessCode: {
Title: "Access Code",
SubTitle: "Access control enabled",
Placeholder: "Need Access Code",
},
2023-03-21 16:20:32 +00:00
Model: "Model",
Temperature: {
Title: "Temperature",
SubTitle: "A larger value makes the more random output",
2023-03-20 16:17:45 +00:00
},
2023-03-21 16:20:32 +00:00
MaxTokens: {
Title: "Max Tokens",
SubTitle: "Maximum length of input tokens and generated tokens",
2023-03-20 16:17:45 +00:00
},
2023-03-21 16:20:32 +00:00
PresencePenlty: {
Title: "Presence Penalty",
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",
},
};
2023-03-20 16:17:45 +00:00
2023-03-21 16:20:32 +00:00
export default en;