diff --git a/.local/bin/trans b/.local/bin/trans index 30a5372..e25585a 100755 --- a/.local/bin/trans +++ b/.local/bin/trans @@ -16,7 +16,7 @@ ENDPOINT='https://api-free.deepl.com/v2/translate' source="${1:-DE}" -target="${1:-EN-US}" +target="${2:-EN-US}" curl -sS "$ENDPOINT" \ -H "Authorization: DeepL-Auth-Key $DEEPL_API_TOKEN" \