Skip to content

Commit

Permalink
Default value for basefile setting to .g.xlf (#36)
Browse files Browse the repository at this point in the history
* Change default of xliffSync.baseFile to .g.xlf

* Updated CHANGELOG and README for 0.3.4
  • Loading branch information
rvanbekkum authored Jan 12, 2020
1 parent 0f6a321 commit 0f1ce37
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.3.4] 12-01-2019

* Changed default value for setting `xliffSync.baseFile` to `.g.xlf` (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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Apart from synchronizing trans-units from a base-XLIFF file, this extension cont

| Setting | Default | Explanation |
| ------- | ------- | ----------- |
| xliffSync.baseFile | `application.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.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.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. |
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "xliff-sync",
"displayName": "XLIFF Sync",
"description": "A tool to keep XLIFF translation files in sync.",
"version": "0.3.3",
"version": "0.3.4",
"publisher": "rvanbekkum",
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,7 +42,7 @@
"properties": {
"xliffSync.baseFile": {
"type": "string",
"default": "application.g.xlf",
"default": ".g.xlf",
"description": "Specifies the base XLIFF translation file.",
"scope": "resource"
},
Expand Down

0 comments on commit 0f1ce37

Please sign in to comment.