mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 18:56:54 +00:00
Update cheatsheets
This commit is contained in:
29
trans
Normal file
29
trans
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# trans
|
||||
|
||||
> Translate Shell is a command-line translator.
|
||||
> More information: <https://github.com/soimort/translate-shell>.
|
||||
|
||||
- Translate a word (language is detected automatically):
|
||||
|
||||
`trans "{{word_or_sentence_to_translate}}"`
|
||||
|
||||
- Get a brief translation:
|
||||
|
||||
`trans --brief "{{word_or_sentence_to_translate}}"`
|
||||
|
||||
- Translate a word into french:
|
||||
|
||||
`trans :{{fr}} {{word}}`
|
||||
|
||||
- Translate a word from German to English:
|
||||
|
||||
`trans {{de}}:{{en}} {{Schmetterling}}`
|
||||
|
||||
- Behave like a dictionary to get the meaning of a word:
|
||||
|
||||
`trans -d {{word}}`
|
||||
Reference in New Issue
Block a user