From 48c3d5eb2b2e683f8d894f89030ffc05dc1a86e8 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Tue, 27 Dec 2022 01:13:30 +0300 Subject: [PATCH] Fixed wrong build version --- .../Localizations/de-DE/Sophia.psd1 | 2 +- .../Localizations/en-US/Sophia.psd1 | 2 +- .../Localizations/es-ES/Sophia.psd1 | 2 +- .../Localizations/fr-FR/Sophia.psd1 | 2 +- .../Localizations/hu-HU/Sophia.psd1 | 2 +- .../Localizations/it-IT/Sophia.psd1 | 2 +- .../Localizations/pl-PL/Sophia.psd1 | 2 +- .../Localizations/pt-BR/Sophia.psd1 | 2 +- .../Localizations/ru-RU/Sophia.psd1 | 2 +- .../Localizations/tr-TR/Sophia.psd1 | 2 +- .../Localizations/uk-UA/Sophia.psd1 | 2 +- .../Localizations/zh-CN/Sophia.psd1 | 2 +- src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 | 2 +- .../Localizations/de-DE/Sophia.psd1 | 2 +- .../Localizations/en-US/Sophia.psd1 | 2 +- .../Localizations/es-ES/Sophia.psd1 | 2 +- .../Localizations/fr-FR/Sophia.psd1 | 2 +- .../Localizations/hu-HU/Sophia.psd1 | 2 +- .../Localizations/it-IT/Sophia.psd1 | 2 +- .../Localizations/pl-PL/Sophia.psd1 | 2 +- .../Localizations/pt-BR/Sophia.psd1 | 2 +- .../Localizations/ru-RU/Sophia.psd1 | 2 +- .../Localizations/tr-TR/Sophia.psd1 | 2 +- .../Localizations/uk-UA/Sophia.psd1 | 2 +- .../Localizations/zh-CN/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 6 +++--- 26 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 index d201bcc6..2031f93c 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Das Skript unterstützt Windows 11 2004/20H2/21H1-Versionen und höher -UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.1335, 22621 und höher +UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.1335, 22621.963 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen diff --git a/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 index aa657d48..6b61f73d 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = The script supports Windows 11 21H2 version and higher -UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.1335, 22621 and higher +UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.1335, 22621.963 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version diff --git a/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 index e09596c6..fd07b2fd 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = El script es compatible con versión Windows 11 21H2 y superiores -UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.1335, 22621 y superiores +UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.1335, 22621.963 y superiores UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell diff --git a/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 index e9a65f7e..68919518 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Le script supporte les versions Windows 11 21H2 et ultérieures -UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.1335, 22621 et ultérieures +UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.1335, 22621.963 et ultérieures UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell diff --git a/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 index e572f02c..c1f3631f 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = A szkript a Windows 11 21H2 és újabb kiadásokat támogatja -UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.1335, 22621 és magasabb verziószámok +UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.1335, 22621.963 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban diff --git a/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 index 880ae08e..b029f300 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Lo script supporta Windows 11 21H2 e versioni successive -UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.1335, 22621 e successive +UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.1335, 22621.963 e successive UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata diff --git a/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 index 1442608a..099230d9 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Skrypt obsługuje tylko system Windows 11 21H2 version and higher -UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.1335, 22621 i nowsze +UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.1335, 22621.963 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell diff --git a/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 index 2ef6cbaa..ae9c1c99 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = O script suporta versões Windows 11 21H2 e superior -UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.1335, 22621 e successive +UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.1335, 22621.963 e successive UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell diff --git a/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 index aa4b841c..bac93827 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт поддерживает только Windows 11 21H2 и выше -UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.1335, 22621 и выше +UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.1335, 22621.963 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell diff --git a/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 index ce81d9a7..b986e20f 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Bu betik sadece Windows 11 21H2 sürüm ve üstünü destekliyor -UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.1335, 22621 ve üstünü destekliyor +UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.1335, 22621.963 ve üstünü destekliyor UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın diff --git a/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 index a502d12b..2714fa89 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт підтримує тільки Windows 11 21H2 та вище -UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.1335, 22621 та вище +UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.1335, 22621.963 та вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell diff --git a/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 index bb6ca1e9..69dc86b7 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = 该脚本支持Windows 11版本21H2和更高版本 -UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.1335, 22621和更高版本 +UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.1335, 22621.963和更高版本 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index 40aff869..2b4a55de 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -90,7 +90,7 @@ function Checks } {$_ -ge 22621} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 1335) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 963) { # Check whether the OS minor build version is 1335 minimum # https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 index d201bcc6..2031f93c 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Das Skript unterstützt Windows 11 2004/20H2/21H1-Versionen und höher -UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.1335, 22621 und höher +UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.1335, 22621.963 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 index aa657d48..6b61f73d 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = The script supports Windows 11 21H2 version and higher -UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.1335, 22621 and higher +UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.1335, 22621.963 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 index e09596c6..fd07b2fd 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = El script es compatible con versión Windows 11 21H2 y superiores -UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.1335, 22621 y superiores +UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.1335, 22621.963 y superiores UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 index e9a65f7e..68919518 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Le script supporte les versions Windows 11 21H2 et ultérieures -UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.1335, 22621 et ultérieures +UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.1335, 22621.963 et ultérieures UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 index e572f02c..c1f3631f 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = A szkript a Windows 11 21H2 és újabb kiadásokat támogatja -UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.1335, 22621 és magasabb verziószámok +UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.1335, 22621.963 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 index 880ae08e..b029f300 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Lo script supporta Windows 11 21H2 e versioni successive -UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.1335, 22621 e successive +UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.1335, 22621.963 e successive UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 index 1442608a..099230d9 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Skrypt obsługuje tylko system Windows 11 21H2 version and higher -UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.1335, 22621 i nowsze +UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.1335, 22621.963 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 index 2ef6cbaa..ae9c1c99 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = O script suporta versões Windows 11 21H2 e superior -UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.1335, 22621 e successive +UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.1335, 22621.963 e successive UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 index aa4b841c..bac93827 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт поддерживает только Windows 11 21H2 и выше -UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.1335, 22621 и выше +UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.1335, 22621.963 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 index ce81d9a7..b986e20f 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Bu betik sadece Windows 11 21H2 sürüm ve üstünü destekliyor -UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.1335, 22621 ve üstünü destekliyor +UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.1335, 22621.963 ve üstünü destekliyor UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 index a502d12b..2714fa89 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт підтримує тільки Windows 11 21H2 та вище -UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.1335, 22621 та вище +UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.1335, 22621.963 та вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 index bb6ca1e9..69dc86b7 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 @@ -1,6 +1,6 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = 该脚本支持Windows 11版本21H2和更高版本 -UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.1335, 22621和更高版本 +UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.1335, 22621.963和更高版本 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 index 0cac76a8..f13acbd8 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 @@ -62,7 +62,7 @@ function Checks { if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 1335) { - # Check whether the OS minor build version is 1335 minimum + # Check whether the OS minor build version is 963 minimum # https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information $Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR) @@ -90,9 +90,9 @@ function Checks } {$_ -ge 22621} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 1335) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 963) { - # Check whether the OS minor build version is 1335 minimum + # Check whether the OS minor build version is 963 minimum # https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information $Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR)