From 3cfb66338f01fb638fd14c43fd89cb7ca347c23c Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Fri, 25 Nov 2022 16:10:21 +0300 Subject: [PATCH] Improved toast notifications for scheduled tasks --- Wrapper/Config/config_Windows_11.json | 50 +---- .../Localizations/de-DE/Sophia.psd1 | 10 +- .../Localizations/en-US/Sophia.psd1 | 12 +- .../Localizations/es-ES/Sophia.psd1 | 10 +- .../Localizations/fr-FR/Sophia.psd1 | 10 +- .../Localizations/hu-HU/Sophia.psd1 | 10 +- .../Localizations/it-IT/Sophia.psd1 | 10 +- .../Localizations/pt-BR/Sophia.psd1 | 10 +- .../Localizations/ru-RU/Sophia.psd1 | 10 +- .../Localizations/tr-TR/Sophia.psd1 | 10 +- .../Localizations/uk-UA/Sophia.psd1 | 10 +- .../Localizations/zh-CN/Sophia.psd1 | 10 +- .../Module/Sophia.psm1 | 59 ++---- .../Localizations/de-DE/Sophia.psd1 | 10 +- .../Localizations/en-US/Sophia.psd1 | 10 +- .../Localizations/es-ES/Sophia.psd1 | 10 +- .../Localizations/fr-FR/Sophia.psd1 | 10 +- .../Localizations/hu-HU/Sophia.psd1 | 10 +- .../Localizations/it-IT/Sophia.psd1 | 10 +- .../Localizations/pt-BR/Sophia.psd1 | 10 +- .../Localizations/ru-RU/Sophia.psd1 | 10 +- .../Localizations/tr-TR/Sophia.psd1 | 10 +- .../Localizations/uk-UA/Sophia.psd1 | 10 +- .../Localizations/zh-CN/Sophia.psd1 | 10 +- .../Module/Sophia.psm1 | 59 ++---- .../Localizations/de-DE/Sophia.psd1 | 10 +- .../Localizations/en-US/Sophia.psd1 | 10 +- .../Localizations/es-ES/Sophia.psd1 | 10 +- .../Localizations/fr-FR/Sophia.psd1 | 10 +- .../Localizations/hu-HU/Sophia.psd1 | 10 +- .../Localizations/it-IT/Sophia.psd1 | 10 +- .../Localizations/pt-BR/Sophia.psd1 | 10 +- .../Localizations/ru-RU/Sophia.psd1 | 8 +- .../Localizations/tr-TR/Sophia.psd1 | 10 +- .../Localizations/uk-UA/Sophia.psd1 | 10 +- .../Localizations/zh-CN/Sophia.psd1 | 10 +- .../Module/Sophia.psm1 | 59 ++---- .../Localizations/de-DE/Sophia.psd1 | 10 +- .../Localizations/en-US/Sophia.psd1 | 12 +- .../Localizations/es-ES/Sophia.psd1 | 10 +- .../Localizations/fr-FR/Sophia.psd1 | 10 +- .../Localizations/hu-HU/Sophia.psd1 | 10 +- .../Localizations/it-IT/Sophia.psd1 | 10 +- .../Localizations/pt-BR/Sophia.psd1 | 7 +- .../Localizations/ru-RU/Sophia.psd1 | 10 +- .../Localizations/tr-TR/Sophia.psd1 | 10 +- .../Localizations/uk-UA/Sophia.psd1 | 10 +- .../Localizations/zh-CN/Sophia.psd1 | 10 +- .../Module/Sophia.psm1 | 59 ++---- .../Localizations/de-DE/Sophia.psd1 | 10 +- .../Localizations/en-US/Sophia.psd1 | 12 +- .../Localizations/es-ES/Sophia.psd1 | 10 +- .../Localizations/fr-FR/Sophia.psd1 | 10 +- .../Localizations/hu-HU/Sophia.psd1 | 10 +- .../Localizations/it-IT/Sophia.psd1 | 10 +- .../Localizations/pt-BR/Sophia.psd1 | 10 +- .../Localizations/ru-RU/Sophia.psd1 | 10 +- .../Localizations/tr-TR/Sophia.psd1 | 10 +- .../Localizations/uk-UA/Sophia.psd1 | 10 +- .../Localizations/zh-CN/Sophia.psd1 | 10 +- .../Module/Sophia.psm1 | 173 ++---------------- src/Sophia_Script_for_Windows_11/Sophia.ps1 | 16 -- .../Localizations/de-DE/Sophia.psd1 | 10 +- .../Localizations/en-US/Sophia.psd1 | 12 +- .../Localizations/es-ES/Sophia.psd1 | 10 +- .../Localizations/fr-FR/Sophia.psd1 | 7 +- .../Localizations/hu-HU/Sophia.psd1 | 10 +- .../Localizations/it-IT/Sophia.psd1 | 10 +- .../Localizations/pt-BR/Sophia.psd1 | 10 +- .../Localizations/ru-RU/Sophia.psd1 | 10 +- .../Localizations/tr-TR/Sophia.psd1 | 10 +- .../Localizations/uk-UA/Sophia.psd1 | 10 +- .../Localizations/zh-CN/Sophia.psd1 | 10 +- .../Module/Sophia.psm1 | 173 ++---------------- .../Sophia.ps1 | 16 -- 75 files changed, 258 insertions(+), 1066 deletions(-) diff --git a/Wrapper/Config/config_Windows_11.json b/Wrapper/Config/config_Windows_11.json index 8008de91..e9c70ab5 100644 --- a/Wrapper/Config/config_Windows_11.json +++ b/Wrapper/Config/config_Windows_11.json @@ -2136,40 +2136,6 @@ "Region": "Context menu", "Control": "cmb", "Required": "false", - "Function": "EditWithPhotosContext", - "Arg": { - "Zero": { - "Tag": "Hide" - }, - "One": { - "Tag": "Show" - } - }, - "Preset": "Zero", - "WindowsDefault": "One" - }, - { - "Id": 1206, - "Region": "Context menu", - "Control": "cmb", - "Required": "false", - "Function": "CreateANewVideoContext", - "Arg": { - "Zero": { - "Tag": "Hide" - }, - "One": { - "Tag": "Show" - } - }, - "Preset": "Zero", - "WindowsDefault": "One" - }, - { - "Id": 1207, - "Region": "Context menu", - "Control": "cmb", - "Required": "false", "Function": "PrintCMDContext", "Arg": { "Zero": { @@ -2183,7 +2149,7 @@ "WindowsDefault": "One" }, { - "Id": 1208, + "Id": 1206, "Region": "Context menu", "Control": "cmb", "Required": "false", @@ -2200,7 +2166,7 @@ "WindowsDefault": "One" }, { - "Id": 1209, + "Id": 1207, "Region": "Context menu", "Control": "cmb", "Required": "false", @@ -2217,7 +2183,7 @@ "WindowsDefault": "One" }, { - "Id": 1210, + "Id": 1208, "Region": "Context menu", "Control": "cmb", "Required": "false", @@ -2234,7 +2200,7 @@ "WindowsDefault": "One" }, { - "Id": 1211, + "Id": 1209, "Region": "Context menu", "Control": "cmb", "Required": "false", @@ -2251,7 +2217,7 @@ "WindowsDefault": "One" }, { - "Id": 1212, + "Id": 1210, "Region": "Context menu", "Control": "cmb", "Required": "false", @@ -2268,7 +2234,7 @@ "WindowsDefault": "One" }, { - "Id": 1213, + "Id": 1211, "Region": "Context menu", "Control": "cmb", "Required": "false", @@ -2285,7 +2251,7 @@ "WindowsDefault": "Show" }, { - "Id": 1214, + "Id": 1212, "Region": "Context menu", "Control": "cmb", "Required": "false", @@ -2302,7 +2268,7 @@ "WindowsDefault": "One" }, { - "Id": 1215, + "Id": 1213, "Region": "Context menu", "Control": "cmb", "Required": "false", diff --git a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 index 1e0bf774..3f3d293c 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-Apps HEVCDownloading = HEVC-Videoerweiterungen vom Gerätehersteller herunterladen… ~2,8 MB GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen? -TaskNotificationTitle = Benachrichtigung -CleanupTaskNotificationTitle = Wichtige Informationen +CleanupTaskNotificationTitle = Windows aufräumen +CleanupTaskNotificationEvent = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? CleanupTaskDescription = Bereinigung von nicht verwendeten Windows-Dateien und Updates mit der integrierten Festplattenbereinigung -CleanupTaskNotificationEventTitle = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? -CleanupTaskNotificationEvent = Die Bereinigung von Windows wird nicht lange dauern. Das nächste Mal wird diese Benachrichtigung in 30 Tagen erscheinen -CleanupTaskNotificationSnoozeInterval = Ein Erinnerungsintervall auswählen CleanupNotificationTaskDescription = Popup-Benachrichtigung zur Erinnerung an die Bereinigung von nicht verwendeten Windows-Dateien und Updates SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt @@ -61,10 +58,7 @@ Enable = Aktivieren EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* FolderSelect = Einen Ordner auswählen FilesWontBeMoved = Dateien werden nicht verschoben -FourHours = 4 Stunden -HalfHour = 30 Minuten Install = Installieren -Minute = 1 Minute NoData = Nichts anzuzeigen NoInternetConnection = Keine Internetverbindung RestartFunction = Bitte die Funktion "{0}" neustarten diff --git a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 index 2b7acf28..6dfca13d 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 @@ -32,16 +32,13 @@ UserDefaultFolder = Would you like to change the locatio ReservedStorageIsInUse = This operation is not supported when reserved storage is in use\nPlease re-run the "{0}" function again after PC restart ShortcutPinning = The "{0}" shortcut is being pinned to Start... UninstallUWPForAll = For all users -UWPAppsTitle = UWP apps +UWPAppsTitle = UWP Apps HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Important Information +CleanupTaskNotificationTitle = Windows clean up +CleanupTaskNotificationEvent = Run task to clean up Windows unused files and updates? CleanupTaskDescription = Cleaning up Windows unused files and updates using built-in Disk cleanup app -CleanupTaskNotificationEventTitle = Run task to clean up Windows unused files and updates? -CleanupTaskNotificationEvent = Windows cleanup won't take long. Next time this notification will appear in 30 days -CleanupTaskNotificationSnoozeInterval = Select a Reminder Interval CleanupNotificationTaskDescription = Pop-up notification reminder about cleaning up Windows unused files and updates SoftwareDistributionTaskNotificationEvent = The Windows update cache successfully deleted TempTaskNotificationEvent = The temp files folder successfully cleaned up @@ -61,10 +58,7 @@ Enable = Enable EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* FolderSelect = Select a folder FilesWontBeMoved = Files will not be moved -FourHours = 4 hours -HalfHour = 30 minutes Install = Install -Minute = 1 minute NoData = Nothing to display NoInternetConnection = No Internet connection RestartFunction = Please re-run the "{0}" function diff --git a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 index e71eee02..1ad40f86 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Aplicaciones UWP HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo... ~2,8 MB GraphicsPerformanceTitle = Preferencia de rendimiento gráfico GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? -TaskNotificationTitle = Notificación -CleanupTaskNotificationTitle = Información importante +CleanupTaskNotificationTitle = Limpieza de Windows +CleanupTaskNotificationEvent = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? CleanupTaskDescription = La limpieza de Windows los archivos no utilizados y actualizaciones utilizando una función de aplicación de limpieza de discos -CleanupTaskNotificationEventTitle = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? -CleanupTaskNotificationEvent = Ventanas de limpieza no tomará mucho tiempo. La próxima vez que esta notificación aparecerá en 30 días -CleanupTaskNotificationSnoozeInterval = Seleccionar un recordatorio del intervalo CleanupNotificationTaskDescription = Pop-up recordatorio de notificaciones sobre la limpieza de archivos no utilizados de Windows y actualizaciones SoftwareDistributionTaskNotificationEvent = La caché de actualización de Windows eliminado correctamente TempTaskNotificationEvent = Los archivos de la carpeta Temp limpiados con éxito @@ -61,10 +58,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* FolderSelect = Seleccione una carpeta FilesWontBeMoved = Los archivos no se transferirán -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada que mostrar NoInternetConnection = No hay conexión a Internet RestartFunction = Por favor, reinicie la función "{0}" diff --git a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 index 0f28172e..55334faa 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Applications UWP HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil... ~2,8 MB GraphicsPerformanceTitle = Préférence de performances graphiques GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Une information importante +CleanupTaskNotificationTitle = Nettoyer Windows +CleanupTaskNotificationEvent = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? CleanupTaskDescription = Nettoyage des fichiers Windows inutilisés et des mises à jour à l'aide de l'application intégrée pour le nettoyage de disque -CleanupTaskNotificationEventTitle = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? -CleanupTaskNotificationEvent = Le nettoyage de Windows ne prendra pas longtemps. Cette notification apparaîtra à nouveau dans 30 jours -CleanupTaskNotificationSnoozeInterval = Sélectionnez un intervalle de rappel CleanupNotificationTaskDescription = Rappel de notification contextuelle sur le nettoyage des fichiers et des mises à jour inutilisés de Windows SoftwareDistributionTaskNotificationEvent = Le cache de mise à jour Windows a bien été supprimé TempTaskNotificationEvent = Le dossier des fichiers temporaires a été nettoyé avec succès @@ -61,10 +58,7 @@ Enable = Activer EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.* FolderSelect = Sélectionner un dossier FilesWontBeMoved = Les fichiers ne seront pas déplacés -FourHours = 4 heures -HalfHour = 30 minutes Install = Installer -Minute = 1 minute NoData = Rien à afficher NoInternetConnection = Pas de connexion Internet RestartFunction = Veuillez redémarrer la fonction "{0}" diff --git a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 index 276688c1..2a3c5e81 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Alkalmazások HEVCDownloading = A HEVC Videobővítmények letöltése a gyártói oldalról... ~2,8 MB GraphicsPerformanceTitle = Grafikus teljesítmény tulajdonság GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"? -TaskNotificationTitle = Értesítés -CleanupTaskNotificationTitle = Fontos Információ +CleanupTaskNotificationTitle = Windows tisztítása +CleanupTaskNotificationEvent = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? CleanupTaskDescription = A nem használt Windows fájlok és frissítések eltávolítása a beépített lemezkarbantartó alkalmazással -CleanupTaskNotificationEventTitle = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? -CleanupTaskNotificationEvent = A Windows megtisztítása nem tart már sokáig. Legközelebb 30 nap múlva jelenik meg ez a figyelmeztetés -CleanupTaskNotificationSnoozeInterval = Válasszon ki egy emlékeztető időintervallumot CleanupNotificationTaskDescription = Előugró emlékeztető figyelmeztetés a nem használt Windows fájlok és frissítések törléséről SoftwareDistributionTaskNotificationEvent = A Windows frissités számára fenntartott ideiglenes tárhely sikeresen megtisztítva TempTaskNotificationEvent = Az ideiglenes fájlok tárolására szolgáló könyvtár tisztítása sikeresen megtörtént @@ -61,10 +58,7 @@ Enable = Engedélyezés EXEFilesFilter = *.exe|*.exe|Minden fájl (*.*)|*.* FolderSelect = Válasszon ki egy könyvtárat FilesWontBeMoved = A fájlok nem lesznek áthelyezve -FourHours = 4 óra -HalfHour = 30 perc Install = Telepítés -Minute = 1 perc NoData = Nincs megjeleníthető információ NoInternetConnection = Nincs internetkapcsolat RestartFunction = Ponovo pokrenite funkciju "{0}" diff --git a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 index d26a7bde..1325a098 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Apps HEVCDownloading = Download del codec video HEVC Video estenxion dal produttore... ~ Circa 2,8 MB GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceRequest = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"? -TaskNotificationTitle = Notifiche -CleanupTaskNotificationTitle = Informazioni importanti +CleanupTaskNotificationTitle = Pulizia di Windows +CleanupTaskNotificationEvent = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? CleanupTaskDescription = Pulizia di Windows e dei file inutilizzati degli aggiornamenti utilizzando l'app built-in ""pulizia disco" -CleanupTaskNotificationEventTitle = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? -CleanupTaskNotificationEvent = Per la Pulizia di Windows non ci vorrà molto. La notifica verrà mostrata nuovamente fra 30 giorni -CleanupTaskNotificationSnoozeInterval = Selezionare intervallo del promemoria CleanupNotificationTaskDescription = Pop-up promemoria di pulizia dei file inutilizzati e degli aggiornamenti di Windows SoftwareDistributionTaskNotificationEvent = La cache degli aggiornamenti di Windows cancellata con successo TempTaskNotificationEvent = I file cartella Temp puliti con successo @@ -61,10 +58,7 @@ Enable = Abilitare EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* FolderSelect = Selezionare una cartella FilesWontBeMoved = I file non verranno trasferiti -FourHours = 4 ore -HalfHour = 30 minuti Install = Installare -Minute = 1 minuto NoData = Niente da esposizione NoInternetConnection = Nessuna connessione Internet RestartFunction = Si prega di riavviare la funzione "{0}" diff --git a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 index 1d8059c7..b290e81d 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Apps UWP HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante... ~ 2,8 MB GraphicsPerformanceTitle = Preferência de desempenho gráfico GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? -TaskNotificationTitle = Notificação -CleanupTaskNotificationTitle = Informação importante +CleanupTaskNotificationTitle = Limpeza do Windows +CleanupTaskNotificationEvent = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? CleanupTaskDescription = Limpando o Windows arquivos não utilizados e atualizações usando o aplicativo de limpeza aplicativo de limpeza embutido no disco -CleanupTaskNotificationEventTitle = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? -CleanupTaskNotificationEvent = Limpeza de janelas não vai demorar muito. Da próxima vez que esta notificação será exibida em 30 dias -CleanupTaskNotificationSnoozeInterval = Selecione um lembrete de intervalo CleanupNotificationTaskDescription = Pop-up lembrete de notificação sobre a limpeza do Windows arquivos não utilizados e actualizações SoftwareDistributionTaskNotificationEvent = O cache de atualização do Windows excluído com sucesso TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com sucesso @@ -61,10 +58,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.* FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" diff --git a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 index 2761ebb7..1b796706 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-приложения HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? -TaskNotificationTitle = Уведомление -CleanupTaskNotificationTitle = Важная информация +CleanupTaskNotificationTitle = Очистка Windows +CleanupTaskNotificationEvent = Запустить задание по очистке неиспользуемых файлов и обновлений Windows? CleanupTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска -CleanupTaskNotificationEventTitle = Запустить задачу по очистке неиспользуемых файлов и обновлений Windows? -CleanupTaskNotificationEvent = Очистка Windows не займет много времени. Следующий раз это уведомление появится через 30 дней -CleanupTaskNotificationSnoozeInterval = Выберите интервал повтора уведомления CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален TempTaskNotificationEvent = Папка временных файлов успешно очищена @@ -61,10 +58,7 @@ Enable = Включить EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* FolderSelect = Выберите папку FilesWontBeMoved = Файлы не будут перенесены -FourHours = 4 часа -HalfHour = 30 минут Install = Установить -Minute = 1 минута NoData = Отсутствуют данные NoInternetConnection = Отсутствует интернет-соединение RestartFunction = Пожалуйста, повторно запустите функцию "{0}" diff --git a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 index abfc177c..033fc6db 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Uygulamaları HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor... ~2,8 MB GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? -TaskNotificationTitle = Bildirim -CleanupTaskNotificationTitle = Önemli Bilgi +CleanupTaskNotificationTitle = Windows temizliği +CleanupTaskNotificationEvent = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? CleanupTaskDescription = Kullanılmayan Windows dosyaları ve güncellemeleri yerleşik Disk Temizleme uygulaması ile temizleniyor -CleanupTaskNotificationEventTitle = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? -CleanupTaskNotificationEvent = Windows temizliği uzun sürmeyecek. Bir dahaki sefer bildirim 30 gün içinde görünecek -CleanupTaskNotificationSnoozeInterval = Hatırlatma Aralığı Seçin CleanupNotificationTaskDescription = Windows kullanılmayan dosyaları ve güncellemeleri temizleme hakkında açılır bildirim hatırlatıcısı SoftwareDistributionTaskNotificationEvent = Windows güncelleme önbelleği başarıyla silindi TempTaskNotificationEvent = Geçici dosyalar klasörü başarıyla temizlendi @@ -61,10 +58,7 @@ Enable = Aktif et EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* FolderSelect = Klasör seç FilesWontBeMoved = Dosyalar taşınmayacak -FourHours = 4 Saat -HalfHour = 30 Dakika Install = Yükle -Minute = 1 Dakika NoData = Görüntülenecek bir şey yok NoInternetConnection = İnternet bağlantısı yok RestartFunction = Lütfen "{0}" işlevini yeniden çalıştırın diff --git a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 index 925257b7..2b4ee6e4 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Програми UWP HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? -TaskNotificationTitle = Cповіщення -CleanupTaskNotificationTitle = Важлива інформація +CleanupTaskNotificationTitle = Очищення Windows +CleanupTaskNotificationEvent = Запустити задачу з очищення зайвих файлів і оновлень Windows? CleanupTaskDescription = Очищення зайвих файлів і оновлень Windows, використовуючи вбудовану програму очищення дисків -CleanupTaskNotificationEventTitle = Запустити задачу з очищення зайвих файлів і оновлень Windows? -CleanupTaskNotificationEvent = Очищення Windows не займе багато часу. Наступний раз це повідомлення з'явиться через 30 днів -CleanupTaskNotificationSnoozeInterval = Виберіть інтервал повтору повідомлення CleanupNotificationTaskDescription = Спливаюче повідомлення з нагадуванням про очищення зайвих файлів і оновлень Windows SoftwareDistributionTaskNotificationEvent = Кеш оновлень Windows успішно видалений TempTaskNotificationEvent = Папка тимчасових файлів успішно очищена @@ -61,10 +58,7 @@ Enable = Увімкнути EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* FolderSelect = Оберіть папку FilesWontBeMoved = Файли не будуть перенесені -FourHours = 4 години -HalfHour = 30 хвилин Install = Встановити -Minute = 1 хвилина NoData = Відсутні дані NoInternetConnection = Відсутнє інтернет-з'єднання RestartFunction = Будь ласка, повторно запустіть функцію "{0}" diff --git a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 index b6d0012c..4e3df075 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP应用 HEVCDownloading = 下载”HEVC Video Extensions from Device Manufacturer”…… ~2,8 MB GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? -TaskNotificationTitle = 通知 -CleanupTaskNotificationTitle = 重要信息 +CleanupTaskNotificationTitle = Windows清理 +CleanupTaskNotificationEvent = 运行任务以清理Windows未使用的文件和更新? CleanupTaskDescription = 使用内置磁盘清理工具清理未使用的Windows文件和更新 -CleanupTaskNotificationEventTitle = 运行任务以清理Windows未使用的文件和更新? -CleanupTaskNotificationEvent = Windows清理不会花很长时间。下次通知将在30天内显示 -CleanupTaskNotificationSnoozeInterval = 选择提醒间隔 CleanupNotificationTaskDescription = 关于清理Windows未使用的文件和更新的弹出通知提醒 SoftwareDistributionTaskNotificationEvent = Windows更新缓存已成功删除 TempTaskNotificationEvent = 临时文件文件夹已成功清理 @@ -61,10 +58,7 @@ Enable = 启用 EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* FolderSelect = 选择一个文件夹 FilesWontBeMoved = 文件将不会被移动 -FourHours = 4个小时 -HalfHour = 30分钟 Install = 安装 -Minute = 1分钟 NoData = 无数据 NoInternetConnection = 无网络连接 RestartFunction = 请重新运行"{0}"函数 diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index c07187b8..89f97fd4 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -11343,41 +11343,31 @@ Start-Sleep -Seconds 3 [int]`$SourceMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle -function MinimizeWindow +while (`$true) { - [CmdletBinding()] - param - ( - [Parameter(Mandatory = `$true)] - `$Process - ) - - `$ShowWindowAsync = @{ - Namespace = """WinAPI""" - Name = """Win32ShowWindowAsync""" - Language = """CSharp""" - MemberDefinition = @' + [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) + { + `$ShowWindowAsync = @{ + Namespace = """WinAPI""" + Name = """Win32ShowWindowAsync""" + Language = """CSharp""" + MemberDefinition = @' [DllImport("""user32.dll""")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); '@ } - if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) - { - Add-Type @ShowWindowAsync - } - `$MainWindowHandle = (Get-Process -Name `$Process | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -} + if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) + { + Add-Type @ShowWindowAsync + } + `$MainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -while (`$true) -{ - [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) - { - MinimizeWindow -Process cleanmgr break } + Start-Sleep -Milliseconds 5 } @@ -11411,15 +11401,10 @@ while (`$true) [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [xml]`$ToastTemplate = @""" - + $($Localization.CleanupTaskNotificationTitle) - - - $($Localization.CleanupTaskNotificationEventTitle) - - $($Localization.CleanupTaskNotificationEvent) @@ -11429,14 +11414,8 @@ while (`$true) """@ diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 index dea987cf..12a6c23d 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Wählen Sie einen Ordner für den Or UserDefaultFolder = Möchten Sie den Speicherort des Ordners "{0}" auf den Standardwert ändern? GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen? -TaskNotificationTitle = Benachrichtigung -CleanupTaskNotificationTitle = Wichtige Informationen +CleanupTaskNotificationTitle = Windows aufräumen +CleanupTaskNotificationEvent = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? CleanupTaskDescription = Bereinigung von nicht verwendeten Windows-Dateien und Updates mit der integrierten Festplattenbereinigung -CleanupTaskNotificationEventTitle = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? -CleanupTaskNotificationEvent = Die Bereinigung von Windows wird nicht lange dauern. Das nächste Mal wird diese Benachrichtigung in 30 Tagen erscheinen -CleanupTaskNotificationSnoozeInterval = Ein Erinnerungsintervall auswählen CleanupNotificationTaskDescription = Popup-Benachrichtigung zur Erinnerung an die Bereinigung von nicht verwendeten Windows-Dateien und Updates SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt @@ -52,10 +49,7 @@ Enable = Aktivieren EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* FolderSelect = Einen Ordner auswählen FilesWontBeMoved = Dateien werden nicht verschoben -FourHours = 4 Stunden -HalfHour = 30 Minuten Install = Installieren -Minute = 1 Minute NoData = Nichts anzuzeigen NoInternetConnection = Keine Internetverbindung RestartFunction = Bitte die Funktion "{0}" neustarten diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 index d9b5d80b..13c3f8df 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Select a folder for the "{0}" folder UserDefaultFolder = Would you like to change the location of the "{0}" folder to the default value? GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Important Information +CleanupTaskNotificationTitle = Windows clean up +CleanupTaskNotificationEvent = Run task to clean up Windows unused files and updates? CleanupTaskDescription = Cleaning up Windows unused files and updates using built-in Disk cleanup app -CleanupTaskNotificationEventTitle = Run task to clean up Windows unused files and updates? -CleanupTaskNotificationEvent = Windows cleanup won't take long. Next time this notification will appear in 30 days -CleanupTaskNotificationSnoozeInterval = Select a Reminder Interval CleanupNotificationTaskDescription = Pop-up notification reminder about cleaning up Windows unused files and updates SoftwareDistributionTaskNotificationEvent = The Windows update cache successfully deleted TempTaskNotificationEvent = The temp files folder successfully cleaned up @@ -52,10 +49,7 @@ Enable = Enable EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* FolderSelect = Select a folder FilesWontBeMoved = Files will not be moved -FourHours = 4 hours -HalfHour = 30 minutes Install = Install -Minute = 1 minute NoData = Nothing to display NoInternetConnection = No Internet connection RestartFunction = Please re-run the "{0}" function diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 index 3539c6ec..61c5a0d7 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Seleccione una carpeta para la carpe UserDefaultFolder = ¿Le gustaría cambiar la ubicación de la carpeta "{0}" para el valor por defecto? GraphicsPerformanceTitle = Preferencia de rendimiento gráfico GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? -TaskNotificationTitle = Notificación -CleanupTaskNotificationTitle = Información importante +CleanupTaskNotificationTitle = Limpieza de Windows +CleanupTaskNotificationEvent = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? CleanupTaskDescription = La limpieza de Windows los archivos no utilizados y actualizaciones utilizando una función de aplicación de limpieza de discos -CleanupTaskNotificationEventTitle = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? -CleanupTaskNotificationEvent = Ventanas de limpieza no tomará mucho tiempo. La próxima vez que esta notificación aparecerá en 30 días -CleanupTaskNotificationSnoozeInterval = Seleccionar un recordatorio del intervalo CleanupNotificationTaskDescription = Pop-up recordatorio de notificaciones sobre la limpieza de archivos no utilizados de Windows y actualizaciones SoftwareDistributionTaskNotificationEvent = La caché de actualización de Windows eliminado correctamente TempTaskNotificationEvent = Los archivos de la carpeta Temp limpiados con éxito @@ -52,10 +49,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* FolderSelect = Seleccione una carpeta FilesWontBeMoved = Los archivos no se transferirán -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada que mostrar NoInternetConnection = No hay conexión a Internet RestartFunction = Por favor, reinicie la función "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 index f94036d1..473f77e0 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Sélectionnez un dossier pour le dos UserDefaultFolder = Voulez vous changer où est placé le dossier "{0}" à sa valeur par défaut? GraphicsPerformanceTitle = Préférence de performances graphiques GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Une information importante +CleanupTaskNotificationTitle = Nettoyer Windows +CleanupTaskNotificationEvent = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? CleanupTaskDescription = Nettoyage des fichiers Windows inutilisés et des mises à jour à l'aide de l'application intégrée pour le nettoyage de disque -CleanupTaskNotificationEventTitle = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? -CleanupTaskNotificationEvent = Le nettoyage de Windows ne prendra pas longtemps. Cette notification apparaîtra à nouveau dans 30 jours -CleanupTaskNotificationSnoozeInterval = Sélectionnez un intervalle de rappel CleanupNotificationTaskDescription = Rappel de notification contextuelle sur le nettoyage des fichiers et des mises à jour inutilisés de Windows SoftwareDistributionTaskNotificationEvent = Le cache de mise à jour Windows a bien été supprimé TempTaskNotificationEvent = Le dossier des fichiers temporaires a été nettoyé avec succès @@ -52,10 +49,7 @@ Enable = Activer EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.* FolderSelect = Sélectionner un dossier FilesWontBeMoved = Les fichiers ne seront pas déplacés -FourHours = 4 heures -HalfHour = 30 minutes Install = Installer -Minute = 1 minute NoData = Rien à afficher NoInternetConnection = Pas de connexion Internet RestartFunction = Veuillez redémarrer la fonction "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 index 3f479173..304a4764 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Válasszon ki egy könyvtárat a "{0 UserDefaultFolder = Szeretné visszaállítani a "{0}" könyvtár helyét a gyári értékekre? GraphicsPerformanceTitle = Grafikus teljesítmény tulajdonság GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"? -TaskNotificationTitle = Értesítés -CleanupTaskNotificationTitle = Fontos Információ +CleanupTaskNotificationTitle = Windows tisztítása +CleanupTaskNotificationEvent = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? CleanupTaskDescription = A nem használt Windows fájlok és frissítések eltávolítása a beépített lemezkarbantartó alkalmazással -CleanupTaskNotificationEventTitle = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? -CleanupTaskNotificationEvent = A Windows megtisztítása nem tart már sokáig. Legközelebb 30 nap múlva jelenik meg ez a figyelmeztetés -CleanupTaskNotificationSnoozeInterval = Válasszon ki egy emlékeztető időintervallumot CleanupNotificationTaskDescription = Előugró emlékeztető figyelmeztetés a nem használt Windows fájlok és frissítések törléséről SoftwareDistributionTaskNotificationEvent = A Windows frissités számára fenntartott ideiglenes tárhely sikeresen megtisztítva TempTaskNotificationEvent = Az ideiglenes fájlok tárolására szolgáló könyvtár tisztítása sikeresen megtörtént @@ -52,10 +49,7 @@ Enable = Engedélyezés EXEFilesFilter = *.exe|*.exe|Minden fájl (*.*)|*.* FolderSelect = Válasszon ki egy könyvtárat FilesWontBeMoved = A fájlok nem lesznek áthelyezve -FourHours = 4 óra -HalfHour = 30 perc Install = Telepítés -Minute = 1 perc NoData = Nincs megjeleníthető információ NoInternetConnection = Nincs internetkapcsolat RestartFunction = Ponovo pokrenite funkciju "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 index 2a327cb0..f8f76496 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Selezionare una posizione per la car UserDefaultFolder = Volete cambiare la posizione della cartella "{0}" al valore di default? GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceRequest = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"? -TaskNotificationTitle = Notifiche -CleanupTaskNotificationTitle = Informazioni importanti +CleanupTaskNotificationTitle = Pulizia di Windows +CleanupTaskNotificationEvent = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? CleanupTaskDescription = Pulizia di Windows e dei file inutilizzati degli aggiornamenti utilizzando l'app built-in ""pulizia disco" -CleanupTaskNotificationEventTitle = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? -CleanupTaskNotificationEvent = Per la Pulizia di Windows non ci vorrà molto. La notifica verrà mostrata nuovamente fra 30 giorni -CleanupTaskNotificationSnoozeInterval = Selezionare intervallo del promemoria CleanupNotificationTaskDescription = Pop-up promemoria di pulizia dei file inutilizzati e degli aggiornamenti di Windows SoftwareDistributionTaskNotificationEvent = La cache degli aggiornamenti di Windows cancellata con successo TempTaskNotificationEvent = I file cartella Temp puliti con successo @@ -52,10 +49,7 @@ Enable = Abilitare EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* FolderSelect = Selezionare una cartella FilesWontBeMoved = I file non verranno trasferiti -FourHours = 4 ore -HalfHour = 30 minuti Install = Installare -Minute = 1 minuto NoData = Niente da esposizione NoInternetConnection = Nessuna connessione Internet RestartFunction = Si prega di riavviare la funzione "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 index 2812cc27..0195d8d1 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Selecione uma pasta para a pasta "{0 UserDefaultFolder = Gostaria de alterar a localização da pasta "{0}" para o valor padrão? GraphicsPerformanceTitle = Preferência de desempenho gráfico GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? -TaskNotificationTitle = Notificação -CleanupTaskNotificationTitle = Informação importante +CleanupTaskNotificationTitle = Limpeza do Windows +CleanupTaskNotificationEvent = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? CleanupTaskDescription = Limpando o Windows arquivos não utilizados e atualizações usando o aplicativo de limpeza aplicativo de limpeza embutido no disco -CleanupTaskNotificationEventTitle = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? -CleanupTaskNotificationEvent = Limpeza de janelas não vai demorar muito. Da próxima vez que esta notificação será exibida em 30 dias -CleanupTaskNotificationSnoozeInterval = Selecione um lembrete de intervalo CleanupNotificationTaskDescription = Pop-up lembrete de notificação sobre a limpeza do Windows arquivos não utilizados e actualizações SoftwareDistributionTaskNotificationEvent = O cache de atualização do Windows excluído com sucesso TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com sucesso @@ -52,10 +49,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.* FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 index 087829e1..226b9054 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Выберите папку для " UserDefaultFolder = Хотите изменить расположение папки "{0}" на значение по умолчанию? GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? -TaskNotificationTitle = Уведомление -CleanupTaskNotificationTitle = Важная информация +CleanupTaskNotificationTitle = Очистка Windows +CleanupTaskNotificationEvent = Запустить задание по очистке неиспользуемых файлов и обновлений Windows? CleanupTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска -CleanupTaskNotificationEventTitle = Запустить задачу по очистке неиспользуемых файлов и обновлений Windows? -CleanupTaskNotificationEvent = Очистка Windows не займет много времени. Следующий раз это уведомление появится через 30 дней -CleanupTaskNotificationSnoozeInterval = Выберите интервал повтора уведомления CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален TempTaskNotificationEvent = Папка временных файлов успешно очищена @@ -52,10 +49,7 @@ Enable = Включить EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* FolderSelect = Выберите папку FilesWontBeMoved = Файлы не будут перенесены -FourHours = 4 часа -HalfHour = 30 минут Install = Установить -Minute = 1 минута NoData = Отсутствуют данные NoInternetConnection = Отсутствует интернет-соединение RestartFunction = Пожалуйста, повторно запустите функцию "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 index 15f0acd0..2372d2ca 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = "{0}" klasörü için bir klasör se UserDefaultFolder = "{0}" klasörünün konumunu varsayılan değerle değiştirmek ister misiniz? GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? -TaskNotificationTitle = Bildirim -CleanupTaskNotificationTitle = Önemli Bilgi +CleanupTaskNotificationTitle = Windows temizliği +CleanupTaskNotificationEvent = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? CleanupTaskDescription = Kullanılmayan Windows dosyaları ve güncellemeleri yerleşik Disk Temizleme uygulaması ile temizleniyor -CleanupTaskNotificationEventTitle = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? -CleanupTaskNotificationEvent = Windows temizliği uzun sürmeyecek. Bir dahaki sefer bildirim 30 gün içinde görünecek -CleanupTaskNotificationSnoozeInterval = Hatırlatma Aralığı Seçin CleanupNotificationTaskDescription = Windows kullanılmayan dosyaları ve güncellemeleri temizleme hakkında açılır bildirim hatırlatıcısı SoftwareDistributionTaskNotificationEvent = Windows güncelleme önbelleği başarıyla silindi TempTaskNotificationEvent = Geçici dosyalar klasörü başarıyla temizlendi @@ -52,10 +49,7 @@ Enable = Aktif et EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* FolderSelect = Klasör seç FilesWontBeMoved = Dosyalar taşınmayacak -FourHours = 4 Saat -HalfHour = 30 Dakika Install = Yükle -Minute = 1 Dakika NoData = Görüntülenecek bir şey yok NoInternetConnection = İnternet bağlantısı yok RestartFunction = Lütfen "{0}" işlevini yeniden çalıştırın diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 index 41580b18..f444da9f 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = Виберіть папку для " UserDefaultFolder = Хочете змінити розташування папки "{0}" на значення за замовчуванням? GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? -TaskNotificationTitle = Cповіщення -CleanupTaskNotificationTitle = Важлива інформація +CleanupTaskNotificationTitle = Очищення Windows +CleanupTaskNotificationEvent = Запустити задачу з очищення зайвих файлів і оновлень Windows? CleanupTaskDescription = Очищення зайвих файлів і оновлень Windows, використовуючи вбудовану програму очищення дисків -CleanupTaskNotificationEventTitle = Запустити задачу з очищення зайвих файлів і оновлень Windows? -CleanupTaskNotificationEvent = Очищення Windows не займе багато часу. Наступний раз це повідомлення з'явиться через 30 днів -CleanupTaskNotificationSnoozeInterval = Виберіть інтервал повтору повідомлення CleanupNotificationTaskDescription = Спливаюче повідомлення з нагадуванням про очищення зайвих файлів і оновлень Windows SoftwareDistributionTaskNotificationEvent = Кеш оновлень Windows успішно видалений TempTaskNotificationEvent = Папка тимчасових файлів успішно очищена @@ -52,10 +49,7 @@ Enable = Увімкнути EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* FolderSelect = Оберіть папку FilesWontBeMoved = Файли не будуть перенесені -FourHours = 4 години -HalfHour = 30 хвилин Install = Встановити -Minute = 1 хвилина NoData = Відсутні дані NoInternetConnection = Відсутнє інтернет-з'єднання RestartFunction = Будь ласка, повторно запустіть функцію "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 index 30ff0677..7e510c66 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 @@ -27,12 +27,9 @@ UserFolderSelect = 为“{0}”文件夹选择一个文 UserDefaultFolder = 您想将“{0}”文件夹的位置更改为默认值吗? GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? -TaskNotificationTitle = 通知 -CleanupTaskNotificationTitle = 重要信息 +CleanupTaskNotificationTitle = Windows清理 +CleanupTaskNotificationEvent = 运行任务以清理Windows未使用的文件和更新? CleanupTaskDescription = 使用内置磁盘清理工具清理未使用的Windows文件和更新 -CleanupTaskNotificationEventTitle = 运行任务以清理Windows未使用的文件和更新? -CleanupTaskNotificationEvent = Windows清理不会花很长时间。下次通知将在30天内显示 -CleanupTaskNotificationSnoozeInterval = 选择提醒间隔 CleanupNotificationTaskDescription = 关于清理Windows未使用的文件和更新的弹出通知提醒 SoftwareDistributionTaskNotificationEvent = Windows更新缓存已成功删除 TempTaskNotificationEvent = 临时文件文件夹已成功清理 @@ -52,10 +49,7 @@ Enable = 启用 EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* FolderSelect = 选择一个文件夹 FilesWontBeMoved = 文件将不会被移动 -FourHours = 4个小时 -HalfHour = 30分钟 Install = 安装 -Minute = 1分钟 NoData = 无数据 NoInternetConnection = 无网络连接 RestartFunction = 请重新运行"{0}"函数 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 index 8332683b..a11b7307 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 @@ -7991,41 +7991,31 @@ Start-Sleep -Seconds 3 [int]`$SourceMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle -function MinimizeWindow +while (`$true) { - [CmdletBinding()] - param - ( - [Parameter(Mandatory = `$true)] - `$Process - ) - - `$ShowWindowAsync = @{ - Namespace = """WinAPI""" - Name = """Win32ShowWindowAsync""" - Language = """CSharp""" - MemberDefinition = @' + [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) + { + `$ShowWindowAsync = @{ + Namespace = """WinAPI""" + Name = """Win32ShowWindowAsync""" + Language = """CSharp""" + MemberDefinition = @' [DllImport("""user32.dll""")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); '@ } - if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) - { - Add-Type @ShowWindowAsync - } - `$MainWindowHandle = (Get-Process -Name `$Process | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -} + if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) + { + Add-Type @ShowWindowAsync + } + `$MainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -while (`$true) -{ - [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) - { - MinimizeWindow -Process cleanmgr break } + Start-Sleep -Milliseconds 5 } @@ -8059,15 +8049,10 @@ while (`$true) [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [xml]`$ToastTemplate = @""" - + $($Localization.CleanupTaskNotificationTitle) - - - $($Localization.CleanupTaskNotificationEventTitle) - - $($Localization.CleanupTaskNotificationEvent) @@ -8077,14 +8062,8 @@ while (`$true) """@ diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 index 2580a8a8..5fb7d59a 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Dieser Vorgang wird nicht unterstüt ShortcutPinning = Die Verknüpfung "{0}" wird an Start angeheftet… GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen? -TaskNotificationTitle = Benachrichtigung -CleanupTaskNotificationTitle = Wichtige Informationen +CleanupTaskNotificationTitle = Windows aufräumen +CleanupTaskNotificationEvent = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? CleanupTaskDescription = Bereinigung von nicht verwendeten Windows-Dateien und Updates mit der integrierten Festplattenbereinigung -CleanupTaskNotificationEventTitle = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? -CleanupTaskNotificationEvent = Die Bereinigung von Windows wird nicht lange dauern. Das nächste Mal wird diese Benachrichtigung in 30 Tagen erscheinen -CleanupTaskNotificationSnoozeInterval = Ein Erinnerungsintervall auswählen CleanupNotificationTaskDescription = Popup-Benachrichtigung zur Erinnerung an die Bereinigung von nicht verwendeten Windows-Dateien und Updates SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt @@ -54,10 +51,7 @@ Enable = Aktivieren EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* FolderSelect = Einen Ordner auswählen FilesWontBeMoved = Dateien werden nicht verschoben -FourHours = 4 Stunden -HalfHour = 30 Minuten Install = Installieren -Minute = 1 Minute NoData = Nichts anzuzeigen NoInternetConnection = Keine Internetverbindung RestartFunction = Bitte die Funktion "{0}" neustarten diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 index 75dbafbd..e942b0fa 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = This operation is not supported when ShortcutPinning = The "{0}" shortcut is being pinned to Start... GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Important Information +CleanupTaskNotificationTitle = Windows clean up +CleanupTaskNotificationEvent = Run task to clean up Windows unused files and updates? CleanupTaskDescription = Cleaning up Windows unused files and updates using built-in Disk cleanup app -CleanupTaskNotificationEventTitle = Run task to clean up Windows unused files and updates? -CleanupTaskNotificationEvent = Windows cleanup won't take long. Next time this notification will appear in 30 days -CleanupTaskNotificationSnoozeInterval = Select a Reminder Interval CleanupNotificationTaskDescription = Pop-up notification reminder about cleaning up Windows unused files and updates SoftwareDistributionTaskNotificationEvent = The Windows update cache successfully deleted TempTaskNotificationEvent = The temp files folder successfully cleaned up @@ -54,10 +51,7 @@ Enable = Enable EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* FolderSelect = Select a folder FilesWontBeMoved = Files will not be moved -FourHours = 4 hours -HalfHour = 30 minutes Install = Install -Minute = 1 minute NoData = Nothing to display NoInternetConnection = No Internet connection RestartFunction = Please re-run the "{0}" function diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 index 780fbd42..aef2f94c 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Esta operación no es compatible cua ShortcutPinning = El acceso directo "{0}" está siendo clavado en Start... GraphicsPerformanceTitle = Preferencia de rendimiento gráfico GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? -TaskNotificationTitle = Notificación -CleanupTaskNotificationTitle = Información importante +CleanupTaskNotificationTitle = Limpieza de Windows +CleanupTaskNotificationEvent = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? CleanupTaskDescription = La limpieza de Windows los archivos no utilizados y actualizaciones utilizando una función de aplicación de limpieza de discos -CleanupTaskNotificationEventTitle = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? -CleanupTaskNotificationEvent = Ventanas de limpieza no tomará mucho tiempo. La próxima vez que esta notificación aparecerá en 30 días -CleanupTaskNotificationSnoozeInterval = Seleccionar un recordatorio del intervalo CleanupNotificationTaskDescription = Pop-up recordatorio de notificaciones sobre la limpieza de archivos no utilizados de Windows y actualizaciones SoftwareDistributionTaskNotificationEvent = La caché de actualización de Windows eliminado correctamente TempTaskNotificationEvent = Los archivos de la carpeta Temp limpiados con éxito @@ -54,10 +51,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* FolderSelect = Seleccione una carpeta FilesWontBeMoved = Los archivos no se transferirán -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada que mostrar NoInternetConnection = No hay conexión a Internet RestartFunction = Por favor, reinicie la función "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 index 6abefc59..874fc453 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Cette opération n'est pas suppport ShortcutPinning = Le raccourci "{0}" est épinglé sur Démarrer... GraphicsPerformanceTitle = Préférence de performances graphiques GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Une information importante +CleanupTaskNotificationTitle = Nettoyer Windows +CleanupTaskNotificationEvent = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? CleanupTaskDescription = Nettoyage des fichiers Windows inutilisés et des mises à jour à l'aide de l'application intégrée pour le nettoyage de disque -CleanupTaskNotificationEventTitle = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? -CleanupTaskNotificationEvent = Le nettoyage de Windows ne prendra pas longtemps. Cette notification apparaîtra à nouveau dans 30 jours -CleanupTaskNotificationSnoozeInterval = Sélectionnez un intervalle de rappel CleanupNotificationTaskDescription = Rappel de notification contextuelle sur le nettoyage des fichiers et des mises à jour inutilisés de Windows SoftwareDistributionTaskNotificationEvent = Le cache de mise à jour Windows a bien été supprimé TempTaskNotificationEvent = Le dossier des fichiers temporaires a été nettoyé avec succès @@ -54,10 +51,7 @@ Enable = Activer EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.* FolderSelect = Sélectionner un dossier FilesWontBeMoved = Les fichiers ne seront pas déplacés -FourHours = 4 heures -HalfHour = 30 minutes Install = Installer -Minute = 1 minute NoData = Rien à afficher NoInternetConnection = Pas de connexion Internet RestartFunction = Veuillez redémarrer la fonction "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 index 211bc7bd..33ece23b 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Ez a művelet nem hajtható végre, ShortcutPinning = A gyorsindító ikon "{0}" Startmenüre helyezése... GraphicsPerformanceTitle = Grafikus teljesítmény tulajdonság GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"? -TaskNotificationTitle = Értesítés -CleanupTaskNotificationTitle = Fontos Információ +CleanupTaskNotificationTitle = Windows tisztítása +CleanupTaskNotificationEvent = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? CleanupTaskDescription = A nem használt Windows fájlok és frissítések eltávolítása a beépített lemezkarbantartó alkalmazással -CleanupTaskNotificationEventTitle = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? -CleanupTaskNotificationEvent = A Windows megtisztítása nem tart már sokáig. Legközelebb 30 nap múlva jelenik meg ez a figyelmeztetés -CleanupTaskNotificationSnoozeInterval = Válasszon ki egy emlékeztető időintervallumot CleanupNotificationTaskDescription = Előugró emlékeztető figyelmeztetés a nem használt Windows fájlok és frissítések törléséről SoftwareDistributionTaskNotificationEvent = A Windows frissités számára fenntartott ideiglenes tárhely sikeresen megtisztítva TempTaskNotificationEvent = Az ideiglenes fájlok tárolására szolgáló könyvtár tisztítása sikeresen megtörtént @@ -54,10 +51,7 @@ Enable = Engedélyezés EXEFilesFilter = *.exe|*.exe|Minden fájl (*.*)|*.* FolderSelect = Válasszon ki egy könyvtárat FilesWontBeMoved = A fájlok nem lesznek áthelyezve -FourHours = 4 óra -HalfHour = 30 perc Install = Telepítés -Minute = 1 perc NoData = Nincs megjeleníthető információ NoInternetConnection = Nincs internetkapcsolat RestartFunction = Ponovo pokrenite funkciju "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 index 8fbddc1d..6fbe3832 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Questa operazione non è supportata ShortcutPinning = Il collegamento "{0}" è stato bloccato... GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceRequest = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"? -TaskNotificationTitle = Notifiche -CleanupTaskNotificationTitle = Informazioni importanti +CleanupTaskNotificationTitle = Pulizia di Windows +CleanupTaskNotificationEvent = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? CleanupTaskDescription = Pulizia di Windows e dei file inutilizzati degli aggiornamenti utilizzando l'app built-in ""pulizia disco" -CleanupTaskNotificationEventTitle = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? -CleanupTaskNotificationEvent = Per la Pulizia di Windows non ci vorrà molto. La notifica verrà mostrata nuovamente fra 30 giorni -CleanupTaskNotificationSnoozeInterval = Selezionare intervallo del promemoria CleanupNotificationTaskDescription = Pop-up promemoria di pulizia dei file inutilizzati e degli aggiornamenti di Windows SoftwareDistributionTaskNotificationEvent = La cache degli aggiornamenti di Windows cancellata con successo TempTaskNotificationEvent = I file cartella Temp puliti con successo @@ -54,10 +51,7 @@ Enable = Abilitare EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* FolderSelect = Selezionare una cartella FilesWontBeMoved = I file non verranno trasferiti -FourHours = 4 ore -HalfHour = 30 minuti Install = Installare -Minute = 1 minuto NoData = Niente da esposizione NoInternetConnection = Nessuna connessione Internet RestartFunction = Si prega di riavviare la funzione "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 index b87ea42a..c511dc8d 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Esta operação não é suportada qu ShortcutPinning = O atalho "{0}" está sendo fixado no Iniciar... GraphicsPerformanceTitle = Preferência de desempenho gráfico GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? -TaskNotificationTitle = Notificação -CleanupTaskNotificationTitle = Informação importante +CleanupTaskNotificationTitle = Limpeza do Windows +CleanupTaskNotificationEvent = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? CleanupTaskDescription = Limpando o Windows arquivos não utilizados e atualizações usando o aplicativo de limpeza aplicativo de limpeza embutido no disco -CleanupTaskNotificationEventTitle = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? -CleanupTaskNotificationEvent = Limpeza de janelas não vai demorar muito. Da próxima vez que esta notificação será exibida em 30 dias -CleanupTaskNotificationSnoozeInterval = Selecione um lembrete de intervalo CleanupNotificationTaskDescription = Pop-up lembrete de notificação sobre a limpeza do Windows arquivos não utilizados e actualizações SoftwareDistributionTaskNotificationEvent = O cache de atualização do Windows excluído com sucesso TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com sucesso @@ -54,10 +51,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.* FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 index 5764b56e..60521f0b 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 @@ -29,10 +29,9 @@ ReservedStorageIsInUse = Операция не поддерж ShortcutPinning = Ярлык "{0}" закрепляется на начальном экране... GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? -TaskNotificationTitle = Уведомление -CleanupTaskNotificationTitle = Важная информация +CleanupTaskNotificationTitle = Очистка Windows +CleanupTaskNotificationEvent = Запустить задание по очистке неиспользуемых файлов и обновлений Windows? CleanupTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска -CleanupTaskNotificationEventTitle = Запустить задачу по очистке неиспользуемых файлов и обновлений Windows? CleanupTaskNotificationEvent = Очистка Windows не займет много времени. Следующий раз это уведомление появится через 30 дней CleanupTaskNotificationSnoozeInterval = Выберите интервал повтора уведомления CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows @@ -54,10 +53,7 @@ Enable = Включить EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* FolderSelect = Выберите папку FilesWontBeMoved = Файлы не будут перенесены -FourHours = 4 часа -HalfHour = 30 минут Install = Установить -Minute = 1 минута NoData = Отсутствуют данные NoInternetConnection = Отсутствует интернет-соединение RestartFunction = Пожалуйста, повторно запустите функцию "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 index 923fbc31..61f46c04 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Ayrılmış depolama kullanımdayken ShortcutPinning = "{0}" kısayolu Başlangıç sekmesine sabitlendi... GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? -TaskNotificationTitle = Bildirim -CleanupTaskNotificationTitle = Önemli Bilgi +CleanupTaskNotificationTitle = Windows temizliği +CleanupTaskNotificationEvent = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? CleanupTaskDescription = Kullanılmayan Windows dosyaları ve güncellemeleri yerleşik Disk Temizleme uygulaması ile temizleniyor -CleanupTaskNotificationEventTitle = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? -CleanupTaskNotificationEvent = Windows temizliği uzun sürmeyecek. Bir dahaki sefer bildirim 30 gün içinde görünecek -CleanupTaskNotificationSnoozeInterval = Hatırlatma Aralığı Seçin CleanupNotificationTaskDescription = Windows kullanılmayan dosyaları ve güncellemeleri temizleme hakkında açılır bildirim hatırlatıcısı SoftwareDistributionTaskNotificationEvent = Windows güncelleme önbelleği başarıyla silindi TempTaskNotificationEvent = Geçici dosyalar klasörü başarıyla temizlendi @@ -54,10 +51,7 @@ Enable = Aktif et EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* FolderSelect = Klasör seç FilesWontBeMoved = Dosyalar taşınmayacak -FourHours = 4 Saat -HalfHour = 30 Dakika Install = Yükle -Minute = 1 Dakika NoData = Görüntülenecek bir şey yok NoInternetConnection = İnternet bağlantısı yok RestartFunction = Lütfen "{0}" işlevini yeniden çalıştırın diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 index 2500ffd8..213e2da1 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = Операція не підтрим ShortcutPinning = Ярлик "{0}" закріплюється на початковому екрані... GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? -TaskNotificationTitle = Cповіщення -CleanupTaskNotificationTitle = Важлива інформація +CleanupTaskNotificationTitle = Очищення Windows +CleanupTaskNotificationEvent = Запустити задачу з очищення зайвих файлів і оновлень Windows? CleanupTaskDescription = Очищення зайвих файлів і оновлень Windows, використовуючи вбудовану програму очищення дисків -CleanupTaskNotificationEventTitle = Запустити задачу з очищення зайвих файлів і оновлень Windows? -CleanupTaskNotificationEvent = Очищення Windows не займе багато часу. Наступний раз це повідомлення з'явиться через 30 днів -CleanupTaskNotificationSnoozeInterval = Виберіть інтервал повтору повідомлення CleanupNotificationTaskDescription = Спливаюче повідомлення з нагадуванням про очищення зайвих файлів і оновлень Windows SoftwareDistributionTaskNotificationEvent = Кеш оновлень Windows успішно видалений TempTaskNotificationEvent = Папка тимчасових файлів успішно очищена @@ -54,10 +51,7 @@ Enable = Увімкнути EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* FolderSelect = Оберіть папку FilesWontBeMoved = Файли не будуть перенесені -FourHours = 4 години -HalfHour = 30 хвилин Install = Встановити -Minute = 1 хвилина NoData = Відсутні дані NoInternetConnection = Відсутнє інтернет-з'єднання RestartFunction = Будь ласка, повторно запустіть функцію "{0}" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 index e8861059..84cba7ed 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 @@ -29,12 +29,9 @@ ReservedStorageIsInUse = 保留存储空间正在使用时不 ShortcutPinning = “{0}“快捷方式将被固定到开始菜单…… GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? -TaskNotificationTitle = 通知 -CleanupTaskNotificationTitle = 重要信息 +CleanupTaskNotificationTitle = Windows清理 +CleanupTaskNotificationEvent = 运行任务以清理Windows未使用的文件和更新? CleanupTaskDescription = 使用内置磁盘清理工具清理未使用的Windows文件和更新 -CleanupTaskNotificationEventTitle = 运行任务以清理Windows未使用的文件和更新? -CleanupTaskNotificationEvent = Windows清理不会花很长时间。下次通知将在30天内显示 -CleanupTaskNotificationSnoozeInterval = 选择提醒间隔 CleanupNotificationTaskDescription = 关于清理Windows未使用的文件和更新的弹出通知提醒 SoftwareDistributionTaskNotificationEvent = Windows更新缓存已成功删除 TempTaskNotificationEvent = 临时文件文件夹已成功清理 @@ -54,10 +51,7 @@ Enable = 启用 EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* FolderSelect = 选择一个文件夹 FilesWontBeMoved = 文件将不会被移动 -FourHours = 4个小时 -HalfHour = 30分钟 Install = 安装 -Minute = 1分钟 NoData = 无数据 NoInternetConnection = 无网络连接 RestartFunction = 请重新运行"{0}"函数 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 index fafac692..5b1500f5 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 @@ -9158,41 +9158,31 @@ Start-Sleep -Seconds 3 [int]`$SourceMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle -function MinimizeWindow +while (`$true) { - [CmdletBinding()] - param - ( - [Parameter(Mandatory = `$true)] - `$Process - ) - - `$ShowWindowAsync = @{ - Namespace = """WinAPI""" - Name = """Win32ShowWindowAsync""" - Language = """CSharp""" - MemberDefinition = @' + [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) + { + `$ShowWindowAsync = @{ + Namespace = """WinAPI""" + Name = """Win32ShowWindowAsync""" + Language = """CSharp""" + MemberDefinition = @' [DllImport("""user32.dll""")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); '@ } - if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) - { - Add-Type @ShowWindowAsync - } - `$MainWindowHandle = (Get-Process -Name `$Process | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -} + if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) + { + Add-Type @ShowWindowAsync + } + `$MainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -while (`$true) -{ - [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) - { - MinimizeWindow -Process cleanmgr break } + Start-Sleep -Milliseconds 5 } @@ -9226,15 +9216,10 @@ while (`$true) [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [xml]`$ToastTemplate = @""" - + $($Localization.CleanupTaskNotificationTitle) - - - $($Localization.CleanupTaskNotificationEventTitle) - - $($Localization.CleanupTaskNotificationEvent) @@ -9244,14 +9229,8 @@ while (`$true) """@ diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 index 1e0bf774..3f3d293c 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-Apps HEVCDownloading = HEVC-Videoerweiterungen vom Gerätehersteller herunterladen… ~2,8 MB GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen? -TaskNotificationTitle = Benachrichtigung -CleanupTaskNotificationTitle = Wichtige Informationen +CleanupTaskNotificationTitle = Windows aufräumen +CleanupTaskNotificationEvent = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? CleanupTaskDescription = Bereinigung von nicht verwendeten Windows-Dateien und Updates mit der integrierten Festplattenbereinigung -CleanupTaskNotificationEventTitle = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? -CleanupTaskNotificationEvent = Die Bereinigung von Windows wird nicht lange dauern. Das nächste Mal wird diese Benachrichtigung in 30 Tagen erscheinen -CleanupTaskNotificationSnoozeInterval = Ein Erinnerungsintervall auswählen CleanupNotificationTaskDescription = Popup-Benachrichtigung zur Erinnerung an die Bereinigung von nicht verwendeten Windows-Dateien und Updates SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt @@ -61,10 +58,7 @@ Enable = Aktivieren EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* FolderSelect = Einen Ordner auswählen FilesWontBeMoved = Dateien werden nicht verschoben -FourHours = 4 Stunden -HalfHour = 30 Minuten Install = Installieren -Minute = 1 Minute NoData = Nichts anzuzeigen NoInternetConnection = Keine Internetverbindung RestartFunction = Bitte die Funktion "{0}" neustarten diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 index 2b7acf28..6dfca13d 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -32,16 +32,13 @@ UserDefaultFolder = Would you like to change the locatio ReservedStorageIsInUse = This operation is not supported when reserved storage is in use\nPlease re-run the "{0}" function again after PC restart ShortcutPinning = The "{0}" shortcut is being pinned to Start... UninstallUWPForAll = For all users -UWPAppsTitle = UWP apps +UWPAppsTitle = UWP Apps HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Important Information +CleanupTaskNotificationTitle = Windows clean up +CleanupTaskNotificationEvent = Run task to clean up Windows unused files and updates? CleanupTaskDescription = Cleaning up Windows unused files and updates using built-in Disk cleanup app -CleanupTaskNotificationEventTitle = Run task to clean up Windows unused files and updates? -CleanupTaskNotificationEvent = Windows cleanup won't take long. Next time this notification will appear in 30 days -CleanupTaskNotificationSnoozeInterval = Select a Reminder Interval CleanupNotificationTaskDescription = Pop-up notification reminder about cleaning up Windows unused files and updates SoftwareDistributionTaskNotificationEvent = The Windows update cache successfully deleted TempTaskNotificationEvent = The temp files folder successfully cleaned up @@ -61,10 +58,7 @@ Enable = Enable EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* FolderSelect = Select a folder FilesWontBeMoved = Files will not be moved -FourHours = 4 hours -HalfHour = 30 minutes Install = Install -Minute = 1 minute NoData = Nothing to display NoInternetConnection = No Internet connection RestartFunction = Please re-run the "{0}" function diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 index e71eee02..1ad40f86 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Aplicaciones UWP HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo... ~2,8 MB GraphicsPerformanceTitle = Preferencia de rendimiento gráfico GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? -TaskNotificationTitle = Notificación -CleanupTaskNotificationTitle = Información importante +CleanupTaskNotificationTitle = Limpieza de Windows +CleanupTaskNotificationEvent = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? CleanupTaskDescription = La limpieza de Windows los archivos no utilizados y actualizaciones utilizando una función de aplicación de limpieza de discos -CleanupTaskNotificationEventTitle = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? -CleanupTaskNotificationEvent = Ventanas de limpieza no tomará mucho tiempo. La próxima vez que esta notificación aparecerá en 30 días -CleanupTaskNotificationSnoozeInterval = Seleccionar un recordatorio del intervalo CleanupNotificationTaskDescription = Pop-up recordatorio de notificaciones sobre la limpieza de archivos no utilizados de Windows y actualizaciones SoftwareDistributionTaskNotificationEvent = La caché de actualización de Windows eliminado correctamente TempTaskNotificationEvent = Los archivos de la carpeta Temp limpiados con éxito @@ -61,10 +58,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* FolderSelect = Seleccione una carpeta FilesWontBeMoved = Los archivos no se transferirán -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada que mostrar NoInternetConnection = No hay conexión a Internet RestartFunction = Por favor, reinicie la función "{0}" diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 index 0f28172e..55334faa 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Applications UWP HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil... ~2,8 MB GraphicsPerformanceTitle = Préférence de performances graphiques GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Une information importante +CleanupTaskNotificationTitle = Nettoyer Windows +CleanupTaskNotificationEvent = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? CleanupTaskDescription = Nettoyage des fichiers Windows inutilisés et des mises à jour à l'aide de l'application intégrée pour le nettoyage de disque -CleanupTaskNotificationEventTitle = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? -CleanupTaskNotificationEvent = Le nettoyage de Windows ne prendra pas longtemps. Cette notification apparaîtra à nouveau dans 30 jours -CleanupTaskNotificationSnoozeInterval = Sélectionnez un intervalle de rappel CleanupNotificationTaskDescription = Rappel de notification contextuelle sur le nettoyage des fichiers et des mises à jour inutilisés de Windows SoftwareDistributionTaskNotificationEvent = Le cache de mise à jour Windows a bien été supprimé TempTaskNotificationEvent = Le dossier des fichiers temporaires a été nettoyé avec succès @@ -61,10 +58,7 @@ Enable = Activer EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.* FolderSelect = Sélectionner un dossier FilesWontBeMoved = Les fichiers ne seront pas déplacés -FourHours = 4 heures -HalfHour = 30 minutes Install = Installer -Minute = 1 minute NoData = Rien à afficher NoInternetConnection = Pas de connexion Internet RestartFunction = Veuillez redémarrer la fonction "{0}" diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 index 276688c1..2a3c5e81 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Alkalmazások HEVCDownloading = A HEVC Videobővítmények letöltése a gyártói oldalról... ~2,8 MB GraphicsPerformanceTitle = Grafikus teljesítmény tulajdonság GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"? -TaskNotificationTitle = Értesítés -CleanupTaskNotificationTitle = Fontos Információ +CleanupTaskNotificationTitle = Windows tisztítása +CleanupTaskNotificationEvent = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? CleanupTaskDescription = A nem használt Windows fájlok és frissítések eltávolítása a beépített lemezkarbantartó alkalmazással -CleanupTaskNotificationEventTitle = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? -CleanupTaskNotificationEvent = A Windows megtisztítása nem tart már sokáig. Legközelebb 30 nap múlva jelenik meg ez a figyelmeztetés -CleanupTaskNotificationSnoozeInterval = Válasszon ki egy emlékeztető időintervallumot CleanupNotificationTaskDescription = Előugró emlékeztető figyelmeztetés a nem használt Windows fájlok és frissítések törléséről SoftwareDistributionTaskNotificationEvent = A Windows frissités számára fenntartott ideiglenes tárhely sikeresen megtisztítva TempTaskNotificationEvent = Az ideiglenes fájlok tárolására szolgáló könyvtár tisztítása sikeresen megtörtént @@ -61,10 +58,7 @@ Enable = Engedélyezés EXEFilesFilter = *.exe|*.exe|Minden fájl (*.*)|*.* FolderSelect = Válasszon ki egy könyvtárat FilesWontBeMoved = A fájlok nem lesznek áthelyezve -FourHours = 4 óra -HalfHour = 30 perc Install = Telepítés -Minute = 1 perc NoData = Nincs megjeleníthető információ NoInternetConnection = Nincs internetkapcsolat RestartFunction = Ponovo pokrenite funkciju "{0}" diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 index d26a7bde..1325a098 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Apps HEVCDownloading = Download del codec video HEVC Video estenxion dal produttore... ~ Circa 2,8 MB GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceRequest = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"? -TaskNotificationTitle = Notifiche -CleanupTaskNotificationTitle = Informazioni importanti +CleanupTaskNotificationTitle = Pulizia di Windows +CleanupTaskNotificationEvent = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? CleanupTaskDescription = Pulizia di Windows e dei file inutilizzati degli aggiornamenti utilizzando l'app built-in ""pulizia disco" -CleanupTaskNotificationEventTitle = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? -CleanupTaskNotificationEvent = Per la Pulizia di Windows non ci vorrà molto. La notifica verrà mostrata nuovamente fra 30 giorni -CleanupTaskNotificationSnoozeInterval = Selezionare intervallo del promemoria CleanupNotificationTaskDescription = Pop-up promemoria di pulizia dei file inutilizzati e degli aggiornamenti di Windows SoftwareDistributionTaskNotificationEvent = La cache degli aggiornamenti di Windows cancellata con successo TempTaskNotificationEvent = I file cartella Temp puliti con successo @@ -61,10 +58,7 @@ Enable = Abilitare EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* FolderSelect = Selezionare una cartella FilesWontBeMoved = I file non verranno trasferiti -FourHours = 4 ore -HalfHour = 30 minuti Install = Installare -Minute = 1 minuto NoData = Niente da esposizione NoInternetConnection = Nessuna connessione Internet RestartFunction = Si prega di riavviare la funzione "{0}" diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 index 1d8059c7..d55e7907 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Apps UWP HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante... ~ 2,8 MB GraphicsPerformanceTitle = Preferência de desempenho gráfico GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? -TaskNotificationTitle = Notificação -CleanupTaskNotificationTitle = Informação importante +CleanupTaskNotificationTitle = Limpeza do Windows +CleanupTaskNotificationEvent = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? CleanupTaskDescription = Limpando o Windows arquivos não utilizados e atualizações usando o aplicativo de limpeza aplicativo de limpeza embutido no disco -CleanupTaskNotificationEventTitle = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? -CleanupTaskNotificationEvent = Limpeza de janelas não vai demorar muito. Da próxima vez que esta notificação será exibida em 30 dias -CleanupTaskNotificationSnoozeInterval = Selecione um lembrete de intervalo CleanupNotificationTaskDescription = Pop-up lembrete de notificação sobre a limpeza do Windows arquivos não utilizados e actualizações SoftwareDistributionTaskNotificationEvent = O cache de atualização do Windows excluído com sucesso TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com sucesso diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 index 2761ebb7..1b796706 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-приложения HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? -TaskNotificationTitle = Уведомление -CleanupTaskNotificationTitle = Важная информация +CleanupTaskNotificationTitle = Очистка Windows +CleanupTaskNotificationEvent = Запустить задание по очистке неиспользуемых файлов и обновлений Windows? CleanupTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска -CleanupTaskNotificationEventTitle = Запустить задачу по очистке неиспользуемых файлов и обновлений Windows? -CleanupTaskNotificationEvent = Очистка Windows не займет много времени. Следующий раз это уведомление появится через 30 дней -CleanupTaskNotificationSnoozeInterval = Выберите интервал повтора уведомления CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален TempTaskNotificationEvent = Папка временных файлов успешно очищена @@ -61,10 +58,7 @@ Enable = Включить EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* FolderSelect = Выберите папку FilesWontBeMoved = Файлы не будут перенесены -FourHours = 4 часа -HalfHour = 30 минут Install = Установить -Minute = 1 минута NoData = Отсутствуют данные NoInternetConnection = Отсутствует интернет-соединение RestartFunction = Пожалуйста, повторно запустите функцию "{0}" diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 index abfc177c..033fc6db 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Uygulamaları HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor... ~2,8 MB GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? -TaskNotificationTitle = Bildirim -CleanupTaskNotificationTitle = Önemli Bilgi +CleanupTaskNotificationTitle = Windows temizliği +CleanupTaskNotificationEvent = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? CleanupTaskDescription = Kullanılmayan Windows dosyaları ve güncellemeleri yerleşik Disk Temizleme uygulaması ile temizleniyor -CleanupTaskNotificationEventTitle = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? -CleanupTaskNotificationEvent = Windows temizliği uzun sürmeyecek. Bir dahaki sefer bildirim 30 gün içinde görünecek -CleanupTaskNotificationSnoozeInterval = Hatırlatma Aralığı Seçin CleanupNotificationTaskDescription = Windows kullanılmayan dosyaları ve güncellemeleri temizleme hakkında açılır bildirim hatırlatıcısı SoftwareDistributionTaskNotificationEvent = Windows güncelleme önbelleği başarıyla silindi TempTaskNotificationEvent = Geçici dosyalar klasörü başarıyla temizlendi @@ -61,10 +58,7 @@ Enable = Aktif et EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* FolderSelect = Klasör seç FilesWontBeMoved = Dosyalar taşınmayacak -FourHours = 4 Saat -HalfHour = 30 Dakika Install = Yükle -Minute = 1 Dakika NoData = Görüntülenecek bir şey yok NoInternetConnection = İnternet bağlantısı yok RestartFunction = Lütfen "{0}" işlevini yeniden çalıştırın diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 index 925257b7..2b4ee6e4 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = Програми UWP HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? -TaskNotificationTitle = Cповіщення -CleanupTaskNotificationTitle = Важлива інформація +CleanupTaskNotificationTitle = Очищення Windows +CleanupTaskNotificationEvent = Запустити задачу з очищення зайвих файлів і оновлень Windows? CleanupTaskDescription = Очищення зайвих файлів і оновлень Windows, використовуючи вбудовану програму очищення дисків -CleanupTaskNotificationEventTitle = Запустити задачу з очищення зайвих файлів і оновлень Windows? -CleanupTaskNotificationEvent = Очищення Windows не займе багато часу. Наступний раз це повідомлення з'явиться через 30 днів -CleanupTaskNotificationSnoozeInterval = Виберіть інтервал повтору повідомлення CleanupNotificationTaskDescription = Спливаюче повідомлення з нагадуванням про очищення зайвих файлів і оновлень Windows SoftwareDistributionTaskNotificationEvent = Кеш оновлень Windows успішно видалений TempTaskNotificationEvent = Папка тимчасових файлів успішно очищена @@ -61,10 +58,7 @@ Enable = Увімкнути EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* FolderSelect = Оберіть папку FilesWontBeMoved = Файли не будуть перенесені -FourHours = 4 години -HalfHour = 30 хвилин Install = Встановити -Minute = 1 хвилина NoData = Відсутні дані NoInternetConnection = Відсутнє інтернет-з'єднання RestartFunction = Будь ласка, повторно запустіть функцію "{0}" diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 index b6d0012c..4e3df075 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP应用 HEVCDownloading = 下载”HEVC Video Extensions from Device Manufacturer”…… ~2,8 MB GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? -TaskNotificationTitle = 通知 -CleanupTaskNotificationTitle = 重要信息 +CleanupTaskNotificationTitle = Windows清理 +CleanupTaskNotificationEvent = 运行任务以清理Windows未使用的文件和更新? CleanupTaskDescription = 使用内置磁盘清理工具清理未使用的Windows文件和更新 -CleanupTaskNotificationEventTitle = 运行任务以清理Windows未使用的文件和更新? -CleanupTaskNotificationEvent = Windows清理不会花很长时间。下次通知将在30天内显示 -CleanupTaskNotificationSnoozeInterval = 选择提醒间隔 CleanupNotificationTaskDescription = 关于清理Windows未使用的文件和更新的弹出通知提醒 SoftwareDistributionTaskNotificationEvent = Windows更新缓存已成功删除 TempTaskNotificationEvent = 临时文件文件夹已成功清理 @@ -61,10 +58,7 @@ Enable = 启用 EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* FolderSelect = 选择一个文件夹 FilesWontBeMoved = 文件将不会被移动 -FourHours = 4个小时 -HalfHour = 30分钟 Install = 安装 -Minute = 1分钟 NoData = 无数据 NoInternetConnection = 无网络连接 RestartFunction = 请重新运行"{0}"函数 diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 index 798c3e33..6cbff25e 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 @@ -11371,41 +11371,31 @@ Start-Sleep -Seconds 3 [int]`$SourceMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle -function MinimizeWindow +while (`$true) { - [CmdletBinding()] - param - ( - [Parameter(Mandatory = `$true)] - `$Process - ) - - `$ShowWindowAsync = @{ - Namespace = """WinAPI""" - Name = """Win32ShowWindowAsync""" - Language = """CSharp""" - MemberDefinition = @' + [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) + { + `$ShowWindowAsync = @{ + Namespace = """WinAPI""" + Name = """Win32ShowWindowAsync""" + Language = """CSharp""" + MemberDefinition = @' [DllImport("""user32.dll""")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); '@ } - if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) - { - Add-Type @ShowWindowAsync - } - `$MainWindowHandle = (Get-Process -Name `$Process | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -} + if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) + { + Add-Type @ShowWindowAsync + } + `$MainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -while (`$true) -{ - [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) - { - MinimizeWindow -Process cleanmgr break } + Start-Sleep -Milliseconds 5 } @@ -11439,15 +11429,10 @@ while (`$true) [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [xml]`$ToastTemplate = @""" - + $($Localization.CleanupTaskNotificationTitle) - - - $($Localization.CleanupTaskNotificationEventTitle) - - $($Localization.CleanupTaskNotificationEvent) @@ -11457,14 +11442,8 @@ while (`$true) """@ 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 b727190d..89932fd3 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-Apps HEVCDownloading = HEVC-Videoerweiterungen vom Gerätehersteller herunterladen… ~2,8 MB GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen? -TaskNotificationTitle = Benachrichtigung -CleanupTaskNotificationTitle = Wichtige Informationen +CleanupTaskNotificationTitle = Windows aufräumen +CleanupTaskNotificationEvent = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? CleanupTaskDescription = Bereinigung von nicht verwendeten Windows-Dateien und Updates mit der integrierten Festplattenbereinigung -CleanupTaskNotificationEventTitle = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? -CleanupTaskNotificationEvent = Die Bereinigung von Windows wird nicht lange dauern. Das nächste Mal wird diese Benachrichtigung in 30 Tagen erscheinen -CleanupTaskNotificationSnoozeInterval = Ein Erinnerungsintervall auswählen CleanupNotificationTaskDescription = Popup-Benachrichtigung zur Erinnerung an die Bereinigung von nicht verwendeten Windows-Dateien und Updates SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt @@ -61,10 +58,7 @@ Enable = Aktivieren EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* FolderSelect = Einen Ordner auswählen FilesWontBeMoved = Dateien werden nicht verschoben -FourHours = 4 Stunden -HalfHour = 30 Minuten Install = Installieren -Minute = 1 Minute NoData = Nichts anzuzeigen NoInternetConnection = Keine Internetverbindung RestartFunction = Bitte die Funktion "{0}" neustarten 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 a87b1bee..d69c60ab 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 @@ -32,16 +32,13 @@ ReservedStorageIsInUse = This operation is not supported when ShortcutPinning = The "{0}" shortcut is being pinned to Start... SSDRequired = To use Windows Subsystem for Android™ on your device, your PC needs to have Solid State Drive (SSD) installed UninstallUWPForAll = For all users -UWPAppsTitle = UWP apps +UWPAppsTitle = UWP Apps HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Important Information +CleanupTaskNotificationTitle = Windows clean up +CleanupTaskNotificationEvent = Run task to clean up Windows unused files and updates? CleanupTaskDescription = Cleaning up Windows unused files and updates using built-in Disk cleanup app -CleanupTaskNotificationEventTitle = Run task to clean up Windows unused files and updates? -CleanupTaskNotificationEvent = Windows cleanup won't take long. Next time this notification will appear in 30 days -CleanupTaskNotificationSnoozeInterval = Select a Reminder Interval CleanupNotificationTaskDescription = Pop-up notification reminder about cleaning up Windows unused files and updates SoftwareDistributionTaskNotificationEvent = The Windows update cache successfully deleted TempTaskNotificationEvent = The temp files folder successfully cleaned up @@ -61,10 +58,7 @@ Enable = Enable EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* FolderSelect = Select a folder FilesWontBeMoved = Files will not be moved -FourHours = 4 hours -HalfHour = 30 minutes Install = Install -Minute = 1 minute NoData = Nothing to display NoInternetConnection = No Internet connection RestartFunction = Please re-run the "{0}" function 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 90d3d467..3bf4e1f4 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Aplicaciones UWP HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo... ~2,8 MB GraphicsPerformanceTitle = Preferencia de rendimiento gráfico GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? -TaskNotificationTitle = Notificación -CleanupTaskNotificationTitle = Información importante +CleanupTaskNotificationTitle = Limpieza de Windows +CleanupTaskNotificationEvent = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? CleanupTaskDescription = La limpieza de Windows los archivos no utilizados y actualizaciones utilizando una función de aplicación de limpieza de discos -CleanupTaskNotificationEventTitle = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? -CleanupTaskNotificationEvent = Ventanas de limpieza no tomará mucho tiempo. La próxima vez que esta notificación aparecerá en 30 días -CleanupTaskNotificationSnoozeInterval = Seleccionar un recordatorio del intervalo CleanupNotificationTaskDescription = Pop-up recordatorio de notificaciones sobre la limpieza de archivos no utilizados de Windows y actualizaciones SoftwareDistributionTaskNotificationEvent = La caché de actualización de Windows eliminado correctamente TempTaskNotificationEvent = Los archivos de la carpeta Temp limpiados con éxito @@ -61,10 +58,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* FolderSelect = Seleccione una carpeta FilesWontBeMoved = Los archivos no se transferirán -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada que mostrar NoInternetConnection = No hay conexión a Internet RestartFunction = Por favor, reinicie la función "{0}" 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 d7b2b3a3..52768da1 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Applications UWP HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil... ~2,8 MB GraphicsPerformanceTitle = Préférence de performances graphiques GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Une information importante +CleanupTaskNotificationTitle = Nettoyer Windows +CleanupTaskNotificationEvent = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? CleanupTaskDescription = Nettoyage des fichiers Windows inutilisés et des mises à jour à l'aide de l'application intégrée pour le nettoyage de disque -CleanupTaskNotificationEventTitle = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? -CleanupTaskNotificationEvent = Le nettoyage de Windows ne prendra pas longtemps. Cette notification apparaîtra à nouveau dans 30 jours -CleanupTaskNotificationSnoozeInterval = Sélectionnez un intervalle de rappel CleanupNotificationTaskDescription = Rappel de notification contextuelle sur le nettoyage des fichiers et des mises à jour inutilisés de Windows SoftwareDistributionTaskNotificationEvent = Le cache de mise à jour Windows a bien été supprimé TempTaskNotificationEvent = Le dossier des fichiers temporaires a été nettoyé avec succès @@ -61,10 +58,7 @@ Enable = Activer EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.* FolderSelect = Sélectionner un dossier FilesWontBeMoved = Les fichiers ne seront pas déplacés -FourHours = 4 heures -HalfHour = 30 minutes Install = Installer -Minute = 1 minute NoData = Rien à afficher NoInternetConnection = Pas de connexion Internet RestartFunction = Veuillez redémarrer la fonction "{0}" 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 c4b43357..f6d3c205 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Alkalmazások HEVCDownloading = A HEVC Videobővítmények letöltése a gyártói oldalról... ~2,8 MB GraphicsPerformanceTitle = Grafikus teljesítmény tulajdonság GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"? -TaskNotificationTitle = Értesítés -CleanupTaskNotificationTitle = Fontos Információ +CleanupTaskNotificationTitle = Windows tisztítása +CleanupTaskNotificationEvent = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? CleanupTaskDescription = A nem használt Windows fájlok és frissítések eltávolítása a beépített lemezkarbantartó alkalmazással -CleanupTaskNotificationEventTitle = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? -CleanupTaskNotificationEvent = A Windows megtisztítása nem tart már sokáig. Legközelebb 30 nap múlva jelenik meg ez a figyelmeztetés -CleanupTaskNotificationSnoozeInterval = Válasszon ki egy emlékeztető időintervallumot CleanupNotificationTaskDescription = Előugró emlékeztető figyelmeztetés a nem használt Windows fájlok és frissítések törléséről SoftwareDistributionTaskNotificationEvent = A Windows frissités számára fenntartott ideiglenes tárhely sikeresen megtisztítva TempTaskNotificationEvent = Az ideiglenes fájlok tárolására szolgáló könyvtár tisztítása sikeresen megtörtént @@ -61,10 +58,7 @@ Enable = Engedélyezés EXEFilesFilter = *.exe|*.exe|Minden fájl (*.*)|*.* FolderSelect = Válasszon ki egy könyvtárat FilesWontBeMoved = A fájlok nem lesznek áthelyezve -FourHours = 4 óra -HalfHour = 30 perc Install = Telepítés -Minute = 1 perc NoData = Nincs megjeleníthető információ NoInternetConnection = Nincs internetkapcsolat RestartFunction = Ponovo pokrenite funkciju "{0}" 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 93808651..9f6255d9 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Apps HEVCDownloading = Download del codec video HEVC Video estenxion dal produttore... ~ Circa 2,8 MB GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceRequest = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"? -TaskNotificationTitle = Notifiche -CleanupTaskNotificationTitle = Informazioni importanti +CleanupTaskNotificationTitle = Pulizia di Windows +CleanupTaskNotificationEvent = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? CleanupTaskDescription = Pulizia di Windows e dei file inutilizzati degli aggiornamenti utilizzando l'app built-in ""pulizia disco" -CleanupTaskNotificationEventTitle = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? -CleanupTaskNotificationEvent = Per la Pulizia di Windows non ci vorrà molto. La notifica verrà mostrata nuovamente fra 30 giorni -CleanupTaskNotificationSnoozeInterval = Selezionare intervallo del promemoria CleanupNotificationTaskDescription = Pop-up promemoria di pulizia dei file inutilizzati e degli aggiornamenti di Windows SoftwareDistributionTaskNotificationEvent = La cache degli aggiornamenti di Windows cancellata con successo TempTaskNotificationEvent = I file cartella Temp puliti con successo @@ -61,10 +58,7 @@ Enable = Abilitare EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* FolderSelect = Selezionare una cartella FilesWontBeMoved = I file non verranno trasferiti -FourHours = 4 ore -HalfHour = 30 minuti Install = Installare -Minute = 1 minuto NoData = Niente da esposizione NoInternetConnection = Nessuna connessione Internet RestartFunction = Si prega di riavviare la funzione "{0}" 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 61e02a67..55b2ac26 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Apps UWP HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante... ~ 2,8 MB GraphicsPerformanceTitle = Preferência de desempenho gráfico GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? -TaskNotificationTitle = Notificação -CleanupTaskNotificationTitle = Informação importante +CleanupTaskNotificationTitle = Limpeza do Windows +CleanupTaskNotificationEvent = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? CleanupTaskDescription = Limpando o Windows arquivos não utilizados e atualizações usando o aplicativo de limpeza aplicativo de limpeza embutido no disco -CleanupTaskNotificationEventTitle = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? -CleanupTaskNotificationEvent = Limpeza de janelas não vai demorar muito. Da próxima vez que esta notificação será exibida em 30 dias -CleanupTaskNotificationSnoozeInterval = Selecione um lembrete de intervalo CleanupNotificationTaskDescription = Pop-up lembrete de notificação sobre a limpeza do Windows arquivos não utilizados e actualizações SoftwareDistributionTaskNotificationEvent = O cache de atualização do Windows excluído com sucesso TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com sucesso @@ -61,10 +58,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.* FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" 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 ec0c73b8..6cdedd26 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-приложения HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? -TaskNotificationTitle = Уведомление -CleanupTaskNotificationTitle = Важная информация +CleanupTaskNotificationTitle = Очистка Windows +CleanupTaskNotificationEvent = Запустить задание по очистке неиспользуемых файлов и обновлений Windows? CleanupTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска -CleanupTaskNotificationEventTitle = Запустить задачу по очистке неиспользуемых файлов и обновлений Windows? -CleanupTaskNotificationEvent = Очистка Windows не займет много времени. Следующий раз это уведомление появится через 30 дней -CleanupTaskNotificationSnoozeInterval = Выберите интервал повтора уведомления CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален TempTaskNotificationEvent = Папка временных файлов успешно очищена @@ -61,10 +58,7 @@ Enable = Включить EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* FolderSelect = Выберите папку FilesWontBeMoved = Файлы не будут перенесены -FourHours = 4 часа -HalfHour = 30 минут Install = Установить -Minute = 1 минута NoData = Отсутствуют данные NoInternetConnection = Отсутствует интернет-соединение RestartFunction = Пожалуйста, повторно запустите функцию "{0}" 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 a618bf9f..426ab9a6 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Uygulamaları HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor... ~2,8 MB GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? -TaskNotificationTitle = Bildirim -CleanupTaskNotificationTitle = Önemli Bilgi +CleanupTaskNotificationTitle = Windows temizliği +CleanupTaskNotificationEvent = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? CleanupTaskDescription = Kullanılmayan Windows dosyaları ve güncellemeleri yerleşik Disk Temizleme uygulaması ile temizleniyor -CleanupTaskNotificationEventTitle = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? -CleanupTaskNotificationEvent = Windows temizliği uzun sürmeyecek. Bir dahaki sefer bildirim 30 gün içinde görünecek -CleanupTaskNotificationSnoozeInterval = Hatırlatma Aralığı Seçin CleanupNotificationTaskDescription = Windows kullanılmayan dosyaları ve güncellemeleri temizleme hakkında açılır bildirim hatırlatıcısı SoftwareDistributionTaskNotificationEvent = Windows güncelleme önbelleği başarıyla silindi TempTaskNotificationEvent = Geçici dosyalar klasörü başarıyla temizlendi @@ -61,10 +58,7 @@ Enable = Aktif et EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* FolderSelect = Klasör seç FilesWontBeMoved = Dosyalar taşınmayacak -FourHours = 4 Saat -HalfHour = 30 Dakika Install = Yükle -Minute = 1 Dakika NoData = Görüntülenecek bir şey yok NoInternetConnection = İnternet bağlantısı yok RestartFunction = Lütfen "{0}" işlevini yeniden ç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 d3d2740f..a01c48e6 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Програми UWP HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? -TaskNotificationTitle = Cповіщення -CleanupTaskNotificationTitle = Важлива інформація +CleanupTaskNotificationTitle = Очищення Windows +CleanupTaskNotificationEvent = Запустити задачу з очищення зайвих файлів і оновлень Windows? CleanupTaskDescription = Очищення зайвих файлів і оновлень Windows, використовуючи вбудовану програму очищення дисків -CleanupTaskNotificationEventTitle = Запустити задачу з очищення зайвих файлів і оновлень Windows? -CleanupTaskNotificationEvent = Очищення Windows не займе багато часу. Наступний раз це повідомлення з'явиться через 30 днів -CleanupTaskNotificationSnoozeInterval = Оберіть інтервал повтору повідомлення CleanupNotificationTaskDescription = Спливаюче повідомлення з нагадуванням про очищення зайвих файлів і оновлень Windows SoftwareDistributionTaskNotificationEvent = Кеш оновлень Windows успішно видалений TempTaskNotificationEvent = Папка тимчасових файлів успішно очищена @@ -61,10 +58,7 @@ Enable = Увімкнути EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* FolderSelect = Оберіть папку FilesWontBeMoved = Файли не будуть перенесені -FourHours = 4 години -HalfHour = 30 хвилин Install = Встановити -Minute = 1 хвилина NoData = Відсутні дані NoInternetConnection = Відсутнє інтернет-з'єднання RestartFunction = Будь ласка, повторно запустіть функцію "{0}" 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 050639fd..943be6e1 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP应用 HEVCDownloading = 下载”HEVC Video Extensions from Device Manufacturer”…… ~2,8 MB GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? -TaskNotificationTitle = 通知 -CleanupTaskNotificationTitle = 重要信息 +CleanupTaskNotificationTitle = Windows清理 +CleanupTaskNotificationEvent = 运行任务以清理Windows未使用的文件和更新? CleanupTaskDescription = 使用内置磁盘清理工具清理未使用的Windows文件和更新 -CleanupTaskNotificationEventTitle = 运行任务以清理Windows未使用的文件和更新? -CleanupTaskNotificationEvent = Windows清理不会花很长时间。下次通知将在30天内显示 -CleanupTaskNotificationSnoozeInterval = 选择提醒间隔 CleanupNotificationTaskDescription = 关于清理Windows未使用的文件和更新的弹出通知提醒 SoftwareDistributionTaskNotificationEvent = Windows更新缓存已成功删除 TempTaskNotificationEvent = 临时文件文件夹已成功清理 @@ -61,10 +58,7 @@ Enable = 启用 EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* FolderSelect = 选择一个文件夹 FilesWontBeMoved = 文件将不会被移动 -FourHours = 4个小时 -HalfHour = 30分钟 Install = 安装 -Minute = 1分钟 NoData = 无数据 NoInternetConnection = 无网络连接 RestartFunction = 请重新运行"{0}"函数 diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index f20e96a0..251834cf 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -10749,41 +10749,31 @@ Start-Sleep -Seconds 3 [int]`$SourceMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle -function MinimizeWindow +while (`$true) { - [CmdletBinding()] - param - ( - [Parameter(Mandatory = `$true)] - `$Process - ) - - `$ShowWindowAsync = @{ - Namespace = """WinAPI""" - Name = """Win32ShowWindowAsync""" - Language = """CSharp""" - MemberDefinition = @' + [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) + { + `$ShowWindowAsync = @{ + Namespace = """WinAPI""" + Name = """Win32ShowWindowAsync""" + Language = """CSharp""" + MemberDefinition = @' [DllImport("""user32.dll""")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); '@ } - if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) - { - Add-Type @ShowWindowAsync - } - `$MainWindowHandle = (Get-Process -Name `$Process | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -} + if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) + { + Add-Type @ShowWindowAsync + } + `$MainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -while (`$true) -{ - [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) - { - MinimizeWindow -Process cleanmgr break } + Start-Sleep -Milliseconds 5 } @@ -10817,15 +10807,10 @@ while (`$true) [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [xml]`$ToastTemplate = @""" - + $($Localization.CleanupTaskNotificationTitle) - - - $($Localization.CleanupTaskNotificationEventTitle) - - $($Localization.CleanupTaskNotificationEvent) @@ -10835,14 +10820,8 @@ while (`$true) """@ @@ -12332,120 +12311,6 @@ function ShareContext } } -<# - .SYNOPSIS - The "Edit with Photos" item in the media files context menu - - .PARAMETER Hide - Hide the "Edit with Photos" item from the media files context menu - - .PARAMETER Show - Show the "Edit with Photos" item in the media files context menu - - .EXAMPLE - EditWithPhotosContext -Hide - - .EXAMPLE - EditWithPhotosContext -Show - - .NOTES - Current user -#> -function EditWithPhotosContext ### -{ - param - ( - [Parameter( - Mandatory = $true, - ParameterSetName = "Hide" - )] - [switch] - $Hide, - - [Parameter( - Mandatory = $true, - ParameterSetName = "Show" - )] - [switch] - $Show - ) - - if ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -eq 22000) - { - if (Get-AppxPackage -Name Microsoft.Windows.Photos) - { - switch ($PSCmdlet.ParameterSetName) - { - "Hide" - { - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force - } - "Show" - { - Remove-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit -Name ProgrammaticAccessOnly -Force -ErrorAction Ignore - } - } - } - } -} - -<# - .SYNOPSIS - The "Create a new video" item in the media files context menu - - .PARAMETER Hide - Hide the "Create a new video" item from the media files context menu - - .PARAMETER Show - Show the "Create a new video" item in the media files context menu - - .EXAMPLE - CreateANewVideoContext -Hide - - .EXAMPLE - CreateANewVideoContext -Show - - .NOTES - Current user -#> -function CreateANewVideoContext ### -{ - param - ( - [Parameter( - Mandatory = $true, - ParameterSetName = "Hide" - )] - [switch] - $Hide, - - [Parameter( - Mandatory = $true, - ParameterSetName = "Show" - )] - [switch] - $Show - ) - - if ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -eq 22000) - { - if (Get-AppxPackage -Name Microsoft.Windows.Photos) - { - switch ($PSCmdlet.ParameterSetName) - { - "Hide" - { - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellCreateVideo -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force - } - "Show" - { - Remove-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellCreateVideo -Name ProgrammaticAccessOnly -Force -ErrorAction Ignore - } - } - } - } -} - <# .SYNOPSIS The "Print" item in the .bat and .cmd context menu diff --git a/src/Sophia_Script_for_Windows_11/Sophia.ps1 b/src/Sophia_Script_for_Windows_11/Sophia.ps1 index 761616cd..6d1524a7 100644 --- a/src/Sophia_Script_for_Windows_11/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11/Sophia.ps1 @@ -1265,22 +1265,6 @@ ShareContext -Hide # Отобразить пункт "Отправить" (поделиться) в контекстном меню (значение по умолчанию) # ShareContext -Show -# Hide the "Edit with Photos" item from the media files context menu -# Скрыть пункт "Изменить с помощью приложения "Фотографии"" из контекстного меню медиа-файлов -EditWithPhotosContext -Hide - -# Show the "Edit with Photos" item in the media files context menu (default value) -# Отобразить пункт "Изменить с помощью приложения "Фотографии"" в контекстном меню медиа-файлов (значение по умолчанию) -# EditWithPhotosContext -Show - -# Hide the "Create a new video" item in the media files context menu -# Скрыть пункт "Создать новое видео" из контекстного меню медиа-файлов -CreateANewVideoContext -Hide - -# Show the "Create a new video" item in the media files context menu (default value) -# Отобразить пункт "Создать новое видео" в контекстном меню медиа-файлов (значение по умолчанию) -# CreateANewVideoContext -Show - # Hide the "Print" item from the .bat and .cmd context menu # Скрыть пункт "Печать" из контекстного меню .bat и .cmd файлов PrintCMDContext -Hide 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 b727190d..89932fd3 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-Apps HEVCDownloading = HEVC-Videoerweiterungen vom Gerätehersteller herunterladen… ~2,8 MB GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen? -TaskNotificationTitle = Benachrichtigung -CleanupTaskNotificationTitle = Wichtige Informationen +CleanupTaskNotificationTitle = Windows aufräumen +CleanupTaskNotificationEvent = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? CleanupTaskDescription = Bereinigung von nicht verwendeten Windows-Dateien und Updates mit der integrierten Festplattenbereinigung -CleanupTaskNotificationEventTitle = Aufgabe zum Bereinigen nicht verwendeter Windows-Dateien und -Updates ausführen? -CleanupTaskNotificationEvent = Die Bereinigung von Windows wird nicht lange dauern. Das nächste Mal wird diese Benachrichtigung in 30 Tagen erscheinen -CleanupTaskNotificationSnoozeInterval = Ein Erinnerungsintervall auswählen CleanupNotificationTaskDescription = Popup-Benachrichtigung zur Erinnerung an die Bereinigung von nicht verwendeten Windows-Dateien und Updates SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt @@ -61,10 +58,7 @@ Enable = Aktivieren EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* FolderSelect = Einen Ordner auswählen FilesWontBeMoved = Dateien werden nicht verschoben -FourHours = 4 Stunden -HalfHour = 30 Minuten Install = Installieren -Minute = 1 Minute NoData = Nichts anzuzeigen NoInternetConnection = Keine Internetverbindung RestartFunction = Bitte die Funktion "{0}" neustarten 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 a87b1bee..d69c60ab 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 @@ -32,16 +32,13 @@ ReservedStorageIsInUse = This operation is not supported when ShortcutPinning = The "{0}" shortcut is being pinned to Start... SSDRequired = To use Windows Subsystem for Android™ on your device, your PC needs to have Solid State Drive (SSD) installed UninstallUWPForAll = For all users -UWPAppsTitle = UWP apps +UWPAppsTitle = UWP Apps HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Important Information +CleanupTaskNotificationTitle = Windows clean up +CleanupTaskNotificationEvent = Run task to clean up Windows unused files and updates? CleanupTaskDescription = Cleaning up Windows unused files and updates using built-in Disk cleanup app -CleanupTaskNotificationEventTitle = Run task to clean up Windows unused files and updates? -CleanupTaskNotificationEvent = Windows cleanup won't take long. Next time this notification will appear in 30 days -CleanupTaskNotificationSnoozeInterval = Select a Reminder Interval CleanupNotificationTaskDescription = Pop-up notification reminder about cleaning up Windows unused files and updates SoftwareDistributionTaskNotificationEvent = The Windows update cache successfully deleted TempTaskNotificationEvent = The temp files folder successfully cleaned up @@ -61,10 +58,7 @@ Enable = Enable EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* FolderSelect = Select a folder FilesWontBeMoved = Files will not be moved -FourHours = 4 hours -HalfHour = 30 minutes Install = Install -Minute = 1 minute NoData = Nothing to display NoInternetConnection = No Internet connection RestartFunction = Please re-run the "{0}" function 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 90d3d467..3bf4e1f4 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Aplicaciones UWP HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo... ~2,8 MB GraphicsPerformanceTitle = Preferencia de rendimiento gráfico GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? -TaskNotificationTitle = Notificación -CleanupTaskNotificationTitle = Información importante +CleanupTaskNotificationTitle = Limpieza de Windows +CleanupTaskNotificationEvent = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? CleanupTaskDescription = La limpieza de Windows los archivos no utilizados y actualizaciones utilizando una función de aplicación de limpieza de discos -CleanupTaskNotificationEventTitle = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? -CleanupTaskNotificationEvent = Ventanas de limpieza no tomará mucho tiempo. La próxima vez que esta notificación aparecerá en 30 días -CleanupTaskNotificationSnoozeInterval = Seleccionar un recordatorio del intervalo CleanupNotificationTaskDescription = Pop-up recordatorio de notificaciones sobre la limpieza de archivos no utilizados de Windows y actualizaciones SoftwareDistributionTaskNotificationEvent = La caché de actualización de Windows eliminado correctamente TempTaskNotificationEvent = Los archivos de la carpeta Temp limpiados con éxito @@ -61,10 +58,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* FolderSelect = Seleccione una carpeta FilesWontBeMoved = Los archivos no se transferirán -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada que mostrar NoInternetConnection = No hay conexión a Internet RestartFunction = Por favor, reinicie la función "{0}" 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 d7b2b3a3..0b67aa29 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Applications UWP HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil... ~2,8 MB GraphicsPerformanceTitle = Préférence de performances graphiques GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? -TaskNotificationTitle = Notification -CleanupTaskNotificationTitle = Une information importante +CleanupTaskNotificationTitle = Nettoyer Windows +CleanupTaskNotificationEvent = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? CleanupTaskDescription = Nettoyage des fichiers Windows inutilisés et des mises à jour à l'aide de l'application intégrée pour le nettoyage de disque -CleanupTaskNotificationEventTitle = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? -CleanupTaskNotificationEvent = Le nettoyage de Windows ne prendra pas longtemps. Cette notification apparaîtra à nouveau dans 30 jours -CleanupTaskNotificationSnoozeInterval = Sélectionnez un intervalle de rappel CleanupNotificationTaskDescription = Rappel de notification contextuelle sur le nettoyage des fichiers et des mises à jour inutilisés de Windows SoftwareDistributionTaskNotificationEvent = Le cache de mise à jour Windows a bien été supprimé TempTaskNotificationEvent = Le dossier des fichiers temporaires a été nettoyé avec succès 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 c4b43357..f6d3c205 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Alkalmazások HEVCDownloading = A HEVC Videobővítmények letöltése a gyártói oldalról... ~2,8 MB GraphicsPerformanceTitle = Grafikus teljesítmény tulajdonság GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"? -TaskNotificationTitle = Értesítés -CleanupTaskNotificationTitle = Fontos Információ +CleanupTaskNotificationTitle = Windows tisztítása +CleanupTaskNotificationEvent = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? CleanupTaskDescription = A nem használt Windows fájlok és frissítések eltávolítása a beépített lemezkarbantartó alkalmazással -CleanupTaskNotificationEventTitle = Szeretné a nem használt fájlokat es frissitéseket eltávolítani? -CleanupTaskNotificationEvent = A Windows megtisztítása nem tart már sokáig. Legközelebb 30 nap múlva jelenik meg ez a figyelmeztetés -CleanupTaskNotificationSnoozeInterval = Válasszon ki egy emlékeztető időintervallumot CleanupNotificationTaskDescription = Előugró emlékeztető figyelmeztetés a nem használt Windows fájlok és frissítések törléséről SoftwareDistributionTaskNotificationEvent = A Windows frissités számára fenntartott ideiglenes tárhely sikeresen megtisztítva TempTaskNotificationEvent = Az ideiglenes fájlok tárolására szolgáló könyvtár tisztítása sikeresen megtörtént @@ -61,10 +58,7 @@ Enable = Engedélyezés EXEFilesFilter = *.exe|*.exe|Minden fájl (*.*)|*.* FolderSelect = Válasszon ki egy könyvtárat FilesWontBeMoved = A fájlok nem lesznek áthelyezve -FourHours = 4 óra -HalfHour = 30 perc Install = Telepítés -Minute = 1 perc NoData = Nincs megjeleníthető információ NoInternetConnection = Nincs internetkapcsolat RestartFunction = Ponovo pokrenite funkciju "{0}" 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 93808651..9f6255d9 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Apps HEVCDownloading = Download del codec video HEVC Video estenxion dal produttore... ~ Circa 2,8 MB GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceRequest = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"? -TaskNotificationTitle = Notifiche -CleanupTaskNotificationTitle = Informazioni importanti +CleanupTaskNotificationTitle = Pulizia di Windows +CleanupTaskNotificationEvent = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? CleanupTaskDescription = Pulizia di Windows e dei file inutilizzati degli aggiornamenti utilizzando l'app built-in ""pulizia disco" -CleanupTaskNotificationEventTitle = Eseguire l'operazione di pulizia dei file inutilizzati e aggiornamenti di Windows? -CleanupTaskNotificationEvent = Per la Pulizia di Windows non ci vorrà molto. La notifica verrà mostrata nuovamente fra 30 giorni -CleanupTaskNotificationSnoozeInterval = Selezionare intervallo del promemoria CleanupNotificationTaskDescription = Pop-up promemoria di pulizia dei file inutilizzati e degli aggiornamenti di Windows SoftwareDistributionTaskNotificationEvent = La cache degli aggiornamenti di Windows cancellata con successo TempTaskNotificationEvent = I file cartella Temp puliti con successo @@ -61,10 +58,7 @@ Enable = Abilitare EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* FolderSelect = Selezionare una cartella FilesWontBeMoved = I file non verranno trasferiti -FourHours = 4 ore -HalfHour = 30 minuti Install = Installare -Minute = 1 minuto NoData = Niente da esposizione NoInternetConnection = Nessuna connessione Internet RestartFunction = Si prega di riavviare la funzione "{0}" 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 61e02a67..55b2ac26 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Apps UWP HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante... ~ 2,8 MB GraphicsPerformanceTitle = Preferência de desempenho gráfico GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? -TaskNotificationTitle = Notificação -CleanupTaskNotificationTitle = Informação importante +CleanupTaskNotificationTitle = Limpeza do Windows +CleanupTaskNotificationEvent = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? CleanupTaskDescription = Limpando o Windows arquivos não utilizados e atualizações usando o aplicativo de limpeza aplicativo de limpeza embutido no disco -CleanupTaskNotificationEventTitle = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? -CleanupTaskNotificationEvent = Limpeza de janelas não vai demorar muito. Da próxima vez que esta notificação será exibida em 30 dias -CleanupTaskNotificationSnoozeInterval = Selecione um lembrete de intervalo CleanupNotificationTaskDescription = Pop-up lembrete de notificação sobre a limpeza do Windows arquivos não utilizados e actualizações SoftwareDistributionTaskNotificationEvent = O cache de atualização do Windows excluído com sucesso TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com sucesso @@ -61,10 +58,7 @@ Enable = Habilitar EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.* FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos -FourHours = 4 horas -HalfHour = 30 minutos Install = Instalar -Minute = 1 minuto NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" 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 ec0c73b8..6cdedd26 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP-приложения HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? -TaskNotificationTitle = Уведомление -CleanupTaskNotificationTitle = Важная информация +CleanupTaskNotificationTitle = Очистка Windows +CleanupTaskNotificationEvent = Запустить задание по очистке неиспользуемых файлов и обновлений Windows? CleanupTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска -CleanupTaskNotificationEventTitle = Запустить задачу по очистке неиспользуемых файлов и обновлений Windows? -CleanupTaskNotificationEvent = Очистка Windows не займет много времени. Следующий раз это уведомление появится через 30 дней -CleanupTaskNotificationSnoozeInterval = Выберите интервал повтора уведомления CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален TempTaskNotificationEvent = Папка временных файлов успешно очищена @@ -61,10 +58,7 @@ Enable = Включить EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* FolderSelect = Выберите папку FilesWontBeMoved = Файлы не будут перенесены -FourHours = 4 часа -HalfHour = 30 минут Install = Установить -Minute = 1 минута NoData = Отсутствуют данные NoInternetConnection = Отсутствует интернет-соединение RestartFunction = Пожалуйста, повторно запустите функцию "{0}" 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 a618bf9f..426ab9a6 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP Uygulamaları HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor... ~2,8 MB GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? -TaskNotificationTitle = Bildirim -CleanupTaskNotificationTitle = Önemli Bilgi +CleanupTaskNotificationTitle = Windows temizliği +CleanupTaskNotificationEvent = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? CleanupTaskDescription = Kullanılmayan Windows dosyaları ve güncellemeleri yerleşik Disk Temizleme uygulaması ile temizleniyor -CleanupTaskNotificationEventTitle = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? -CleanupTaskNotificationEvent = Windows temizliği uzun sürmeyecek. Bir dahaki sefer bildirim 30 gün içinde görünecek -CleanupTaskNotificationSnoozeInterval = Hatırlatma Aralığı Seçin CleanupNotificationTaskDescription = Windows kullanılmayan dosyaları ve güncellemeleri temizleme hakkında açılır bildirim hatırlatıcısı SoftwareDistributionTaskNotificationEvent = Windows güncelleme önbelleği başarıyla silindi TempTaskNotificationEvent = Geçici dosyalar klasörü başarıyla temizlendi @@ -61,10 +58,7 @@ Enable = Aktif et EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* FolderSelect = Klasör seç FilesWontBeMoved = Dosyalar taşınmayacak -FourHours = 4 Saat -HalfHour = 30 Dakika Install = Yükle -Minute = 1 Dakika NoData = Görüntülenecek bir şey yok NoInternetConnection = İnternet bağlantısı yok RestartFunction = Lütfen "{0}" işlevini yeniden ç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 d3d2740f..a01c48e6 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 @@ -36,12 +36,9 @@ UWPAppsTitle = Програми UWP HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? -TaskNotificationTitle = Cповіщення -CleanupTaskNotificationTitle = Важлива інформація +CleanupTaskNotificationTitle = Очищення Windows +CleanupTaskNotificationEvent = Запустити задачу з очищення зайвих файлів і оновлень Windows? CleanupTaskDescription = Очищення зайвих файлів і оновлень Windows, використовуючи вбудовану програму очищення дисків -CleanupTaskNotificationEventTitle = Запустити задачу з очищення зайвих файлів і оновлень Windows? -CleanupTaskNotificationEvent = Очищення Windows не займе багато часу. Наступний раз це повідомлення з'явиться через 30 днів -CleanupTaskNotificationSnoozeInterval = Оберіть інтервал повтору повідомлення CleanupNotificationTaskDescription = Спливаюче повідомлення з нагадуванням про очищення зайвих файлів і оновлень Windows SoftwareDistributionTaskNotificationEvent = Кеш оновлень Windows успішно видалений TempTaskNotificationEvent = Папка тимчасових файлів успішно очищена @@ -61,10 +58,7 @@ Enable = Увімкнути EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* FolderSelect = Оберіть папку FilesWontBeMoved = Файли не будуть перенесені -FourHours = 4 години -HalfHour = 30 хвилин Install = Встановити -Minute = 1 хвилина NoData = Відсутні дані NoInternetConnection = Відсутнє інтернет-з'єднання RestartFunction = Будь ласка, повторно запустіть функцію "{0}" 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 050639fd..943be6e1 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 @@ -36,12 +36,9 @@ UWPAppsTitle = UWP应用 HEVCDownloading = 下载”HEVC Video Extensions from Device Manufacturer”…… ~2,8 MB GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? -TaskNotificationTitle = 通知 -CleanupTaskNotificationTitle = 重要信息 +CleanupTaskNotificationTitle = Windows清理 +CleanupTaskNotificationEvent = 运行任务以清理Windows未使用的文件和更新? CleanupTaskDescription = 使用内置磁盘清理工具清理未使用的Windows文件和更新 -CleanupTaskNotificationEventTitle = 运行任务以清理Windows未使用的文件和更新? -CleanupTaskNotificationEvent = Windows清理不会花很长时间。下次通知将在30天内显示 -CleanupTaskNotificationSnoozeInterval = 选择提醒间隔 CleanupNotificationTaskDescription = 关于清理Windows未使用的文件和更新的弹出通知提醒 SoftwareDistributionTaskNotificationEvent = Windows更新缓存已成功删除 TempTaskNotificationEvent = 临时文件文件夹已成功清理 @@ -61,10 +58,7 @@ Enable = 启用 EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* FolderSelect = 选择一个文件夹 FilesWontBeMoved = 文件将不会被移动 -FourHours = 4个小时 -HalfHour = 30分钟 Install = 安装 -Minute = 1分钟 NoData = 无数据 NoInternetConnection = 无网络连接 RestartFunction = 请重新运行"{0}"函数 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 2c0bfbb2..519392a7 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 @@ -10777,41 +10777,31 @@ Start-Sleep -Seconds 3 [int]`$SourceMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle -function MinimizeWindow +while (`$true) { - [CmdletBinding()] - param - ( - [Parameter(Mandatory = `$true)] - `$Process - ) - - `$ShowWindowAsync = @{ - Namespace = """WinAPI""" - Name = """Win32ShowWindowAsync""" - Language = """CSharp""" - MemberDefinition = @' + [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) + { + `$ShowWindowAsync = @{ + Namespace = """WinAPI""" + Name = """Win32ShowWindowAsync""" + Language = """CSharp""" + MemberDefinition = @' [DllImport("""user32.dll""")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); '@ } - if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) - { - Add-Type @ShowWindowAsync - } - `$MainWindowHandle = (Get-Process -Name `$Process | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -} + if (-not ("""WinAPI.Win32ShowWindowAsync""" -as [type])) + { + Add-Type @ShowWindowAsync + } + `$MainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle + [WinAPI.Win32ShowWindowAsync]::ShowWindowAsync(`$MainWindowHandle, 2) -while (`$true) -{ - [int]`$CurrentMainWindowHandle = (Get-Process -Name cleanmgr | Where-Object -FilterScript {`$_.PriorityClass -eq """BelowNormal"""}).MainWindowHandle - if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) - { - MinimizeWindow -Process cleanmgr break } + Start-Sleep -Milliseconds 5 } @@ -10845,15 +10835,10 @@ while (`$true) [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [xml]`$ToastTemplate = @""" - + $($Localization.CleanupTaskNotificationTitle) - - - $($Localization.CleanupTaskNotificationEventTitle) - - $($Localization.CleanupTaskNotificationEvent) @@ -10863,14 +10848,8 @@ while (`$true) """@ @@ -12360,120 +12339,6 @@ function ShareContext } } -<# - .SYNOPSIS - The "Edit with Photos" item in the media files context menu - - .PARAMETER Hide - Hide the "Edit with Photos" item from the media files context menu - - .PARAMETER Show - Show the "Edit with Photos" item in the media files context menu - - .EXAMPLE - EditWithPhotosContext -Hide - - .EXAMPLE - EditWithPhotosContext -Show - - .NOTES - Current user -#> -function EditWithPhotosContext -{ - param - ( - [Parameter( - Mandatory = $true, - ParameterSetName = "Hide" - )] - [switch] - $Hide, - - [Parameter( - Mandatory = $true, - ParameterSetName = "Show" - )] - [switch] - $Show - ) - - if ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -eq 22000) - { - if (Get-AppxPackage -Name Microsoft.Windows.Photos) - { - switch ($PSCmdlet.ParameterSetName) - { - "Hide" - { - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force - } - "Show" - { - Remove-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit -Name ProgrammaticAccessOnly -Force -ErrorAction Ignore - } - } - } - } -} - -<# - .SYNOPSIS - The "Create a new video" item in the media files context menu - - .PARAMETER Hide - Hide the "Create a new video" item from the media files context menu - - .PARAMETER Show - Show the "Create a new video" item in the media files context menu - - .EXAMPLE - CreateANewVideoContext -Hide - - .EXAMPLE - CreateANewVideoContext -Show - - .NOTES - Current user -#> -function CreateANewVideoContext -{ - param - ( - [Parameter( - Mandatory = $true, - ParameterSetName = "Hide" - )] - [switch] - $Hide, - - [Parameter( - Mandatory = $true, - ParameterSetName = "Show" - )] - [switch] - $Show - ) - - if ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -lt 22621) - { - if (Get-AppxPackage -Name Microsoft.Windows.Photos) - { - switch ($PSCmdlet.ParameterSetName) - { - "Hide" - { - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellCreateVideo -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force - } - "Show" - { - Remove-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellCreateVideo -Name ProgrammaticAccessOnly -Force -ErrorAction Ignore - } - } - } - } -} - <# .SYNOPSIS The "Print" item in the .bat and .cmd context menu diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 index 5477d2e3..16a4c21f 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 @@ -1274,22 +1274,6 @@ ShareContext -Hide # Отобразить пункт "Отправить" (поделиться) в контекстном меню (значение по умолчанию) # ShareContext -Show -# Hide the "Edit with Photos" item from the media files context menu -# Скрыть пункт "Изменить с помощью приложения "Фотографии"" из контекстного меню медиа-файлов -EditWithPhotosContext -Hide - -# Show the "Edit with Photos" item in the media files context menu (default value) -# Отобразить пункт "Изменить с помощью приложения "Фотографии"" в контекстном меню медиа-файлов (значение по умолчанию) -# EditWithPhotosContext -Show - -# Hide the "Create a new video" item in the media files context menu -# Скрыть пункт "Создать новое видео" из контекстного меню медиа-файлов -CreateANewVideoContext -Hide - -# Show the "Create a new video" item in the media files context menu (default value) -# Отобразить пункт "Создать новое видео" в контекстном меню медиа-файлов (значение по умолчанию) -# CreateANewVideoContext -Show - # Hide the "Print" item from the .bat and .cmd context menu # Скрыть пункт "Печать" из контекстного меню .bat и .cmd файлов PrintCMDContext -Hide