diff --git a/frontend/packages/common/src/locales/scan/en-US.json b/frontend/packages/common/src/locales/scan/en-US.json index c70caa9c..e4d65611 100644 --- a/frontend/packages/common/src/locales/scan/en-US.json +++ b/frontend/packages/common/src/locales/scan/en-US.json @@ -808,5 +808,46 @@ "Ke32702ac": "After saving, the supplier status will become [Disabled]. APIs using this supplier will temporarily use the normal supplier with the highest load priority.", "Ka08c28d4": "After saving, the supplier status will become [Normal], restoring the AI capabilities of this supplier.", "Kab8fe398": "Current Call Status:", - "K4880fd04": "Add (0) APIKey" + "K4880fd04": "Add (0) APIKey", + "Kf553a17e": "View", + "K84b2cf2d": "Online Model", + "Kdbf37ece": "Local Model", + "Kc7f7aa98": "Model Type", + "K42213ffa": "Online Model", + "K15e69f64": "Model Settings", + "K68f1c446": "Deploy AI Model", + "K953bbe54": "Delete Model", + "K1bbe8b92": "There are", + "Kca29bf8b": "APIs using the current model. After deleting the current model configuration, the related APIs will switch to the highest-priority available model in the load balancing system. All API keys and related data under the current model will be cleared. Are you sure you want to delete the current model?", + "Kf02ec68c": "The current model is the last one and cannot be deleted", + "Kf63cb5b4": "Deployment Process", + "K2b2e787c": "Apis", + "K11372aaf": "Deploy Model", + "K14bcebd2": "Keys", + "K663648ae": "Add Model", + "K2c93168c": "Add REST API", + "K31086771": "Supports batch addition of existing API documents for unified external access", + "K68932d54": "Add Online AI API", + "K659140c3": "Quickly call cloud service API of AI model, conveniently manage prompt and unified billing", + "K8341389c": "Deploy AI Locally & Generate API", + "Kf4e629f9": "Quickly deploy open-source models locally and automatically generate APIs", + "K26b9d431": "Deploy", + "K8facd134": "Click here", + "K96871eb8": "Click", + "K1fd51aaa": "Model Name", + "K40c527de": "Hot Model", + "Kcdb675ed": "Select OpenAPI File (.json / .yaml)", + "Kbb028f95": "Add Load Balancing", + "Kfac16394": "When an AI model anomaly is detected, the system will automatically replace it with the highest-priority available model below. This ensures your AI application maintains high availability and optimal performance, preventing any single LLM anomaly from becoming a performance bottleneck.", + "K769d59d": "Please enter...", + "K65b21404": "Download", + "K7cc5269": "Initializing", + "Kf9308d46": "Stop Deployment", + "K3de04ec6": "Are you sure you want to stop the deployment?", + "K881fef4c": "Are you sure you want to delete the service?", + "Ka791de39": "Deploying", + "Kf7056787": "Public Service", + "Kbe98ba9e": "Private Service", + "K24540de": "Stop", + "Kd85b3f64": "Continue Waiting" } diff --git a/frontend/packages/common/src/locales/scan/ja-JP.json b/frontend/packages/common/src/locales/scan/ja-JP.json index efe1d341..6b2beb34 100644 --- a/frontend/packages/common/src/locales/scan/ja-JP.json +++ b/frontend/packages/common/src/locales/scan/ja-JP.json @@ -830,5 +830,46 @@ "Ke32702ac": "保存後、サプライヤーのステータスは【無効】となり、このサプライヤーのAPIは一時的に負荷優先度が最も高い正常なサプライヤーを使用します。", "Ka08c28d4": "保存後、サプライヤーのステータスは【正常】となり、このサプライヤーのAI機能が復元されます。", "Kab8fe398": "現在の呼び出し状態:", - "K4880fd04": "APIKeyを追加 (0)" + "K4880fd04": "APIKeyを追加 (0)", + "Kf553a17e": "表示", + "K84b2cf2d": "オンラインモデル", + "Kdbf37ece": "ローカルモデル", + "Kc7f7aa98": "モデルタイプ", + "K42213ffa": "オンラインモデル", + "K15e69f64": "モデル設定", + "K68f1c446": "ローカルモデルをデプロイ", + "K953bbe54": "モデルを削除", + "K1bbe8b92": "現在", + "Kca29bf8b": "個の API がこのモデルを使用しています。このモデル設定を削除すると、関連する API はロードバランシング内で最優先の利用可能なモデルに切り替わります。また、このモデルに関連するすべての API キーとデータが削除されます。本当にこのモデルを削除しますか?", + "Kf02ec68c": "現在のモデルは最後のモデルであり、削除できません。", + "Kf63cb5b4": "デプロイプロセス", + "K2b2e787c": "Apis", + "K11372aaf": "モデルをデプロイ", + "K14bcebd2": "Keys", + "K663648ae": "モデルを追加", + "K2c93168c": "REST サービスを追加", + "K31086771": "既存の API ドキュメントを一括追加し、統一された外部アクセスを実現できます。", + "K68932d54": "オンライン AI API を追加", + "K659140c3": "AI モデルのクラウド API を素早く呼び出し、プロンプト管理や一元的な課金管理を簡単にします。", + "K8341389c": "ローカルに AI をデプロイし API を生成", + "Kf4e629f9": "オープンソースモデルをローカルに素早くデプロイし、自動的に API を生成します。", + "K26b9d431": "デプロイ", + "K8facd134": "ここをクリック", + "K96871eb8": "クリック", + "K1fd51aaa": "モデル名", + "K40c527de": "人気モデル", + "Kcdb675ed": "OpenAPI ファイル (.json / .yaml) を選択", + "Kbb028f95": "ロードバランシングを追加", + "Kfac16394": "システムが AI モデルの異常を検知した場合、自動的に以下の最優先の利用可能なモデルに置き換えます。これにより、AI アプリの高可用性と最適なパフォーマンスを維持し、単一の LLM の異常がボトルネックになるのを防ぎます。", + "K769d59d": "入力してください...", + "K65b21404": "ダウンロード", + "K7cc5269": "初期化", + "Kf9308d46": "デプロイを停止", + "K3de04ec6": "本当にデプロイを停止しますか?", + "K881fef4c": "本当にサービスを削除しますか?", + "Ka791de39": "デプロイ中", + "Kf7056787": "パブリックサービス", + "Kbe98ba9e": "プライベートサービス", + "K24540de": "停止", + "Kd85b3f64": "引き続き待機" } diff --git a/frontend/packages/common/src/locales/scan/zh-CN.json b/frontend/packages/common/src/locales/scan/zh-CN.json index 5b9563b7..4f61368f 100644 --- a/frontend/packages/common/src/locales/scan/zh-CN.json +++ b/frontend/packages/common/src/locales/scan/zh-CN.json @@ -761,5 +761,46 @@ "Ke32702ac": "保存后供应商状态变为【停用】,使用本供应商的 API 将临时使用负载优先级最高的正常供应商。", "Ka08c28d4": "保存后供应商状态变为【正常】,恢复调用本供应商的 AI 能力。", "Kab8fe398": "当前调用状态:", - "K4880fd04": "添加 (0) APIKey" + "K4880fd04": "添加 (0) APIKey", + "Kf553a17e": "查看 ", + "K84b2cf2d": "线上模型", + "Kdbf37ece": "本地模型", + "Kc7f7aa98": "模型类型", + "K42213ffa": "在线模型", + "K15e69f64": "模型设置", + "K68f1c446": "部署本地模型", + "K953bbe54": "删除模型", + "K1bbe8b92": "有", + "Kca29bf8b": "个API使用当前模型,删除当前的模型配置后,该模型相关的API将会切换为使用负载均衡中优先级最高的可用模型。并且当前模型下的所有API KEY和相关数据将会被清空,是否确认删除当前模型?", + "Kf02ec68c": "当前模型为最后一个模型,不支持删除", + "Kf63cb5b4": "部署过程", + "K2b2e787c": "Apis", + "K11372aaf": "部署模型", + "K14bcebd2": "Keys", + "K663648ae": "添加模型", + "K2c93168c": "添加 Rest 服务", + "K31086771": "支持批量添加现有 API 文档以实现统一的外部访问。", + "K68932d54": "添加在线 AI API", + "K659140c3": "快速调用 AI 模型的云服务 API,方便管理提示词和统一计费。", + "K8341389c": "本地部署 AI 并生成 API", + "Kf4e629f9": "快速在本地部署开源模型并自动生成 API。", + "K26b9d431": "部署", + "K8facd134": "点击这里", + "K96871eb8": "点击", + "K1fd51aaa": "模型名称", + "K40c527de": "热点模型", + "Kcdb675ed": "选择 OpenAPI 文件 (.json / .yaml)", + "Kbb028f95": "添加负载均衡", + "Kfac16394": "系统自动识别异常AI模型后,自动替换成以下优先级最高的可用模型。这将确保您的AI应用保持高可用性和最佳性能,从而防止任何单个LLM异常成为您的性能瓶颈。", + "K769d59d": "请输入...", + "K65b21404": "下载", + "K7cc5269": "初始化", + "Kf9308d46": "停止部署", + "K3de04ec6": "确定停止部署吗?", + "K881fef4c": "确定删除服务吗?", + "Ka791de39": "部署中", + "Kf7056787": "公共服务", + "Kbe98ba9e": "私有服务", + "K24540de": "停止", + "Kd85b3f64": "继续等待" } diff --git a/frontend/packages/common/src/locales/scan/zh-TW.json b/frontend/packages/common/src/locales/scan/zh-TW.json index ca25b4e6..b095452a 100644 --- a/frontend/packages/common/src/locales/scan/zh-TW.json +++ b/frontend/packages/common/src/locales/scan/zh-TW.json @@ -830,5 +830,46 @@ "Ke32702ac": "儲存後供應商狀態變為【停用】,使用本供應商的 API 將暫時使用負載優先級最高的正常供應商。", "Ka08c28d4": "儲存後供應商狀態變為【正常】,恢復調用本供應商的 AI 能力。", "Kab8fe398": "目前調用狀態:", - "K4880fd04": "新增 (0) APIKey" + "K4880fd04": "新增 (0) APIKey", + "Kf553a17e": "查看", + "K84b2cf2d": "線上模型", + "Kdbf37ece": "本地模型", + "Kc7f7aa98": "模型類型", + "K42213ffa": "線上模型", + "K15e69f64": "模型設置", + "K68f1c446": "部署本地模型", + "K953bbe54": "刪除模型", + "K1bbe8b92": "有", + "Kca29bf8b": "個 API 使用當前模型,刪除當前的模型配置後,該模型相關的 API 將會切換為使用負載均衡中優先級最高的可用模型。此外,當前模型下的所有 API KEY 和相關數據將會被清空,是否確認刪除當前模型?", + "Kf02ec68c": "當前模型為最後一個模型,不支持刪除", + "Kf63cb5b4": "部署過程", + "K2b2e787c": "Apis", + "K11372aaf": "部署模型", + "K14bcebd2": "Keys", + "K663648ae": "添加模型", + "K2c93168c": "添加 REST 服務", + "K31086771": "支持批量添加現有 API 文檔,以實現統一的外部訪問。", + "K68932d54": "添加線上 AI API", + "K659140c3": "快速調用 AI 模型的雲端 API,方便管理提示詞和統一計費。", + "K8341389c": "本地部署 AI 並生成 API", + "Kf4e629f9": "快速在本地部署開源模型並自動生成 API。", + "K26b9d431": "部署", + "K8facd134": "點擊這裡", + "K96871eb8": "點擊", + "K1fd51aaa": "模型名稱", + "K40c527de": "熱門模型", + "Kcdb675ed": "選擇 OpenAPI 文件 (.json / .yaml)", + "Kbb028f95": "添加負載均衡", + "Kfac16394": "當系統自動檢測到 AI 模型異常時,會自動替換為以下優先級最高的可用模型。這將確保您的 AI 應用保持高可用性和最佳性能,防止任何單個 LLM 異常成為性能瓶頸。", + "K769d59d": "請輸入...", + "K65b21404": "下載", + "K7cc5269": "初始化", + "Kf9308d46": "停止部署", + "K3de04ec6": "確定停止部署嗎?", + "K881fef4c": "確定刪除服務嗎?", + "Ka791de39": "部署中", + "Kf7056787": "公共服務", + "Kbe98ba9e": "私有服務", + "K24540de": "停止", + "Kd85b3f64": "繼續等待" } diff --git a/frontend/packages/core/src/pages/system/SystemList.tsx b/frontend/packages/core/src/pages/system/SystemList.tsx index 5816d978..0c89b330 100644 --- a/frontend/packages/core/src/pages/system/SystemList.tsx +++ b/frontend/packages/core/src/pages/system/SystemList.tsx @@ -32,11 +32,11 @@ const SystemList: FC = () => { const drawerFormRef = useRef(null) const { checkPermission, accessInit, getGlobalAccessData, state } = useGlobalContext() const [stateColumnMap] = useState<{ [k: string]: { text: string } }>({ - normal: { text: $t('正常') }, - deploying: { text: $t('部署中') }, - error: { text: $t('异常') }, - public: { text: $t('公共服务') }, - private: { text: $t('私有服务') } + normal: { text: '正常' }, + deploying: { text: '部署中' }, + error: { text: '异常' }, + public: { text: '公共服务' }, + private: { text: '私有服务' } }) const getSystemList = () => { if (!accessInit) { @@ -181,7 +181,7 @@ const SystemList: FC = () => { } }} > - {stateColumnMap[record.state]?.text || '-'} + {$t(stateColumnMap[record.state]?.text || '-')} ) } diff --git a/frontend/packages/core/src/pages/system/serviceDeployment/ServiceDeployMentFooter.tsx b/frontend/packages/core/src/pages/system/serviceDeployment/ServiceDeployMentFooter.tsx index 97e31858..9181b0f7 100644 --- a/frontend/packages/core/src/pages/system/serviceDeployment/ServiceDeployMentFooter.tsx +++ b/frontend/packages/core/src/pages/system/serviceDeployment/ServiceDeployMentFooter.tsx @@ -75,17 +75,17 @@ export const LogsFooter = (props: any) => { <> {record.state === 'error' ? (
- +
) : (
- +
)}