panhong d63bf0bda5
添加 react 编写的新版 WEBUI (#3417)
* feat:提交前端代码

* feat:提交logo样式切换

* feat:替换avatar、部分位置icon、chatchat相关说明、git链接、Wiki链接、关于、设置、反馈与建议等功能,关闭lobehub自检更新功能

* fix:移除多余代码

---------

Co-authored-by: liunux4odoo <41217877+liunux4odoo@users.noreply.github.com>
2024-03-19 14:30:26 +08:00

427 lines
13 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"about": {
"title": "關於"
},
"analytics": {
"telemetry": {
"desc": "通過選擇發送遙測數據,你可以幫助我們改善 LobeChat 整體用戶體驗",
"title": "發送匿名使用數據"
},
"title": "數據統計"
},
"danger": {
"clear": {
"action": "立即清除",
"confirm": "確認清除所有聊天資料?",
"desc": "將會清除所有對話資料,包括助手、檔案、訊息、外掛等",
"success": "已清除所有對話訊息",
"title": "清除所有對話訊息"
},
"reset": {
"action": "立即重置",
"confirm": "確認重置所有設定?",
"currentVersion": "當前版本",
"desc": "重置所有設定項回預設值",
"title": "重置所有設定"
}
},
"header": {
"global": "全域設定",
"session": "對話設定",
"sessionWithName": "對話設定 · {{name}}"
},
"llm": {
"Anthropic": {
"title": "Anthropic",
"token": {
"desc": "填入來自 Anthropic 的 API 金鑰",
"placeholder": "Anthropic API 金鑰",
"title": "API 金鑰"
}
},
"AzureOpenAI": {
"azureApiVersion": {
"desc": "Azure 的 API 版本,遵循 YYYY-MM-DD 格式,查閱[最新版本](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
"fetch": "獲取列表",
"title": "Azure API 版本"
},
"deployments": {
"desc": "使用 id=name 的語法填寫你的部署模型(如部署名和模型同名,可以只填寫模型名稱),多個模型使用逗號(, 隔開",
"title": "Azure 部署模型列表"
},
"endpoint": {
"desc": "從 Azure 門戶檢查資源時,可在“金鑰和終結點”部分中找到此值",
"placeholder": "https://docs-test-001.openai.azure.com",
"title": "Azure API 地址"
},
"models": {
"desc": "支援的模型",
"title": "模型列表"
},
"title": "Azure OpenAI 設定",
"token": {
"desc": "從 Azure 門戶檢查資源時,可在“金鑰和終結點”部分中找到此值。 可以使用 KEY1 或 KEY2",
"placeholder": "Azure API 金鑰",
"title": "API 金鑰"
}
},
"Bedrock": {
"accessKeyId": {
"desc": "填入 AWS Access Key ID",
"placeholder": "AWS Access Key ID",
"title": "AWS Access Key ID"
},
"checker": {
"desc": "測試 Access Key ID / Secret Access Key 是否填寫正確"
},
"region": {
"desc": "填入 AWS Region",
"placeholder": "AWS Region",
"title": "AWS Region"
},
"secretAccessKey": {
"desc": "填入 AWS Secret Access Key",
"placeholder": "AWS Secret Access Key",
"title": "AWS Secret Access Key"
},
"title": "Bedrock"
},
"Google": {
"title": "Google",
"token": {
"desc": "填入來自 Google 的 API 金鑰",
"placeholder": "Google API 金鑰",
"title": "API 金鑰"
}
},
"Mistral": {
"title": "Mistral AI",
"token": {
"desc": "填入來自 Mistral AI 的 API 金鑰",
"placeholder": "Mistral AI API 金鑰",
"title": "API 金鑰"
}
},
"Moonshot": {
"title": "月球背面",
"token": {
"desc": "請填入來自 Moonshot AI 的 API 金鑰",
"placeholder": "Moonshot AI API 金鑰",
"title": "API 金鑰"
}
},
"Ollama": {
"checker": {
"desc": "檢查代理地址是否正確填寫"
},
"customModelName": {
"desc": "新增自定義模型,多個模型使用逗號(,)隔開",
"placeholder": "維庫納,利亞瓦,科迪拉瑪,拉瑪2:13b-文本",
"title": "自定義模型名稱"
},
"endpoint": {
"desc": "填入 Ollama 接口代理地址,本地未額外指定可留空",
"placeholder": "http://127.0.0.1:11434/v1",
"title": "接口代理地址"
},
"title": "Ollama"
},
"OpenAI": {
"azureApiVersion": {
"desc": "Azure 的 API 版本,遵循 YYYY-MM-DD 格式,查閱[最新版本](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
"fetch": "獲取列表",
"title": "Azure Api 版本"
},
"customModelName": {
"desc": "增加自訂模型,多個模型使用逗號(, 隔開",
"placeholder": "model1,model2,model3",
"title": "自訂模型名稱"
},
"endpoint": {
"desc": "除預設地址外,必須包含 http(s)://",
"placeholder": "https://api.openai.com/v1",
"title": "介面代理地址"
},
"models": {
"count": "共支援 {{count}} 個模型",
"desc": "支援的模型",
"fetch": "獲取模型列表",
"notSupport": "Azure OpenAI 暫不支援查看模型列表",
"notSupportTip": "你需要自行確保部署名稱與模型名稱一致",
"refetch": "重新獲取模型列表",
"title": "模型列表"
},
"title": "OpenAI 設定",
"token": {
"desc": "使用自己的 OpenAI 金鑰",
"placeholder": "OpenAI API 金鑰",
"title": "API 金鑰"
},
"useAzure": {
"desc": "使用 Azure 提供的 OpenAI 服務",
"fetch": "獲取列表",
"serverConfig": "管理員在服務端配置開啟了 Azure OpenAI禁止切換",
"title": "Azure OpenAI"
}
},
"Perplexity": {
"title": "Perplexity AI",
"token": {
"desc": "請填入來自 Perplexity AI 的 API 金鑰",
"placeholder": "Perplexity AI API 金鑰",
"title": "API 金鑰"
}
},
"Zhipu": {
"title": "智譜",
"token": {
"desc": "填入來自智譜的 API 金鑰",
"placeholder": "智譜 API 金鑰",
"title": "API 金鑰"
}
},
"checker": {
"button": "檢查",
"desc": "測試 API 金鑰與代理地址是否正確填寫",
"pass": "檢查通過",
"title": "連通性檢查"
},
"waitingForMore": "更多模型正在 <1>計劃接入</1> 中,敬請期待 ✨"
},
"plugin": {
"addTooltip": "新增自訂外掛程式",
"clearDeprecated": "清除已棄用的外掛",
"empty": "目前沒有安裝任何外掛,歡迎前往 <1>外掛商店</1> 探索",
"installStatus": {
"deprecated": "已解除安裝"
},
"settings": {
"hint": "請根據描述填寫以下設定",
"title": "{{id}} 外掛設定",
"tooltip": "外掛設定"
},
"store": "外掛商店"
},
"settingAgent": {
"avatar": {
"title": "頭像"
},
"backgroundColor": {
"title": "背景色"
},
"description": {
"placeholder": "請輸入助手描述",
"title": "助手描述"
},
"name": {
"placeholder": "請輸入助手名稱",
"title": "名稱"
},
"prompt": {
"placeholder": "請輸入角色 Prompt 提示詞",
"title": "角色設定"
},
"tag": {
"placeholder": "請輸入標籤",
"title": "標籤"
},
"title": "助手資訊"
},
"settingChat": {
"autoCreateTopicThreshold": {
"desc": "當前訊息數超過設定值後,將自動建立話題",
"title": "訊息閾值"
},
"chatStyleType": {
"title": "聊天視窗樣式",
"type": {
"chat": "對話模式",
"docs": "文件模式"
}
},
"compressThreshold": {
"desc": "當未壓縮的歷史訊息超過該值時,將進行壓縮",
"title": "歷史訊息長度壓縮閾值"
},
"enableAutoCreateTopic": {
"desc": "對話過程中是否自動建立話題,僅在臨時話題中生效",
"title": "自動建立話題"
},
"enableCompressThreshold": {
"title": "是否開啟歷史訊息長度壓縮閾值"
},
"enableHistoryCount": {
"alias": "不限制",
"limited": "只包含 {{number}} 條對話訊息",
"title": "限制歷史訊息數",
"unlimited": "不限歷史訊息數"
},
"historyCount": {
"desc": "每次請求攜帶的歷史訊息數",
"title": "附帶歷史訊息數"
},
"inputTemplate": {
"desc": "使用者最新的一條訊息會填充到此模板",
"placeholder": "預處理模板 {{text}} 將替換為實時輸入資訊",
"title": "使用者輸入預處理"
},
"title": "聊天設定"
},
"settingModel": {
"enableMaxTokens": {
"title": "啟用單次回覆限制"
},
"frequencyPenalty": {
"desc": "數值越大,越有可能降低重複字詞",
"title": "頻率懲罰度"
},
"maxTokens": {
"desc": "單次互動所使用的最大 Token 數",
"title": "單次回覆限制"
},
"model": {
"desc": "ChatGPT 模型",
"list": {
"gpt-3.5-turbo": "GPT 3.5",
"gpt-3.5-turbo-16k": "GPT 3.5 (16K)",
"gpt-4": "GPT 4",
"gpt-4-32k": "GPT 4 (32K)"
},
"title": "模型"
},
"presencePenalty": {
"desc": "數值越大,越有可能擴展到新話題",
"title": "話題新鮮度"
},
"temperature": {
"desc": "數值越大,回覆越隨機",
"title": "隨機性",
"titleWithValue": "隨機性 {{value}}"
},
"title": "模型設定",
"topP": {
"desc": "與隨機性類似,但不要和隨機性一起更改",
"title": "核採樣"
}
},
"settingPlugin": {
"title": "插件列表"
},
"settingSystem": {
"accessCode": {
"desc": "管理員已開啟加密訪問",
"placeholder": "請輸入訪問密碼",
"title": "訪問密碼"
},
"oauth": {
"info": {
"desc": "已登錄",
"title": "帳戶資訊"
},
"signin": {
"action": "登錄",
"desc": "使用 SSO 登錄以解鎖應用",
"title": "登錄帳號"
},
"signout": {
"action": "退出登錄",
"confirm": "確認退出?",
"success": "退出登錄成功"
}
},
"title": "系統設定"
},
"settingTTS": {
"openai": {
"sttModel": "OpenAI 語音識別模型",
"ttsModel": "OpenAI 語音合成模型"
},
"showAllLocaleVoice": {
"desc": "關閉則只顯示當前語種的聲源",
"title": "顯示所有語種聲源"
},
"stt": "語音識別設定",
"sttAutoStop": {
"desc": "關閉後,語音識別將不會自動結束,需要手動點擊結束按鈕",
"title": "自動結束語音識別"
},
"sttLocale": {
"desc": "語音輸入的語種,此選項可提高語音識別準確率",
"title": "語音識別語種"
},
"sttService": {
"desc": "其中 broswer 為瀏覽器原生的語音識別服務",
"title": "語音識別服務"
},
"title": "語音服務",
"tts": "語音合成設定",
"ttsService": {
"desc": "如使用 OpenAI 語音合成服務,需要保證 OpenAI 模型服務已開啟",
"title": "語音合成服務"
},
"voice": {
"desc": "為當前助手挑選一個聲音,不同 TTS 服務支持的聲源不同",
"preview": "試聽聲源",
"title": "語音合成聲源"
}
},
"settingTheme": {
"avatar": {
"title": "頭像"
},
"fontSize": {
"desc": "聊天內容的字體大小",
"marks": {
"normal": "標準"
},
"title": "字體大小"
},
"lang": {
"autoMode": "跟隨系統",
"title": "語言"
},
"neutralColor": {
"desc": "不同色彩傾向的灰階自定義",
"title": "中性色"
},
"primaryColor": {
"desc": "自定義主題色",
"title": "主題色"
},
"themeMode": {
"auto": "自動",
"dark": "深色",
"light": "淺色",
"title": "主題"
},
"title": "主題設定"
},
"submitAgentModal": {
"button": "提交助手",
"identifier": "助手標識符",
"metaMiss": "請補全助手信息後提交,需要包含名稱、描述和標籤",
"placeholder": "請輸入助手的標識符,需要是唯一的,比如 web-development",
"tooltips": "分享到助手市場"
},
"tab": {
"about": "關於",
"agent": "默認助手",
"common": "通用設置",
"llm": "語言模型",
"tts": "語音服務"
},
"tools": {
"builtins": {
"groupName": "內置"
},
"disabled": "當前模型不支持函數調用,無法使用插件",
"plugins": {
"enabled": "已啟用 {{num}}",
"groupName": "插件",
"noEnabled": "暫無啟用插件",
"store": "插件商店"
},
"title": "擴展工具"
}
}