diff --git a/src/i18n/locales/ca/mcp.json b/src/i18n/locales/ca/mcp.json index 5bae6099605..2d5add350f8 100644 --- a/src/i18n/locales/ca/mcp.json +++ b/src/i18n/locales/ca/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Format de configuració MCP no vàlid: {{errorMessages}}", "create_json": "Ha fallat la creació o obertura de .roo/mcp.json: {{error}}", "failed_update_project": "Ha fallat l'actualització dels servidors MCP del projecte", - "invalidJsonArgument": "Roo ha intentat utilitzar {{toolName}} amb un argument JSON no vàlid. Tornant a intentar..." + "invalidJsonArgument": "Roo ha intentat utilitzar {{toolName}} amb un argument JSON no vàlid. Tornant a intentar...", + "refresh_after_disable": "Ha fallat l'actualització de les connexions MCP després de desactivar", + "refresh_after_enable": "Ha fallat l'actualització de les connexions MCP després d'activar", + "disconnect_servers_partial": "Ha fallat la desconnexió de {{count}} servidor(s) MCP. Comprova la sortida per més detalls." }, "info": { "server_restarting": "Reiniciant el servidor MCP {{serverName}}...", diff --git a/src/i18n/locales/de/mcp.json b/src/i18n/locales/de/mcp.json index 66c25c088f6..67bcc34cfc8 100644 --- a/src/i18n/locales/de/mcp.json +++ b/src/i18n/locales/de/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Ungültiges MCP-Einstellungen-Format: {{errorMessages}}", "create_json": "Fehler beim Erstellen oder Öffnen von .roo/mcp.json: {{error}}", "failed_update_project": "Fehler beim Aktualisieren der Projekt-MCP-Server", - "invalidJsonArgument": "Roo hat versucht, {{toolName}} mit einem ungültigen JSON-Argument zu verwenden. Wiederhole..." + "invalidJsonArgument": "Roo hat versucht, {{toolName}} mit einem ungültigen JSON-Argument zu verwenden. Wiederhole...", + "refresh_after_disable": "Fehler beim Aktualisieren der MCP-Verbindungen nach dem Deaktivieren", + "refresh_after_enable": "Fehler beim Aktualisieren der MCP-Verbindungen nach dem Aktivieren", + "disconnect_servers_partial": "Fehler beim Trennen von {{count}} MCP-Server(n). Überprüfe die Ausgabe für Details." }, "info": { "server_restarting": "MCP-Server {{serverName}} wird neu gestartet...", diff --git a/src/i18n/locales/en/mcp.json b/src/i18n/locales/en/mcp.json index c34b2c9c08d..d9b33b7dac8 100644 --- a/src/i18n/locales/en/mcp.json +++ b/src/i18n/locales/en/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Invalid MCP settings format: {{errorMessages}}", "create_json": "Failed to create or open .roo/mcp.json: {{error}}", "failed_update_project": "Failed to update project MCP servers", - "invalidJsonArgument": "Roo tried to use {{toolName}} with an invalid JSON argument. Retrying..." + "invalidJsonArgument": "Roo tried to use {{toolName}} with an invalid JSON argument. Retrying...", + "refresh_after_disable": "Failed to refresh MCP connections after disabling", + "refresh_after_enable": "Failed to refresh MCP connections after enabling", + "disconnect_servers_partial": "Failed to disconnect {{count}} MCP server(s). Check the output for details." }, "info": { "server_restarting": "Restarting {{serverName}} MCP server...", diff --git a/src/i18n/locales/es/mcp.json b/src/i18n/locales/es/mcp.json index 78c41ed5564..d28a20a08a6 100644 --- a/src/i18n/locales/es/mcp.json +++ b/src/i18n/locales/es/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Formato de configuración MCP no válido: {{errorMessages}}", "create_json": "Error al crear o abrir .roo/mcp.json: {{error}}", "failed_update_project": "Error al actualizar los servidores MCP del proyecto", - "invalidJsonArgument": "Roo intentó usar {{toolName}} con un argumento JSON no válido. Reintentando..." + "invalidJsonArgument": "Roo intentó usar {{toolName}} con un argumento JSON no válido. Reintentando...", + "refresh_after_disable": "Error al actualizar las conexiones MCP después de desactivar", + "refresh_after_enable": "Error al actualizar las conexiones MCP después de activar", + "disconnect_servers_partial": "Error al desconectar {{count}} servidor(es) MCP. Revisa la salida para más detalles." }, "info": { "server_restarting": "Reiniciando el servidor MCP {{serverName}}...", diff --git a/src/i18n/locales/fr/mcp.json b/src/i18n/locales/fr/mcp.json index bbc3eda6b3d..8bc1702e36b 100644 --- a/src/i18n/locales/fr/mcp.json +++ b/src/i18n/locales/fr/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Format de paramètres MCP invalide : {{errorMessages}}", "create_json": "Échec de la création ou de l'ouverture de .roo/mcp.json : {{error}}", "failed_update_project": "Échec de la mise à jour des serveurs MCP du projet", - "invalidJsonArgument": "Roo a essayé d'utiliser {{toolName}} avec un argument JSON invalide. Nouvelle tentative..." + "invalidJsonArgument": "Roo a essayé d'utiliser {{toolName}} avec un argument JSON invalide. Nouvelle tentative...", + "refresh_after_disable": "Échec du rafraîchissement des connexions MCP après désactivation", + "refresh_after_enable": "Échec du rafraîchissement des connexions MCP après activation", + "disconnect_servers_partial": "Échec de la déconnexion de {{count}} serveur(s) MCP. Vérifiez la sortie pour plus de détails." }, "info": { "server_restarting": "Redémarrage du serveur MCP {{serverName}}...", diff --git a/src/i18n/locales/hi/mcp.json b/src/i18n/locales/hi/mcp.json index e7e0feae0de..b302745e165 100644 --- a/src/i18n/locales/hi/mcp.json +++ b/src/i18n/locales/hi/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "अमान्य MCP सेटिंग्स फॉर्मेट: {{errorMessages}}", "create_json": ".roo/mcp.json बनाने या खोलने में विफल: {{error}}", "failed_update_project": "प्रोजेक्ट MCP सर्वर अपडेट करने में विफल", - "invalidJsonArgument": "Roo ने {{toolName}} को अमान्य JSON आर्गुमेंट के साथ उपयोग करने की कोशिश की। फिर से कोशिश कर रहा है..." + "invalidJsonArgument": "Roo ने {{toolName}} को अमान्य JSON आर्गुमेंट के साथ उपयोग करने की कोशिश की। फिर से कोशिश कर रहा है...", + "refresh_after_disable": "अक्षम करने के बाद MCP कनेक्शन रीफ्रेश करने में विफल", + "refresh_after_enable": "सक्षम करने के बाद MCP कनेक्शन रीफ्रेश करने में विफल", + "disconnect_servers_partial": "{{count}} MCP सर्वर डिस्कनेक्ट करने में विफल। विवरण के लिए आउटपुट देखें।" }, "info": { "server_restarting": "{{serverName}} MCP सर्वर पुनः प्रारंभ हो रहा है...", diff --git a/src/i18n/locales/id/mcp.json b/src/i18n/locales/id/mcp.json index 745feae9e21..ae7c3fb8579 100644 --- a/src/i18n/locales/id/mcp.json +++ b/src/i18n/locales/id/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Format pengaturan MCP tidak valid: {{errorMessages}}", "create_json": "Gagal membuat atau membuka .roo/mcp.json: {{error}}", "failed_update_project": "Gagal memperbarui server MCP proyek", - "invalidJsonArgument": "Roo mencoba menggunakan {{toolName}} dengan argumen JSON yang tidak valid. Mencoba lagi..." + "invalidJsonArgument": "Roo mencoba menggunakan {{toolName}} dengan argumen JSON yang tidak valid. Mencoba lagi...", + "refresh_after_disable": "Gagal me-refresh koneksi MCP setelah menonaktifkan", + "refresh_after_enable": "Gagal me-refresh koneksi MCP setelah mengaktifkan", + "disconnect_servers_partial": "Gagal memutus koneksi {{count}} server MCP. Periksa output untuk detailnya." }, "info": { "server_restarting": "Merestart server MCP {{serverName}}...", diff --git a/src/i18n/locales/it/mcp.json b/src/i18n/locales/it/mcp.json index 1d5a0e39a72..88ef5942f07 100644 --- a/src/i18n/locales/it/mcp.json +++ b/src/i18n/locales/it/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Formato delle impostazioni MCP non valido: {{errorMessages}}", "create_json": "Impossibile creare o aprire .roo/mcp.json: {{error}}", "failed_update_project": "Errore durante l'aggiornamento dei server MCP del progetto", - "invalidJsonArgument": "Roo ha tentato di usare {{toolName}} con un argomento JSON non valido. Riprovo..." + "invalidJsonArgument": "Roo ha tentato di usare {{toolName}} con un argomento JSON non valido. Riprovo...", + "refresh_after_disable": "Impossibile aggiornare le connessioni MCP dopo la disattivazione", + "refresh_after_enable": "Impossibile aggiornare le connessioni MCP dopo l'attivazione", + "disconnect_servers_partial": "Impossibile disconnettere {{count}} server MCP. Controlla l'output per i dettagli." }, "info": { "server_restarting": "Riavvio del server MCP {{serverName}}...", diff --git a/src/i18n/locales/ja/mcp.json b/src/i18n/locales/ja/mcp.json index c300ff861a8..44f389ac6a6 100644 --- a/src/i18n/locales/ja/mcp.json +++ b/src/i18n/locales/ja/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "MCP設定フォーマットが無効です:{{errorMessages}}", "create_json": ".roo/mcp.jsonの作成または開くことに失敗しました:{{error}}", "failed_update_project": "プロジェクトMCPサーバーの更新に失敗しました", - "invalidJsonArgument": "Rooが無効なJSON引数で{{toolName}}を使用しようとしました。再試行中..." + "invalidJsonArgument": "Rooが無効なJSON引数で{{toolName}}を使用しようとしました。再試行中...", + "refresh_after_disable": "無効化後にMCP接続の更新に失敗しました", + "refresh_after_enable": "有効化後にMCP接続の更新に失敗しました", + "disconnect_servers_partial": "{{count}}個のMCPサーバーの切断に失敗しました。詳細は出力を確認してください。" }, "info": { "server_restarting": "MCPサーバー{{serverName}}を再起動中...", diff --git a/src/i18n/locales/ko/mcp.json b/src/i18n/locales/ko/mcp.json index f5d8d7d03b9..68d26623714 100644 --- a/src/i18n/locales/ko/mcp.json +++ b/src/i18n/locales/ko/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "잘못된 MCP 설정 형식: {{errorMessages}}", "create_json": ".roo/mcp.json 생성 또는 열기 실패: {{error}}", "failed_update_project": "프로젝트 MCP 서버 업데이트에 실패했습니다", - "invalidJsonArgument": "Roo가 유효하지 않은 JSON 인자로 {{toolName}}을(를) 사용하려고 했습니다. 다시 시도 중..." + "invalidJsonArgument": "Roo가 유효하지 않은 JSON 인자로 {{toolName}}을(를) 사용하려고 했습니다. 다시 시도 중...", + "refresh_after_disable": "비활성화 후 MCP 연결 새로 고침 실패", + "refresh_after_enable": "활성화 후 MCP 연결 새로 고침 실패", + "disconnect_servers_partial": "{{count}}개의 MCP 서버 연결 해제 실패. 자세한 내용은 출력을 확인하세요." }, "info": { "server_restarting": "{{serverName}} MCP 서버를 재시작하는 중...", diff --git a/src/i18n/locales/nl/mcp.json b/src/i18n/locales/nl/mcp.json index 441ec2a9e5a..76f06825a5c 100644 --- a/src/i18n/locales/nl/mcp.json +++ b/src/i18n/locales/nl/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Ongeldig MCP-instellingenformaat: {{errorMessages}}", "create_json": "Aanmaken of openen van .roo/mcp.json mislukt: {{error}}", "failed_update_project": "Bijwerken van project MCP-servers mislukt", - "invalidJsonArgument": "Roo probeerde {{toolName}} te gebruiken met een ongeldig JSON-argument. Opnieuw proberen..." + "invalidJsonArgument": "Roo probeerde {{toolName}} te gebruiken met een ongeldig JSON-argument. Opnieuw proberen...", + "refresh_after_disable": "Vernieuwen van MCP-verbindingen na uitschakelen mislukt", + "refresh_after_enable": "Vernieuwen van MCP-verbindingen na inschakelen mislukt", + "disconnect_servers_partial": "Loskoppelen van {{count}} MCP-server(s) mislukt. Controleer de uitvoer voor details." }, "info": { "server_restarting": "{{serverName}} MCP-server wordt opnieuw gestart...", diff --git a/src/i18n/locales/pl/mcp.json b/src/i18n/locales/pl/mcp.json index e6d49104b1f..fcf4bd7ce49 100644 --- a/src/i18n/locales/pl/mcp.json +++ b/src/i18n/locales/pl/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Nieprawidłowy format ustawień MCP: {{errorMessages}}", "create_json": "Nie udało się utworzyć lub otworzyć .roo/mcp.json: {{error}}", "failed_update_project": "Nie udało się zaktualizować serwerów MCP projektu", - "invalidJsonArgument": "Roo próbował użyć {{toolName}} z nieprawidłowym argumentem JSON. Ponawianie..." + "invalidJsonArgument": "Roo próbował użyć {{toolName}} z nieprawidłowym argumentem JSON. Ponawianie...", + "refresh_after_disable": "Nie udało się odświeżyć połączeń MCP po wyłączeniu", + "refresh_after_enable": "Nie udało się odświeżyć połączeń MCP po włączeniu", + "disconnect_servers_partial": "Nie udało się odłączyć {{count}} serwera(ów) MCP. Sprawdź dane wyjściowe, aby uzyskać szczegóły." }, "info": { "server_restarting": "Ponowne uruchamianie serwera MCP {{serverName}}...", diff --git a/src/i18n/locales/pt-BR/mcp.json b/src/i18n/locales/pt-BR/mcp.json index 4d1050e9db1..19358c016b9 100644 --- a/src/i18n/locales/pt-BR/mcp.json +++ b/src/i18n/locales/pt-BR/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Formato de configurações MCP inválido: {{errorMessages}}", "create_json": "Falha ao criar ou abrir .roo/mcp.json: {{error}}", "failed_update_project": "Falha ao atualizar os servidores MCP do projeto", - "invalidJsonArgument": "Roo tentou usar {{toolName}} com um argumento JSON inválido. Tentando novamente..." + "invalidJsonArgument": "Roo tentou usar {{toolName}} com um argumento JSON inválido. Tentando novamente...", + "refresh_after_disable": "Falha ao atualizar as conexões MCP após desativar", + "refresh_after_enable": "Falha ao atualizar as conexões MCP após ativar", + "disconnect_servers_partial": "Falha ao desconectar {{count}} servidor(es) MCP. Verifique a saída para detalhes." }, "info": { "server_restarting": "Reiniciando o servidor MCP {{serverName}}...", diff --git a/src/i18n/locales/ru/mcp.json b/src/i18n/locales/ru/mcp.json index fcbf6501f46..597579a766d 100644 --- a/src/i18n/locales/ru/mcp.json +++ b/src/i18n/locales/ru/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Неверный формат настроек MCP: {{errorMessages}}", "create_json": "Не удалось создать или открыть .roo/mcp.json: {{error}}", "failed_update_project": "Не удалось обновить серверы проекта MCP", - "invalidJsonArgument": "Roo попытался использовать {{toolName}} с недопустимым JSON-аргументом. Повторная попытка..." + "invalidJsonArgument": "Roo попытался использовать {{toolName}} с недопустимым JSON-аргументом. Повторная попытка...", + "refresh_after_disable": "Не удалось обновить соединения MCP после отключения", + "refresh_after_enable": "Не удалось обновить соединения MCP после включения", + "disconnect_servers_partial": "Не удалось отключить {{count}} MCP сервер(ов). Проверьте вывод для получения подробностей." }, "info": { "server_restarting": "Перезапуск сервера MCP {{serverName}}...", diff --git a/src/i18n/locales/tr/mcp.json b/src/i18n/locales/tr/mcp.json index bb5461e5403..07799230888 100644 --- a/src/i18n/locales/tr/mcp.json +++ b/src/i18n/locales/tr/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Geçersiz MCP ayarları formatı: {{errorMessages}}", "create_json": ".roo/mcp.json oluşturulamadı veya açılamadı: {{error}}", "failed_update_project": "Proje MCP sunucuları güncellenemedi", - "invalidJsonArgument": "Roo, {{toolName}} aracını geçersiz bir JSON argümanıyla kullanmaya çalıştı. Tekrar deneniyor..." + "invalidJsonArgument": "Roo, {{toolName}} aracını geçersiz bir JSON argümanıyla kullanmaya çalıştı. Tekrar deneniyor...", + "refresh_after_disable": "Devre dışı bıraktıktan sonra MCP bağlantıları yenilenemedi", + "refresh_after_enable": "Etkinleştirdikten sonra MCP bağlantıları yenilenemedi", + "disconnect_servers_partial": "{{count}} MCP sunucusu bağlantısı kesilemedi. Ayrıntılar için çıktıyı kontrol edin." }, "info": { "server_restarting": "{{serverName}} MCP sunucusu yeniden başlatılıyor...", diff --git a/src/i18n/locales/vi/mcp.json b/src/i18n/locales/vi/mcp.json index d0728ae0cb2..f32c05a267e 100644 --- a/src/i18n/locales/vi/mcp.json +++ b/src/i18n/locales/vi/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "Định dạng cài đặt MCP không hợp lệ: {{errorMessages}}", "create_json": "Không thể tạo hoặc mở .roo/mcp.json: {{error}}", "failed_update_project": "Không thể cập nhật máy chủ MCP của dự án", - "invalidJsonArgument": "Roo đã cố gắng sử dụng {{toolName}} với tham số JSON không hợp lệ. Đang thử lại..." + "invalidJsonArgument": "Roo đã cố gắng sử dụng {{toolName}} với tham số JSON không hợp lệ. Đang thử lại...", + "refresh_after_disable": "Không thể làm mới kết nối MCP sau khi vô hiệu hóa", + "refresh_after_enable": "Không thể làm mới kết nối MCP sau khi kích hoạt", + "disconnect_servers_partial": "Không thể ngắt kết nối {{count}} máy chủ MCP. Kiểm tra đầu ra để biết chi tiết." }, "info": { "server_restarting": "Đang khởi động lại máy chủ MCP {{serverName}}...", diff --git a/src/i18n/locales/zh-CN/mcp.json b/src/i18n/locales/zh-CN/mcp.json index bb4abe6daf0..52086e3d265 100644 --- a/src/i18n/locales/zh-CN/mcp.json +++ b/src/i18n/locales/zh-CN/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "MCP设置格式无效:{{errorMessages}}", "create_json": "创建或打开 .roo/mcp.json 失败:{{error}}", "failed_update_project": "更新项目MCP服务器失败", - "invalidJsonArgument": "Roo 尝试使用无效的 JSON 参数调用 {{toolName}}。正在重试..." + "invalidJsonArgument": "Roo 尝试使用无效的 JSON 参数调用 {{toolName}}。正在重试...", + "refresh_after_disable": "禁用后刷新 MCP 连接失败", + "refresh_after_enable": "启用后刷新 MCP 连接失败", + "disconnect_servers_partial": "断开 {{count}} 个 MCP 服务器失败。请查看输出了解详情。" }, "info": { "server_restarting": "正在重启{{serverName}}MCP服务器...", diff --git a/src/i18n/locales/zh-TW/mcp.json b/src/i18n/locales/zh-TW/mcp.json index 759ac936710..8d5885f3efc 100644 --- a/src/i18n/locales/zh-TW/mcp.json +++ b/src/i18n/locales/zh-TW/mcp.json @@ -5,7 +5,10 @@ "invalid_settings_validation": "MCP 設定格式無效:{{errorMessages}}", "create_json": "建立或開啟 .roo/mcp.json 失敗:{{error}}", "failed_update_project": "更新專案 MCP 伺服器失敗", - "invalidJsonArgument": "Roo 嘗試使用無效的 JSON 參數呼叫 {{toolName}}。正在重試..." + "invalidJsonArgument": "Roo 嘗試使用無效的 JSON 參數呼叫 {{toolName}}。正在重試...", + "refresh_after_disable": "停用後重新整理 MCP 連線失敗", + "refresh_after_enable": "啟用後重新整理 MCP 連線失敗", + "disconnect_servers_partial": "斷開 {{count}} 個 MCP 伺服器失敗。請查看輸出了解詳情。" }, "info": { "server_restarting": "正在重啟{{serverName}}MCP 伺服器...", diff --git a/src/services/mcp/McpHub.ts b/src/services/mcp/McpHub.ts index 6d512b3f284..646236b5d56 100644 --- a/src/services/mcp/McpHub.ts +++ b/src/services/mcp/McpHub.ts @@ -1775,8 +1775,7 @@ export class McpHub { t("mcp:errors.disconnect_servers_partial", { count: disconnectionErrors.length, errors: errorSummary, - }) || - `Failed to disconnect ${disconnectionErrors.length} MCP server(s). Check the output for details.`, + }), ) } @@ -1785,9 +1784,7 @@ export class McpHub { await this.refreshAllConnections() } catch (error) { console.error(`Failed to refresh MCP connections after disabling: ${error}`) - vscode.window.showErrorMessage( - t("mcp:errors.refresh_after_disable") || "Failed to refresh MCP connections after disabling", - ) + vscode.window.showErrorMessage(t("mcp:errors.refresh_after_disable")) } } else { // If MCP is being enabled, reconnect all servers @@ -1795,9 +1792,7 @@ export class McpHub { await this.refreshAllConnections() } catch (error) { console.error(`Failed to refresh MCP connections after enabling: ${error}`) - vscode.window.showErrorMessage( - t("mcp:errors.refresh_after_enable") || "Failed to refresh MCP connections after enabling", - ) + vscode.window.showErrorMessage(t("mcp:errors.refresh_after_enable")) } } }