Răsfoiți Sursa

Fix regex i18n (#1779)

Matt Rubens 11 luni în urmă
părinte
comite
516f635595
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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
 									<Trans
 										i18nKey="chat:directoryOperations.wantsToSearch"
 										i18nKey="chat:directoryOperations.wantsToSearch"
 										components={{ code: <code>{tool.regex}</code> }}
 										components={{ code: <code>{tool.regex}</code> }}
+										values={{ regex: tool.regex }}
 									/>
 									/>
 								) : (
 								) : (
 									<Trans
 									<Trans
 										i18nKey="chat:directoryOperations.didSearch"
 										i18nKey="chat:directoryOperations.didSearch"
 										components={{ code: <code>{tool.regex}</code> }}
 										components={{ code: <code>{tool.regex}</code> }}
+										values={{ regex: tool.regex }}
 									/>
 									/>
 								)}
 								)}
 							</span>
 							</span>