File tree Expand file tree Collapse file tree 16 files changed +38
-2
lines changed Expand file tree Collapse file tree 16 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,11 @@ export const ChatRowContent = ({
272272 < >
273273 < div style = { headerStyle } >
274274 { toolIcon ( tool . tool === "appliedDiff" ? "diff" : "edit" ) }
275- < span style = { { fontWeight : "bold" } } > { t ( "chat:fileOperations.wantsToEdit" ) } </ span >
275+ < span style = { { fontWeight : "bold" } } >
276+ { tool . isOutsideWorkspace
277+ ? t ( "chat:fileOperations.wantsToEditOutsideWorkspace" )
278+ : t ( "chat:fileOperations.wantsToEdit" ) }
279+ </ span >
276280 </ div >
277281 < CodeAccordian
278282 progressStatus = { message . progressStatus }
@@ -307,7 +311,9 @@ export const ChatRowContent = ({
307311 { toolIcon ( "file-code" ) }
308312 < span style = { { fontWeight : "bold" } } >
309313 { message . type === "ask"
310- ? t ( "chat:fileOperations.wantsToRead" )
314+ ? tool . isOutsideWorkspace
315+ ? t ( "chat:fileOperations.wantsToReadOutsideWorkspace" )
316+ : t ( "chat:fileOperations.wantsToRead" )
311317 : t ( "chat:fileOperations.didRead" ) }
312318 </ span >
313319 </ div >
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Roo vol llegir aquest fitxer:" ,
110+ "wantsToReadOutsideWorkspace" : " Roo vol llegir aquest fitxer fora de l'espai de treball:" ,
110111 "didRead" : " Roo ha llegit aquest fitxer:" ,
111112 "wantsToEdit" : " Roo vol editar aquest fitxer:" ,
113+ "wantsToEditOutsideWorkspace" : " Roo vol editar aquest fitxer fora de l'espai de treball:" ,
112114 "wantsToCreate" : " Roo vol crear un nou fitxer:"
113115 },
114116 "directoryOperations" : {
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Roo möchte diese Datei lesen:" ,
110+ "wantsToReadOutsideWorkspace" : " Roo möchte diese Datei außerhalb des Arbeitsbereichs lesen:" ,
110111 "didRead" : " Roo hat diese Datei gelesen:" ,
111112 "wantsToEdit" : " Roo möchte diese Datei bearbeiten:" ,
113+ "wantsToEditOutsideWorkspace" : " Roo möchte diese Datei außerhalb des Arbeitsbereichs bearbeiten:" ,
112114 "wantsToCreate" : " Roo möchte eine neue Datei erstellen:"
113115 },
114116 "directoryOperations" : {
Original file line number Diff line number Diff line change 105105 },
106106 "fileOperations" : {
107107 "wantsToRead" : " Roo wants to read this file:" ,
108+ "wantsToReadOutsideWorkspace" : " Roo wants to read this file outside of the workspace:" ,
108109 "didRead" : " Roo read this file:" ,
109110 "wantsToEdit" : " Roo wants to edit this file:" ,
111+ "wantsToEditOutsideWorkspace" : " Roo wants to edit this file outside of the workspace:" ,
110112 "wantsToCreate" : " Roo wants to create a new file:"
111113 },
112114 "directoryOperations" : {
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Roo quiere leer este archivo:" ,
110+ "wantsToReadOutsideWorkspace" : " Roo quiere leer este archivo fuera del espacio de trabajo:" ,
110111 "didRead" : " Roo leyó este archivo:" ,
111112 "wantsToEdit" : " Roo quiere editar este archivo:" ,
113+ "wantsToEditOutsideWorkspace" : " Roo quiere editar este archivo fuera del espacio de trabajo:" ,
112114 "wantsToCreate" : " Roo quiere crear un nuevo archivo:"
113115 },
114116 "directoryOperations" : {
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Roo veut lire ce fichier :" ,
110+ "wantsToReadOutsideWorkspace" : " Roo veut lire ce fichier en dehors de l'espace de travail :" ,
110111 "didRead" : " Roo a lu ce fichier :" ,
111112 "wantsToEdit" : " Roo veut éditer ce fichier :" ,
113+ "wantsToEditOutsideWorkspace" : " Roo veut éditer ce fichier en dehors de l'espace de travail :" ,
112114 "wantsToCreate" : " Roo veut créer un nouveau fichier :"
113115 },
114116 "directoryOperations" : {
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Roo इस फ़ाइल को पढ़ना चाहता है:" ,
110+ "wantsToReadOutsideWorkspace" : " Roo कार्यक्षेत्र के बाहर इस फ़ाइल को पढ़ना चाहता है:" ,
110111 "didRead" : " Roo ने इस फ़ाइल को पढ़ा:" ,
111112 "wantsToEdit" : " Roo इस फ़ाइल को संपादित करना चाहता है:" ,
113+ "wantsToEditOutsideWorkspace" : " Roo कार्यक्षेत्र के बाहर इस फ़ाइल को संपादित करना चाहता है:" ,
112114 "wantsToCreate" : " Roo एक नई फ़ाइल बनाना चाहता है:"
113115 },
114116 "directoryOperations" : {
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Roo vuole leggere questo file:" ,
110+ "wantsToReadOutsideWorkspace" : " Roo vuole leggere questo file al di fuori dell'area di lavoro:" ,
110111 "didRead" : " Roo ha letto questo file:" ,
111112 "wantsToEdit" : " Roo vuole modificare questo file:" ,
113+ "wantsToEditOutsideWorkspace" : " Roo vuole modificare questo file al di fuori dell'area di lavoro:" ,
112114 "wantsToCreate" : " Roo vuole creare un nuovo file:"
113115 },
114116 "directoryOperations" : {
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Rooはこのファイルを読みたい:" ,
110+ "wantsToReadOutsideWorkspace" : " Rooはワークスペース外のこのファイルを読みたい:" ,
110111 "didRead" : " Rooはこのファイルを読みました:" ,
111112 "wantsToEdit" : " Rooはこのファイルを編集したい:" ,
113+ "wantsToEditOutsideWorkspace" : " Rooはワークスペース外のこのファイルを編集したい:" ,
112114 "wantsToCreate" : " Rooは新しいファイルを作成したい:"
113115 },
114116 "directoryOperations" : {
Original file line number Diff line number Diff line change 107107 },
108108 "fileOperations" : {
109109 "wantsToRead" : " Roo가 이 파일을 읽고 싶어합니다:" ,
110+ "wantsToReadOutsideWorkspace" : " Roo가 워크스페이스 외부의 이 파일을 읽고 싶어합니다:" ,
110111 "didRead" : " Roo가 이 파일을 읽었습니다:" ,
111112 "wantsToEdit" : " Roo가 이 파일을 편집하고 싶어합니다:" ,
113+ "wantsToEditOutsideWorkspace" : " Roo가 워크스페이스 외부의 이 파일을 편집하고 싶어합니다:" ,
112114 "wantsToCreate" : " Roo가 새 파일을 만들고 싶어합니다:"
113115 },
114116 "directoryOperations" : {
You can’t perform that action at this time.
0 commit comments