From 567462a1d36b2e0ad1989cee74f66a319d19c2bb Mon Sep 17 00:00:00 2001 From: Rob van Bekkum Date: Thu, 26 Nov 2020 23:00:01 +0100 Subject: [PATCH] Update README and CHANGELOG for 0.6.0 (#63) --- CHANGELOG.md | 9 +++++++++ README.md | 2 ++ package.json | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be37581..7937043 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [0.6.0] 26-11-2020 + +* New setting `xliffSync.addNeedsWorkTranslationNote` that can be used to change whether an "XLIFF Sync" note should be added to trans-units that are being marked as needs-work by the extension (which are added to explain what was detected) (**Default**: `true`). +* New setting `xliffSync.openExternallyAfterEvent` that can be used to specify whether translation files should be opened automatically with the default XLIFF editor after an event takes place. By default, files will not be opened externally automatically (**Default**: `[]`). +You can set files to be opened externally automatically after: + * Checking translations + * Detecting problems + * Synchronizing translation files + ## [0.5.1] 03-09-2020 * Fix: Do not add `xliffSync.baseFile` setting if there is only a single matching file. diff --git a/README.md b/README.md index 51d968d..546d84c 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,8 @@ Apart from synchronizing trans-units from a base-XLIFF file, this extension cont | xliffSync.copyFromSourceOverwrite | `false` | Specifies whether translations copied from the source text should overwrite existing translations. | | xliffSync.detectSourceTextChanges | `true` | Specifies whether changes in the source text of a trans-unit should be detected. If a change is detected, the target state is changed to needs-adaptation and a note is added to indicate the translation should be reviewed. | | xliffSync.ignoreLineEndingTypeChanges | `false` | Specifies whether changes in line ending type (CRLF vs. LF) should not be considered as changes to the source text of a trans-unit. | +| xliffSync.addNeedsWorkTranslationNote | `true` | Specifies whether an XLIFF Sync note should be added to explain why a trans-unit was marked as needs-work. | +| xliffSync.openExternallyAfterEvent | `[]` | Specifies after which event translation files should be opened automatically with the default XLIFF editor. Options: "Check", "ProblemDetected", "Sync" | | xliffSync.developerNoteDesignation | `Developer` | Specifies the name that is used to designate a developer note. | | xliffSync.xliffGeneratorNoteDesignation | `Xliff Generator` | Specifies the name that is used to designate a XLIFF generator note. | | xliffSync.autoCheckMissingTranslations | `false` | Specifies whether or not the extension should automatically check for missing translations after syncing. | diff --git a/package.json b/package.json index d57dec1..96d6387 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "xliff-sync", "displayName": "XLIFF Sync", "description": "A tool to keep XLIFF translation files in sync.", - "version": "0.5.1", + "version": "0.6.0", "publisher": "rvanbekkum", "repository": { "type": "git",