fix(powershell): remove mentions of USOClient

This commit is contained in:
Andre Toerien
2025-06-23 01:08:37 +02:00
committed by Gideon
parent f78514dbd8
commit 31f0097862
2 changed files with 18 additions and 18 deletions

View File

@@ -782,22 +782,22 @@ _version: 2
zh_CN: "无法找到安装在 WSL 中的 Topgrade"
zh_TW: "尚未在 WSL 內安裝 Topgrade"
de: "Konnte Topgrade nicht in WSL finden"
"Consider installing PSWindowsUpdate as the use of Windows Update via USOClient is not supported.":
en: "Consider installing PSWindowsUpdate as the use of Windows Update via USOClient is not supported."
lt: "Apsvarstykite PSWindowsUpdate įdiegimą, nes Windows Update per USOClient nepalaikomas."
es: "Considere instalar PSWindowsUpdate ya que no se admite el uso de Windows Update a través de USOClient."
fr: "Envisagez d'installer PSWindowsUpdate car l'utilisation de Windows Update via USOClient n'est pas prise en charge."
zh_CN: "目前不支持使用 USOClient 管理 Windows 更新。建议安装 PSWindowsUpdate。"
zh_TW: "目前不支援使用 USOClient 管理 Windows 更新。建議安裝 PSWindowsUpdate。"
de: "Erwägen Sie die Installation von PSWindowsUpdate, da die Verwendung von Windows Update über USOClient nicht unterstützt wird."
"USOClient not supported.":
en: "USOClient not supported."
lt: "USOClient nepalaikomas."
es: "USOClient no es admitido."
fr: "USOClient n'est pas pris en charge."
zh_CN: "不支持 USOClient"
zh_TW: "不支援 USOClient。"
de: "USOClient wird nicht unterstützt."
"The PSWindowsUpdate PowerShell module isn't installed so Topgrade can't run Windows Update.\nInstall PSWindowsUpdate by running `Install-Module PSWindowsUpdate` in PowerShell.":
en: "The PSWindowsUpdate PowerShell module isn't installed so Topgrade can't run Windows Update.\nInstall PSWindowsUpdate by running `Install-Module PSWindowsUpdate` in PowerShell."
lt: "PowerShell modulis PSWindowsUpdate nėra įdiegtas, todėl Topgrade negali paleisti „Windows Update“.\nĮdiekite PSWindowsUpdate paleisdami `Install-Module PSWindowsUpdate` PowerShell aplinkoje."
es: "El módulo de PowerShell PSWindowsUpdate no está instalado, por lo que Topgrade no puede ejecutar Windows Update.\nInstala PSWindowsUpdate ejecutando `Install-Module PSWindowsUpdate` en PowerShell."
fr: "Le module PowerShell PSWindowsUpdate nest pas installé, donc Topgrade ne peut pas exécuter Windows Update.\nInstallez PSWindowsUpdate en exécutant `Install-Module PSWindowsUpdate` dans PowerShell."
zh_CN: "未安装 PowerShell 模块 PSWindowsUpdate因此 Topgrade 无法运行 Windows 更新。\n请在 PowerShell 中运行 `Install-Module PSWindowsUpdate` 来安装 PSWindowsUpdate。"
zh_TW: "PowerShell 模組 PSWindowsUpdate 未安裝,因此 Topgrade 無法執行 Windows 更新。\n請在 PowerShell 中執行 `Install-Module PSWindowsUpdate` 來安裝 PSWindowsUpdate。"
de: "Das PowerShell-Modul PSWindowsUpdate ist nicht installiert, daher kann Topgrade Windows Update nicht ausführen.\nInstallieren Sie PSWindowsUpdate, indem Sie `Install-Module PSWindowsUpdate` in PowerShell ausführen."
"PSWindowsUpdate is not installed":
en: "PSWindowsUpdate is not installed"
lt: "PSWindowsUpdate nėra įdiegtas"
es: "PSWindowsUpdate no está instalado"
fr: "PSWindowsUpdate n'est pas installé"
zh_CN: "未安装 PSWindowsUpdate"
zh_TW: "未安裝 PSWindowsUpdate"
de: "PSWindowsUpdate ist nicht installiert"
"Connecting to {hostname}...":
en: "Connecting to %{hostname}..."
lt: "Jungiamasi prie %{hostname}..."

View File

@@ -235,10 +235,10 @@ pub fn windows_update(ctx: &ExecutionContext) -> Result<()> {
powershell.windows_update(ctx)
} else {
print_warning(t!(
"Consider installing PSWindowsUpdate as the use of Windows Update via USOClient is not supported."
"The PSWindowsUpdate PowerShell module isn't installed so Topgrade can't run Windows Update.\nInstall PSWindowsUpdate by running `Install-Module PSWindowsUpdate` in PowerShell."
));
Err(SkipStep(t!("USOClient not supported.").to_string()).into())
Err(SkipStep(t!("PSWindowsUpdate is not installed").to_string()).into())
}
}