@azu/editable-translator
v2.0.2
Published
ContentEditable + Google Translator.
Downloads
43
Readme
@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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu