From 475885cb016e987a43c5433b0e8a03f7decbc5a1 Mon Sep 17 00:00:00 2001 From: Michael Berger Date: Sun, 23 May 2021 07:04:21 +0200 Subject: [PATCH] xRemoteFile: Fix inconsistencies in messages for en-us (#717) * Fix message inconsistencies * Add entry in CHANGELOG.md --- CHANGELOG.md | 2 ++ .../en-us/DSC_xRemoteFile.strings.psd1 | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed8381064..6abd7ccaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- xRemoteFile + - Fixed message inconsistencies in `DSC_xRemoteFile.strings.psd1` - Fixes [Issue #716](https://github.com/dsccommunity/xPSDesiredStateConfiguration/issues/716). - xPSDesiredStateConfiguration - Fixed build failures caused by changes in `ModuleBuilder` module v1.7.0 by changing `CopyDirectories` to `CopyPaths` - Fixes [Issue #687](https://github.com/dsccommunity/xPSDesiredStateConfiguration/issues/687). diff --git a/source/DSCResources/DSC_xRemoteFile/en-us/DSC_xRemoteFile.strings.psd1 b/source/DSCResources/DSC_xRemoteFile/en-us/DSC_xRemoteFile.strings.psd1 index 34db460af..b0942b385 100644 --- a/source/DSCResources/DSC_xRemoteFile/en-us/DSC_xRemoteFile.strings.psd1 +++ b/source/DSCResources/DSC_xRemoteFile/en-us/DSC_xRemoteFile.strings.psd1 @@ -6,15 +6,15 @@ ConvertFrom-StringData @' FileExistsInDestinationPath=File '{0}' exists in DestinationPath. DestinationPathUnknownType=DestinationPath '{0}' has unknown type '{1}'. DestinationPathDoesNotExist=DestinationPath '{0}' doesn't exist on the machine. - InvalidWebUriError=Specified URI is not valid: "{0}". Only http, https or file paths are accepted. - InvalidDestinationPathSchemeError=Specified DestinationPath is not valid: "{0}". DestinationPath should be absolute path. - DestinationPathIsUncError=Specified DestinationPath is not valid: "{0}". DestinationPath should be local path instead of UNC path. - DestinationPathHasInvalidCharactersError=Specified DestinationPath is not valid: "{0}". DestinationPath should be contains following characters: * ? " < > | - DestinationPathEndsWithInvalidCharacterError=Specified DestinationPath is not valid: "{0}". DestinationPath should not end with / or \\ - DownloadOutOfMemoryException=Invoking web request failed with OutOfMemoryException- Possible cause is the requested file being too big. {0} + InvalidWebUriError=Specified Uri is not valid: '{0}'. Only http, https or file paths are accepted. + InvalidDestinationPathSchemeError=Specified DestinationPath is not valid: '{0}'. DestinationPath should be absolute path. + DestinationPathIsUncError=Specified DestinationPath is not valid: '{0}'. DestinationPath should be local path instead of UNC path. + DestinationPathHasInvalidCharactersError=Specified DestinationPath is not valid: '{0}'. DestinationPath should be contains following characters: * ? " < > | + DestinationPathEndsWithInvalidCharacterError=Specified DestinationPath is not valid: '{0}'. DestinationPath should not end with / or \\ + DownloadOutOfMemoryException=Invoking web request failed with OutOfMemoryException. Possible cause is the requested file being too big. {0} DownloadException=Invoking web request failed with error. {0} DownloadingURI=Downloading '{1}' to '{0}'. - DownloadingFailedRetry=Download of '{0}' failed on attempt {1} with this error: {2} + DownloadingFailedRetry=Download of '{0}' failed on attempt {1} with error. {2} CacheReflectsCurrentState=Cache reflects current state. No need for downloading file. CacheIsEmptyOrNotMatchCurrentState=Cache is empty or it doesn't reflect current state. File will be downloaded. MatchSourceFalse=MatchSource is false. No need for downloading file.