🐛 fix: update i18n translations, UI components, and provider configuration

- Add error.open_path translation across multiple locales (zh-tw, el-gr, es-es, fr-fr, ja-jp, pt-pt, ru-ru)
- Remove avatarProps from AgentLabel in AgentSettingsPopup
- Add ovms provider to SystemProviderIds
This commit is contained in:
Vaayne 2025-09-30 18:15:08 +08:00
parent b991afd69a
commit fcd8f7a26e
9 changed files with 23 additions and 1 deletions

View File

@ -1178,6 +1178,9 @@
}, },
"document": "文件", "document": "文件",
"edit": "編輯", "edit": "編輯",
"error": {
"open_path": "無法開啟路徑: {{path}}"
},
"file": "檔案", "file": "檔案",
"image": "圖片", "image": "圖片",
"name": "名稱", "name": "名稱",

View File

@ -1178,6 +1178,9 @@
}, },
"document": "Έγγραφο", "document": "Έγγραφο",
"edit": "Επεξεργασία", "edit": "Επεξεργασία",
"error": {
"open_path": "Δεν είναι δυνατό το άνοιγμα της διαδρομής: {{path}}"
},
"file": "Αρχείο", "file": "Αρχείο",
"image": "Εικόνα", "image": "Εικόνα",
"name": "Όνομα αρχείου", "name": "Όνομα αρχείου",

View File

@ -1178,6 +1178,9 @@
}, },
"document": "Documento", "document": "Documento",
"edit": "Editar", "edit": "Editar",
"error": {
"open_path": "No se puede abrir la ruta: {{path}}"
},
"file": "Archivo", "file": "Archivo",
"image": "Imagen", "image": "Imagen",
"name": "Nombre del archivo", "name": "Nombre del archivo",

View File

@ -1178,6 +1178,9 @@
}, },
"document": "Document", "document": "Document",
"edit": "Éditer", "edit": "Éditer",
"error": {
"open_path": "Impossible d'ouvrir le chemin : {{path}}"
},
"file": "Fichier", "file": "Fichier",
"image": "Image", "image": "Image",
"name": "Nom du fichier", "name": "Nom du fichier",

View File

@ -1178,6 +1178,9 @@
}, },
"document": "ドキュメント", "document": "ドキュメント",
"edit": "編集", "edit": "編集",
"error": {
"open_path": "パスを開けません: {{path}}"
},
"file": "ファイル", "file": "ファイル",
"image": "画像", "image": "画像",
"name": "名前", "name": "名前",

View File

@ -1178,6 +1178,9 @@
}, },
"document": "Documento", "document": "Documento",
"edit": "Editar", "edit": "Editar",
"error": {
"open_path": "Não foi possível abrir o caminho: {{path}}"
},
"file": "Arquivo", "file": "Arquivo",
"image": "Imagem", "image": "Imagem",
"name": "Nome do Arquivo", "name": "Nome do Arquivo",

View File

@ -1178,6 +1178,9 @@
}, },
"document": "Документ", "document": "Документ",
"edit": "Редактировать", "edit": "Редактировать",
"error": {
"open_path": "Не удалось открыть путь: {{path}}"
},
"file": "Файл", "file": "Файл",
"image": "Изображение", "image": "Изображение",
"name": "Имя", "name": "Имя",

View File

@ -104,7 +104,7 @@ const AgentSettingPopupContainer: React.FC<AgentSettingPopupParams> = ({ tab, ag
afterClose={afterClose} afterClose={afterClose}
maskClosable={false} maskClosable={false}
footer={null} footer={null}
title={<AgentLabel agent={agent} classNames={{ name: 'text-lg font-extrabold' }} avatarProps={{ size: 'sm' }} />} title={<AgentLabel agent={agent} classNames={{ name: 'text-lg font-extrabold' }} />}
transitionName="animation-move-down" transitionName="animation-move-down"
styles={{ styles={{
content: { content: {

View File

@ -123,6 +123,7 @@ export const SystemProviderIds = {
ph8: 'ph8', ph8: 'ph8',
openrouter: 'openrouter', openrouter: 'openrouter',
ollama: 'ollama', ollama: 'ollama',
ovms: 'ovms',
'new-api': 'new-api', 'new-api': 'new-api',
lmstudio: 'lmstudio', lmstudio: 'lmstudio',
anthropic: 'anthropic', anthropic: 'anthropic',