diff --git a/src/core/assistant-message/presentAssistantMessage.ts b/src/core/assistant-message/presentAssistantMessage.ts index 57b2e379cd..0d652be6a6 100644 --- a/src/core/assistant-message/presentAssistantMessage.ts +++ b/src/core/assistant-message/presentAssistantMessage.ts @@ -37,6 +37,7 @@ import { Task } from "../task/Task" import { codebaseSearchTool } from "../tools/codebaseSearchTool" import { experiments, EXPERIMENT_IDS } from "../../shared/experiments" import { applyDiffToolLegacy } from "../tools/applyDiffTool" +import { t } from "../../i18n" /** * Processes and presents assistant message content to the user interface. @@ -327,7 +328,7 @@ export async function presentAssistantMessage(cline: Task) { undefined, // partial undefined, // checkpoint undefined, // progressStatus - { title: `Tool Call Error: ${block.name}` }, // Custom title with tool name + { title: t("tools:errors.toolCallError", { toolName: block.name }) }, // Custom title with tool name ) pushToolResult(formatResponse.toolError(errorString, block.name)) diff --git a/src/core/prompts/responses.ts b/src/core/prompts/responses.ts index 7d93522a51..b4591bc422 100644 --- a/src/core/prompts/responses.ts +++ b/src/core/prompts/responses.ts @@ -3,6 +3,7 @@ import * as path from "path" import * as diff from "diff" import { RooIgnoreController, LOCK_TEXT_SYMBOL } from "../ignore/RooIgnoreController" import { RooProtectedController } from "../protect/RooProtectedController" +import { t } from "../../i18n" export const formatResponse = { toolDenied: () => `The user denied this operation.`, @@ -14,7 +15,9 @@ export const formatResponse = { `The user approved this operation and provided the following context:\n\n${feedback}\n`, toolError: (error?: string, toolName?: string) => { - const title = toolName ? `Tool Call Error: ${toolName}` : "Tool Execution Error" + const title = toolName + ? t("tools:errors.toolCallError", { toolName, defaultValue: `Tool Call Error: ${toolName}` }) + : t("tools:errors.toolExecutionError", { defaultValue: "Tool Execution Error" }) return `${title}\n\n${error}\n` }, diff --git a/src/core/task/Task.ts b/src/core/task/Task.ts index fbe71bf818..02b17b0f7e 100644 --- a/src/core/task/Task.ts +++ b/src/core/task/Task.ts @@ -1168,16 +1168,22 @@ export class Task extends EventEmitter implements TaskLike { } async sayAndCreateMissingParamError(toolName: ToolName, paramName: string, relPath?: string) { + const message = relPath + ? t("tools:errors.missingParamForToolWithPath", { + toolName, + relPath: relPath.toPosix(), + paramName, + }) + : t("tools:errors.missingParamForTool", { toolName, paramName }) + await this.say( "error", - `Roo tried to use ${toolName}${ - relPath ? ` for '${relPath.toPosix()}'` : "" - } without value for required parameter '${paramName}'. Retrying...`, + message, undefined, // images undefined, // partial undefined, // checkpoint undefined, // progressStatus - { title: `Tool Call Error: ${toolName}` }, // Custom title for the error + { title: t("tools:errors.toolCallError", { toolName }) }, // Custom title for the error ) return formatResponse.toolError(formatResponse.missingToolParameterError(paramName), toolName) } diff --git a/src/core/tools/askFollowupQuestionTool.ts b/src/core/tools/askFollowupQuestionTool.ts index 62c707c0ee..5c4cd7ea73 100644 --- a/src/core/tools/askFollowupQuestionTool.ts +++ b/src/core/tools/askFollowupQuestionTool.ts @@ -2,6 +2,7 @@ import { Task } from "../task/Task" import { ToolUse, AskApproval, HandleError, PushToolResult, RemoveClosingTag } from "../../shared/tools" import { formatResponse } from "../prompts/responses" import { parseXml } from "../../utils/xml" +import { t } from "../../i18n" export async function askFollowupQuestionTool( cline: Task, @@ -55,7 +56,7 @@ export async function askFollowupQuestionTool( undefined, undefined, undefined, - { title: "Parse Error" }, + { title: t("tools:errors.parseError") }, ) pushToolResult(formatResponse.toolError("Invalid operations xml format", "ask_followup_question")) return diff --git a/src/core/tools/attemptCompletionTool.ts b/src/core/tools/attemptCompletionTool.ts index b831d68b5a..0d5400ebff 100644 --- a/src/core/tools/attemptCompletionTool.ts +++ b/src/core/tools/attemptCompletionTool.ts @@ -1,5 +1,6 @@ import Anthropic from "@anthropic-ai/sdk" import * as vscode from "vscode" +import { t } from "../../i18n" import { RooCodeEventName } from "@roo-code/types" import { TelemetryService } from "@roo-code/telemetry" @@ -44,10 +45,7 @@ export async function attemptCompletionTool( cline.recordToolError("attempt_completion") pushToolResult( - formatResponse.toolError( - "Cannot complete task while there are incomplete todos. Please finish all todos before attempting completion.", - "attempt_completion", - ), + formatResponse.toolError(t("tools:attemptCompletion.errors.incompleteTodos"), "attempt_completion"), ) return @@ -126,7 +124,7 @@ export async function attemptCompletionTool( toolResults.push({ type: "text", - text: `The user has provided feedback on the results. Consider their input to continue the task, and then attempt completion again.\n\n${text}\n`, + text: `${t("tools:attemptCompletion.userFeedbackLead")}\n\n${text}\n`, }) toolResults.push(...formatResponse.imageBlocks(images)) diff --git a/src/i18n/locales/ca/tools.json b/src/i18n/locales/ca/tools.json index 9ab867ed7a..911c0eaaa3 100644 --- a/src/i18n/locales/ca/tools.json +++ b/src/i18n/locales/ca/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Error en cridar l'eina: {{toolName}}", + "toolExecutionError": "Error d'execució de l'eina", + "missingParamForTool": "Roo ha intentat usar {{toolName}} sense valor per al paràmetre obligatori '{{paramName}}'. Tornant-ho a intentar...", + "missingParamForToolWithPath": "Roo ha intentat usar {{toolName}} per a '{{relPath}}' sense valor per al paràmetre obligatori '{{paramName}}'. Tornant-ho a intentar...", "fileNotFound": "Fitxer no trobat", "parseError": "Error d'anàlisi", "commandTimeout": "Temps d'espera de l'ordre exhaurit", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "Directori de treball no trobat: '{{workingDir}}'", + "shellIntegrationGenericError": "L'execució de l'ordre ha fallat per un error inesperat d'integració del shell." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Sol·licitud d'instruccions no vàlida per a la tasca '{{task}}'." + } + }, + "generic": { + "noChanges": "No calen canvis per a '{{path}}'.", + "changesRejected": "Els canvis han estat rebutjats per l'usuari." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "No es pot completar la tasca mentre hi ha tasques pendents. Si us plau, completa-les abans d'intentar finalitzar." + }, + "userFeedbackLead": "L'usuari ha proporcionat comentaris sobre els resultats. Tingues-los en compte per continuar la tasca i intenta finalitzar de nou." } } diff --git a/src/i18n/locales/de/tools.json b/src/i18n/locales/de/tools.json index 7478134698..2182af3720 100644 --- a/src/i18n/locales/de/tools.json +++ b/src/i18n/locales/de/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Tool-Aufruffehler: {{toolName}}", + "toolExecutionError": "Tool-Ausführungsfehler", + "missingParamForTool": "Roo hat versucht, {{toolName}} ohne Wert für den erforderlichen Parameter '{{paramName}}' zu verwenden. Erneuter Versuch...", + "missingParamForToolWithPath": "Roo hat versucht, {{toolName}} für '{{relPath}}' ohne Wert für den erforderlichen Parameter '{{paramName}}' zu verwenden. Erneuter Versuch...", "fileNotFound": "Datei nicht gefunden", "parseError": "Parse-Fehler", "commandTimeout": "Befehl Zeitüberschreitung", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "Arbeitsverzeichnis nicht gefunden: '{{workingDir}}'", + "shellIntegrationGenericError": "Befehlsausführung aufgrund unerwarteten Shell-Integrationsfehlers fehlgeschlagen." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Ungültige Anforderungsanweisung für Aufgabe '{{task}}'." + } + }, + "generic": { + "noChanges": "Keine Änderungen erforderlich für '{{path}}'.", + "changesRejected": "Änderungen wurden vom Nutzer abgelehnt." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Aufgabe kann nicht abgeschlossen werden, solange To-Dos offen sind. Bitte zuerst abschließen." + }, + "userFeedbackLead": "Der Nutzer hat Feedback zu den Ergebnissen gegeben. Berücksichtige es, fahre fort und versuche erneut abzuschließen." } } diff --git a/src/i18n/locales/es/tools.json b/src/i18n/locales/es/tools.json index e1f3098f56..94c0508cd0 100644 --- a/src/i18n/locales/es/tools.json +++ b/src/i18n/locales/es/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Error de llamada de herramienta: {{toolName}}", + "toolExecutionError": "Error de ejecución de la herramienta", + "missingParamForTool": "Roo intentó usar {{toolName}} sin valor para el parámetro requerido '{{paramName}}'. Reintentando...", + "missingParamForToolWithPath": "Roo intentó usar {{toolName}} para '{{relPath}}' sin valor para el parámetro requerido '{{paramName}}'. Reintentando...", "fileNotFound": "Archivo no encontrado", "parseError": "Error de análisis", "commandTimeout": "Tiempo de espera del comando agotado", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "Directorio de trabajo no encontrado: '{{workingDir}}'", + "shellIntegrationGenericError": "La ejecución del comando falló debido a un error inesperado de integración del shell." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Solicitud de instrucciones inválida para la tarea '{{task}}'." + } + }, + "generic": { + "noChanges": "No se necesitan cambios para '{{path}}'.", + "changesRejected": "Los cambios fueron rechazados por el usuario." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "No se puede completar la tarea mientras hay pendientes. Por favor, termínalos antes de intentar finalizar." + }, + "userFeedbackLead": "El usuario ha proporcionado comentarios sobre los resultados. Tenlos en cuenta para continuar la tarea y vuelve a intentar finalizar." } } diff --git a/src/i18n/locales/fr/tools.json b/src/i18n/locales/fr/tools.json index cac8fb2a48..b4de096f5d 100644 --- a/src/i18n/locales/fr/tools.json +++ b/src/i18n/locales/fr/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Erreur d'appel d'outil : {{toolName}}", + "toolExecutionError": "Erreur d'exécution de l'outil", + "missingParamForTool": "Roo a essayé d'utiliser {{toolName}} sans valeur pour le paramètre obligatoire '{{paramName}}'. Nouvel essai...", + "missingParamForToolWithPath": "Roo a essayé d'utiliser {{toolName}} pour '{{relPath}}' sans valeur pour le paramètre obligatoire '{{paramName}}'. Nouvel essai...", "fileNotFound": "Fichier non trouvé", "parseError": "Erreur d'analyse", "commandTimeout": "Délai d'attente de la commande dépassé", @@ -26,15 +30,34 @@ "resourceNotFound": "Ressource non trouvée", "configurationError": "Erreur de configuration", "authenticationFailed": "Échec de l'authentification", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "Numéro de ligne invalide", + "fileAlreadyExists": "Le fichier existe déjà", + "directoryNotFound": "Répertoire non trouvé", + "invalidPath": "Chemin invalide", + "readError": "Erreur de lecture", + "writeError": "Erreur d'écriture", + "syntaxError": "Erreur de syntaxe", + "validationError": "Erreur de validation", + "timeoutError": "Erreur de délai d'attente", + "connectionError": "Erreur de connexion" + }, + "executeCommand": { + "workingDirMissing": "Répertoire de travail introuvable : '{{workingDir}}'", + "shellIntegrationGenericError": "L'exécution de la commande a échoué en raison d'une erreur inattendue d'intégration du shell." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Demande d'instructions non valide pour la tâche '{{task}}'." + } + }, + "generic": { + "noChanges": "Aucune modification n'est nécessaire pour '{{path}}'.", + "changesRejected": "Les modifications ont été rejetées par l'utilisateur." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Impossible de terminer la tâche tant qu'il y a des tâches incomplètes. Veuillez terminer toutes les tâches avant de tenter de la terminer." + }, + "userFeedbackLead": "L'utilisateur a fourni des commentaires sur les résultats. Tenez compte de leurs commentaires pour poursuivre la tâche, puis tentez à nouveau de la terminer." } } diff --git a/src/i18n/locales/hi/tools.json b/src/i18n/locales/hi/tools.json index 17799568f8..3050e8d2b9 100644 --- a/src/i18n/locales/hi/tools.json +++ b/src/i18n/locales/hi/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "टूल कॉल त्रुटि: {{toolName}}", + "toolExecutionError": "उपकरण निष्पादन त्रुटि", + "missingParamForTool": "रू ने आवश्यक पैरामीटर '{{paramName}}' के मान के बिना {{toolName}} का उपयोग करने का प्रयास किया। पुन: प्रयास किया जा रहा है...", + "missingParamForToolWithPath": "रू ने '{{relPath}}' के लिए {{toolName}} का उपयोग करने के लिए आवश्यक पैरामीटर '{{paramName}}' के बिना प्रयास किया। पुन: प्रयास किया जा रहा है...", "fileNotFound": "फ़ाइल नहीं मिली", "parseError": "पार्स त्रुटि", "commandTimeout": "कमांड टाइमआउट", @@ -26,15 +30,34 @@ "resourceNotFound": "संसाधन नहीं मिला", "configurationError": "कॉन्फ़िगरेशन त्रुटि", "authenticationFailed": "प्रमाणीकरण विफल", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "अमान्य पंक्ति संख्या", + "fileAlreadyExists": "फ़ाइल पहले से मौजूद है", + "directoryNotFound": "निर्देशिका नहीं मिली", + "invalidPath": "अमान्य पथ", + "readError": "त्रुटि पढ़ें", + "writeError": "लिखने में त्रुटि", + "syntaxError": "सिंटैक्स त्रुटि", + "validationError": "सत्यापन त्रुटि", + "timeoutError": "समय समाप्ति त्रुटि", + "connectionError": "कनेक्शन त्रुटि" + }, + "executeCommand": { + "workingDirMissing": "कार्यरत निर्देशिका नहीं मिली: '{{workingDir}}'", + "shellIntegrationGenericError": "अप्रत्याशित शेल एकीकरण त्रुटि के कारण कमांड निष्पादन विफल रहा।" + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "कार्य '{{task}}' के लिए अमान्य निर्देश अनुरोध।" + } + }, + "generic": { + "noChanges": "'{{path}}' के लिए किसी बदलाव की आवश्यकता नहीं है।", + "changesRejected": "बदलाव उपयोगकर्ता द्वारा अस्वीकार कर दिए गए थे।" + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "कार्य पूरा नहीं किया जा सकता है जबकि अधूरे कार्य हैं। कृपया पूरा करने का प्रयास करने से पहले सभी कार्यों को पूरा करें।" + }, + "userFeedbackLead": "उपयोगकर्ता ने परिणामों पर प्रतिक्रिया प्रदान की है। कार्य को जारी रखने के लिए उनके इनपुट पर विचार करें, और फिर पूरा करने का प्रयास करें।" } } diff --git a/src/i18n/locales/id/tools.json b/src/i18n/locales/id/tools.json index 68eef2b980..83db6cb396 100644 --- a/src/i18n/locales/id/tools.json +++ b/src/i18n/locales/id/tools.json @@ -19,6 +19,10 @@ } }, "errors": { + "toolCallError": "Kesalahan Panggilan Alat: {{toolName}}", + "toolExecutionError": "Kesalahan Eksekusi Alat", + "missingParamForTool": "Roo mencoba menggunakan {{toolName}} tanpa nilai untuk parameter yang diperlukan '{{paramName}}'. Mencoba lagi...", + "missingParamForToolWithPath": "Roo mencoba menggunakan {{toolName}} untuk '{{relPath}}' tanpa nilai untuk parameter yang diperlukan '{{paramName}}'. Mencoba lagi...", "fileNotFound": "File Tidak Ditemukan", "parseError": "Kesalahan Parse", "commandTimeout": "Waktu Tunggu Perintah Habis", @@ -29,15 +33,34 @@ "resourceNotFound": "Sumber Daya Tidak Ditemukan", "configurationError": "Kesalahan Konfigurasi", "authenticationFailed": "Autentikasi Gagal", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "Nomor baris tidak valid", + "fileAlreadyExists": "File sudah ada", + "directoryNotFound": "Direktori tidak ditemukan", + "invalidPath": "Path tidak valid", + "readError": "Kesalahan baca", + "writeError": "Kesalahan tulis", + "syntaxError": "Kesalahan sintaks", + "validationError": "Kesalahan validasi", + "timeoutError": "Kesalahan batas waktu", + "connectionError": "Kesalahan koneksi" + }, + "executeCommand": { + "workingDirMissing": "Direktori kerja tidak ditemukan: '{{workingDir}}'", + "shellIntegrationGenericError": "Eksekusi perintah gagal karena kesalahan integrasi shell yang tidak terduga." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Permintaan instruksi tidak valid untuk tugas '{{task}}'." + } + }, + "generic": { + "noChanges": "Tidak ada perubahan yang diperlukan untuk '{{path}}'.", + "changesRejected": "Perubahan ditolak oleh pengguna." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Tidak dapat menyelesaikan tugas saat ada tugas yang belum selesai. Harap selesaikan semua tugas sebelum mencoba penyelesaian." + }, + "userFeedbackLead": "Pengguna telah memberikan umpan balik tentang hasilnya. Pertimbangkan masukan mereka untuk melanjutkan tugas, lalu coba selesaikan lagi." } } diff --git a/src/i18n/locales/it/tools.json b/src/i18n/locales/it/tools.json index 253a40afc0..8173f88621 100644 --- a/src/i18n/locales/it/tools.json +++ b/src/i18n/locales/it/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Errore di chiamata dello strumento: {{toolName}}", + "toolExecutionError": "Errore di esecuzione dello strumento", + "missingParamForTool": "Roo ha tentato di utilizzare {{toolName}} senza valore per il parametro obbligatorio '{{paramName}}'. Nuovo tentativo...", + "missingParamForToolWithPath": "Roo ha tentato di utilizzare {{toolName}} per '{{relPath}}' senza valore per il parametro obbligatorio '{{paramName}}'. Nuovo tentativo...", "fileNotFound": "File non trovato", "parseError": "Errore di parsing", "commandTimeout": "Timeout del comando", @@ -26,15 +30,34 @@ "resourceNotFound": "Risorsa non trovata", "configurationError": "Errore di configurazione", "authenticationFailed": "Autenticazione non riuscita", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "Numero di riga non valido", + "fileAlreadyExists": "Il file esiste già", + "directoryNotFound": "Directory non trovata", + "invalidPath": "Percorso non valido", + "readError": "Errore di lettura", + "writeError": "Errore di scrittura", + "syntaxError": "Errore di sintassi", + "validationError": "Errore di convalida", + "timeoutError": "Errore di timeout", + "connectionError": "Errore di connessione" + }, + "executeCommand": { + "workingDirMissing": "Directory di lavoro non trovata: '{{workingDir}}'", + "shellIntegrationGenericError": "L'esecuzione del comando non è riuscita a causa di un errore di integrazione della shell imprevisto." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Richiesta di istruzioni non valida per l'attività '{{task}}'." + } + }, + "generic": { + "noChanges": "Nessuna modifica necessaria per '{{path}}'.", + "changesRejected": "Le modifiche sono state rifiutate dall'utente." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Impossibile completare l'attività finché ci sono cose da fare incomplete. Finisci tutte le cose da fare prima di tentare il completamento." + }, + "userFeedbackLead": "L'utente ha fornito un feedback sui risultati. Considera il loro input per continuare l'attività, quindi tenta di nuovo il completamento." } } diff --git a/src/i18n/locales/ja/tools.json b/src/i18n/locales/ja/tools.json index 6863d65ea4..31f5baf48a 100644 --- a/src/i18n/locales/ja/tools.json +++ b/src/i18n/locales/ja/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "ツール呼び出しエラー: {{toolName}}", + "toolExecutionError": "ツール実行エラー", + "missingParamForTool": "Roo が必須パラメータ '{{paramName}}' の値なしで {{toolName}} を使用しようとしました。再试行...", + "missingParamForToolWithPath": "Roo が '{{relPath}}' の {{toolName}} を必須パラメータ '{{paramName}}' の値なしで使用しようとしました。再试行...", "fileNotFound": "ファイルが見つかりません", "parseError": "解析エラー", "commandTimeout": "コマンドタイムアウト", @@ -26,15 +30,34 @@ "resourceNotFound": "リソースが見つかりません", "configurationError": "設定エラー", "authenticationFailed": "認証に失敗しました", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "無効な行番号です", + "fileAlreadyExists": "ファイルは既に存在します", + "directoryNotFound": "ディレクトリが見つかりません", + "invalidPath": "無効なパスです", + "readError": "読み取りエラー", + "writeError": "書き込みエラー", + "syntaxError": "構文エラー", + "validationError": "検証エラー", + "timeoutError": "タイムアウトエラー", + "connectionError": "接続エラー" + }, + "executeCommand": { + "workingDirMissing": "作業ディレクトリが見つかりません: '{{workingDir}}'", + "shellIntegrationGenericError": "予期しないシェル統合エラーのため、コマンドの実行に失敗しました。" + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "タスク '{{task}}' の指示要求が無効です。" + } + }, + "generic": { + "noChanges": "'{{path}}' には変更は必要ありません。", + "changesRejected": "変更はユーザーによって拒否されました。" + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "未完了の ToDo があるため、タスクを完了できません。完了を試みる前に、すべての ToDo を完了してください。" + }, + "userFeedbackLead": "ユーザーが結果に関するフィードバックを提供しました。タスクを続行するには、ユーザーの入力を考慮し、再度完了を試みてください。" } } diff --git a/src/i18n/locales/ko/tools.json b/src/i18n/locales/ko/tools.json index 51ac65c530..24de07bb21 100644 --- a/src/i18n/locales/ko/tools.json +++ b/src/i18n/locales/ko/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "도구 호출 오류: {{toolName}}", + "toolExecutionError": "도구 실행 오류", + "missingParamForTool": "Roo가 필수 매개변수 '{{paramName}}'에 대한 값 없이 {{toolName}}을(를) 사용하려고 했습니다. 다시 시도하는 중...", + "missingParamForToolWithPath": "Roo가 '{{relPath}}'에 대해 필수 매개변수 '{{paramName}}'에 대한 값 없이 {{toolName}}을(를) 사용하려고 했습니다. 다시 시도하는 중...", "fileNotFound": "파일을 찾을 수 없음", "parseError": "파싱 오류", "commandTimeout": "명령 시간 초과", @@ -26,15 +30,34 @@ "resourceNotFound": "리소스를 찾을 수 없음", "configurationError": "구성 오류", "authenticationFailed": "인증 실패", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "잘못된 줄 번호", + "fileAlreadyExists": "파일이 이미 있습니다", + "directoryNotFound": "디렉토리를 찾을 수 없습니다", + "invalidPath": "잘못된 경로", + "readError": "읽기 오류", + "writeError": "쓰기 오류", + "syntaxError": "구문 오류", + "validationError": "유효성 검사 오류", + "timeoutError": "시간 초과 오류", + "connectionError": "연결 오류" + }, + "executeCommand": { + "workingDirMissing": "작업 디렉터리를 찾을 수 없음: '{{workingDir}}'", + "shellIntegrationGenericError": "예상치 못한 셸 통합 오류로 인해 명령 실행에 실패했습니다." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "'{{task}}' 작업에 대한 잘못된 지침 요청입니다." + } + }, + "generic": { + "noChanges": "'{{path}}'에 필요한 변경 사항이 없습니다.", + "changesRejected": "사용자가 변경 사항을 거부했습니다." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "완료되지 않은 할 일이 있는 동안에는 작업을 완료할 수 없습니다. 완료를 시도하기 전에 모든 할 일을 완료하십시오." + }, + "userFeedbackLead": "사용자가 결과에 대한 피드백을 제공했습니다. 작업을 계속하려면 사용자의 의견을 고려한 다음 다시 완료를 시도하십시오." } } diff --git a/src/i18n/locales/nl/tools.json b/src/i18n/locales/nl/tools.json index c8e62a071a..6d5865a4f3 100644 --- a/src/i18n/locales/nl/tools.json +++ b/src/i18n/locales/nl/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Fout bij het aanroepen van gereedschap: {{toolName}}", + "toolExecutionError": "Fout bij het uitvoeren van gereedschap", + "missingParamForTool": "Roo heeft geprobeerd {{toolName}} te gebruiken zonder waarde voor de vereiste parameter '{{paramName}}'. Opnieuw proberen...", + "missingParamForToolWithPath": "Roo heeft geprobeerd {{toolName}} te gebruiken voor '{{relPath}}' zonder waarde voor de vereiste parameter '{{paramName}}'. Opnieuw proberen...", "fileNotFound": "Bestand niet gevonden", "parseError": "Parseerfout", "commandTimeout": "Commando time-out", @@ -26,15 +30,34 @@ "resourceNotFound": "Bron niet gevonden", "configurationError": "Configuratiefout", "authenticationFailed": "Authenticatie mislukt", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "Ongeldig regelnummer", + "fileAlreadyExists": "Bestand bestaat al", + "directoryNotFound": "Map niet gevonden", + "invalidPath": "Ongeldig pad", + "readError": "Leesfout", + "writeError": "Schrijffout", + "syntaxError": "Syntaxisfout", + "validationError": "Validatiefout", + "timeoutError": "Time-outfout", + "connectionError": "Verbindingsfout" + }, + "executeCommand": { + "workingDirMissing": "Werkmap niet gevonden: '{{workingDir}}'", + "shellIntegrationGenericError": "Uitvoering van opdracht mislukt vanwege onverwachte fout bij shell-integratie." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Ongeldig instructieverzoek voor taak '{{task}}'." + } + }, + "generic": { + "noChanges": "Geen wijzigingen nodig voor '{{path}}'.", + "changesRejected": "Wijzigingen zijn afgewezen door de gebruiker." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Kan taak niet voltooien zolang er onvolledige todos zijn. Voltooi alle todos voordat u probeert te voltooien." + }, + "userFeedbackLead": "De gebruiker heeft feedback gegeven over de resultaten. Overweeg hun input om de taak voort te zetten en probeer dan opnieuw te voltooien." } } diff --git a/src/i18n/locales/pl/tools.json b/src/i18n/locales/pl/tools.json index 56fb6e635f..7079ed8e54 100644 --- a/src/i18n/locales/pl/tools.json +++ b/src/i18n/locales/pl/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Błąd wywołania narzędzia: {{toolName}}", + "toolExecutionError": "Błąd wykonania narzędzia", + "missingParamForTool": "Roo próbował użyć {{toolName}} bez wartości dla wymaganego parametru '{{paramName}}'. Ponawianie...", + "missingParamForToolWithPath": "Roo próbował użyć {{toolName}} dla '{{relPath}}' bez wartości dla wymaganego parametru '{{paramName}}'. Ponawianie...", "fileNotFound": "Nie znaleziono pliku", "parseError": "Błąd parsowania", "commandTimeout": "Przekroczono limit czasu polecenia", @@ -26,15 +30,34 @@ "resourceNotFound": "Nie znaleziono zasobu", "configurationError": "Błąd konfiguracji", "authenticationFailed": "Uwierzytelnianie nie powiodło się", - "invalidLineNumber": "Invalid Line Number", - "fileAlreadyExists": "File Already Exists", - "directoryNotFound": "Directory Not Found", - "invalidPath": "Invalid Path", - "readError": "Read Error", - "writeError": "Write Error", - "syntaxError": "Syntax Error", - "validationError": "Validation Error", - "timeoutError": "Timeout Error", - "connectionError": "Connection Error" + "invalidLineNumber": "Nieprawidłowy numer wiersza", + "fileAlreadyExists": "Plik już istnieje", + "directoryNotFound": "Nie znaleziono katalogu", + "invalidPath": "Nieprawidłowa ścieżka", + "readError": "Błąd odczytu", + "writeError": "Błąd zapisu", + "syntaxError": "Błąd składni", + "validationError": "Błąd walidacji", + "timeoutError": "Błąd limitu czasu", + "connectionError": "Błąd połączenia" + }, + "executeCommand": { + "workingDirMissing": "Nie znaleziono katalogu roboczego: '{{workingDir}}'", + "shellIntegrationGenericError": "Wykonanie polecenia nie powiodło się z powodu nieoczekiwanego błędu integracji powłoki." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Nieprawidłowe żądanie instrukcji dla zadania '{{task}}'." + } + }, + "generic": { + "noChanges": "Brak koniecznych zmian dla '{{path}}'.", + "changesRejected": "Zmiany zostały odrzucone przez użytkownika." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Nie można ukończyć zadania, gdy istnieją nieukończone zadania. Ukończ wszystkie zadania przed próbą ukończenia." + }, + "userFeedbackLead": "Użytkownik wyraził opinię na temat wyników. Rozważ jego uwagi, aby kontynuować zadanie, a następnie spróbuj ponownie je ukończyć." } } diff --git a/src/i18n/locales/pt-BR/tools.json b/src/i18n/locales/pt-BR/tools.json index 6d253e3513..969bc778e2 100644 --- a/src/i18n/locales/pt-BR/tools.json +++ b/src/i18n/locales/pt-BR/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Erro na chamada da ferramenta: {{toolName}}", + "toolExecutionError": "Erro na execução da ferramenta", + "missingParamForTool": "Roo tentou usar {{toolName}} sem valor para o parâmetro obrigatório '{{paramName}}'. Tentando novamente...", + "missingParamForToolWithPath": "Roo tentou usar {{toolName}} para '{{relPath}}' sem valor para o parâmetro obrigatório '{{paramName}}'. Tentando novamente...", "fileNotFound": "Arquivo não encontrado", "parseError": "Erro de análise", "commandTimeout": "Tempo limite do comando", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "Diretório de trabalho não encontrado: '{{workingDir}}'", + "shellIntegrationGenericError": "A execução do comando falhou devido a um erro inesperado de integração do shell." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Solicitação de instruções inválida para a tarefa '{{task}}'." + } + }, + "generic": { + "noChanges": "Nenhuma alteração necessária para '{{path}}'.", + "changesRejected": "As alterações foram rejeitadas pelo usuário." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Não é possível concluir a tarefa enquanto houver pendências. Conclua-as antes de tentar finalizar." + }, + "userFeedbackLead": "O usuário forneceu feedback sobre os resultados. Considere-o para continuar a tarefa e tente finalizar novamente." } } diff --git a/src/i18n/locales/ru/tools.json b/src/i18n/locales/ru/tools.json index 3cd3839f83..ba9552e945 100644 --- a/src/i18n/locales/ru/tools.json +++ b/src/i18n/locales/ru/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Ошибка вызова инструмента: {{toolName}}", + "toolExecutionError": "Ошибка выполнения инструмента", + "missingParamForTool": "Roo попытался использовать {{toolName}} без значения для обязательного параметра '{{paramName}}'. Повтор...", + "missingParamForToolWithPath": "Roo попытался использовать {{toolName}} для '{{relPath}}' без значения для обязательного параметра '{{paramName}}'. Повтор...", "fileNotFound": "Файл не найден", "parseError": "Ошибка синтаксического анализа", "commandTimeout": "Тайм-аут команды", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "Рабочий каталог не найден: '{{workingDir}}'", + "shellIntegrationGenericError": "Выполнение команды не удалось из-за неожиданной ошибки интеграции оболочки." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Недопустимый запрос инструкций для задачи '{{task}}'." + } + }, + "generic": { + "noChanges": "Изменения для '{{path}}' не требуются.", + "changesRejected": "Изменения были отклонены пользователем." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Невозможно завершить задачу при наличии незавершённых пунктов. Сначала завершите их." + }, + "userFeedbackLead": "Пользователь предоставил отзыв о результатах. Учитывайте его, чтобы продолжить, и попробуйте завершить снова." } } diff --git a/src/i18n/locales/tr/tools.json b/src/i18n/locales/tr/tools.json index ca290be606..e676c8e030 100644 --- a/src/i18n/locales/tr/tools.json +++ b/src/i18n/locales/tr/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Araç çağrı hatası: {{toolName}}", + "toolExecutionError": "Araç yürütme hatası", + "missingParamForTool": "Roo, {{toolName}} kullanırken gerekli '{{paramName}}' parametresi olmadan denedi. Tekrar deneniyor...", + "missingParamForToolWithPath": "Roo, '{{relPath}}' için {{toolName}} kullanırken gerekli '{{paramName}}' parametresi olmadan denedi. Tekrar deneniyor...", "fileNotFound": "Dosya Bulunamadı", "parseError": "Ayrıştırma Hatası", "commandTimeout": "Komut Zaman Aşımı", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "Çalışma dizini bulunamadı: '{{workingDir}}'", + "shellIntegrationGenericError": "Beklenmeyen shell entegrasyonu hatası nedeniyle komut yürütme başarısız oldu." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Görev '{{task}}' için geçersiz talimat isteği." + } + }, + "generic": { + "noChanges": "'{{path}}' için değişiklik gerekmez.", + "changesRejected": "Değişiklikler kullanıcı tarafından reddedildi." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Tamamlanmamış yapılacaklar varken görev tamamlanamaz. Lütfen önce bitirin." + }, + "userFeedbackLead": "Kullanıcı sonuçlara ilişkin geri bildirim verdi. Bunu dikkate al, devam et ve tekrar tamamlamayı dene." } } diff --git a/src/i18n/locales/vi/tools.json b/src/i18n/locales/vi/tools.json index e410cad2e0..77a2b0ab64 100644 --- a/src/i18n/locales/vi/tools.json +++ b/src/i18n/locales/vi/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "Lỗi gọi công cụ: {{toolName}}", + "toolExecutionError": "Lỗi thực thi công cụ", + "missingParamForTool": "Roo đã cố dùng {{toolName}} mà không có giá trị cho tham số bắt buộc '{{paramName}}'. Đang thử lại...", + "missingParamForToolWithPath": "Roo đã cố dùng {{toolName}} cho '{{relPath}}' mà không có giá trị cho tham số bắt buộc '{{paramName}}'. Đang thử lại...", "fileNotFound": "Không tìm thấy tệp", "parseError": "Lỗi phân tích cú pháp", "commandTimeout": "Hết thời gian chờ lệnh", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "Không tìm thấy thư mục làm việc: '{{workingDir}}'", + "shellIntegrationGenericError": "Thực thi lệnh thất bại do lỗi tích hợp shell bất ngờ." + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "Yêu cầu hướng dẫn không hợp lệ cho nhiệm vụ '{{task}}'." + } + }, + "generic": { + "noChanges": "Không cần thay đổi cho '{{path}}'.", + "changesRejected": "Thay đổi đã bị người dùng từ chối." + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "Không thể hoàn thành nhiệm vụ khi vẫn còn mục cần làm. Vui lòng hoàn tất trước." + }, + "userFeedbackLead": "Người dùng đã cung cấp phản hồi về kết quả. Hãy cân nhắc phản hồi để tiếp tục và thử hoàn thành lại." } } diff --git a/src/i18n/locales/zh-CN/tools.json b/src/i18n/locales/zh-CN/tools.json index c83ce6dec7..226c02a01f 100644 --- a/src/i18n/locales/zh-CN/tools.json +++ b/src/i18n/locales/zh-CN/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "工具调用错误: {{toolName}}", + "toolExecutionError": "工具执行错误", + "missingParamForTool": "Roo 尝试使用 {{toolName}} 时缺少必填参数 '{{paramName}}' 的值。正在重试...", + "missingParamForToolWithPath": "Roo 在处理 '{{relPath}}' 使用 {{toolName}} 时缺少必填参数 '{{paramName}}' 的值。正在重试...", "fileNotFound": "文件未找到", "parseError": "解析错误", "commandTimeout": "命令超时", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "未找到工作目录: '{{workingDir}}'", + "shellIntegrationGenericError": "由于意外的终端 shell 集成错误,命令执行失败。" + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "针对任务 '{{task}}' 的指令请求无效。" + } + }, + "generic": { + "noChanges": "无需更改 '{{path}}'。", + "changesRejected": "更改已被用户拒绝。" + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "存在未完成的待办事项,无法完成任务。请完成后再尝试提交。" + }, + "userFeedbackLead": "用户已对结果提供反馈。请根据反馈继续任务,然后再次尝试完成。" } } diff --git a/src/i18n/locales/zh-TW/tools.json b/src/i18n/locales/zh-TW/tools.json index 474c190a0c..ff31b5ae75 100644 --- a/src/i18n/locales/zh-TW/tools.json +++ b/src/i18n/locales/zh-TW/tools.json @@ -16,6 +16,10 @@ } }, "errors": { + "toolCallError": "工具呼叫錯誤:{{toolName}}", + "toolExecutionError": "工具執行錯誤", + "missingParamForTool": "Roo 嘗試使用 {{toolName}} 時缺少必要參數「{{paramName}}」的值。正在重試...", + "missingParamForToolWithPath": "Roo 在處理「{{relPath}}」使用 {{toolName}} 時缺少必要參數「{{paramName}}」的值。正在重試...", "fileNotFound": "找不到檔案", "parseError": "解析錯誤", "commandTimeout": "指令逾時", @@ -36,5 +40,24 @@ "validationError": "Validation Error", "timeoutError": "Timeout Error", "connectionError": "Connection Error" + }, + "executeCommand": { + "workingDirMissing": "找不到工作目錄:'{{workingDir}}'", + "shellIntegrationGenericError": "由於意外的終端 Shell 整合錯誤,指令執行失敗。" + }, + "fetchInstructions": { + "errors": { + "invalidRequest": "針對工作「{{task}}」的指令請求無效。" + } + }, + "generic": { + "noChanges": "「{{path}}」無需變更。", + "changesRejected": "變更已被使用者拒絕。" + }, + "attemptCompletion": { + "errors": { + "incompleteTodos": "仍有未完成的待辦事項,無法完成工作。請完成後再嘗試提交。" + }, + "userFeedbackLead": "使用者已對結果提供回饋。請根據回饋繼續工作,然後再次嘗試完成。" } } diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index bf71a6be1b..44fb90f0fd 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -985,7 +985,7 @@ export const ChatRowContent = ({ - troubleshooting guide + {t("chat:powershell.troubleshootingGuide")} . @@ -1159,7 +1159,7 @@ export const ChatRowContent = ({ if (parsed && !parsed?.content) { console.error("Invalid codebaseSearch content structure:", parsed.content) - return
Error displaying search results.
+ return
{t("chat:codebaseSearch.errorDisplayingResults")}
} const { results = [] } = parsed?.content || {} diff --git a/webview-ui/src/i18n/locales/ca/chat.json b/webview-ui/src/i18n/locales/ca/chat.json index 1d20be0c40..ddcb1506f3 100644 --- a/webview-ui/src/i18n/locales/ca/chat.json +++ b/webview-ui/src/i18n/locales/ca/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Tasca completada", "powershell": { - "issues": "Sembla que estàs tenint problemes amb Windows PowerShell, si us plau consulta aquesta documentació per a més informació." + "issues": "Sembla que estàs tenint problemes amb Windows PowerShell, si us plau consulta aquesta documentació per a més informació.", + "troubleshootingGuide": "guia de resolució de problemes" }, "autoApprove": { "title": "Aprovació automàtica:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo vol cercar a la base de codi {{query}} a {{path}}:", "didSearch_one": "S'ha trobat 1 resultat", "didSearch_other": "S'han trobat {{count}} resultats", - "resultTooltip": "Puntuació de similitud: {{score}} (fes clic per obrir el fitxer)" + "resultTooltip": "Puntuació de similitud: {{score}} (fes clic per obrir el fitxer)", + "errorDisplayingResults": "Error en mostrar els resultats de la cerca." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/de/chat.json b/webview-ui/src/i18n/locales/de/chat.json index 82f1c77fbf..d5b96b563d 100644 --- a/webview-ui/src/i18n/locales/de/chat.json +++ b/webview-ui/src/i18n/locales/de/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Aufgabe abgeschlossen", "powershell": { - "issues": "Es scheint, dass du Probleme mit Windows PowerShell hast, bitte sieh dir dies an" + "issues": "Es scheint, dass du Probleme mit Windows PowerShell hast, bitte sieh dir dies an", + "troubleshootingGuide": "Troubleshooting-Guide" }, "autoApprove": { "title": "Automatische Genehmigung:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo möchte den Codebase nach {{query}} in {{path}} durchsuchen:", "didSearch_one": "1 Ergebnis gefunden", "didSearch_other": "{{count}} Ergebnisse gefunden", - "resultTooltip": "Ähnlichkeitswert: {{score}} (klicken zum Öffnen der Datei)" + "resultTooltip": "Ähnlichkeitswert: {{score}} (klicken zum Öffnen der Datei)", + "errorDisplayingResults": "Fehler beim Anzeigen der Suchergebnisse." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/en/chat.json b/webview-ui/src/i18n/locales/en/chat.json index 72eacc5c58..b78e88ad5c 100644 --- a/webview-ui/src/i18n/locales/en/chat.json +++ b/webview-ui/src/i18n/locales/en/chat.json @@ -216,7 +216,8 @@ "wantsToSearchWithPath": "Roo wants to search the codebase for {{query}} in {{path}}:", "didSearch_one": "Found 1 result", "didSearch_other": "Found {{count}} results", - "resultTooltip": "Similarity score: {{score}} (click to open file)" + "resultTooltip": "Similarity score: {{score}} (click to open file)", + "errorDisplayingResults": "Error displaying search results." }, "commandOutput": "Command Output", "commandExecution": { @@ -266,7 +267,8 @@ }, "troubleMessage": "Roo is having trouble...", "powershell": { - "issues": "It seems like you're having Windows PowerShell issues, please see this" + "issues": "It seems like you're having Windows PowerShell issues, please see this", + "troubleshootingGuide": "troubleshooting guide" }, "autoApprove": { "title": "Auto-approve:", diff --git a/webview-ui/src/i18n/locales/es/chat.json b/webview-ui/src/i18n/locales/es/chat.json index e63731b095..e0e75cc3e2 100644 --- a/webview-ui/src/i18n/locales/es/chat.json +++ b/webview-ui/src/i18n/locales/es/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Tarea completada", "powershell": { - "issues": "Parece que estás teniendo problemas con Windows PowerShell, por favor consulta esta" + "issues": "Parece que estás teniendo problemas con Windows PowerShell, por favor consulta esta", + "troubleshootingGuide": "guía de solución de problemas" }, "autoApprove": { "title": "Auto-aprobar:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo quiere buscar en la base de código {{query}} en {{path}}:", "didSearch_one": "Se encontró 1 resultado", "didSearch_other": "Se encontraron {{count}} resultados", - "resultTooltip": "Puntuación de similitud: {{score}} (haz clic para abrir el archivo)" + "resultTooltip": "Puntuación de similitud: {{score}} (haz clic para abrir el archivo)", + "errorDisplayingResults": "Error al mostrar los resultados de la búsqueda." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/fr/chat.json b/webview-ui/src/i18n/locales/fr/chat.json index 2575489787..439590b1aa 100644 --- a/webview-ui/src/i18n/locales/fr/chat.json +++ b/webview-ui/src/i18n/locales/fr/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Tâche terminée", "powershell": { - "issues": "Il semble que vous rencontriez des problèmes avec Windows PowerShell, veuillez consulter ce" + "issues": "Il semble que vous rencontriez des problèmes avec Windows PowerShell, veuillez consulter ce", + "troubleshootingGuide": "guide de dépannage" }, "autoApprove": { "title": "Auto-approbation :", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo veut rechercher dans la base de code {{query}} dans {{path}} :", "didSearch_one": "1 résultat trouvé", "didSearch_other": "{{count}} résultats trouvés", - "resultTooltip": "Score de similarité : {{score}} (cliquer pour ouvrir le fichier)" + "resultTooltip": "Score de similarité : {{score}} (cliquer pour ouvrir le fichier)", + "errorDisplayingResults": "Erreur lors de l’affichage des résultats de recherche." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/hi/chat.json b/webview-ui/src/i18n/locales/hi/chat.json index 28fc26fcaf..c35dd11c31 100644 --- a/webview-ui/src/i18n/locales/hi/chat.json +++ b/webview-ui/src/i18n/locales/hi/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "कार्य पूरा हुआ", "powershell": { - "issues": "ऐसा लगता है कि आपको Windows PowerShell के साथ समस्याएँ हो रही हैं, कृपया इसे देखें" + "issues": "ऐसा लगता है कि आपको Windows PowerShell के साथ समस्याएँ हो रही हैं, कृपया इसे देखें", + "troubleshootingGuide": "ट्रबलशूटिंग गाइड" }, "autoApprove": { "title": "स्वत:-स्वीकृति:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo {{path}} में कोडबेस में {{query}} खोजना चाहता है:", "didSearch_one": "1 परिणाम मिला", "didSearch_other": "{{count}} परिणाम मिले", - "resultTooltip": "समानता स्कोर: {{score}} (फ़ाइल खोलने के लिए क्लिक करें)" + "resultTooltip": "समानता स्कोर: {{score}} (फ़ाइल खोलने के लिए क्लिक करें)", + "errorDisplayingResults": "खोज परिणाम दिखाने में त्रुटि।" }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/id/chat.json b/webview-ui/src/i18n/locales/id/chat.json index 0425a02b8f..5a498a2716 100644 --- a/webview-ui/src/i18n/locales/id/chat.json +++ b/webview-ui/src/i18n/locales/id/chat.json @@ -219,7 +219,8 @@ "wantsToSearchWithPath": "Roo ingin mencari codebase untuk {{query}} di {{path}}:", "didSearch_one": "Ditemukan 1 hasil", "didSearch_other": "Ditemukan {{count}} hasil", - "resultTooltip": "Skor kemiripan: {{score}} (klik untuk membuka file)" + "resultTooltip": "Skor kemiripan: {{score}} (klik untuk membuka file)", + "errorDisplayingResults": "Galat menampilkan hasil pencarian." }, "commandOutput": "Output Perintah", "commandExecution": { @@ -269,7 +270,8 @@ }, "troubleMessage": "Roo mengalami masalah...", "powershell": { - "issues": "Sepertinya kamu mengalami masalah Windows PowerShell, silakan lihat ini" + "issues": "Sepertinya kamu mengalami masalah Windows PowerShell, silakan lihat ini", + "troubleshootingGuide": "panduan pemecahan masalah" }, "autoApprove": { "title": "Auto-approve:", diff --git a/webview-ui/src/i18n/locales/it/chat.json b/webview-ui/src/i18n/locales/it/chat.json index 4dd1270e34..8e08844843 100644 --- a/webview-ui/src/i18n/locales/it/chat.json +++ b/webview-ui/src/i18n/locales/it/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Attività completata", "powershell": { - "issues": "Sembra che tu stia avendo problemi con Windows PowerShell, consulta questa" + "issues": "Sembra che tu stia avendo problemi con Windows PowerShell, consulta questa", + "troubleshootingGuide": "guida alla risoluzione dei problemi" }, "autoApprove": { "title": "Auto-approvazione:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo vuole cercare nella base di codice {{query}} in {{path}}:", "didSearch_one": "Trovato 1 risultato", "didSearch_other": "Trovati {{count}} risultati", - "resultTooltip": "Punteggio di somiglianza: {{score}} (clicca per aprire il file)" + "resultTooltip": "Punteggio di somiglianza: {{score}} (clicca per aprire il file)", + "errorDisplayingResults": "Errore durante la visualizzazione dei risultati di ricerca." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/ja/chat.json b/webview-ui/src/i18n/locales/ja/chat.json index 9a5d47fec8..5da0832852 100644 --- a/webview-ui/src/i18n/locales/ja/chat.json +++ b/webview-ui/src/i18n/locales/ja/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "タスク完了", "powershell": { - "issues": "Windows PowerShellに問題があるようです。こちらを参照してください" + "issues": "Windows PowerShellに問題があるようです。こちらを参照してください", + "troubleshootingGuide": "トラブルシューティングガイド" }, "autoApprove": { "title": "自動承認:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Rooは {{path}} 内のコードベースで {{query}} を検索したい:", "didSearch_one": "1件の結果が見つかりました", "didSearch_other": "{{count}}件の結果が見つかりました", - "resultTooltip": "類似度スコア: {{score}} (クリックしてファイルを開く)" + "resultTooltip": "類似度スコア: {{score}} (クリックしてファイルを開く)", + "errorDisplayingResults": "検索結果の表示中にエラーが発生しました。" }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/ko/chat.json b/webview-ui/src/i18n/locales/ko/chat.json index aaf29243b7..11418012e7 100644 --- a/webview-ui/src/i18n/locales/ko/chat.json +++ b/webview-ui/src/i18n/locales/ko/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "작업 완료", "powershell": { - "issues": "Windows PowerShell에 문제가 있는 것 같습니다. 다음을 참조하세요" + "issues": "Windows PowerShell에 문제가 있는 것 같습니다. 다음을 참조하세요", + "troubleshootingGuide": "문제 해결 가이드" }, "autoApprove": { "title": "자동 승인:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo가 {{path}}에서 {{query}}을(를) 검색하고 싶어합니다:", "didSearch_one": "1개의 결과를 찾았습니다", "didSearch_other": "{{count}}개의 결과를 찾았습니다", - "resultTooltip": "유사도 점수: {{score}} (클릭하여 파일 열기)" + "resultTooltip": "유사도 점수: {{score}} (클릭하여 파일 열기)", + "errorDisplayingResults": "검색 결과 표시 중 오류가 발생했습니다." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/nl/chat.json b/webview-ui/src/i18n/locales/nl/chat.json index c6d52fa92e..fd2acc7fa8 100644 --- a/webview-ui/src/i18n/locales/nl/chat.json +++ b/webview-ui/src/i18n/locales/nl/chat.json @@ -242,7 +242,8 @@ }, "troubleMessage": "Roo ondervindt problemen...", "powershell": { - "issues": "Het lijkt erop dat je problemen hebt met Windows PowerShell, zie deze" + "issues": "Het lijkt erop dat je problemen hebt met Windows PowerShell, zie deze", + "troubleshootingGuide": "probleemoplossingsgids" }, "autoApprove": { "title": "Automatisch goedkeuren:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo wil de codebase doorzoeken op {{query}} in {{path}}:", "didSearch_one": "1 resultaat gevonden", "didSearch_other": "{{count}} resultaten gevonden", - "resultTooltip": "Gelijkenisscore: {{score}} (klik om bestand te openen)" + "resultTooltip": "Gelijkenisscore: {{score}} (klik om bestand te openen)", + "errorDisplayingResults": "Fout bij het weergeven van zoekresultaten." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/pl/chat.json b/webview-ui/src/i18n/locales/pl/chat.json index 2028cb705b..e4eb2cc5f2 100644 --- a/webview-ui/src/i18n/locales/pl/chat.json +++ b/webview-ui/src/i18n/locales/pl/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Zadanie zakończone", "powershell": { - "issues": "Wygląda na to, że masz problemy z Windows PowerShell, proszę zapoznaj się z tym" + "issues": "Wygląda na to, że masz problemy z Windows PowerShell, proszę zapoznaj się z tym", + "troubleshootingGuide": "poradnik rozwiązywania problemów" }, "autoApprove": { "title": "Automatyczne zatwierdzanie:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo chce przeszukać bazę kodu w poszukiwaniu {{query}} w {{path}}:", "didSearch_one": "Znaleziono 1 wynik", "didSearch_other": "Znaleziono {{count}} wyników", - "resultTooltip": "Wynik podobieństwa: {{score}} (kliknij, aby otworzyć plik)" + "resultTooltip": "Wynik podobieństwa: {{score}} (kliknij, aby otworzyć plik)", + "errorDisplayingResults": "Błąd podczas wyświetlania wyników wyszukiwania." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/pt-BR/chat.json b/webview-ui/src/i18n/locales/pt-BR/chat.json index 6ee23ca627..b53605feab 100644 --- a/webview-ui/src/i18n/locales/pt-BR/chat.json +++ b/webview-ui/src/i18n/locales/pt-BR/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Tarefa concluída", "powershell": { - "issues": "Parece que você está tendo problemas com o Windows PowerShell, por favor veja este" + "issues": "Parece que você está tendo problemas com o Windows PowerShell, por favor veja este", + "troubleshootingGuide": "guia de solução de problemas" }, "autoApprove": { "title": "Aprovação automática:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo quer pesquisar na base de código por {{query}} em {{path}}:", "didSearch_one": "Encontrado 1 resultado", "didSearch_other": "Encontrados {{count}} resultados", - "resultTooltip": "Pontuação de similaridade: {{score}} (clique para abrir o arquivo)" + "resultTooltip": "Pontuação de similaridade: {{score}} (clique para abrir o arquivo)", + "errorDisplayingResults": "Erro ao exibir os resultados da pesquisa." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/ru/chat.json b/webview-ui/src/i18n/locales/ru/chat.json index 6cafe6bac9..758c519768 100644 --- a/webview-ui/src/i18n/locales/ru/chat.json +++ b/webview-ui/src/i18n/locales/ru/chat.json @@ -242,7 +242,8 @@ }, "troubleMessage": "У Roo возникли проблемы...", "powershell": { - "issues": "Похоже, у вас проблемы с Windows PowerShell, пожалуйста, ознакомьтесь с этим" + "issues": "Похоже, у вас проблемы с Windows PowerShell, пожалуйста, ознакомьтесь с этим", + "troubleshootingGuide": "руководство по устранению неполадок" }, "autoApprove": { "title": "Автоодобрение:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo хочет выполнить поиск в кодовой базе по {{query}} в {{path}}:", "didSearch_one": "Найден 1 результат", "didSearch_other": "Найдено {{count}} результатов", - "resultTooltip": "Оценка схожести: {{score}} (нажмите, чтобы открыть файл)" + "resultTooltip": "Оценка схожести: {{score}} (нажмите, чтобы открыть файл)", + "errorDisplayingResults": "Ошибка при отображении результатов поиска." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/tr/chat.json b/webview-ui/src/i18n/locales/tr/chat.json index 867acfbc9f..e2d3e8fae9 100644 --- a/webview-ui/src/i18n/locales/tr/chat.json +++ b/webview-ui/src/i18n/locales/tr/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Görev Tamamlandı", "powershell": { - "issues": "Windows PowerShell ile ilgili sorunlar yaşıyor gibi görünüyorsunuz, lütfen şu konuya bakın" + "issues": "Windows PowerShell ile ilgili sorunlar yaşıyor gibi görünüyorsunuz, lütfen şu konuya bakın", + "troubleshootingGuide": "sorun giderme kılavuzu" }, "autoApprove": { "title": "Otomatik-onay:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo {{path}} içinde kod tabanında {{query}} aramak istiyor:", "didSearch_one": "1 sonuç bulundu", "didSearch_other": "{{count}} sonuç bulundu", - "resultTooltip": "Benzerlik puanı: {{score}} (dosyayı açmak için tıklayın)" + "resultTooltip": "Benzerlik puanı: {{score}} (dosyayı açmak için tıklayın)", + "errorDisplayingResults": "Arama sonuçları görüntülenirken hata oluştu." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/vi/chat.json b/webview-ui/src/i18n/locales/vi/chat.json index ef8e951aac..fe5996dc5e 100644 --- a/webview-ui/src/i18n/locales/vi/chat.json +++ b/webview-ui/src/i18n/locales/vi/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "Nhiệm vụ hoàn thành", "powershell": { - "issues": "Có vẻ như bạn đang gặp vấn đề với Windows PowerShell, vui lòng xem" + "issues": "Có vẻ như bạn đang gặp vấn đề với Windows PowerShell, vui lòng xem", + "troubleshootingGuide": "hướng dẫn khắc phục sự cố" }, "autoApprove": { "title": "Tự động phê duyệt:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo muốn tìm kiếm trong cơ sở mã cho {{query}} trong {{path}}:", "didSearch_one": "Đã tìm thấy 1 kết quả", "didSearch_other": "Đã tìm thấy {{count}} kết quả", - "resultTooltip": "Điểm tương tự: {{score}} (nhấp để mở tệp)" + "resultTooltip": "Điểm tương tự: {{score}} (nhấp để mở tệp)", + "errorDisplayingResults": "Lỗi khi hiển thị kết quả tìm kiếm." }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/zh-CN/chat.json b/webview-ui/src/i18n/locales/zh-CN/chat.json index 1e430200a1..6f9b97e712 100644 --- a/webview-ui/src/i18n/locales/zh-CN/chat.json +++ b/webview-ui/src/i18n/locales/zh-CN/chat.json @@ -242,7 +242,8 @@ }, "taskCompleted": "任务完成", "powershell": { - "issues": "看起来您遇到了Windows PowerShell问题,请参阅此" + "issues": "看起来您遇到了Windows PowerShell问题,请参阅此", + "troubleshootingGuide": "疑难解答指南" }, "autoApprove": { "title": "自动批准:", @@ -338,7 +339,8 @@ "wantsToSearchWithPath": "Roo 需要在 {{path}} 中搜索: {{query}}", "didSearch_one": "找到 1 个结果", "didSearch_other": "找到 {{count}} 个结果", - "resultTooltip": "相似度评分: {{score}} (点击打开文件)" + "resultTooltip": "相似度评分: {{score}} (点击打开文件)", + "errorDisplayingResults": "显示搜索结果时出错。" }, "read-batch": { "approve": { diff --git a/webview-ui/src/i18n/locales/zh-TW/chat.json b/webview-ui/src/i18n/locales/zh-TW/chat.json index f5183d65a9..983de77566 100644 --- a/webview-ui/src/i18n/locales/zh-TW/chat.json +++ b/webview-ui/src/i18n/locales/zh-TW/chat.json @@ -216,7 +216,8 @@ "wantsToSearchWithPath": "Roo 想要在 {{path}} 中搜尋程式碼庫:{{query}}", "didSearch_one": "找到 1 個結果", "didSearch_other": "找到 {{count}} 個結果", - "resultTooltip": "相似度評分:{{score}} (點選開啟檔案)" + "resultTooltip": "相似度評分:{{score}} (點選開啟檔案)", + "errorDisplayingResults": "顯示搜尋結果時發生錯誤。" }, "commandOutput": "命令輸出", "commandExecution": { @@ -266,7 +267,8 @@ }, "troubleMessage": "Roo 遇到問題...", "powershell": { - "issues": "您似乎遇到了 Windows PowerShell 的問題,請參閱此說明文件" + "issues": "您似乎遇到了 Windows PowerShell 的問題,請參閱此說明文件", + "troubleshootingGuide": "疑難排解指南" }, "autoApprove": { "title": "自動核准:",