Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add aider translation support#1006

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
josix wants to merge3 commits into3.13
base:3.13
Choose a base branch
Loading
fromfeat/aider-translation

Conversation

josix
Copy link
Collaborator

@josixjosix commentedDec 16, 2024
edited
Loading

This pull request introduces a new script for handling.po files and updates theMakefile to include a new translation target using theaider-chat tool. The most important changes are detailed below:

New Script for.po File Handling:

  • .scripts/intercept.py: Added a new script to handle.po files, which includes functionality to parse the file and retrieve specific entries based on their occurrences.

Makefile Enhancements:

  • Makefile: Added a new target to install theaider-chat tool in the virtual environment.
  • Makefile: Introduced a newtranslate target that uses theaider-chat tool to translate Python documentation into Traditional Chinese. This target requiresFILE andLINE arguments to specify the.po file and the line number to translate.

Example
image

Co-Authored-By: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>Co-Authored-By: Becca <beccalin.8359@gmail.com>
@josixjosixforce-pushed thefeat/aider-translation branch from4695a29 toc13a0abCompareDecember 16, 2024 10:56
josixand others added2 commitsMarch 15, 2025 16:02
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ezio-melottiezio-melottiezio-melotti approved these changes

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@josix@ezio-melotti

[8]ページ先頭

©2009-2025 Movatter.jp