Skip to content

Commit

Permalink
Document xliffSync.decorationTargetTextOnly + Update Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanbekkum committed Feb 28, 2020
1 parent 7c07ceb commit 911bbfd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.3.6] 28-02-2019

* Only apply decorations in XLIFF files (not in every editor) (GitHub issue [#39](https://github.com/rvanbekkum/vsc-xliff-sync/issues/39))
* Reload settings (i.e., `"xliffSync.decoration"`, `"xliffSync.decorationEnabled"`, `"xliffSync.decorationTargetTextOnly"`, `"xliffSync.missingTranslation"`) when switching active editor
* Add new setting `"xliffSync.decorationTargetTextOnly"` to have decorations only be applied to the target node's text, if enabled.
* Change highlight-update interval from 1 to 500 (ms)

### Thank You

* **[GregoryAA](https://github.com/GregoryAA)** for reporting the issues with decorations. (GitHub issue [#39](https://github.com/rvanbekkum/vsc-xliff-sync/issues/39))

## [0.3.5] 25-02-2019

* Added new setting `xliffSync.parseFromDeveloperNote` (default: false) to have translations parsed from the Developer note if no matching trans-units or translations can be found. Translations can be retrieved from a Developer note in the following format: `en-US=My translation|nl-NL=Mijn vertaling` (GitHub issue [#37](https://github.com/rvanbekkum/vsc-xliff-sync/issues/37)).
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Apart from synchronizing trans-units from a base-XLIFF file, this extension cont
| xliffSync.replaceTranslationsDuringImport | `false` | Specifies whether existing translations will be replaced when the XLIFF: Import Translations from File(s) command is run. |
| xliffSync.decoration | `{"backgroundColor": "rgba(240, 210, 105, 0.35)", "overviewRulerColor": "rgba(240, 210, 105, 0.35)", "border": "1px solid white", "borderRadius": "4px"}` | Specifies how to highlight missing translations or translations that need work in an XLIFF file opened in the editor. |
| xliffSync.decorationEnabled | `true` | Specifies whether decorations for missing translations and translations that need work should be applied. |
| xliffSync.decorationTargetTextOnly | `false` | Specifies whether decorations for missing translations and translations that need work should only be applied to the target text. |

## Usage

Expand Down

0 comments on commit 911bbfd

Please sign in to comment.