Skip to content

Commit

Permalink
Merge pull request #49 from rvanbekkum/feature/48-sync-cross-workspac…
Browse files Browse the repository at this point in the history
…e-folders

Sync. Cross-Workspacefolders
  • Loading branch information
rvanbekkum authored Aug 2, 2020
2 parents 63a0abb + 0d9b9f4 commit 360e26d
Show file tree
Hide file tree
Showing 11 changed files with 268 additions and 755 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [0.4.0] 02-08-2020

* New setting `xliffSync.syncCrossWorkspaceFolders` which can be used to set that the extension should synchronize from one single base file (`xliffSync.baseFile`) to the translation files in all workspace folders (**Default**: `false`) (GitHub issue [#48](https://github.com/rvanbekkum/vsc-xliff-sync/issues/48)).
* Now, if there are multiple matches for `xliffSync.baseFile`, then the user is prompted to select the base file to use.

### Thank You

* **[fvet](https://github.com/fvet)** for requesting support for syncing cross-workspacefolders. (GitHub issue [#48](https://github.com/rvanbekkum/vsc-xliff-sync/issues/48))

## [0.3.8] 31-05-2020

* New setting `xliffSync.parseFromDeveloperNoteOverwrite` which when enabled will overwrite existing translations with the translations parsed from the Developer Note.
Expand All @@ -15,6 +24,10 @@
* New setting `xliffSync.ignoreLineEndingTypeChanges` (GitHub issue [#41](https://github.com/rvanbekkum/vsc-xliff-sync/issues/41))
* New setting `xliffSync.copyFromSourceForLanguages` (GitHub issue [#44](https://github.com/rvanbekkum/vsc-xliff-sync/issues/44))

### Thank You

* **[Lectem](https://github.com/Lectem)** for requesting an option to ignore line ending changes (GitHub issue [#41](https://github.com/rvanbekkum/vsc-xliff-sync/issues/41))

## [0.3.6] 28-02-2020

* Only apply decorations in XLIFF files (not in every editor) (GitHub issue [#39](https://github.com/rvanbekkum/vsc-xliff-sync/issues/39))
Expand All @@ -31,10 +44,18 @@
* 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)).
* Added new setting `xliffSync.parseFromDeveloperNoteSeparator` (default: `|`) accompanying setting `xliffSync.parseFromDeveloperNote` to change the separator for translations.

### Thank You

* **[NilsGruettner](https://github.com/NilsGruettner)** for requesting the _Parse from Developer Note_ feature. (GitHub issue [#37](https://github.com/rvanbekkum/vsc-xliff-sync/issues/37))

## [0.3.4] 12-01-2020

* Changed default value for setting `xliffSync.baseFile` to `.g.xlf` (GitHub issue [#34](https://github.com/rvanbekkum/vsc-xliff-sync/issues/34)).

### Thank You

* **[fvet](https://github.com/fvet)** for requesting the base file to be a pattern by default (GitHub issue [#34](https://github.com/rvanbekkum/vsc-xliff-sync/issues/34))

## [0.3.3] 16-11-2019

* Added notification that shows that an XLIFF Sync is in progress. This notification includes the name of the target file for which a sync is in progress.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Apart from synchronizing trans-units from a base-XLIFF file, this extension cont
| ------- | ------- | ----------- |
| xliffSync.baseFile | `.g.xlf` | Specifies which XLIFF file to use as the base (e.g., the generated XLIFF). If the file does not exist, you will be prompted to specify the file to use as base-XLIFF file the first time you use the Synchronize command. |
| xliffSync.fileType | `xlf` | The file type (`xlf` or `xlf2`). |
| xliffSync.syncCrossWorkspaceFolders | `false` | Specifies whether the extension will sync from a base file to the translation files in all workspace folders. By default, the extension will always sync. per workspace folder. If you enable this setting, then you can have the base file in one workspace folder and target translation files in other workspace folders. |
| xliffSync.missingTranslation | `%EMPTY%` | The placeholder for missing translations for trans-units that were synced/merged into target XLIFF files. You can use `%EMPTY%` if you want to use an empty string for missing translations. |
| xliffSync.findByXliffGeneratorNoteAndSource | `true` | Specifies whether or not the extension will try to find trans-units by XLIFF generator note and source. |
| xliffSync.findByXliffGeneratorAndDeveloperNote | `true` | Specifies whether or not the extension will try to find trans-units by XLIFF generator note and developer note. |
Expand Down
Loading

0 comments on commit 360e26d

Please sign in to comment.