v2.0.1

Changelog: https://gerrit.avm99963.com/plugins/gitiles/translateselectedtext/+log/refs/tags/v2.0.0..refs/tags/v2.0.1
[MV2] Temporary fix for the unique tab feature

The unique tab feature doesn't work correctly in the MV2 variant of the
extension.

This CL fixes this by changing how the data managed by the
sessionStorage class is stored in the MV2 variant:

- Before, it was saved in the window object, which was erased each time
  the background script was turned inactive by the browser. This
  behavior was fine for most data, but not for the "translatorTab" data,
  which is why there was this bug.
- Now, it's saved in the persisted "local" storage area. For more
  information about this behavior, read the comment added to the
  //src/common/sessionStorage_mv2.js file.

Fixed: twpowertools:18
Change-Id: Ie3979937f4bd0699b57506666beace3ffe00172a
2 files changed
tree: 7f01d90ce1f2cc9b663b2a51a35caf9213952bbd
  1. .github/
  2. docs/
  3. playbooks/
  4. roles/
  5. src/
  6. templates/
  7. tools/
  8. .clang-format
  9. .editorconfig
  10. .eslintrc.js
  11. .gitignore
  12. .gitreview
  13. .jsbeautifyrc
  14. .zuul.yaml
  15. LICENSE
  16. Makefile
  17. OWNERS
  18. package-lock.json
  19. package.json
  20. README.md
  21. tagRelease.bash
  22. tsconfig.json
  23. webpack.config.js
README.md

translateselectedtext

Available in the Chrome Web Store Get it for Microsoft Edge

The source code of the Chrome "Translate Selected Text" extension.

Do you want to help to translate this extension's UI?

If you want to help bring this extension into your native language, you can, and I would really appreciate it! Just go to the following website and start translating :)

Crowdin

Bugs

Please, report any bugs or feature sugestions in our issue tracker: https://bugs.avm99963.com/p/translateselectedtext.

Beta version

As this extension has so many users, I've decided to upload a Beta version of the extension to the Chrome Web Store so I can test it before uploading any update to the stable version! This way I can make sure that the stable version of the extension is 100% bug-free.

If you want to test the bleeding edge of this extension before everybody else, join the Google Group and download the extension (there may be bugs, you've been warned):

Special thanks

Special thanks to:

  • All the users who use the extension every day and who trust the model of developing simple extensions which do not request any privacy-breaking permissions.
  • All the users who have contributed translations. You rock!

Contributing

If you want to contribute to the development of the extension, you're more than welcome! The documentation for this project is currently very poor, but please open an issue in the issue tracker if you're willing to contribute and I'll make sure to prioritize writing the documentation for this extension!