Browse Source

Fix regex i18n (#1779)

Matt Rubens 11 months ago
parent
commit
516f635595
1 changed files with 2 additions and 0 deletions
  1. 2 0
      webview-ui/src/components/chat/ChatRow.tsx

+ 2 - 0
webview-ui/src/components/chat/ChatRow.tsx

@@ -418,11 +418,13 @@ export const ChatRowContent = ({
 									<Trans
 										i18nKey="chat:directoryOperations.wantsToSearch"
 										components={{ code: <code>{tool.regex}</code> }}
+										values={{ regex: tool.regex }}
 									/>
 								) : (
 									<Trans
 										i18nKey="chat:directoryOperations.didSearch"
 										components={{ code: <code>{tool.regex}</code> }}
+										values={{ regex: tool.regex }}
 									/>
 								)}
 							</span>