Skip to content

Commit 3165c36

Browse files
committed
Refactor Write-Host command for improved readability. Fix Error: "Unable to match the
identifier name es-ES, from core module to a valid enumerator name. Specify one of the following enumerator names and try again"
1 parent 8c1ff80 commit 3165c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Private/Initialize-LocalizedData.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function Initialize-LocalizedData {
205205
if ($TargetCulture -ne $Culture.Name) {
206206
Write-Warning -Message ("Setting language to '{0}' (fallback from '{1}'){2}." -f $TargetCulture, $Culture.Name, $PathInfo)
207207
} else {
208-
Write-Host "Setting language to '{0}'{1}" -f $TargetCulture, $PathInfo -ForegroundColor Green
208+
Write-Host ("Setting language to '{0}'{1}" -f $TargetCulture, $PathInfo) -ForegroundColor Green
209209
}
210210

211211
# Mark this combination as already shown

0 commit comments

Comments
 (0)