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

translation after check #2751

Closed
wants to merge 3 commits into from
Closed

translation after check #2751

wants to merge 3 commits into from

Conversation

koko2pp
Copy link

@koko2pp koko2pp commented Sep 14, 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 the Chinese comments in the code files 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

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

@koko2pp koko2pp closed this by deleting the head repository Sep 15, 2023
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