mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat: rename MCP Errors tab to Logs for mixed-level messages (#8894)
- Update McpView.tsx to use "logs" tab ID instead of "errors" - Rename translation key from tabs.errors to tabs.logs in all locales - Change empty state message from "No errors found" to "No logs yet" This better reflects that the tab shows all server messages (info, warnings, errors), not just errors. Fixes #8893 Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
b284eddf40
commit
bb640bfee7
19 changed files with 40 additions and 41 deletions
|
|
@ -371,8 +371,8 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
|
|||
{server.instructions && (
|
||||
<VSCodePanelTab id="instructions">{t("mcp:instructions")}</VSCodePanelTab>
|
||||
)}
|
||||
<VSCodePanelTab id="errors">
|
||||
{t("mcp:tabs.errors")} ({server.errorHistory?.length || 0})
|
||||
<VSCodePanelTab id="logs">
|
||||
{t("mcp:tabs.logs")} ({server.errorHistory?.length || 0})
|
||||
</VSCodePanelTab>
|
||||
|
||||
<VSCodePanelView id="tools-view">
|
||||
|
|
@ -439,7 +439,7 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
|
|||
</VSCodePanelView>
|
||||
)}
|
||||
|
||||
<VSCodePanelView id="errors-view">
|
||||
<VSCodePanelView id="logs-view">
|
||||
{server.errorHistory && server.errorHistory.length > 0 ? (
|
||||
<div
|
||||
style={{
|
||||
|
|
@ -457,7 +457,7 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
|
|||
) : (
|
||||
<div
|
||||
style={{ padding: "10px 0", color: "var(--vscode-descriptionForeground)" }}>
|
||||
{t("mcp:emptyState.noErrors")}
|
||||
{t("mcp:emptyState.noLogs")}
|
||||
</div>
|
||||
)}
|
||||
</VSCodePanelView>
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/ca/mcp.json
generated
4
webview-ui/src/i18n/locales/ca/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Eines",
|
||||
"resources": "Recursos",
|
||||
"errors": "Errors"
|
||||
"logs": "Registres"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "No s'han trobat eines",
|
||||
"noResources": "No s'han trobat recursos",
|
||||
"noErrors": "No s'han trobat errors"
|
||||
"noLogs": "Encara no hi ha registres"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Temps d'espera de xarxa",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/de/mcp.json
generated
4
webview-ui/src/i18n/locales/de/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Tools",
|
||||
"resources": "Ressourcen",
|
||||
"errors": "Fehler"
|
||||
"logs": "Protokolle"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Keine Tools gefunden",
|
||||
"noResources": "Keine Ressourcen gefunden",
|
||||
"noErrors": "Keine Fehler gefunden"
|
||||
"noLogs": "Noch keine Protokolle"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Netzwerk-Timeout",
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@
|
|||
"tabs": {
|
||||
"tools": "Tools",
|
||||
"resources": "Resources",
|
||||
"errors": "Errors"
|
||||
"logs": "Logs"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "No tools found",
|
||||
"noResources": "No resources found",
|
||||
"noErrors": "No errors found"
|
||||
"noLogs": "No logs yet"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Network Timeout",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/es/mcp.json
generated
4
webview-ui/src/i18n/locales/es/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Herramientas",
|
||||
"resources": "Recursos",
|
||||
"errors": "Errores"
|
||||
"logs": "Registros"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "No se encontraron herramientas",
|
||||
"noResources": "No se encontraron recursos",
|
||||
"noErrors": "No se encontraron errores"
|
||||
"noLogs": "Aún no hay registros"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Tiempo de espera de red",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/fr/mcp.json
generated
4
webview-ui/src/i18n/locales/fr/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Outils",
|
||||
"resources": "Ressources",
|
||||
"errors": "Erreurs"
|
||||
"logs": "Journaux"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Aucun outil trouvé",
|
||||
"noResources": "Aucune ressource trouvée",
|
||||
"noErrors": "Aucune erreur trouvée"
|
||||
"noLogs": "Pas encore de journaux"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Délai d'attente réseau",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/hi/mcp.json
generated
4
webview-ui/src/i18n/locales/hi/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "टूल्स",
|
||||
"resources": "संसाधन",
|
||||
"errors": "त्रुटियाँ"
|
||||
"logs": "लॉग्स"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "कोई टूल नहीं मिला",
|
||||
"noResources": "कोई संसाधन नहीं मिला",
|
||||
"noErrors": "कोई त्रुटि नहीं मिली"
|
||||
"noLogs": "अभी तक कोई लॉग नहीं"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "नेटवर्क टाइमआउट",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/id/mcp.json
generated
4
webview-ui/src/i18n/locales/id/mcp.json
generated
|
|
@ -26,12 +26,12 @@
|
|||
"tabs": {
|
||||
"tools": "Tools",
|
||||
"resources": "Resources",
|
||||
"errors": "Error"
|
||||
"logs": "Log"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Tidak ada tools ditemukan",
|
||||
"noResources": "Tidak ada resources ditemukan",
|
||||
"noErrors": "Tidak ada error ditemukan"
|
||||
"noLogs": "Belum ada log"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Network Timeout",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/it/mcp.json
generated
4
webview-ui/src/i18n/locales/it/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Strumenti",
|
||||
"resources": "Risorse",
|
||||
"errors": "Errori"
|
||||
"logs": "Registri"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Nessuno strumento trovato",
|
||||
"noResources": "Nessuna risorsa trovata",
|
||||
"noErrors": "Nessun errore trovato"
|
||||
"noLogs": "Ancora nessun registro"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Timeout di rete",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/ja/mcp.json
generated
4
webview-ui/src/i18n/locales/ja/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "ツール",
|
||||
"resources": "リソース",
|
||||
"errors": "エラー"
|
||||
"logs": "ログ"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "ツールが見つかりません",
|
||||
"noResources": "リソースが見つかりません",
|
||||
"noErrors": "エラーが見つかりません"
|
||||
"noLogs": "ログはまだありません"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "ネットワークタイムアウト",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/ko/mcp.json
generated
4
webview-ui/src/i18n/locales/ko/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "도구",
|
||||
"resources": "리소스",
|
||||
"errors": "오류"
|
||||
"logs": "로그"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "도구를 찾을 수 없음",
|
||||
"noResources": "리소스를 찾을 수 없음",
|
||||
"noErrors": "오류를 찾을 수 없음"
|
||||
"noLogs": "아직 로그 없음"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "네트워크 타임아웃",
|
||||
|
|
|
|||
5
webview-ui/src/i18n/locales/nl/mcp.json
generated
5
webview-ui/src/i18n/locales/nl/mcp.json
generated
|
|
@ -25,13 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Tools",
|
||||
"resources": "Bronnen",
|
||||
"errors": "Fouten"
|
||||
"logs": "Logboeken"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Geen tools gevonden",
|
||||
"noResources": "Geen bronnen gevonden",
|
||||
"noLogs": "Geen logboeken gevonden",
|
||||
"noErrors": "Geen fouten gevonden"
|
||||
"noLogs": "Nog geen logboeken"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Netwerktime-out",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/pl/mcp.json
generated
4
webview-ui/src/i18n/locales/pl/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Narzędzia",
|
||||
"resources": "Zasoby",
|
||||
"errors": "Błędy"
|
||||
"logs": "Logi"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Nie znaleziono narzędzi",
|
||||
"noResources": "Nie znaleziono zasobów",
|
||||
"noErrors": "Nie znaleziono błędów"
|
||||
"noLogs": "Brak logów"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Limit czasu sieci",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/pt-BR/mcp.json
generated
4
webview-ui/src/i18n/locales/pt-BR/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Ferramentas",
|
||||
"resources": "Recursos",
|
||||
"errors": "Erros"
|
||||
"logs": "Logs"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Nenhuma ferramenta encontrada",
|
||||
"noResources": "Nenhum recurso encontrado",
|
||||
"noErrors": "Nenhum erro encontrado"
|
||||
"noLogs": "Ainda sem logs"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Tempo limite de rede",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/ru/mcp.json
generated
4
webview-ui/src/i18n/locales/ru/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Инструменты",
|
||||
"resources": "Ресурсы",
|
||||
"errors": "Ошибки"
|
||||
"logs": "Логи"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Инструменты не найдены",
|
||||
"noResources": "Ресурсы не найдены",
|
||||
"noErrors": "Ошибки не найдены"
|
||||
"noLogs": "Логов пока нет"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Тайм-аут сети",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/tr/mcp.json
generated
4
webview-ui/src/i18n/locales/tr/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Araçlar",
|
||||
"resources": "Kaynaklar",
|
||||
"errors": "Hatalar"
|
||||
"logs": "Günlükler"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Araç bulunamadı",
|
||||
"noResources": "Kaynak bulunamadı",
|
||||
"noErrors": "Hata bulunamadı"
|
||||
"noLogs": "Henüz günlük yok"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Ağ Zaman Aşımı",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/vi/mcp.json
generated
4
webview-ui/src/i18n/locales/vi/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "Công cụ",
|
||||
"resources": "Tài nguyên",
|
||||
"errors": "Lỗi"
|
||||
"logs": "Nhật ký"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "Không tìm thấy công cụ",
|
||||
"noResources": "Không tìm thấy tài nguyên",
|
||||
"noErrors": "Không tìm thấy lỗi"
|
||||
"noLogs": "Chưa có nhật ký"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "Thời gian chờ mạng",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/zh-CN/mcp.json
generated
4
webview-ui/src/i18n/locales/zh-CN/mcp.json
generated
|
|
@ -25,12 +25,12 @@
|
|||
"tabs": {
|
||||
"tools": "工具",
|
||||
"resources": "资源",
|
||||
"errors": "错误"
|
||||
"logs": "日志"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "未找到工具",
|
||||
"noResources": "未找到资源",
|
||||
"noErrors": "未找到错误"
|
||||
"noLogs": "暂无日志"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "网络超时",
|
||||
|
|
|
|||
4
webview-ui/src/i18n/locales/zh-TW/mcp.json
generated
4
webview-ui/src/i18n/locales/zh-TW/mcp.json
generated
|
|
@ -26,12 +26,12 @@
|
|||
"tabs": {
|
||||
"tools": "工具",
|
||||
"resources": "資源",
|
||||
"errors": "錯誤"
|
||||
"logs": "日誌"
|
||||
},
|
||||
"emptyState": {
|
||||
"noTools": "找不到工具",
|
||||
"noResources": "找不到資源",
|
||||
"noErrors": "找不到錯誤"
|
||||
"noLogs": "暫無日誌"
|
||||
},
|
||||
"networkTimeout": {
|
||||
"label": "網路逾時",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue