-
Notifications
You must be signed in to change notification settings - Fork 527
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
translate Chinese annotations to English annotations #2754
base: master
Are you sure you want to change the base?
Conversation
cicheck |
good job, I'll review it, but it's too many files changed, so may be a long time will be needed. |
src/chunkserver/op_request.h
Outdated
* op data: refers to the data serialized by the request through protobuf | ||
* @param request: Chunk Request | ||
* @param data: The data content contained in the request | ||
* @param log: Provide parameters, store serialized data, and ensure the data by the user= Nullptr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ensure the data!=Nullptr by the user
My review content:
TODO for Contributor @koko2pp :
Thank you very much for your contribution. Great work~ |
Tips: |
cicheck |
1 similar comment
cicheck |
cicheck |
1 similar comment
cicheck |
… and rebase all conficts.
078cc1b
to
12fbff3
Compare
cicheck |
1 similar comment
cicheck |
Maybe you can retry ci after rebase. |
… and rebase all conficts.
… and rebase all conficts.
Signed-off-by: koko2pp <[email protected]>
change docs website Signed-off-by: Wangpan <[email protected]> chore: prepare for rebase style: Apply Clang format to modified files ,and restore patch files, and rebase all conficts. style: Apply Clang format to modified files ,and restore patch files, and rebase all conficts. style: Apply Clang format to modified files and restore patch files. style: Apply Clang format to modified files ,and restore patch files, and rebase all conficts. doc: add changelog for v2.7. Signed-off-by: Wine93 <[email protected]> Update CHANGELOG-2.7.md Signed-off-by: Wangpan <[email protected]> update curve-arch.png Signed-off-by: Wangpan <[email protected]> Code formatting changes Signed-off-by: koko2pp <[email protected]>
cicheck |
cicheck |
What problem does this PR solve?
Issue Number: #2576
Problem Summary: translate Chinese annotations to English annotations
What is changed and how it works?
What's Changed: The Chinese comments in the code files have been converted into English comments.
How it Works: Write a GO script. For various programming languages, extract all comments from code files using different regular expressions, then determine whether the comments contain Chinese characters. If there are Chinese characters, use the Baidu Translate API to translate the Chinese comments into English comments, and then write them back to the file.
Side effects(Breaking backward compatibility? Performance regression?): None
Check List