Skip to content

Commit

Permalink
fix: load i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
l1shen committed Dec 9, 2024
1 parent 1d90c35 commit 4c1f859
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "claude-dev",
"displayName": "Cline (prev. Claude Dev)",
"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.",
"version": "2.1.12",
"version": "2.1.13",
"icon": "assets/icons/icon.png",
"galleryBanner": {
"color": "#617A91",
Expand Down
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(
vscode.commands.registerCommand("cline.settingsButtonClicked", () => {
//vscode.window.showInformationMessage(message)
outputChannel.appendLine("Settings button Clicked")
sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonClicked" })
}),
)
Expand Down
3 changes: 2 additions & 1 deletion webview-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const AppContent = () => {
setI18n(instance)
});
return () => i18n?.dispose()
}, [locale, i18n])
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [locale])

const handleMessage = useCallback((e: MessageEvent) => {
const message: ExtensionMessage = e.data
Expand Down

0 comments on commit 4c1f859

Please sign in to comment.