-
Notifications
You must be signed in to change notification settings - Fork 600
Feature/vscode i18n #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Feature/vscode i18n #219
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3027972
feat(i18n): add localization support for Chinese and update descripti…
zephyrq-z 3ab668a
feat: add internationalization support to various components and views
zephyrq-z cc81bd4
fix: correct regex for validating command names in resolveBin functio…
zephyrq-z d496bb7
chore: update open-code-review-vscode-0.1.0.vsix binary file
zephyrq-z a70e7b5
Merge branch 'alibaba:main' into feature/vscode-i18n
zephyrq-z 2a14c67
fix: address OpenCodeReview bot findings for i18n PR
zephyrq-z e36a323
Merge branch 'alibaba:main' into feature/vscode-i18n
zephyrq-z File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| module.exports = { | ||
| env: { language: 'en' }, | ||
| Uri: { file: (p) => ({ fsPath: p, scheme: 'file' }), joinPath: (...args) => args.join('/') }, | ||
| workspace: { workspaceFolders: [{ uri: { fsPath: '/mock' } }], openTextDocument: () => Promise.resolve({ lineCount: 10, lineAt: () => ({ text: '' }) }) }, | ||
| window: { showErrorMessage: () => {}, showWarningMessage: () => Promise.resolve(undefined), createOutputChannel: () => ({ appendLine: () => {}, dispose: () => {} }), createWebviewPanel: () => ({ webview: { html: '', onDidReceiveMessage: () => ({ dispose: () => {} }), asWebviewUri: (u) => u }, onDidDispose: () => ({ dispose: () => {} }), reveal: () => {}, dispose: () => {} }) }, | ||
| commands: { registerCommand: () => ({ dispose: () => {} }), executeCommand: () => Promise.resolve() }, | ||
| extensions: { getExtension: () => null }, | ||
| Disposable: { from: (...ds) => ({ dispose: () => ds.forEach((d) => d.dispose()) }) }, | ||
| CommentMode: { Preview: 1 }, | ||
| CommentThreadCollapsibleState: { Expanded: 0 }, | ||
| MarkdownString: function (v) { this.value = v; this.isTrusted = false; }, | ||
| Range: function (a, b, c, d) { this.start = { line: a, character: b }; this.end = { line: c, character: d }; }, | ||
| WorkspaceEdit: function () { this.replace = () => {}; this.delete = () => {}; }, | ||
| ThemeIcon: function () {}, | ||
| ViewColumn: { One: 1 }, | ||
| EventEmitter: function () { this.event = () => {}; this.fire = () => {}; }, | ||
| CommentController: function () { this.createCommentThread = () => ({ canReply: false, label: '', collapsibleState: 0, contextValue: '', comments: [], dispose: () => {} }); }, | ||
| WebviewViewProvider: function () {}, | ||
| }; |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "ocr.activitybar.title": "Open Code Review", | ||
| "ocr.sidebar.name": "Code Review", | ||
| "ocr.review.start": "OCR: Start Code Review", | ||
| "ocr.review.cancel": "OCR: Cancel Review", | ||
| "ocr.config.open": "OCR: Open Configuration", | ||
| "ocr.comment.apply": "Apply", | ||
| "ocr.comment.discard": "Discard", | ||
| "ocr.comment.falsePositive": "False Positive", | ||
| "ocr.description": "AI Code Review — powered by open-code-review CLI" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "ocr.activitybar.title": "Open Code Review", | ||
| "ocr.sidebar.name": "Code Review", | ||
| "ocr.review.start": "OCR: 开始代码审查", | ||
| "ocr.review.cancel": "OCR: 取消审查", | ||
| "ocr.config.open": "OCR: 打开配置", | ||
| "ocr.comment.apply": "应用", | ||
| "ocr.comment.discard": "忽略", | ||
| "ocr.comment.falsePositive": "误报", | ||
| "ocr.description": "AI 代码审查 —— 基于 open-code-review CLI" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.