From e295481c56f05c2fb4eacdd2605aabb3645598e3 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Fri, 1 Aug 2025 17:22:49 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20=E2=9C=8F=EF=B8=8F=20Update=20localiza?= =?UTF-8?q?tion=20strings=20for=20clarity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Removed unnecessary backticks in localization strings. * Improved formatting in `Messages.psd1` and `PowerShellBuild.psm1` for consistency. --- CHANGELOG.md | 4 ++++ PowerShellBuild/PowerShellBuild.psm1 | 8 ++++---- PowerShellBuild/en-US/Messages.psd1 | 6 +++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 399babc..e0dc162 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## Unreleased + +- Remove extra backticks during localization text migration. + ## [0.7.3] 2025-08-01 ### Added diff --git a/PowerShellBuild/PowerShellBuild.psm1 b/PowerShellBuild/PowerShellBuild.psm1 index 87a2200..0d4e7fa 100644 --- a/PowerShellBuild/PowerShellBuild.psm1 +++ b/PowerShellBuild/PowerShellBuild.psm1 @@ -9,7 +9,7 @@ foreach ($import in $public + $private) { } } -data LocalizedData { +data LocalizedData { # Load here in case Import-LocalizedData is not available ConvertFrom-StringData @' NoCommandsExported=No commands have been exported. Skipping markdown generation. @@ -17,11 +17,11 @@ FailedToGenerateMarkdownHelp=Failed to generate markdown help. : {0} AddingFileToPsm1=Adding [{0}] to PSM1 MakeCabNotAvailable=MakeCab.exe is not available. Cannot create help cab. DirectoryAlreadyExists=Directory already exists [{0}]. -PathLongerThan3Chars=`$Path [{0}] must be longer than 3 characters. +PathLongerThan3Chars=Path [{0}] must be longer than 3 characters. BuildSystemDetails=Build System Details: -BuildModule=Build Module: {0}`:{1} +BuildModule=Build Module: {0}:{1} PowerShellVersion=PowerShell Version: {0} -EnvironmentVariables={0}`Environment variables: +EnvironmentVariables={0}Environment variables: PublishingVersionToRepository=Publishing version [{0}] to repository [{1}]... FolderDoesNotExist=Folder does not exist: {0} PathArgumentMustBeAFolder=The Path argument must be a folder. File paths are not allowed. diff --git a/PowerShellBuild/en-US/Messages.psd1 b/PowerShellBuild/en-US/Messages.psd1 index 0d45520..3662452 100644 --- a/PowerShellBuild/en-US/Messages.psd1 +++ b/PowerShellBuild/en-US/Messages.psd1 @@ -4,11 +4,11 @@ FailedToGenerateMarkdownHelp=Failed to generate markdown help. : {0} AddingFileToPsm1=Adding [{0}] to PSM1 MakeCabNotAvailable=MakeCab.exe is not available. Cannot create help cab. DirectoryAlreadyExists=Directory already exists [{0}]. -PathLongerThan3Chars=`$Path [{0}] must be longer than 3 characters. +PathLongerThan3Chars=Path [{0}] must be longer than 3 characters. BuildSystemDetails=Build System Details: -BuildModule=Build Module: {0}`:{1} +BuildModule=Build Module: {0}:{1} PowerShellVersion=PowerShell Version: {0} -EnvironmentVariables={0}`Environment variables: +EnvironmentVariables={0}Environment variables: PublishingVersionToRepository=Publishing version [{0}] to repository [{1}]... FolderDoesNotExist=Folder does not exist: {0} PathArgumentMustBeAFolder=The Path argument must be a folder. File paths are not allowed.