Skip to content

Conversation

josix
Copy link
Collaborator

@josix josix commented Dec 16, 2024

This pull request introduces a new script for handling .po files and updates the Makefile to include a new translation target using the aider-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 the aider-chat tool in the virtual environment.
  • Makefile: Introduced a new translate target that uses the aider-chat tool to translate Python documentation into Traditional Chinese. This target requires FILE and LINE 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>
@josix josix force-pushed the feat/aider-translation branch from 4695a29 to c13a0ab Compare December 16, 2024 10:56
josix and others added 2 commits March 15, 2025 16:02
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants