changed ch to zh

This commit is contained in:
CT
2026-05-17 12:41:09 -05:00
parent 3fe496f8d9
commit e5cc2e2feb
8 changed files with 19 additions and 19 deletions

View File

@@ -14,7 +14,7 @@ foreignthon/
│ └── langs/
│ ├── es/ # foreignthon-es (Spanish)
│ └── ta/ # foreignthon-ta (Tamil)
| |__ ch/
| |__ zh/ # foreignthon-zh (Chinese)
├── docs/
└── .gitea/workflows/
├── ci.yml # runs tests + lint on every push
@@ -34,7 +34,7 @@ python -m venv .venv && source .venv/bin/activate
pip install -e "packages/foreignthon[dev]"
pip install -e packages/langs/es
pip install -e packages/langs/ta
pip install -e packages/langs/ch
pip install -e packages/langs/zh
```
## Running tests

View File

@@ -6,7 +6,7 @@
pip install foreignthon
pip install foreignthon-es # add Spanish
pip install foreignthon-ta # add Tamil
pip install foreignthon-ch # add Chinese
pip install foreignthon-zh # add Chinese
```
For CLI use across projects, prefer pipx:
@@ -77,6 +77,6 @@ python -m venv .venv && source .venv/bin/activate
pip install -e "packages/foreignthon[dev]"
pip install -e packages/langs/es
pip install -e packages/langs/ta
pip install -e packages/langs/ch
pip install -e packages/langs/zh
pytest packages/foreignthon/tests/ -v
```

View File

@@ -8,7 +8,7 @@ A language pack is a JSON file that maps foreign tokens to Python equivalents, p
|---|---|---|
| `foreignthon-es` | Spanish | `pip install foreignthon-es` |
| `foreignthon-ta` | Tamil | `pip install foreignthon-ta` |
| `foreignthon-ch` | Chinese | `pip install foreignthon-ch` |
| `foreignthon-zh` | Chinese | `pip install foreignthon-zh` |
## JSON schema