Merge pull request #129 from HimiCos/main

Update app/locales/tw.ts
This commit is contained in:
Yifei Zhang 2023-03-29 12:36:30 +08:00 committed by GitHub
commit cfbe6d77b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,45 +3,45 @@ import type { LocaleType } from "./index";
const tw: LocaleType = { const tw: LocaleType = {
WIP: "該功能仍在開發中……", WIP: "該功能仍在開發中……",
Error: { Error: {
Unauthorized: "現在是未授權狀態,請在設置頁填寫授權碼。", Unauthorized: "目前您的狀態是未授權,請前往設定頁面填寫授權碼。",
}, },
ChatItem: { ChatItem: {
ChatItemCount: (count: number) => `${count} 條對話`, ChatItemCount: (count: number) => `${count} 條對話`,
}, },
Chat: { Chat: {
SubTitle: (count: number) => `與 ChatGPT 的 ${count} 條對話`, SubTitle: (count: number) => `您已經與 ChatGPT 進行了 ${count} 條對話`,
Actions: { Actions: {
ChatList: "查看消息列表", ChatList: "查看消息列表",
CompressedHistory: "查看壓縮後的歷史 Prompt", CompressedHistory: "查看壓縮後的歷史 Prompt",
Export: "導出聊天記錄", Export: "匯出聊天紀錄",
Copy: "複製", Copy: "複製",
Stop: "停止", Stop: "停止",
Retry: "重試", Retry: "重試",
}, },
Typing: "正在輸入…", Typing: "正在輸入…",
Input: (submitKey: string) => `輸入消息,${submitKey} 發送`, Input: (submitKey: string) => `輸入訊息後,按下 ${submitKey} 鍵即可發送`,
Send: "發送", Send: "發送",
}, },
Export: { Export: {
Title: "出聊天記錄為 Markdown", Title: "出聊天記錄為 Markdown",
Copy: "全部複製", Copy: "複製全部",
Download: "下載文件", Download: "下載檔案",
}, },
Memory: { Memory: {
Title: "上下文記憶 Prompt", Title: "上下文記憶 Prompt",
EmptyContent: "尚未記憶", EmptyContent: "尚未記憶",
Copy: "全部複製", Copy: "複製全部",
}, },
Home: { Home: {
NewChat: "新的聊天", NewChat: "新的對話",
DeleteChat: "確認刪除選中的對話", DeleteChat: "確定要刪除選取的對話嗎",
}, },
Settings: { Settings: {
Title: "設", Title: "設",
SubTitle: "設選項", SubTitle: "設選項",
Actions: { Actions: {
ClearAll: "清除所有數據", ClearAll: "清除所有數據",
ResetAll: "重置所有選項", ResetAll: "重置所有設定",
Close: "關閉", Close: "關閉",
}, },
Lang: { Lang: {
@ -52,7 +52,7 @@ const tw: LocaleType = {
tw: "繁體中文", tw: "繁體中文",
}, },
}, },
Avatar: "頭像", Avatar: "大頭貼",
Update: { Update: {
Version: (x: string) => `當前版本:${x}`, Version: (x: string) => `當前版本:${x}`,
IsLatest: "已是最新版本", IsLatest: "已是最新版本",
@ -66,8 +66,8 @@ const tw: LocaleType = {
TightBorder: "緊湊邊框", TightBorder: "緊湊邊框",
Prompt: { Prompt: {
Disable: { Disable: {
Title: "用提示詞自動補全", Title: "用提示詞自動補全",
SubTitle: "禁用後將無法自動根據輸入補全", SubTitle: "若停用後,將無法自動根據輸入進行補全",
}, },
List: "自定義提示詞列表", List: "自定義提示詞列表",
ListCount: (builtin: number, custom: number) => ListCount: (builtin: number, custom: number) =>
@ -75,16 +75,16 @@ const tw: LocaleType = {
Edit: "編輯", Edit: "編輯",
}, },
HistoryCount: { HistoryCount: {
Title: "附帶歷史息數", Title: "附帶歷史息數",
SubTitle: "每次請求攜帶的歷史消息數", SubTitle: "每次請求附帶的歷史訊息數",
}, },
CompressThreshold: { CompressThreshold: {
Title: "歷史息長度壓縮閾值", Title: "歷史息長度壓縮閾值",
SubTitle: "當未壓縮的歷史息超過該值時,將進行壓縮", SubTitle: "當未壓縮的歷史息超過該值時,將進行壓縮",
}, },
Token: { Token: {
Title: "API Key", Title: "API Key",
SubTitle: "使用自己的 Key 可繞過受控訪問限制", SubTitle: "使用自己的 Key 可規避受控訪問限制",
Placeholder: "OpenAI API Key", Placeholder: "OpenAI API Key",
}, },
AccessCode: { AccessCode: {
@ -102,27 +102,27 @@ const tw: LocaleType = {
SubTitle: "單次交互所用的最大 Token 數", SubTitle: "單次交互所用的最大 Token 數",
}, },
PresencePenlty: { PresencePenlty: {
Title: "話題新度 (presence_penalty)", Title: "話題新度 (presence_penalty)",
SubTitle: "值越大,越有可能擴展到新話題", SubTitle: "值越大,越有可能擴展到新話題",
}, },
}, },
Store: { Store: {
DefaultTopic: "新的聊天", DefaultTopic: "新的對話",
BotHello: "有什麼可以幫你的嗎", BotHello: "請問需要我的協助嗎?",
Error: "出錯了,稍後重試吧", Error: "出錯了,請稍後再嘗試",
Prompt: { Prompt: {
History: (content: string) => History: (content: string) =>
"這是 ai 和用戶的歷史聊天總結作為前情提要:" + content, "這是 AI 與用戶的歷史聊天總結,作為前情提要:" + content,
Topic: Topic:
"直接返回這句話的簡要主題,不要解釋,如果沒有主題,請直接返回「閒聊」", "直接返回這句話的簡要主題,無須解釋,若無主題,請直接返回「閒聊」",
Summarize: Summarize:
"簡要總結一下你和用戶的對話,作後續的上下文提示 prompt控制在 50 字以內", "簡要總結一下你和用戶的對話,後續的上下文提示 prompt且字數控制在 50 字以內",
}, },
ConfirmClearAll: "確認清除所有聊天、設置數據?", ConfirmClearAll: "確認清除所有對話、設定數據?",
}, },
Copy: { Copy: {
Success: "已寫入剪切板", Success: "已複製到剪貼簿中",
Failed: "複製失敗,請賦予剪切板權限", Failed: "複製失敗,請賦予剪貼簿權限",
}, },
}; };