Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
yanxiaodi committed May 9, 2022
1 parent 74c3a05 commit d77882d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d77882d

Please sign in to comment.