Skip to content

Conversation

@heralight
Copy link

see README,

  • add Javascript, typescript extension
  • srclang and tolang, ext, cmd parameter
  • update google translate call to new api (old is discontinue)

…ters

see README,

* add Javascript, typescript extension
* srclang and tolang, ext, cmd parameter
* update google translate call to new api (old is discontinue)
url = 'https://translate.googleapis.com/translate_a/single?'

params = []
params.append('client=gtx')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you document these parameters?

scan_dir(target)
else:
scan_file(target)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this was an issue in the original source code, not your patch, but can you remove all but the last newline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants