Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kabeep committed Sep 1, 2024
1 parent 246b1b2 commit a313d51
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,23 +200,23 @@ translate 'Translate this sentence to your clipboard' | clipboard
git commit -m "$(translate 'feat: your commit content' -t zh)"
```

![Alt](docs/images/advanced-usage-alpha.png "Using the static accessor method")
![Alt](docs/images/advanced-usage-accessor.png "Using the static accessor method")

#### Using the pipe `|` symbol

```shell
npm info npm description | translate -t zh
```

![Alt](docs/images/advanced-usage-beta.png "Using the pipe | symbol")
![Alt](docs/images/advanced-usage-pipe.png "Using the pipe | symbol")

#### Using the redirection `>` symbol

```shell
translate "这是一段测试文本。" -t en > usage.txt
```

![Alt](docs/images/advanced-usage-gamma.png "Using the redirection > symbol")
![Alt](docs/images/advanced-usage-redirection.png "Using the redirection > symbol")

## 🔧 Autocorrect

Expand Down
6 changes: 3 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,23 +201,23 @@ translate 'Translate this sentence to your clipboard' | clipboard
git commit -m "$(translate 'feat: your commit content' -t zh)"
```

![Alt](docs/images/advanced-usage-alpha.png "Using the static accessor method")
![Alt](docs/images/advanced-usage-accessor.png "Using the static accessor method")

#### 使用管道 `|` 符号

```shell
npm info npm description | translate -t zh
```

![Alt](docs/images/advanced-usage-beta.png "Using the pipe | symbol")
![Alt](docs/images/advanced-usage-pipe.png "Using the pipe | symbol")

#### 使用重定向 `>` 符号

```shell
translate "这是一段测试文本。" -t en > usage.txt
```

![Alt](docs/images/advanced-usage-gamma.png "Using the redirection > symbol")
![Alt](docs/images/advanced-usage-redirection.png "Using the redirection > symbol")

## 🔧 自动修正

Expand Down
File renamed without changes
Binary file removed docs/images/advanced-usage-beta.png
Binary file not shown.
Binary file removed docs/images/advanced-usage-gamma.png
Binary file not shown.
Binary file added docs/images/advanced-usage-pipe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/advanced-usage-redirection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a313d51

Please sign in to comment.