Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Jan 8, 2024
1 parent 316ddfd commit 5694ee3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public static string GetString(uint strId)
# Check whether Get-WindowsEdition cmdlet is working
try
{
[void](Get-WindowsEdition -Online)
Get-WindowsEdition -Online
}
catch [System.Runtime.InteropServices.COMException]
{
Expand All @@ -331,7 +331,7 @@ public static string GetString(uint strId)
if ((Get-Service -Name EventLog).Status -eq "Stopped")
{
# Extract the localized "Event Viewer" string from shell32.dll
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029))
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029)))

Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
Expand Down
4 changes: 2 additions & 2 deletions src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public static string GetString(uint strId)
# Check whether Get-WindowsEdition cmdlet is working
try
{
[void](Get-WindowsEdition -Online)
Get-WindowsEdition -Online
}
catch [System.Runtime.InteropServices.COMException]
{
Expand All @@ -231,7 +231,7 @@ public static string GetString(uint strId)
if ((Get-Service -Name EventLog).Status -eq "Stopped")
{
# Extract the localized "Event Viewer" string from shell32.dll
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029))
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029)))

Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
Expand Down
4 changes: 2 additions & 2 deletions src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public static string GetString(uint strId)
# Check whether Get-WindowsEdition cmdlet is working
try
{
[void](Get-WindowsEdition -Online)
Get-WindowsEdition -Online
}
catch [System.Runtime.InteropServices.COMException]
{
Expand All @@ -231,7 +231,7 @@ public static string GetString(uint strId)
if ((Get-Service -Name EventLog).Status -eq "Stopped")
{
# Extract the localized "Event Viewer" string from shell32.dll
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029))
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029)))

Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public static string GetString(uint strId)
# Check whether Get-WindowsEdition cmdlet is working
try
{
[void](Get-WindowsEdition -Online)
Get-WindowsEdition -Online
}
catch [System.Runtime.InteropServices.COMException]
{
Expand All @@ -327,7 +327,7 @@ public static string GetString(uint strId)
if ((Get-Service -Name EventLog).Status -eq "Stopped")
{
# Extract the localized "Event Viewer" string from shell32.dll
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029))
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029)))

Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
Expand Down
4 changes: 2 additions & 2 deletions src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public static string GetString(uint strId)
# Check whether Get-WindowsEdition cmdlet is working
try
{
[void](Get-WindowsEdition -Online)
Get-WindowsEdition -Online
}
catch [System.Runtime.InteropServices.COMException]
{
Expand All @@ -319,7 +319,7 @@ public static string GetString(uint strId)
if ((Get-Service -Name EventLog).Status -eq "Stopped")
{
# Extract the localized "Event Viewer" string from shell32.dll
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029))
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029)))

Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public static string GetString(uint strId)
# Check whether Get-WindowsEdition cmdlet is working
try
{
[void](Get-WindowsEdition -Online)
Get-WindowsEdition -Online
}
catch [System.Runtime.InteropServices.COMException]
{
Expand All @@ -315,7 +315,7 @@ public static string GetString(uint strId)
if ((Get-Service -Name EventLog).Status -eq "Stopped")
{
# Extract the localized "Event Viewer" string from shell32.dll
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029))
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStr]::GetString(22029)))

Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
Expand Down

0 comments on commit 5694ee3

Please sign in to comment.