From 8357a2880507ba140483ebd54554100fd000f0d6 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sun, 28 Aug 2022 14:50:11 +0300 Subject: [PATCH] Fixed typos --- CHANGELOG.md | 12 ++++++------ .../Functions.ps1 | 4 ++-- .../Module/Sophia.psm1 | 10 +++++----- .../Sophia.ps1 | 6 +++--- .../Functions.ps1 | 4 ++-- .../Module/Sophia.psm1 | 10 +++++----- .../Sophia.ps1 | 6 +++--- .../Functions.ps1 | 4 ++-- .../Module/Sophia.psm1 | 10 +++++----- .../Sophia.ps1 | 6 +++--- .../Functions.ps1 | 4 ++-- .../Module/Sophia.psm1 | 12 ++++++------ .../Sophia Script for Windows 10/Sophia.ps1 | 6 +++--- .../Functions.ps1 | 4 ++-- .../Module/Sophia.psm1 | 10 +++++----- .../Sophia.ps1 | 6 +++--- .../Functions.ps1 | 4 ++-- .../Module/Sophia.psm1 | 14 +++++++------- .../Sophia Script for Windows 11/Sophia.ps1 | 6 +++--- Wrapper/Config/config_Windows_10.json | 2 +- Wrapper/Config/config_Windows_10_LTSC.json | 2 +- Wrapper/Config/config_Windows_11.json | 2 +- Wrapper/Localizations/de-DE/tag.json | 2 +- .../de-DE/tooltip_Windows_10.json | 2 +- .../de-DE/tooltip_Windows_11.json | 2 +- .../en-US/tooltip_Windows_10.json | 6 +++--- .../en-US/tooltip_Windows_11.json | 6 +++--- Wrapper/Localizations/es-ES/tag.json | 2 +- .../es-ES/tooltip_Windows_10.json | 2 +- .../es-ES/tooltip_Windows_11.json | 2 +- Wrapper/Localizations/pt-BR/tag.json | 2 +- .../pt-BR/tooltip_Windows_10.json | 2 +- .../pt-BR/tooltip_Windows_11.json | 2 +- Wrapper/Localizations/ru-RU/tag.json | 2 +- .../ru-RU/tooltip_Windows_10.json | 2 +- .../ru-RU/tooltip_Windows_11.json | 2 +- Wrapper/SophiaScriptWrapper.exe | Bin 2386944 -> 2386941 bytes 37 files changed, 90 insertions(+), 90 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ded172f0..ec05141e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ Diff from v6.1.3 [6.1.3...6.1.4](https://github.com/farag2/Sophia-Script-for-Windows/compare/6.1.3...6.1.4) * We opened our official [Discord](https://discord.gg/sSryhaEv79) channel! Feel free to chat and talk! [![Discord](https://discordapp.com/api/guilds/1006179075263561779/widget.png?style=shield)](https://discord.gg/sSryhaEv79) -* Improved Defender checkings; +* Improved Defender checks; * Now they're skipped for `Windows 10 Enteprise G`; * Closes #379. * Now all all `.ps1, .psm1, .psd1` files are signed in cloud via GitHub Actions by a self-issued certificates; @@ -72,7 +72,7 @@ Diff from v6.1.3 ## Anniversary build of Sophia Script!πŸ’―β­ -* Improved startup checkings, especially regarding Microsoft Defender whether it wasn't removed or destroyed by malicious tweakers; +* Improved startup checks, especially regarding Microsoft Defender whether it wasn't removed or destroyed by malicious tweakers; * Added `RKNBypass` function to enable proxying only blocked sites from the unified registry of Roskomnadzor; * The function will be applied only if the region in Windows is set to "Russia"; * Based on proxy. @@ -126,7 +126,7 @@ Diff from v6.1.3 * Closes #347. * Fixed bug in `NetworkAdaptersSavePower` function that caused an error that there is no internet connection even if it was so; * Formaly added Windows 10 22H2 support; -* Updated startup checkings; +* Updated startup checks; * Fixed `DiagnosticDataLevel` function; * Now it uses `gpedit.msc` path: `HKLM:\Software\Policies\Microsoft\Windows\DataCollection` instead of `HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection`; * To updated registry keys run `DiagnosticDataLevel -Minimal`. @@ -578,7 +578,7 @@ Diff from v5.10.8 [5.10.8...5.11](https://github.com/farag2/Windows-10-Sophia-Script/compare/5.10.8...5.11) * Updated descriptions; -* Expanded the `Checkings` funtion functionality; +* Expanded the `Checks` funtion functionality; * Updated the `OneDrive` function; * Functions removed as not wanted * `ShareAcrossDevices` @@ -698,7 +698,7 @@ Diff from v5.10.3 * ΠŸΠΎΡ‡ΠΈΡ‚Π°ΠΉΡ‚Π΅ [Π»ΠΎΠ½Π³Ρ€ΠΈΠ΄](https://habr.com/company/skillfactory/blog/553800) Π½Π° Π₯Π°Π±Ρ€Π΅, ΠΊΠ°ΠΊ происходила Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° скрипта послСдниС ΠΏΠΎΠ»Π³ΠΎΠ΄Π°. * Added a warning message before the script running to be sure a user has customized the `Sophia.ps1` preset file; - * You may disable it by removing the `Warning` argument in the `Checkings` function in the preset file. + * You may disable it by removing the `Warning` argument in the `Checks` function in the preset file. ![image](https://i.imgur.com/d3QUmIP.png) * Moved all localization files to the `Localizations` folder; ![image](https://i.imgur.com/kQDktvj.png) @@ -994,7 +994,7 @@ Diff from v5.3.3 * Now all archives are being created and uploaded to the release page via [GitHub Actions](https://github.com/farag2/Windows-10-Sophia-Script/blob/master/.github/workflows/Sophia.yml); * Thnx to @inv2004 -* When running the script using ```.\Sophia.ps1 -Functions "FunctionName1 -Parameter"``` regardless of the functions entered as an argument, the ```Checkings``` function will be executed first, and the ```Refresh``` and ```Errors``` functions will be executed at the end; +* When running the script using ```.\Sophia.ps1 -Functions "FunctionName1 -Parameter"``` regardless of the functions entered as an argument, the `Checks` function will be executed first, and the ```Refresh``` and ```Errors``` functions will be executed at the end; * Updated the ```CreateRestorePoint``` function * Closed #124 * Updated the ```EnableWSL2``` function diff --git a/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Functions.ps1 b/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Functions.ps1 index 2a61a9c4..0af0fbba 100644 --- a/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Functions.ps1 +++ b/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Functions.ps1 @@ -66,8 +66,8 @@ Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -Pa Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations -# The mandatory checkings. Please, do not comment out this function -Checkings +# The mandatory checks. Please, do not comment out this function +Checks $Parameters = @{ CommandName = "Sophia" diff --git a/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Module/Sophia.psm1 b/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Module/Sophia.psm1 index 6bef03cc..6448f5df 100644 --- a/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Module/Sophia.psm1 +++ b/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Module/Sophia.psm1 @@ -42,8 +42,8 @@ https://github.com/Inestic #> -#region Checkings -function Checkings +#region Checks +function Checks { param ( @@ -272,7 +272,7 @@ function Checkings # Unblock all files in the script folder by removing the Zone.Identifier alternate data stream with a value of "3" Get-ChildItem -Path $PSScriptRoot\..\ -File -Recurse -Force | Unblock-File - #region Defender Checkings + #region Defender checks # Checking whether WMI is corrupted try { @@ -420,7 +420,7 @@ function Checkings } } } - #endregion Defender Checkings + #endregion Defender checks # Display a warning message about whether a user has customized the preset file if ($Warning) @@ -457,7 +457,7 @@ function Checkings # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } -#endregion Checkings +#endregion Checks #region Protection # Enable script logging. The log will be being recorded into the script root folder diff --git a/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Sophia.ps1 b/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Sophia.ps1 index 7d9e8d0b..21be38a6 100644 --- a/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Sophia.ps1 +++ b/Sophia Script/Sophia Script for Windows 10 LTSC 2019/Sophia.ps1 @@ -98,7 +98,7 @@ Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScri #> if ($Functions) { - Invoke-Command -ScriptBlock {Checkings} + Invoke-Command -ScriptBlock {Checks} foreach ($Function in $Functions) { @@ -113,13 +113,13 @@ if ($Functions) #region Protection <# - The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument + The mandatory checks. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument Please, do not comment out this function ΠžΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ. Π§Ρ‚ΠΎΠ±Ρ‹ Π²Ρ‹ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ ΠΏΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΎ нСобходимости настройки прСсСт-Ρ„Π°ΠΉΠ»Π°, ΡƒΠ΄Π°Π»ΠΈΡ‚Π΅ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚ "-Warning" ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Π½Π΅ ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚ΠΈΡ€ΡƒΠΉΡ‚Π΅ Π΄Π°Π½Π½ΡƒΡŽ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΡŽ #> -Checkings -Warning +Checks -Warning <# Enable script logging. Log will be recorded into the script folder diff --git a/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Functions.ps1 b/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Functions.ps1 index 08a25489..f39b4dd1 100644 --- a/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Functions.ps1 +++ b/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Functions.ps1 @@ -66,8 +66,8 @@ Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -Pa Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations -# The mandatory checkings. Please, do not comment out this function -Checkings +# The mandatory checks. Please, do not comment out this function +Checks $Parameters = @{ CommandName = "Sophia" diff --git a/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Module/Sophia.psm1 b/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Module/Sophia.psm1 index f3788f78..149e5cd5 100644 --- a/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Module/Sophia.psm1 +++ b/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Module/Sophia.psm1 @@ -42,8 +42,8 @@ https://github.com/Inestic #> -#region Checkings -function Checkings +#region Checks +function Checks { param ( @@ -272,7 +272,7 @@ function Checkings # Unblock all files in the script folder by removing the Zone.Identifier alternate data stream with a value of "3" Get-ChildItem -Path $PSScriptRoot\..\ -File -Recurse -Force | Unblock-File - #region Defender Checkings + #region Defender checks # Checking whether WMI is corrupted try { @@ -420,7 +420,7 @@ function Checkings } } } - #endregion Defender Checkings + #endregion Defender checks # Display a warning message about whether a user has customized the preset file if ($Warning) @@ -457,7 +457,7 @@ function Checkings # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } -#endregion Checkings +#endregion Checks #region Protection # Enable script logging. The log will be being recorded into the script root folder diff --git a/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Sophia.ps1 b/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Sophia.ps1 index 6eab4c84..521313d7 100644 --- a/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Sophia.ps1 +++ b/Sophia Script/Sophia Script for Windows 10 LTSC 2021/Sophia.ps1 @@ -98,7 +98,7 @@ Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScri #> if ($Functions) { - Invoke-Command -ScriptBlock {Checkings} + Invoke-Command -ScriptBlock {Checks} foreach ($Function in $Functions) { @@ -113,13 +113,13 @@ if ($Functions) #region Protection <# - The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument + The mandatory checks. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument Please, do not comment out this function ΠžΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ. Π§Ρ‚ΠΎΠ±Ρ‹ Π²Ρ‹ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ ΠΏΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΎ нСобходимости настройки прСсСт-Ρ„Π°ΠΉΠ»Π°, ΡƒΠ΄Π°Π»ΠΈΡ‚Π΅ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚ "-Warning" ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Π½Π΅ ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚ΠΈΡ€ΡƒΠΉΡ‚Π΅ Π΄Π°Π½Π½ΡƒΡŽ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΡŽ #> -Checkings -Warning +Checks -Warning <# Enable script logging. Log will be recorded into the script folder diff --git a/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Functions.ps1 b/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Functions.ps1 index c7f0a89e..c2f48108 100644 --- a/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Functions.ps1 +++ b/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Functions.ps1 @@ -66,8 +66,8 @@ Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -Pa Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations -# The mandatory checkings. Please, do not comment out this function -Checkings +# The mandatory checks. Please, do not comment out this function +Checks $Parameters = @{ CommandName = "Sophia" diff --git a/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1 b/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1 index 3db882c9..65597c36 100644 --- a/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1 +++ b/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1 @@ -42,8 +42,8 @@ https://github.com/Inestic #> -#region Checkings -function Checkings +#region Checks +function Checks { param ( @@ -274,7 +274,7 @@ function Checkings # Unblock all files in the script folder by removing the Zone.Identifier alternate data stream with a value of "3" Get-ChildItem -Path $PSScriptRoot\..\ -File -Recurse -Force | Unblock-File - #region Defender Checkings + #region Defender checks # The Enterprise G edition doesn't has a built-in Defender if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name EditionID) -ne "EnterpriseG") { @@ -454,7 +454,7 @@ function Checkings } } } - #endregion Defender Checkings + #endregion Defender checks # Display a warning message about whether a user has customized the preset file if ($Warning) @@ -494,7 +494,7 @@ function Checkings # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } -#endregion Checkings +#endregion Checks #region Protection # Enable script logging. The log will be being recorded into the script root folder diff --git a/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Sophia.ps1 b/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Sophia.ps1 index 8932e182..7270ca2c 100644 --- a/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Sophia.ps1 +++ b/Sophia Script/Sophia Script for Windows 10 PowerShell 7/Sophia.ps1 @@ -107,7 +107,7 @@ catch #> if ($Functions) { - Invoke-Command -ScriptBlock {Checkings} + Invoke-Command -ScriptBlock {Checks} foreach ($Function in $Functions) { @@ -122,13 +122,13 @@ if ($Functions) #region Protection <# - The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument + The mandatory checks. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument Please, do not comment out this function ΠžΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ. Π§Ρ‚ΠΎΠ±Ρ‹ Π²Ρ‹ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ ΠΏΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΎ нСобходимости настройки прСсСт-Ρ„Π°ΠΉΠ»Π°, ΡƒΠ΄Π°Π»ΠΈΡ‚Π΅ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚ "-Warning" ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Π½Π΅ ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚ΠΈΡ€ΡƒΠΉΡ‚Π΅ Π΄Π°Π½Π½ΡƒΡŽ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΡŽ #> -Checkings -Warning +Checks -Warning <# Enable script logging. Log will be recorded into the script folder diff --git a/Sophia Script/Sophia Script for Windows 10/Functions.ps1 b/Sophia Script/Sophia Script for Windows 10/Functions.ps1 index adb301c6..e5d46b0b 100644 --- a/Sophia Script/Sophia Script for Windows 10/Functions.ps1 +++ b/Sophia Script/Sophia Script for Windows 10/Functions.ps1 @@ -66,8 +66,8 @@ Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -Pa Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations -# The mandatory checkings. Please, do not comment out this function -Checkings +# The mandatory checks. Please, do not comment out this function +Checks $Parameters = @{ CommandName = "Sophia" diff --git a/Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1 b/Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1 index 8f7cd6f1..6b63cae5 100644 --- a/Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1 +++ b/Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1 @@ -42,8 +42,8 @@ https://github.com/Inestic #> -#region Checkings -function Checkings +#region Checks +function Checks { param ( @@ -272,7 +272,7 @@ function Checkings # Unblock all files in the script folder by removing the Zone.Identifier alternate data stream with a value of "3" Get-ChildItem -Path $PSScriptRoot\..\ -File -Recurse -Force | Unblock-File - #region Defender Checkings + #region Defender checks # The Enterprise G edition doesn't has a built-in Defender if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name EditionID) -ne "EnterpriseG") { @@ -452,7 +452,7 @@ function Checkings } } } - #endregion Defender Checkings + #endregion Defender checks # Display a warning message about whether a user has customized the preset file if ($Warning) @@ -489,7 +489,7 @@ function Checkings # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } -#endregion Checkings +#endregion Checks #region Protection # Enable script logging. The log will be being recorded into the script root folder @@ -2553,7 +2553,7 @@ function TaskbarSearch .NOTES Current user #> -function SearchHighlights +function SearchHighlights ### { param ( diff --git a/Sophia Script/Sophia Script for Windows 10/Sophia.ps1 b/Sophia Script/Sophia Script for Windows 10/Sophia.ps1 index ee5dfb67..59f1fe96 100644 --- a/Sophia Script/Sophia Script for Windows 10/Sophia.ps1 +++ b/Sophia Script/Sophia Script for Windows 10/Sophia.ps1 @@ -98,7 +98,7 @@ Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScri #> if ($Functions) { - Invoke-Command -ScriptBlock {Checkings} + Invoke-Command -ScriptBlock {Checks} foreach ($Function in $Functions) { @@ -113,13 +113,13 @@ if ($Functions) #region Protection <# - The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument + The mandatory checks. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument Please, do not comment out this function ΠžΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ. Π§Ρ‚ΠΎΠ±Ρ‹ Π²Ρ‹ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ ΠΏΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΎ нСобходимости настройки прСсСт-Ρ„Π°ΠΉΠ»Π°, ΡƒΠ΄Π°Π»ΠΈΡ‚Π΅ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚ "-Warning" ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Π½Π΅ ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚ΠΈΡ€ΡƒΠΉΡ‚Π΅ Π΄Π°Π½Π½ΡƒΡŽ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΡŽ #> -Checkings -Warning +Checks -Warning <# Enable script logging. Log will be recorded into the script folder diff --git a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Functions.ps1 b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Functions.ps1 index fc7885c6..63437adf 100644 --- a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Functions.ps1 +++ b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Functions.ps1 @@ -66,8 +66,8 @@ Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -Pa Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations -# The mandatory checkings. Please, do not comment out this function -Checkings +# The mandatory checks. Please, do not comment out this function +Checks $Parameters = @{ CommandName = "Sophia" diff --git a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 index bab60ba9..1ba19265 100644 --- a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 +++ b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 @@ -41,8 +41,8 @@ https://github.com/Inestic #> -#region Checkings -function Checkings +#region Checks +function Checks { param ( @@ -267,7 +267,7 @@ function Checkings # Unblock all files in the script folder by removing the Zone.Identifier alternate data stream with a value of "3" Get-ChildItem -Path $PSScriptRoot\..\ -File -Recurse -Force | Unblock-File - #region Defender Checkings + #region Defender checks # Checking whether WMI is corrupted try { @@ -415,7 +415,7 @@ function Checkings } } } - #endregion Defender Checkings + #endregion Defender checks # Display a warning message about whether a user has customized the preset file if ($Warning) @@ -455,7 +455,7 @@ function Checkings # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } -#endregion Checkings +#endregion Checks #region Protection # Enable script logging. The log will be being recorded into the script root folder diff --git a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Sophia.ps1 b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Sophia.ps1 index 4c5dafd5..6c8db3a2 100644 --- a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Sophia.ps1 +++ b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Sophia.ps1 @@ -107,7 +107,7 @@ catch #> if ($Functions) { - Invoke-Command -ScriptBlock {Checkings} + Invoke-Command -ScriptBlock {Checks} foreach ($Function in $Functions) { @@ -122,13 +122,13 @@ if ($Functions) #region Protection <# - The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument + The mandatory checks. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument Please, do not comment out this function ΠžΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ. Π§Ρ‚ΠΎΠ±Ρ‹ Π²Ρ‹ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ ΠΏΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΎ нСобходимости настройки прСсСт-Ρ„Π°ΠΉΠ»Π°, ΡƒΠ΄Π°Π»ΠΈΡ‚Π΅ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚ "-Warning" ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Π½Π΅ ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚ΠΈΡ€ΡƒΠΉΡ‚Π΅ Π΄Π°Π½Π½ΡƒΡŽ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΡŽ #> -Checkings -Warning +Checks -Warning <# Enable script logging. Log will be recorded into the script folder diff --git a/Sophia Script/Sophia Script for Windows 11/Functions.ps1 b/Sophia Script/Sophia Script for Windows 11/Functions.ps1 index abbc93b2..57c9e2ae 100644 --- a/Sophia Script/Sophia Script for Windows 11/Functions.ps1 +++ b/Sophia Script/Sophia Script for Windows 11/Functions.ps1 @@ -66,8 +66,8 @@ Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -Pa Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations -# The mandatory checkings. Please, do not comment out this function -Checkings +# The mandatory checks. Please, do not comment out this function +Checks $Parameters = @{ CommandName = "Sophia" diff --git a/Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1 b/Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1 index 94d39fd8..985986b0 100644 --- a/Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1 +++ b/Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1 @@ -16,7 +16,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2 - Builds: 22000.739+, 22509+ + Builds: 22000.739+, 22509+ ### 22621+ Editions: Home/Pro/Enterprise .NOTES @@ -41,8 +41,8 @@ https://github.com/Inestic #> -#region Checkings -function Checkings +#region Checks +function Checks { param ( @@ -265,7 +265,7 @@ function Checkings # Unblock all files in the script folder by removing the Zone.Identifier alternate data stream with a value of "3" Get-ChildItem -Path $PSScriptRoot\..\ -File -Recurse -Force | Unblock-File - #region Defender Checkings + #region Defender checks # Checking whether WMI is corrupted try { @@ -413,7 +413,7 @@ function Checkings } } } - #endregion Defender Checkings + #endregion Defender checks # Display a warning message about whether a user has customized the preset file if ($Warning) @@ -450,7 +450,7 @@ function Checkings # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } -#endregion Checkings +#endregion Checks #region Protection # Enable script logging. The log will be being recorded into the script root folder @@ -1590,7 +1590,7 @@ function TailoredExperiences .NOTES Current user #> -function BingSearch +function BingSearch ### Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ Π² LTSC { param ( diff --git a/Sophia Script/Sophia Script for Windows 11/Sophia.ps1 b/Sophia Script/Sophia Script for Windows 11/Sophia.ps1 index c2a3a7d8..3b8a573e 100644 --- a/Sophia Script/Sophia Script for Windows 11/Sophia.ps1 +++ b/Sophia Script/Sophia Script for Windows 11/Sophia.ps1 @@ -97,7 +97,7 @@ Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScri #> if ($Functions) { - Invoke-Command -ScriptBlock {Checkings} + Invoke-Command -ScriptBlock {Checks} foreach ($Function in $Functions) { @@ -112,13 +112,13 @@ if ($Functions) #region Protection <# - The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument + The mandatory checks. If you want to disable a warning message about whether the preset file was customized, remove the "-Warning" argument Please, do not comment out this function ΠžΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ. Π§Ρ‚ΠΎΠ±Ρ‹ Π²Ρ‹ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ ΠΏΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΎ нСобходимости настройки прСсСт-Ρ„Π°ΠΉΠ»Π°, ΡƒΠ΄Π°Π»ΠΈΡ‚Π΅ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚ "-Warning" ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Π½Π΅ ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚ΠΈΡ€ΡƒΠΉΡ‚Π΅ Π΄Π°Π½Π½ΡƒΡŽ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΡŽ #> -Checkings -Warning +Checks -Warning <# Enable script logging. Log will be recorded into the script folder diff --git a/Wrapper/Config/config_Windows_10.json b/Wrapper/Config/config_Windows_10.json index 25024974..d7eb031f 100644 --- a/Wrapper/Config/config_Windows_10.json +++ b/Wrapper/Config/config_Windows_10.json @@ -4,7 +4,7 @@ "Region": "Protection", "Control": "cmb", "Required": "true", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning" diff --git a/Wrapper/Config/config_Windows_10_LTSC.json b/Wrapper/Config/config_Windows_10_LTSC.json index 7dc0ed21..443938b7 100644 --- a/Wrapper/Config/config_Windows_10_LTSC.json +++ b/Wrapper/Config/config_Windows_10_LTSC.json @@ -4,7 +4,7 @@ "Region": "Protection", "Control": "cmb", "Required": "true", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning" diff --git a/Wrapper/Config/config_Windows_11.json b/Wrapper/Config/config_Windows_11.json index 9856d08e..49d8c6a5 100644 --- a/Wrapper/Config/config_Windows_11.json +++ b/Wrapper/Config/config_Windows_11.json @@ -4,7 +4,7 @@ "Region": "Protection", "Control": "cmb", "Required": "true", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning" diff --git a/Wrapper/Localizations/de-DE/tag.json b/Wrapper/Localizations/de-DE/tag.json index c255dd50..d88cf10b 100644 --- a/Wrapper/Localizations/de-DE/tag.json +++ b/Wrapper/Localizations/de-DE/tag.json @@ -1,6 +1,6 @@ { "Warning": "Warnen", - "Checkings": "ÜberprΓΌfen", + "Checks": "ÜberprΓΌfen", "Disable": "Deaktivieren", "Enable": "Aktivieren", "None": "Nichts", diff --git a/Wrapper/Localizations/de-DE/tooltip_Windows_10.json b/Wrapper/Localizations/de-DE/tooltip_Windows_10.json index f5be93f7..730789c9 100644 --- a/Wrapper/Localizations/de-DE/tooltip_Windows_10.json +++ b/Wrapper/Localizations/de-DE/tooltip_Windows_10.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json index f27ba996..86edb2b8 100644 --- a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json +++ b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/Localizations/en-US/tooltip_Windows_10.json b/Wrapper/Localizations/en-US/tooltip_Windows_10.json index de57ea22..0f4c0651 100644 --- a/Wrapper/Localizations/en-US/tooltip_Windows_10.json +++ b/Wrapper/Localizations/en-US/tooltip_Windows_10.json @@ -2,15 +2,15 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", - "ToolTip": "The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the \"-Warning\" argument" + "ToolTip": "The mandatory Checks. If you want to disable a warning message about whether the preset file was customized, remove the \"-Warning\" argument" }, "One": { "Tag": "", - "ToolTip": "The mandatory checkings. No argument therefore no warning message about whether you've customized the preset file" + "ToolTip": "The mandatory Checks. No argument therefore no warning message about whether you've customized the preset file" } } }, diff --git a/Wrapper/Localizations/en-US/tooltip_Windows_11.json b/Wrapper/Localizations/en-US/tooltip_Windows_11.json index 637d351a..e1952034 100644 --- a/Wrapper/Localizations/en-US/tooltip_Windows_11.json +++ b/Wrapper/Localizations/en-US/tooltip_Windows_11.json @@ -2,15 +2,15 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", - "ToolTip": "The mandatory checkings. If you want to disable a warning message about whether the preset file was customized, remove the \"-Warning\" argument" + "ToolTip": "The mandatory Checks. If you want to disable a warning message about whether the preset file was customized, remove the \"-Warning\" argument" }, "One": { "Tag": "", - "ToolTip": "The mandatory checkings. No argument therefore no warning message about whether you've customized the preset file" + "ToolTip": "The mandatory Checks. No argument therefore no warning message about whether you've customized the preset file" } } }, diff --git a/Wrapper/Localizations/es-ES/tag.json b/Wrapper/Localizations/es-ES/tag.json index 0f01fcf0..861a103c 100644 --- a/Wrapper/Localizations/es-ES/tag.json +++ b/Wrapper/Localizations/es-ES/tag.json @@ -1,6 +1,6 @@ { "Warning": "Advertencia", - "Checkings": "Comprobaciones", + "Checks": "Comprobaciones", "Disable": "Desactivar", "Enable": "Habilitar", "None": "Ninguno", diff --git a/Wrapper/Localizations/es-ES/tooltip_Windows_10.json b/Wrapper/Localizations/es-ES/tooltip_Windows_10.json index fd9d8364..ec2c179c 100644 --- a/Wrapper/Localizations/es-ES/tooltip_Windows_10.json +++ b/Wrapper/Localizations/es-ES/tooltip_Windows_10.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/Localizations/es-ES/tooltip_Windows_11.json b/Wrapper/Localizations/es-ES/tooltip_Windows_11.json index d3e910ba..bca2f073 100644 --- a/Wrapper/Localizations/es-ES/tooltip_Windows_11.json +++ b/Wrapper/Localizations/es-ES/tooltip_Windows_11.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/Localizations/pt-BR/tag.json b/Wrapper/Localizations/pt-BR/tag.json index 52bb7f75..25ee0282 100644 --- a/Wrapper/Localizations/pt-BR/tag.json +++ b/Wrapper/Localizations/pt-BR/tag.json @@ -1,6 +1,6 @@ { "Warning": "Aviso", - "Checkings": "Verificaçáes", + "Checks": "Verificaçáes", "Disable": "Desabilitar", "Enable": "Permitir", "None": "Nenhum", diff --git a/Wrapper/Localizations/pt-BR/tooltip_Windows_10.json b/Wrapper/Localizations/pt-BR/tooltip_Windows_10.json index 217619dd..fde57783 100644 --- a/Wrapper/Localizations/pt-BR/tooltip_Windows_10.json +++ b/Wrapper/Localizations/pt-BR/tooltip_Windows_10.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json b/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json index b137cfdb..4d94ab45 100644 --- a/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json +++ b/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/Localizations/ru-RU/tag.json b/Wrapper/Localizations/ru-RU/tag.json index 72e10aa4..b6ca8574 100644 --- a/Wrapper/Localizations/ru-RU/tag.json +++ b/Wrapper/Localizations/ru-RU/tag.json @@ -1,6 +1,6 @@ { "Warning": "ΠŸΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅", - "Checkings": "ΠŸΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ", + "Checks": "ΠŸΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ", "Disable": "Π’Ρ‹ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ", "Enable": "Π’ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ", "None": "ΠŸΡ€ΠΎΠΏΡƒΡΡ‚ΠΈΡ‚ΡŒ", diff --git a/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json b/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json index 0985e248..c8af9325 100644 --- a/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json +++ b/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json index 6c519577..3f83a615 100644 --- a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json +++ b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json @@ -2,7 +2,7 @@ { "Id": 100, "Region": "Protection", - "Function": "Checkings", + "Function": "Checks", "Arg": { "Zero": { "Tag": "Warning", diff --git a/Wrapper/SophiaScriptWrapper.exe b/Wrapper/SophiaScriptWrapper.exe index 8793106ace78c9a97a216f550628e659ee3e2fa7..02b955ad153330d4cc28cc90d3cbf8a985051273 100644 GIT binary patch delta 89 zcmV~$$qj-)006+O;(eil_XYN64Lm0CX`q2^!o(*0YcnR!RNp%MK6R)BEp3U8uAaVu np^>qPshQN=!cr!;vbM3cvv+WGa&}QX%SXI7v3xc0dVBu?P~0CW delta 93 zcmWN=$qB+h002N@yl;*7nZ)A6PipWn;B&EpZ9=dK|Jsb81M_{~lk4YSq9#?>(A3h_ q(bdy8Ff=kYF_oE_TUc6I+t}LKJ2=V}k21vcQk`!hmd_AR)$0ez-XLTE