diff --git a/CHANGELOG.md b/CHANGELOG.md index fa1c79c..8795995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,11 @@ # Change Log -All notable changes to the "translator-helper" extension will be documented in this file. - -Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. - -## [0.3.0] +## [0.3.0] - 2022-05-09 - Automatically copy the translated text to clipboard for the `translate` command. -- Support selection hover translation. You can select a word or a sentence, then you will see a popup with the translated text. You can turn off this feature in the settings. +- Support selection hover translation. You can select a word or a sentence, then you will see a popup with the translated text. Click **Copy** to copy the translated text. You can turn off this feature in the settings. -## [0.2.0] +## [0.2.0] - 2022-05-08 - Update dependencies. diff --git a/README.md b/README.md index 1c22b4d..6e34498 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ This extension contributes the following settings: - `translatorHelper.api`: Specify the translate API. Options: `google`, `google-cn`. - `translatorHelper.sourceLanguage`: The source language code. The default value is `en`. - `translatorHelper.targetLanguage`: The target language code. The default value is `zh-CN`. +- `translatorHelper.enableSelectionHoverTranslation`: Whether to enable selection and hover translation. The default value is `true`. The source and target languages are identified using the [iso-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) codes. For example, the source language is English (en) and the target language is Chinese-Simplified (zh-CN). You can find all the supported languages here: [Language support](https://cloud.google.com/translate/docs/languages)