Skip to content

Releases: rvanbekkum/ps-xliff-sync

1.10.0

10 Jan 15:35
Compare
Choose a tag to compare
  • Changed severity of the "There are no target translation files" message in Test-BcAppXliffTranslations to be based on the -AzureDevOps parameter.

Thank You (for 1.10.0)

1.9.0

19 May 12:55
Compare
Choose a tag to compare
  • Added -useSelfClosingTags parameter to the Sync-XliffTranslations command (GitHub issue #38)
  • Added -processAppFoldersSortedByDependencies parameter to the Test-BcAppXliffTranslations command.

Thank You (for 1.9.0)

1.8.0

19 May 12:54
Compare
Choose a tag to compare
  • Added -parseFromDeveloperNoteTrimCharacters parameter to the Sync-XliffTranslations command (GitHub issue #39)

Thank You (for 1.8.0)

1.7.0

31 May 08:08
Compare
Choose a tag to compare
  • Fix for "attribute target-language cannot be found" bug by Timotheus Pokorra (GitHub issue #30)
  • Fix for SetXliffSyncNote method which inserted the source-node another time when whitespace should not be preserved.

Thank You (for 1.7.0)

1.6.0

09 Feb 20:47
Compare
Choose a tag to compare
  • Fixed missing Write-Host "##[endgroup]" in Test-BcAppXliffTranslations
  • Support for multi-character -parseFromDeveloperNoteSeparator by David FeldHoff
  • Changed default value for parameter -FormatTranslationUnit in Test-BcAppXliffTranslations to show both the Xliff Generator note and XLIFF Sync note for detected problems.

Thank You (for 1.6.0)

1.5.0

07 Dec 14:17
Compare
Choose a tag to compare
  • Added -FormatTranslationUnit parameter to Test-XliffTranslations function. (GitHub issue #21)
  • Added -FormatTranslationUnit parameter to Sync-XliffTranslations and Test-BcAppXliffTranslations functions. The latter has a default value that will print the AL object/field/action/control concerned. (GitHub issue #21)
  • Write parameters when -Verbose switch is used with Sync-XliffTranslations or Test-XliffTranslations functions.
  • Use List[] instead of array(s) in the Test-XliffTranslations function. (GitHub issue #18)
  • Use List[] instead of array(s) in the Sync-XliffTranslations function. (GitHub issue #18)
  • Added parameters -syncAdditionalParameters and -testAdditionalParameters to Test-BcAppXliffTranslations function. (GitHub issue #22)
  • Fixed detected source text changes not being included in the detected issues.

Thank You (for 1.5.0)

1.4.0

29 Nov 16:19
Compare
Choose a tag to compare
  • Changes in usage of Resolve-Path for scenarios where the -targetLanguage parameter of Sync-XliffTranslations is used.
  • Added formatting settings (.vscode/settings.json) for PowerShell formatting (GitHub issue #23)

Thank You (for 1.4.0)

1.3.0

29 Sep 14:20
Compare
Choose a tag to compare
  • Renamed functions to adhere to approved verbs and added aliases to still support the old function names (GitHub issue #10)
  • New function Test-BcAppXliffTranslations, to be used for checking translations in a build pipeline for Microsoft Dynamics 365 Business Central apps. This function uses the Sync-XliffTranslations and Test-XliffTranslations functions to check for problems in all translation files of the BC app workspace folder.
  • Add Resolve-Path for loading XLIFF files from or saving them to a filepath. (GitHub issue #6)
  • Abort if file-load failed. (GitHub issue #5)
  • Updated README with Installation instruction.

1.1.0: Merge pull request #4 from rvanbekkum/develop

06 Mar 22:13
a196985
Compare
Choose a tag to compare

Changelog

  • Fix for findByXliffGeneratorNoteAndSourceText throwing error on variable not being found.
  • Fix for incorrect assumption of xml:space="preserve" which would lead to errors in an attempt to insert whitespace/nodes.
  • Fix/Improvement: Find by source (and developer note) would take the first unit with the same source text even if that unit did not have a translation, now it takes the first unit with the same source text with a translation to reuse translations.
  • Command Check-XliffTranslations now returns the units that contain problems as an array. Useful if you want to do something with the outputs, e.g., extract/show more information or completely fail your build pipeline if any problems are found.

Thank You