Skip to content

Commit 59beff0

Browse files
committed
Initial scaffold for zh-cn translation
0 parents  commit 59beff0

4 files changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Auto-generated by `translate setup`
2+
name: Review Translations
3+
4+
on:
5+
pull_request:
6+
types: [opened, synchronize]
7+
8+
jobs:
9+
review:
10+
if: contains(github.event.pull_request.labels.*.name, 'action-translation')
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 2
17+
18+
- uses: QuantEcon/action-translation@v0.9.0
19+
with:
20+
mode: review
21+
source-repo: QuantEcon/lecture-python-programming
22+
source-language: en
23+
target-language: zh-cn
24+
docs-folder: lectures
25+
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
26+
github-token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Build outputs
2+
_build/
3+
__pycache__/
4+
5+
# OS files
6+
.DS_Store
7+
Thumbs.db
8+
9+
# Environment
10+
.env

.translate/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source-language: en
2+
target-language: zh-cn
3+
docs-folder: lectures
4+
tool-version: 0.11.1

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# lecture-python-programming.zh-cn
2+
3+
zh-cn translation of [QuantEcon/lecture-python-programming](https://github.com/QuantEcon/lecture-python-programming).
4+
5+
Generated by [`translate setup`](https://github.com/QuantEcon/action-translation).

0 commit comments

Comments
 (0)