File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -202,14 +202,6 @@ jobs:
202202 runs-on : ubuntu-latest
203203 steps :
204204 - uses : actions/checkout@v4
205- - run :
206- npm install -g @openai/codex
207- - run : |
208- codex exec "Your task is translate `README.md` into several languages. The translation should sound natural and easy to read.
209- Target languages: Chinese (zh-cn), Chinese (zh-tw), Japanese (ja-JP)
210- Use the following format for each translation: `README.{language_code}-{country_code}.md`
211- Rules:
212- - Clone the repository from https://github.com/go-gitea/gitea and create a new branch for your work
213- - If a translation file already exists, only update the changes
214- - If a translation file does not exist, create a new one and add the link in `README.md` and each translated readme file
215- - Do not modify the original `README.md` file", expect the links to each translation file
205+ - run : npm install -g @openai/codex
206+ - name : Generate README translations
207+ run : codex exec "$(cat ./readme-translation.txt)"
Original file line number Diff line number Diff line change 1+ Your task is translate `README.md` into several languages. The translation should sound natural and easy to read.
2+ Target languages: Chinese (zh-cn), Chinese (zh-tw), Japanese (ja-JP)
3+ Use the following format for each translation: `README.{language_code}-{country_code}.md`
4+ Rules:
5+ - Clone the repository from https://github.com/go-gitea/gitea and create a new branch for your work
6+ - If a translation file already exists, only update the changes
7+ - If a translation file does not exist, create a new one and add the link in `README.md` and each translated readme file
8+ - Do not modify the original `README.md` file
You can’t perform that action at this time.
0 commit comments