Skip to content

Commit 4c1f859

Browse files
committed
fix: load i18n
1 parent 1d90c35 commit 4c1f859

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "claude-dev",
33
"displayName": "Cline (prev. Claude Dev)",
44
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
5-
"version": "2.1.12",
5+
"version": "2.1.13",
66
"icon": "assets/icons/icon.png",
77
"galleryBanner": {
88
"color": "#617A91",

src/extension.ts

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export function activate(context: vscode.ExtensionContext) {
8282
context.subscriptions.push(
8383
vscode.commands.registerCommand("cline.settingsButtonClicked", () => {
8484
//vscode.window.showInformationMessage(message)
85+
outputChannel.appendLine("Settings button Clicked")
8586
sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonClicked" })
8687
}),
8788
)

webview-ui/src/App.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ const AppContent = () => {
2626
setI18n(instance)
2727
});
2828
return () => i18n?.dispose()
29-
}, [locale, i18n])
29+
// eslint-disable-next-line react-hooks/exhaustive-deps
30+
}, [locale])
3031

3132
const handleMessage = useCallback((e: MessageEvent) => {
3233
const message: ExtensionMessage = e.data

0 commit comments

Comments
 (0)