diff --git a/Sophia/LTSC/Module/Sophia.psm1 b/Sophia/LTSC/Module/Sophia.psm1 index f2a17972..e755c436 100644 --- a/Sophia/LTSC/Module/Sophia.psm1 +++ b/Sophia/LTSC/Module/Sophia.psm1 @@ -5750,14 +5750,14 @@ function NetworkDiscovery .PARAMETER Automatically Automatically adjust active hours for me based on daily usage - .PARAMETER Manual + .PARAMETER Manually Manually adjust active hours for me based on daily usage .EXAMPLE ActiveHours -Automatically .EXAMPLE - ActiveHours -Manual + ActiveHours -Manually .NOTES Machine-wide @@ -5775,10 +5775,10 @@ function ActiveHours [Parameter( Mandatory = $true, - ParameterSetName = "Manual" + ParameterSetName = "Manually" )] [switch] - $Manual + $Manually ) switch ($PSCmdlet.ParameterSetName) @@ -5787,7 +5787,7 @@ function ActiveHours { New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name SmartActiveHoursState -PropertyType DWord -Value 1 -Force } - "Manual" + "Manually" { New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name SmartActiveHoursState -PropertyType DWord -Value 0 -Force } @@ -8025,7 +8025,7 @@ function RunAsDifferentUserContext ParameterSetName = "Hide" )] [switch] - $Remove + $Hide ) switch ($PSCmdlet.ParameterSetName) diff --git a/Sophia/PowerShell 5.1/Module/Sophia.psm1 b/Sophia/PowerShell 5.1/Module/Sophia.psm1 index 6d6808d7..c78d825e 100644 --- a/Sophia/PowerShell 5.1/Module/Sophia.psm1 +++ b/Sophia/PowerShell 5.1/Module/Sophia.psm1 @@ -7003,14 +7003,14 @@ function NetworkDiscovery .PARAMETER Automatically Automatically adjust active hours for me based on daily usage - .PARAMETER Manual + .PARAMETER Manually Manually adjust active hours for me based on daily usage .EXAMPLE ActiveHours -Automatically .EXAMPLE - ActiveHours -Manual + ActiveHours -Manually .NOTES Machine-wide @@ -7028,10 +7028,10 @@ function ActiveHours [Parameter( Mandatory = $true, - ParameterSetName = "Manual" + ParameterSetName = "Manually" )] [switch] - $Manual + $Manually ) switch ($PSCmdlet.ParameterSetName) @@ -7040,7 +7040,7 @@ function ActiveHours { New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name SmartActiveHoursState -PropertyType DWord -Value 1 -Force } - "Manual" + "Manually" { New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name SmartActiveHoursState -PropertyType DWord -Value 0 -Force } @@ -7803,7 +7803,7 @@ function WSL Write-Warning -Message $Localization.RestartWarning } - "Disable" + "Uninstall" { Disable-WindowsOptionalFeature -Online -FeatureName $WSLFeatures -NoRestart @@ -11012,7 +11012,7 @@ function RunAsDifferentUserContext ParameterSetName = "Hide" )] [switch] - $Remove + $Hide ) switch ($PSCmdlet.ParameterSetName) diff --git a/Sophia/PowerShell 7/Module/Sophia.psm1 b/Sophia/PowerShell 7/Module/Sophia.psm1 index 1ffb7b90..441fc6f4 100644 --- a/Sophia/PowerShell 7/Module/Sophia.psm1 +++ b/Sophia/PowerShell 7/Module/Sophia.psm1 @@ -7017,14 +7017,14 @@ function NetworkDiscovery .PARAMETER Automatically Automatically adjust active hours for me based on daily usage - .PARAMETER Manual + .PARAMETER Manually Manually adjust active hours for me based on daily usage .EXAMPLE ActiveHours -Automatically .EXAMPLE - ActiveHours -Manual + ActiveHours -Manually .NOTES Machine-wide @@ -7042,10 +7042,10 @@ function ActiveHours [Parameter( Mandatory = $true, - ParameterSetName = "Manual" + ParameterSetName = "Manually" )] [switch] - $Manual + $Manually ) switch ($PSCmdlet.ParameterSetName) @@ -7054,7 +7054,7 @@ function ActiveHours { New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name SmartActiveHoursState -PropertyType DWord -Value 1 -Force } - "Manual" + "Manually" { New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name SmartActiveHoursState -PropertyType DWord -Value 0 -Force } @@ -7817,7 +7817,7 @@ function WSL Write-Warning -Message $Localization.RestartWarning } - "Disable" + "Uninstall" { Disable-WindowsOptionalFeature -Online -FeatureName $WSLFeatures -NoRestart @@ -11042,7 +11042,7 @@ function RunAsDifferentUserContext ParameterSetName = "Hide" )] [switch] - $Remove + $Hide ) switch ($PSCmdlet.ParameterSetName) diff --git a/Wrapper/Config/config.json b/Wrapper/Config/config.json index e890356b..9088da3e 100644 --- a/Wrapper/Config/config.json +++ b/Wrapper/Config/config.json @@ -2313,14 +2313,14 @@ "Function": "WSL", "Arg": { "Zero": { - "Tag": "Enable", + "Tag": "Install", "ToolTip": { "EN": "Install the Windows Subsystem for Linux (WSL)", "RU": "Установить подсистему Windows для Linux (WSL)" } }, "One": { - "Tag": "Disable", + "Tag": "Uninstall", "ToolTip": { "EN": "Uninstall the Windows Subsystem for Linux (WSL)", "RU": "Удалить подсистему Windows для Linux (WSL)"