Skip to content

Commit

Permalink
Renamed NetworkTimeSync to NTP
Browse files Browse the repository at this point in the history
  • Loading branch information
akunzai committed Jan 21, 2023
1 parent ff6b71c commit 263a72c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rules/NetworkTimeSync.psm1 → rules/NTP.psm1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$i18n = Data {
# culture="en-US"
ConvertFrom-StringData @'
NetworkTimeSync = Network Time Sync
NTP = Network Time Protocol
WindowsTimeServiceStarted = Windows Time Service Started
'@
}
Expand All @@ -16,7 +16,7 @@ function Test($config) {
Write-UnsupportedPlatform($ruleName)
return
}
Write-Output "`n## $($i18n.NetworkTimeSync)`n"
Write-Output "`n## $($i18n.NTP)`n"
# https://learn.microsoft.com/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings
$pinfo = New-Object System.Diagnostics.ProcessStartInfo
$pinfo.FileName = "w32tm"
Expand Down
2 changes: 1 addition & 1 deletion rules/zh-TW/NetworkTimeSync.psd1 → rules/zh-TW/NTP.psd1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# culture="zh-TW"
ConvertFrom-StringData -StringData @'
NetworkTimeSync = 網路校時
NTP = 網路校時
WindowsTimeServiceStarted = Windows 時間同步服務已啟動
'@

0 comments on commit 263a72c

Please sign in to comment.