Skip to content

Commit 1560a64

Browse files
committed
Update localized strings for Get-SqlDscSetupLog command to improve clarity and consistency
1 parent 89c9931 commit 1560a64

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

source/Public/Get-SqlDscSetupLog.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Get-SqlDscSetupLog
4848

4949
$setupLogFileName = 'Summary.txt'
5050

51-
Write-Verbose -Message ($script:localizedData.SetupLog_SearchingForFile -f $setupLogFileName, $Path)
51+
Write-Verbose -Message ($script:localizedData.Get_SqlDscSetupLog_SearchingForFile -f $setupLogFileName, $Path)
5252

5353
<#
5454
Find the most recent Summary.txt file from Setup Bootstrap\Log directories.
@@ -67,17 +67,17 @@ function Get-SqlDscSetupLog
6767

6868
if ($summaryFiles)
6969
{
70-
Write-Verbose -Message ($script:localizedData.SetupLog_FileFound -f $summaryFiles.FullName)
70+
Write-Verbose -Message ($script:localizedData.Get_SqlDscSetupLog_FileFound -f $summaryFiles.FullName)
7171

72-
$output += $script:localizedData.SetupLog_Header -f $setupLogFileName, $summaryFiles.FullName
72+
$output += $script:localizedData.Get_SqlDscSetupLog_Header -f $setupLogFileName, $summaryFiles.FullName
7373
$output += Get-Content -Path $summaryFiles.FullName
74-
$output += $script:localizedData.SetupLog_Footer -f $setupLogFileName
74+
$output += $script:localizedData.Get_SqlDscSetupLog_Footer -f $setupLogFileName
7575

7676
return $output
7777
}
7878
else
7979
{
80-
Write-Verbose -Message ($script:localizedData.SetupLog_FileNotFound -f $setupLogFileName)
80+
Write-Verbose -Message ($script:localizedData.Get_SqlDscSetupLog_FileNotFound -f $setupLogFileName)
8181

8282
return $null
8383
}

source/en-US/SqlServerDsc.strings.psd1

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,9 @@ ConvertFrom-StringData @'
528528
ConvertTo_FormattedParameterDescription_NoParametersToUpdate = (no parameters to update)
529529
530530
## Get-SqlDscSetupLog
531-
SetupLog_SearchingForFile = Searching for '{0}' in path '{1}'.
532-
SetupLog_FileFound = Found setup log file at '{0}'.
533-
SetupLog_FileNotFound = Setup log file '{0}' not found.
534-
SetupLog_Header = ==== SQL Server Setup {0} (from {1}) ====
535-
SetupLog_Footer = ==== End of {0} ====
536-
SetupLog_NoFileFound = No {0} file found.
531+
Get_SqlDscSetupLog_SearchingForFile = Searching for '{0}' in path '{1}'. (GSDSL0001)
532+
Get_SqlDscSetupLog_FileFound = Found setup log file at '{0}'. (GSDSL0002)
533+
Get_SqlDscSetupLog_FileNotFound = Setup log file '{0}' not found. (GSDSL0003)
534+
Get_SqlDscSetupLog_Header = ==== SQL Server Setup {0} (from {1}) ==== (GSDSL0004)
535+
Get_SqlDscSetupLog_Footer = ==== End of {0} ==== (GSDSL0005)
537536
'@

0 commit comments

Comments
 (0)