2023-04-21 16:12:07 +00:00
import { SubmitKey } from "../store/config" ;
2023-06-16 17:03:06 +00:00
import type { PartialLocaleType } from "./index" ;
2023-03-28 13:29:30 +00:00
2023-06-16 17:03:06 +00:00
const tw : PartialLocaleType = {
2023-03-28 13:29:30 +00:00
WIP : "該功能仍在開發中……" ,
Error : {
2023-08-01 14:17:26 +00:00
Unauthorized : "目前您的狀態是未授權,請前往[設定頁面](/#/auth)輸入授權碼。" ,
2023-03-28 13:29:30 +00:00
} ,
ChatItem : {
2023-10-03 13:09:41 +00:00
ChatItemCount : ( count : number ) = > ` ${ count } 則對話 ` ,
2023-03-28 13:29:30 +00:00
} ,
Chat : {
2023-10-03 13:09:41 +00:00
SubTitle : ( count : number ) = > ` 您已經與 ChatGPT 進行了 ${ count } 則對話 ` ,
2023-03-28 13:29:30 +00:00
Actions : {
2023-10-03 13:09:41 +00:00
ChatList : "檢視訊息列表" ,
CompressedHistory : "檢視壓縮後的歷史 Prompt" ,
2023-03-29 04:27:32 +00:00
Export : "匯出聊天紀錄" ,
2023-03-28 13:29:30 +00:00
Copy : "複製" ,
Stop : "停止" ,
Retry : "重試" ,
2023-04-16 10:55:29 +00:00
Delete : "刪除" ,
2023-03-28 13:29:30 +00:00
} ,
2023-08-17 15:50:38 +00:00
Rename : "重新命名對話" ,
2023-03-28 13:29:30 +00:00
Typing : "正在輸入…" ,
2023-03-29 15:31:55 +00:00
Input : ( submitKey : string ) = > {
2023-10-03 13:09:41 +00:00
var inputHints = ` 輸入訊息後,按下 ${ submitKey } 鍵即可傳送 ` ;
2023-03-29 09:53:52 +00:00
if ( submitKey === String ( SubmitKey . Enter ) ) {
2023-03-29 11:31:34 +00:00
inputHints += ", Shift + Enter 鍵換行" ;
2023-03-29 09:53:52 +00:00
}
return inputHints ;
} ,
2023-10-03 13:09:41 +00:00
Send : "傳送" ,
2023-04-26 17:16:21 +00:00
Config : {
2023-10-03 13:09:41 +00:00
Reset : "重設" ,
2023-08-17 15:50:38 +00:00
SaveAs : "另存新檔" ,
2023-04-26 17:16:21 +00:00
} ,
2023-03-28 13:29:30 +00:00
} ,
Export : {
2023-04-22 16:57:55 +00:00
Title : "將聊天記錄匯出為 Markdown" ,
2023-03-29 04:27:32 +00:00
Copy : "複製全部" ,
Download : "下載檔案" ,
2023-04-22 16:57:55 +00:00
MessageFromYou : "來自您的訊息" ,
2023-04-03 21:37:35 +00:00
MessageFromChatGPT : "來自 ChatGPT 的訊息" ,
2023-03-28 13:29:30 +00:00
} ,
Memory : {
Title : "上下文記憶 Prompt" ,
EmptyContent : "尚未記憶" ,
2023-03-29 04:27:32 +00:00
Copy : "複製全部" ,
2023-10-03 13:09:41 +00:00
Send : "傳送記憶" ,
2023-04-22 16:57:55 +00:00
Reset : "重設對話" ,
ResetConfirm : "重設後將清除目前對話記錄以及歷史記憶,確認重設?" ,
2023-03-28 13:29:30 +00:00
} ,
Home : {
2023-03-29 04:27:32 +00:00
NewChat : "新的對話" ,
DeleteChat : "確定要刪除選取的對話嗎?" ,
2023-04-06 16:14:27 +00:00
DeleteToast : "已刪除對話" ,
Revert : "撤銷" ,
2023-03-28 13:29:30 +00:00
} ,
Settings : {
2023-03-29 04:27:32 +00:00
Title : "設定" ,
SubTitle : "設定選項" ,
2023-06-28 17:09:51 +00:00
2023-03-28 13:29:30 +00:00
Lang : {
2023-05-10 07:16:40 +00:00
Name : "Language" , // ATTENTION: if you wanna add a new translation, please do not translate this value, leave it as `Language`
2023-08-17 15:50:38 +00:00
All : "所有語言" ,
2023-03-28 13:29:30 +00:00
} ,
2023-03-29 04:27:32 +00:00
Avatar : "大頭貼" ,
2023-03-28 06:37:44 +00:00
FontSize : {
Title : "字型大小" ,
SubTitle : "聊天內容的字型大小" ,
} ,
2023-07-10 12:14:10 +00:00
InjectSystemPrompts : {
2023-08-17 15:50:38 +00:00
Title : "匯入系統提示" ,
2023-10-03 13:09:41 +00:00
SubTitle : "強制在每個請求的訊息列表開頭新增一個模擬 ChatGPT 的系統提示" ,
2023-07-10 12:14:10 +00:00
} ,
2023-03-28 13:29:30 +00:00
Update : {
2023-10-03 13:09:41 +00:00
Version : ( x : string ) = > ` 目前版本: ${ x } ` ,
2023-03-28 13:29:30 +00:00
IsLatest : "已是最新版本" ,
CheckUpdate : "檢查更新" ,
IsChecking : "正在檢查更新..." ,
FoundUpdate : ( x : string ) = > ` 發現新版本: ${ x } ` ,
GoToUpdate : "前往更新" ,
} ,
2023-10-03 13:09:41 +00:00
SendKey : "傳送鍵" ,
2023-03-28 13:29:30 +00:00
Theme : "主題" ,
TightBorder : "緊湊邊框" ,
2023-04-27 16:34:37 +00:00
SendPreviewBubble : {
Title : "預覽氣泡" ,
2023-10-03 13:09:41 +00:00
SubTitle : "在預覽氣泡中預覽 Markdown 內容" ,
2023-04-27 16:34:37 +00:00
} ,
Mask : {
2023-07-04 17:07:26 +00:00
Splash : {
2023-08-17 15:50:38 +00:00
Title : "面具啟動頁面" ,
SubTitle : "新增聊天時,呈現面具啟動頁面" ,
2023-07-04 17:07:26 +00:00
} ,
2023-04-27 16:34:37 +00:00
} ,
2023-03-28 17:39:14 +00:00
Prompt : {
Disable : {
2023-04-22 16:57:55 +00:00
Title : "停用提示詞自動補齊" ,
SubTitle : "在輸入框開頭輸入 / 即可觸發自動補齊" ,
2023-03-28 17:39:14 +00:00
} ,
List : "自定義提示詞列表" ,
ListCount : ( builtin : number , custom : number ) = >
2023-10-03 13:09:41 +00:00
` 內建 ${ builtin } 條,使用者定義 ${ custom } 條 ` ,
2023-03-28 17:39:14 +00:00
Edit : "編輯" ,
2023-04-17 17:34:12 +00:00
Modal : {
Title : "提示詞列表" ,
2023-04-22 16:57:55 +00:00
Add : "新增一條" ,
2023-04-18 08:13:32 +00:00
Search : "搜尋提示詞" ,
2023-04-17 17:34:12 +00:00
} ,
2023-05-01 18:26:43 +00:00
EditModal : {
2023-08-17 15:50:38 +00:00
Title : "編輯提示詞" ,
2023-05-01 18:26:43 +00:00
} ,
2023-03-28 17:39:14 +00:00
} ,
2023-03-28 13:29:30 +00:00
HistoryCount : {
2023-03-29 04:27:32 +00:00
Title : "附帶歷史訊息數" ,
SubTitle : "每次請求附帶的歷史訊息數" ,
2023-03-28 13:29:30 +00:00
} ,
CompressThreshold : {
2023-03-29 04:27:32 +00:00
Title : "歷史訊息長度壓縮閾值" ,
SubTitle : "當未壓縮的歷史訊息超過該值時,將進行壓縮" ,
2023-03-28 13:29:30 +00:00
} ,
2023-11-09 18:50:50 +00:00
2023-03-29 17:45:26 +00:00
Usage : {
Title : "帳戶餘額" ,
2023-04-05 19:56:54 +00:00
SubTitle ( used : any , total : any ) {
2023-04-22 16:57:55 +00:00
return ` 本月已使用 $ ${ used } ,訂閱總額 $ ${ total } ` ;
2023-03-29 17:45:26 +00:00
} ,
IsChecking : "正在檢查…" ,
Check : "重新檢查" ,
2023-10-03 13:09:41 +00:00
NoAccess : "輸入 API Key 檢視餘額" ,
2023-03-29 17:45:26 +00:00
} ,
2023-11-09 18:50:50 +00:00
2023-03-28 13:29:30 +00:00
Model : "模型 (model)" ,
Temperature : {
Title : "隨機性 (temperature)" ,
2023-04-22 16:57:55 +00:00
SubTitle : "值越大,回應越隨機" ,
2023-03-28 13:29:30 +00:00
} ,
MaxTokens : {
2023-04-22 16:57:55 +00:00
Title : "單次回應限制 (max_tokens)" ,
SubTitle : "單次互動所用的最大 Token 數" ,
2023-03-28 13:29:30 +00:00
} ,
2023-05-16 07:40:43 +00:00
PresencePenalty : {
2023-03-29 04:27:32 +00:00
Title : "話題新穎度 (presence_penalty)" ,
2023-10-03 13:09:41 +00:00
SubTitle : "值越大,越有可能拓展到新話題" ,
2023-03-28 13:29:30 +00:00
} ,
2023-06-04 08:05:35 +00:00
FrequencyPenalty : {
Title : "頻率懲罰度 (frequency_penalty)" ,
SubTitle : "值越大,越有可能降低重複字詞" ,
} ,
2023-03-28 13:29:30 +00:00
} ,
Store : {
2023-03-29 04:27:32 +00:00
DefaultTopic : "新的對話" ,
BotHello : "請問需要我的協助嗎?" ,
Error : "出錯了,請稍後再嘗試" ,
2023-03-28 13:29:30 +00:00
Prompt : {
History : ( content : string ) = >
2023-10-03 13:09:41 +00:00
"這是 AI 與使用者的歷史聊天總結,作為前情提要:" + content ,
2023-04-16 05:07:54 +00:00
Topic :
2023-04-18 03:38:26 +00:00
"Use the language used by the user (e.g. en for english conversation, zh-hant for chinese conversation, etc.) to generate a title (at most 6 words) summarizing our conversation without any lead-in, quotation marks, preamble like 'Title:', direct text copies, single-word replies, quotation marks, translations, or brackets. Remove enclosing quotation marks. The title should make third-party grasp the essence of the conversation in first sight." ,
2023-03-28 13:29:30 +00:00
Summarize :
2023-04-18 03:38:26 +00:00
"Use the language used by the user (e.g. en-us for english conversation, zh-hant for chinese conversation, etc.) to summarise the conversation in at most 200 words. The summary will be used as prompt for you to continue the conversation in the future." ,
2023-03-28 13:29:30 +00:00
} ,
} ,
Copy : {
2023-03-29 04:27:32 +00:00
Success : "已複製到剪貼簿中" ,
Failed : "複製失敗,請賦予剪貼簿權限" ,
2023-03-28 13:29:30 +00:00
} ,
2023-04-02 18:02:03 +00:00
Context : {
2023-04-22 16:57:55 +00:00
Toast : ( x : any ) = > ` 已設定 ${ x } 條前置上下文 ` ,
2023-04-02 18:02:03 +00:00
Edit : "前置上下文和歷史記憶" ,
2023-04-22 16:57:55 +00:00
Add : "新增一條" ,
2023-04-02 18:02:03 +00:00
} ,
2023-08-17 15:50:38 +00:00
Plugin : { Name : "外掛" } ,
2023-08-25 10:09:39 +00:00
FineTuned : { Sysmessage : "你是一個助手" } ,
2023-04-26 17:16:21 +00:00
Mask : {
2023-04-27 16:34:37 +00:00
Name : "面具" ,
2023-04-26 17:16:21 +00:00
Page : {
2023-08-17 15:50:38 +00:00
Title : "預設角色面具" ,
SubTitle : ( count : number ) = > ` ${ count } 個預設角色定義 ` ,
Search : "搜尋角色面具" ,
Create : "新增" ,
2023-04-26 17:16:21 +00:00
} ,
Item : {
2023-08-17 15:50:38 +00:00
Info : ( count : number ) = > ` 包含 ${ count } 條預設對話 ` ,
Chat : "對話" ,
2023-10-03 13:09:41 +00:00
View : "檢視" ,
2023-08-17 15:50:38 +00:00
Edit : "編輯" ,
2023-10-03 13:09:41 +00:00
Delete : "刪除" ,
DeleteConfirm : "確認刪除?" ,
2023-04-26 17:16:21 +00:00
} ,
EditModal : {
Title : ( readonly : boolean ) = >
2023-10-03 13:09:41 +00:00
` 編輯預設面具 ${ readonly ? "(只讀)" : "" } ` ,
2023-08-17 15:50:38 +00:00
Download : "下載預設" ,
2023-10-03 13:09:41 +00:00
Clone : "複製預設" ,
2023-04-26 17:16:21 +00:00
} ,
Config : {
2023-08-17 15:50:38 +00:00
Avatar : "角色頭像" ,
Name : "角色名稱" ,
2023-04-26 17:16:21 +00:00
} ,
} ,
NewChat : {
Return : "返回" ,
2023-08-17 15:50:38 +00:00
Skip : "跳過" ,
Title : "挑選一個面具" ,
SubTitle : "現在開始,與面具背後的靈魂思維碰撞" ,
More : "搜尋更多" ,
NotShow : "不再呈現" ,
2023-10-03 13:09:41 +00:00
ConfirmNoShow : "確認停用?停用後可以隨時在設定中重新啟用。" ,
2023-04-26 17:16:21 +00:00
} ,
2023-05-01 18:26:43 +00:00
UI : {
2023-08-17 15:50:38 +00:00
Confirm : "確認" ,
2023-05-01 18:26:43 +00:00
Cancel : "取消" ,
2023-08-17 15:50:38 +00:00
Close : "關閉" ,
Create : "新增" ,
Edit : "編輯" ,
2023-05-01 18:26:43 +00:00
} ,
2023-06-19 08:03:46 +00:00
Exporter : {
Model : "模型" ,
2023-08-17 15:50:38 +00:00
Messages : "訊息" ,
2023-06-19 08:03:46 +00:00
Topic : "主題" ,
Time : "時間" ,
} ,
2023-03-28 13:29:30 +00:00
} ;
export default tw ;