Skip to content

Commit

Permalink
Bump node-translate 1.1.1 to 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kabeep committed May 8, 2024
1 parent 7194245 commit 57104d2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ echo "test" | translate -f en -t zh
translate "test" --from=en --to=zh
```

#### Using language name and capitalized correction

```shell
translate "test" --from="ENGLISH" --to="chinese"
```

#### Adaptive source language

```shell
Expand Down
6 changes: 6 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ echo "test" | translate -f en -t zh
translate "test" --from=en --to=zh
```

#### 使用语言名称和大小写修正

```shell
translate "test" --from="ENGLISH" --to="chinese"
```

#### 自适应原文语言

```shell
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@kabeep/exception": "^1.2.3",
"@kabeep/node-translate": "^1.1.1",
"@kabeep/node-translate": "^1.1.2",
"ora": "^8.0.1",
"os-locale": "^6.0.2",
"yargs": "^17.7.2"
Expand Down

0 comments on commit 57104d2

Please sign in to comment.