Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
ytori committed Sep 27, 2024
1 parent dc63986 commit 0b7a21d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/konjacbot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To update translations of the [Next.js documentation](https://nextjs.org/docs) i
- [Translation](./translate.mts)
- Translates files detected as differing using the OpenAI API.
- [Image Downloading](./dlimg.mts)
- Downloads images from the public site as they are not managed in the Next.js Git repository.
- Downloads images from the [public site](https://nextjs.org/docs) as they are not managed in the Next.js Git repository.
- [Creating Pull Requests](./pr.mts)
- Creates a branch in this repository and submits a Pull Request with the translated content.

Expand Down Expand Up @@ -93,7 +93,7 @@ npx tsx ./scripts/konjacbot/translate.mts .kj-diff.txt
```

### Description
- Acquire the [prompt](./pr.mts) for the language specified by `-l`
- Acquire the [prompt](./prompt) for the language specified by `-l`
- Read the md(x) files listed in the specified diff file and translate using the OpenAI API
- Output the translation results to a file

Expand All @@ -119,7 +119,7 @@ npx tsx ./scripts/konjacbot/dlimg.mts .kj-diff.txt

### Description
- Read the md(x) files listed in the specified diff file and obtain the paths to the image files used within
- Download images from the public site
- Download images from the [public site](https://nextjs.org/docs)
- Save the downloaded files

## [Creating Pull Requests](./pr.mts)
Expand Down

0 comments on commit 0b7a21d

Please sign in to comment.