Skip to content

Commit 250bb3c

Browse files
committed
fix: remove batch permission question from readFile tool translations
1 parent 9287e74 commit 250bb3c

File tree

18 files changed

+17
-35
lines changed

18 files changed

+17
-35
lines changed

src/core/tools/readFileTool.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ export async function readFileTool(
289289
const completeMessage = JSON.stringify({
290290
tool: "readFile",
291291
batchFiles,
292-
question: t("tools:readFile.batchPermissionQuestion", { count: filesToApprove.length }),
293292
} satisfies ClineSayTool)
294293

295294
const { response, text, images } = await cline.ask("tool", completeMessage, false)

src/i18n/locales/ca/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " (línies {{start}}-{{end}})",
44
"definitionsOnly": " (només definicions)",
5-
"maxLines": " (màxim {{max}} línies)",
6-
"batchPermissionQuestion": "Roo vol llegir {{count}} fitxers. Si us plau, utilitzeu l'aprovació/denegació per lots per a tots els fitxers alhora."
5+
"maxLines": " (màxim {{max}} línies)"
76
},
87
"toolRepetitionLimitReached": "Roo sembla estar atrapat en un bucle, intentant la mateixa acció ({{toolName}}) repetidament. Això podria indicar un problema amb la seva estratègia actual. Considera reformular la tasca, proporcionar instruccions més específiques o guiar-lo cap a un enfocament diferent.",
98
"codebaseSearch": {

src/i18n/locales/de/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " (Zeilen {{start}}-{{end}})",
44
"definitionsOnly": " (nur Definitionen)",
5-
"maxLines": " (maximal {{max}} Zeilen)",
6-
"batchPermissionQuestion": "Roo möchte {{count}} Dateien lesen. Bitte verwenden Sie die Batch-Genehmigung/Ablehnung für alle Dateien auf einmal."
5+
"maxLines": " (maximal {{max}} Zeilen)"
76
},
87
"toolRepetitionLimitReached": "Roo scheint in einer Schleife festzustecken und versucht wiederholt dieselbe Aktion ({{toolName}}). Dies könnte auf ein Problem mit der aktuellen Strategie hindeuten. Überlege dir, die Aufgabe umzuformulieren, genauere Anweisungen zu geben oder Roo zu einem anderen Ansatz zu führen.",
98
"codebaseSearch": {

src/i18n/locales/en/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " (lines {{start}}-{{end}})",
44
"definitionsOnly": " (definitions only)",
5-
"maxLines": " (max {{max}} lines)",
6-
"batchPermissionQuestion": "Roo wants to read {{count}} files. Please use the batch approve/deny all files at once."
5+
"maxLines": " (max {{max}} lines)"
76
},
87
"toolRepetitionLimitReached": "Roo appears to be stuck in a loop, attempting the same action ({{toolName}}) repeatedly. This might indicate a problem with its current strategy. Consider rephrasing the task, providing more specific instructions, or guiding it towards a different approach.",
98
"codebaseSearch": {

src/i18n/locales/es/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " (líneas {{start}}-{{end}})",
44
"definitionsOnly": " (solo definiciones)",
5-
"maxLines": " (máximo {{max}} líneas)",
6-
"batchPermissionQuestion": "Roo quiere leer {{count}} archivos. Por favor, use la aprobación/denegación por lotes para todos los archivos a la vez."
5+
"maxLines": " (máximo {{max}} líneas)"
76
},
87
"toolRepetitionLimitReached": "Roo parece estar atrapado en un bucle, intentando la misma acción ({{toolName}}) repetidamente. Esto podría indicar un problema con su estrategia actual. Considera reformular la tarea, proporcionar instrucciones más específicas o guiarlo hacia un enfoque diferente.",
98
"codebaseSearch": {

src/i18n/locales/fr/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " (lignes {{start}}-{{end}})",
44
"definitionsOnly": " (définitions uniquement)",
5-
"maxLines": " (max {{max}} lignes)",
6-
"batchPermissionQuestion": "Roo souhaite lire {{count}} fichiers. Veuillez utiliser l'approbation/refus par lot pour tous les fichiers à la fois."
5+
"maxLines": " (max {{max}} lignes)"
76
},
87
"toolRepetitionLimitReached": "Roo semble être bloqué dans une boucle, tentant la même action ({{toolName}}) de façon répétée. Cela pourrait indiquer un problème avec sa stratégie actuelle. Envisage de reformuler la tâche, de fournir des instructions plus spécifiques ou de le guider vers une approche différente.",
98
"codebaseSearch": {

src/i18n/locales/hi/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " (पंक्तियाँ {{start}}-{{end}})",
44
"definitionsOnly": " (केवल परिभाषाएँ)",
5-
"maxLines": " (अधिकतम {{max}} पंक्तियाँ)",
6-
"batchPermissionQuestion": "Roo {{count}} फ़ाइलें पढ़ना चाहता है। कृपया सभी फ़ाइलों के लिए एक साथ बैच अनुमोदन/अस्वीकार का उपयोग करें।"
5+
"maxLines": " (अधिकतम {{max}} पंक्तियाँ)"
76
},
87
"toolRepetitionLimitReached": "Roo एक लूप में फंसा हुआ लगता है, बार-बार एक ही क्रिया ({{toolName}}) को दोहरा रहा है। यह उसकी वर्तमान रणनीति में किसी समस्या का संकेत हो सकता है। कार्य को पुनः परिभाषित करने, अधिक विशिष्ट निर्देश देने, या उसे एक अलग दृष्टिकोण की ओर मार्गदर्शित करने पर विचार करें।",
98
"codebaseSearch": {

src/i18n/locales/it/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " (righe {{start}}-{{end}})",
44
"definitionsOnly": " (solo definizioni)",
5-
"maxLines": " (max {{max}} righe)",
6-
"batchPermissionQuestion": "Roo vuole leggere {{count}} file. Si prega di utilizzare l'approvazione/rifiuto in batch per tutti i file contemporaneamente."
5+
"maxLines": " (max {{max}} righe)"
76
},
87
"toolRepetitionLimitReached": "Roo sembra essere bloccato in un ciclo, tentando ripetutamente la stessa azione ({{toolName}}). Questo potrebbe indicare un problema con la sua strategia attuale. Considera di riformulare l'attività, fornire istruzioni più specifiche o guidarlo verso un approccio diverso.",
98
"codebaseSearch": {

src/i18n/locales/ja/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " ({{start}}-{{end}}行目)",
44
"definitionsOnly": " (定義のみ)",
5-
"maxLines": " (最大{{max}}行)",
6-
"batchPermissionQuestion": "Rooは{{count}}個のファイルを読み取ろうとしています。すべてのファイルを一度に承認/拒否するバッチ機能を使用してください。"
5+
"maxLines": " (最大{{max}}行)"
76
},
87
"toolRepetitionLimitReached": "Rooが同じ操作({{toolName}})を繰り返し試みるループに陥っているようです。これは現在の方法に問題がある可能性を示しています。タスクの言い換え、より具体的な指示の提供、または別のアプローチへの誘導を検討してください。",
98
"codebaseSearch": {

src/i18n/locales/ko/tools.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"readFile": {
33
"linesRange": " ({{start}}-{{end}}행)",
44
"definitionsOnly": " (정의만)",
5-
"maxLines": " (최대 {{max}}행)",
6-
"batchPermissionQuestion": "Roo가 {{count}}개의 파일을 읽으려고 합니다. 모든 파일을 한 번에 승인/거부하는 일괄 처리를 사용하세요."
5+
"maxLines": " (최대 {{max}}행)"
76
},
87
"toolRepetitionLimitReached": "Roo가 같은 동작({{toolName}})을 반복적으로 시도하면서 루프에 갇힌 것 같습니다. 이는 현재 전략에 문제가 있을 수 있음을 나타냅니다. 작업을 다시 표현하거나, 더 구체적인 지침을 제공하거나, 다른 접근 방식으로 안내해 보세요.",
98
"codebaseSearch": {

0 commit comments

Comments
 (0)