docs: localize README to Traditional Chinese

- Fix a typo in the README.zh-tw.md file
- Translate English text to Traditional Chinese in the README.zh-tw.md file

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy
2024-11-20 22:33:56 +08:00
parent 95f03551fd
commit 1b2bf60368
+9 -9
View File
@@ -60,7 +60,7 @@
venue: '35.661777 139.704051 竹北體育館 新竹縣竹北市'
```
使用自定義理發送消息(支持 `http``https``socks5`),如 `socks5://127.0.0.1:1080``http://222.124.154.19:23500`
使用自定義理發送消息(支持 `http``https``socks5`),如 `socks5://127.0.0.1:1080``http://222.124.154.19:23500`
```yml
- name: send message using socks5 proxy URL
@@ -74,18 +74,18 @@
## Secrets
Getting started with [Telegram Bot API](https://core.telegram.org/bots/api).
開始使用 [Telegram Bot API](https://core.telegram.org/bots/api)
* `token`: Telegram authorization token.
* `to`: Unique identifier for this chat.
* `token`: Telegram 授權令牌。
* `to`: 此聊天的唯一標識符。
How to get unique identifier from telegram api:
如何從 telegram api 獲取唯一標識符:
```bash
curl https://api.telegram.org/bot<token>/getUpdates
```
See the result: (get chat id like `65382999`)
查看結果:(獲取聊天 ID,如 `65382999`
```json
{
@@ -118,10 +118,10 @@ See the result: (get chat id like `65382999`)
}
```
## Template variable
## 模板變數
| Github Variable | Telegram Template Variable |
| ----------------- | -------------------------- |
| Github 變數 | Telegram 模板變數 |
| ----------------- | ----------------- |
| GITHUB_REPOSITORY | repo |
| GITHUB_ACTOR | repo.namespace |
| GITHUB_SHA | commit.sha |