2.0.2 • Published 3 years ago

@azu/editable-translator v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@azu/editable-translator

ContentEditable + Google Translator.

  • Edit original content and translate it again
  • This tool support pre-editor for translate

For more details, See 自動翻訳大全 終わらない英語の仕事が5分で片づく超英語術.

Install

Install with npm:

npm install @azu/editable-translator

Usage

You can get a bookmarklet via following page.

Usage

  • Run bookmarklet: translate page
  • Double Shift: Toggle edit and translate mode
  • Escape: Leave edit mode and Translate the page again

API

(async function main(){
    const { run } = await import("https://cdn.skypack.dev/@azu/editable-translator");
    run();
})();

Test

Run playground

yarn dev

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago