Skip to content
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 in the Curve into English annotations #2726

Closed
wants to merge 1 commit into from
Closed

Translate Chinese annotations in the Curve into English annotations #2726

wants to merge 1 commit into from

Conversation

koko2pp
Copy link

@koko2pp koko2pp commented Aug 30, 2023

What problem does this PR solve?

Issue Number: #2576

Problem Summary: Translate Chinese annotations in the Curve into English annotations

What is changed and how it works?

What's Changed: Translate all Chinese comments in code files that are not .md files into corresponding English comments.

How it Works: Writing scripts in the Go programming language, extracting comments containing Chinese characters from various code files using regular expressions, invoking the Baidu Translate API to translate the comment content into English, and replacing the original Chinese comments back into the source files.

Side effects(Breaking backward compatibility? Performance regression?): The change in comments language will not impact system performance.

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@koko2pp koko2pp closed this Sep 9, 2023
@koko2pp koko2pp deleted the translateToEn branch September 14, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant