Skip to content

Commit e295481

Browse files
committed
chore: ✏️ Update localization strings for clarity
* Removed unnecessary backticks in localization strings. * Improved formatting in `Messages.psd1` and `PowerShellBuild.psm1` for consistency.
1 parent 1262237 commit e295481

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## Unreleased
9+
10+
- Remove extra backticks during localization text migration.
11+
812
## [0.7.3] 2025-08-01
913

1014
### Added

PowerShellBuild/PowerShellBuild.psm1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ foreach ($import in $public + $private) {
99
}
1010
}
1111

12-
data LocalizedData {
12+
data LocalizedData {
1313
# Load here in case Import-LocalizedData is not available
1414
ConvertFrom-StringData @'
1515
NoCommandsExported=No commands have been exported. Skipping markdown generation.
1616
FailedToGenerateMarkdownHelp=Failed to generate markdown help. : {0}
1717
AddingFileToPsm1=Adding [{0}] to PSM1
1818
MakeCabNotAvailable=MakeCab.exe is not available. Cannot create help cab.
1919
DirectoryAlreadyExists=Directory already exists [{0}].
20-
PathLongerThan3Chars=`$Path [{0}] must be longer than 3 characters.
20+
PathLongerThan3Chars=Path [{0}] must be longer than 3 characters.
2121
BuildSystemDetails=Build System Details:
22-
BuildModule=Build Module: {0}`:{1}
22+
BuildModule=Build Module: {0}:{1}
2323
PowerShellVersion=PowerShell Version: {0}
24-
EnvironmentVariables={0}`Environment variables:
24+
EnvironmentVariables={0}Environment variables:
2525
PublishingVersionToRepository=Publishing version [{0}] to repository [{1}]...
2626
FolderDoesNotExist=Folder does not exist: {0}
2727
PathArgumentMustBeAFolder=The Path argument must be a folder. File paths are not allowed.

PowerShellBuild/en-US/Messages.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ FailedToGenerateMarkdownHelp=Failed to generate markdown help. : {0}
44
AddingFileToPsm1=Adding [{0}] to PSM1
55
MakeCabNotAvailable=MakeCab.exe is not available. Cannot create help cab.
66
DirectoryAlreadyExists=Directory already exists [{0}].
7-
PathLongerThan3Chars=`$Path [{0}] must be longer than 3 characters.
7+
PathLongerThan3Chars=Path [{0}] must be longer than 3 characters.
88
BuildSystemDetails=Build System Details:
9-
BuildModule=Build Module: {0}`:{1}
9+
BuildModule=Build Module: {0}:{1}
1010
PowerShellVersion=PowerShell Version: {0}
11-
EnvironmentVariables={0}`Environment variables:
11+
EnvironmentVariables={0}Environment variables:
1212
PublishingVersionToRepository=Publishing version [{0}] to repository [{1}]...
1313
FolderDoesNotExist=Folder does not exist: {0}
1414
PathArgumentMustBeAFolder=The Path argument must be a folder. File paths are not allowed.

0 commit comments

Comments
 (0)