Skip to content

Commit

Permalink
Fixed for NewsInterests functions
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Oct 24, 2024
1 parent 17bfa9c commit c0403aa
Show file tree
Hide file tree
Showing 91 changed files with 34 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Einen Ordner auswählen
FilesWontBeMoved = Dateien werden nicht verschoben.
Install = Installieren
NoData = Nichts anzuzeigen.
NoInternetConnection = Keine Internetverbindung.
RestartFunction = Bitte die Funktion "{0}" neustarten.
NoResponse = Eine Verbindung mit {0} konnte nicht hergestellt werden.
Restore = Wiederherstellen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Select a folder
FilesWontBeMoved = Files will not be moved.
Install = Install
NoData = Nothing to display.
NoInternetConnection = No Internet connection.
RestartFunction = Please re-run the "{0}" function.
NoResponse = A connection could not be established with {0}.
Restore = Restore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Seleccione una carpeta
FilesWontBeMoved = Los archivos no se transferirán.
Install = Instalar
NoData = Nada que mostrar.
NoInternetConnection = No hay conexión a Internet.
RestartFunction = Por favor, reinicie la función "{0}".
NoResponse = No se pudo establecer una conexión con {0}.
Restore = Restaurar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Sélectionner un dossier
FilesWontBeMoved = Les fichiers ne seront pas déplacés.
Install = Installer
NoData = Rien à afficher.
NoInternetConnection = Pas de connexion Internet.
RestartFunction = Veuillez redémarrer la fonction "{0}".
NoResponse = Une connexion n'a pas pu être établie avec {0}.
Restore = Restaurer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Válasszon ki egy könyvtárat
FilesWontBeMoved = A fájlok nem lesznek áthelyezve.
Install = Telepítés
NoData = Nincs megjeleníthető információ.
NoInternetConnection = Nincs internetkapcsolat.
RestartFunction = Ponovo pokrenite funkciju "{0}".
NoResponse = Nem hozható létre kapcsolat a {0} weboldallal.
Restore = Visszaállítás
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Selezionare una cartella
FilesWontBeMoved = I file non verranno trasferiti.
Install = Installare
NoData = Niente da esposizione.
NoInternetConnection = Nessuna connessione Internet.
RestartFunction = Si prega di riavviare la funzione "{0}".
NoResponse = Non è stato possibile stabilire una connessione con {0}.
Restore = Ristabilire
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Wybierz folder
FilesWontBeMoved = Pliki nie zostaną przeniesione.
Install = Zainstalluj
NoData = Nic do wyświetlenia.
NoInternetConnection = Brak połączenia z internetem.
RestartFunction = Uruchom ponownie funkcję "{0}".
NoResponse = Nie można nawiązać połączenia z {0}.
Restore = Przywróć
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Escolha uma pasta
FilesWontBeMoved = Os arquivos não serão transferidos.
Install = Instalar
NoData = Nada à exibir.
NoInternetConnection = Sem conexão à Internet.
RestartFunction = Favor reiniciar a função "{0}".
NoResponse = Uma conexão não pôde ser estabelecida com {0}.
Restore = Restaurar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Выберите папку
FilesWontBeMoved = Файлы не будут перенесены.
Install = Установить
NoData = Отсутствуют данные.
NoInternetConnection = Отсутствует интернет-соединение.
RestartFunction = Пожалуйста, повторно запустите функцию "{0}".
NoResponse = Невозможно установить соединение с {0}.
Restore = Восстановить
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Klasör seç
FilesWontBeMoved = Dosyalar taşınmayacak.
Install = Yükle
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.
NoResponse = {0} ile bağlantı kurulamadı.
Restore = Onar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = Виберіть папку
FilesWontBeMoved = Файли не будуть перенесені.
Install = Встановити
NoData = Відсутні дані.
NoInternetConnection = Відсутнє інтернет-з'єднання.
RestartFunction = Будь ласка, повторно запустіть функцію "{0}".
NoResponse = Не вдалося встановити зв’язок із {0}.
Restore = Відновити
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ FolderSelect = 选择一个文件夹
FilesWontBeMoved = 文件将不会被移动。
Install = 安装
NoData = 无数据。
NoInternetConnection = 无网络连接。
RestartFunction = 请重新运行"{0}"函数。
NoResponse = 无法建立{0}。
Restore = 恢复
Expand Down
14 changes: 10 additions & 4 deletions src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
WinClean = "$env:ProgramFiles\WinClean Plus Apps"
# https://github.com/Atlas-OS/Atlas
AtlasOS = "$env:SystemRoot\AtlasModules"
# https://x.com/NPKirbyy
KirbyOS = "$env:ProgramData\KirbyOS"
}
foreach ($Tweaker in $Tweakers.Keys)
{
Expand Down Expand Up @@ -3629,7 +3631,9 @@ public static extern int HashData(byte[] pbData, int cbData, byte[] piet, int ou
# Get value to save in EnShellFeedsTaskbarViewMode key
$DWordData = [System.BitConverter]::ToUInt32($bytesOut,0)

& "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell_temp.exe" -Command {New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds -Name EnShellFeedsTaskbarViewMode -PropertyType DWord -Value $DWordData -Force}
& "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell_temp.exe" -Command {New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds -Name ShellFeedsTaskbarViewMode -PropertyType DWord -Value 2 -Force}
# We need to use here an approach with "-Command & {}"
& "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell_temp.exe" -Command "& {New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds -Name EnShellFeedsTaskbarViewMode -PropertyType DWord -Value $DWordData -Force}"
}
"Enable"
{
Expand All @@ -3645,7 +3649,9 @@ public static extern int HashData(byte[] pbData, int cbData, byte[] piet, int ou
# Get value to save in EnShellFeedsTaskbarViewMode key
$DWordData = [System.BitConverter]::ToUInt32($bytesOut,0)

& "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell_temp.exe" -Command {New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds -Name EnShellFeedsTaskbarViewMode -PropertyType DWord -Value $DWordData -Force}
& "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell_temp.exe" -Command {New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds -Name ShellFeedsTaskbarViewMode -PropertyType DWord -Value 0 -Force}
# We need to use here an approach with "-Command & {}"
& "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell_temp.exe" -Command "& {New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds -Name EnShellFeedsTaskbarViewMode -PropertyType DWord -Value $DWordData -Force}"
}
}

Expand Down Expand Up @@ -5292,8 +5298,8 @@ public static bool MarkFileDelete (string sourcefile)
}
catch [System.Net.WebException]
{
Write-Warning -Message ($Localization.NoResponse -f "https://download.visualstudio.microsoft.com")
Write-Error -Message ($Localization.NoResponse -f "https://download.visualstudio.microsoft.com") -ErrorAction SilentlyContinue
Write-Warning -Message ($Localization.NoResponse -f "https://oneclient.sfx.ms")
Write-Error -Message ($Localization.NoResponse -f "https://oneclient.sfx.ms") -ErrorAction SilentlyContinue

Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line.Trim()) -ErrorAction SilentlyContinue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Einen Ordner auswählen
FilesWontBeMoved = Dateien werden nicht verschoben.
Install = Installieren
NoData = Nichts anzuzeigen.
NoInternetConnection = Keine Internetverbindung.
RestartFunction = Bitte die Funktion "{0}" neustarten.
NoResponse = Eine Verbindung mit {0} konnte nicht hergestellt werden.
Restore = Wiederherstellen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Select a folder
FilesWontBeMoved = Files will not be moved.
Install = Install
NoData = Nothing to display.
NoInternetConnection = No Internet connection.
RestartFunction = Please re-run the "{0}" function.
NoResponse = A connection could not be established with {0}.
Restore = Restore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Seleccione una carpeta
FilesWontBeMoved = Los archivos no se transferirán.
Install = Instalar
NoData = Nada que mostrar.
NoInternetConnection = No hay conexión a Internet.
RestartFunction = Por favor, reinicie la función "{0}".
NoResponse = No se pudo establecer una conexión con {0}.
Restore = Restaurar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Sélectionner un dossier
FilesWontBeMoved = Les fichiers ne seront pas déplacés.
Install = Installer
NoData = Rien à afficher.
NoInternetConnection = Pas de connexion Internet.
RestartFunction = Veuillez redémarrer la fonction "{0}".
NoResponse = Une connexion n'a pas pu être établie avec {0}.
Restore = Restaurer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Válasszon ki egy könyvtárat
FilesWontBeMoved = A fájlok nem lesznek áthelyezve.
Install = Telepítés
NoData = Nincs megjeleníthető információ.
NoInternetConnection = Nincs internetkapcsolat.
RestartFunction = Ponovo pokrenite funkciju "{0}".
NoResponse = Nem hozható létre kapcsolat a {0} weboldallal.
Restore = Visszaállítás
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Selezionare una cartella
FilesWontBeMoved = I file non verranno trasferiti.
Install = Installare
NoData = Niente da esposizione.
NoInternetConnection = Nessuna connessione Internet.
RestartFunction = Si prega di riavviare la funzione "{0}".
NoResponse = Non è stato possibile stabilire una connessione con {0}.
Restore = Ristabilire
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Wybierz folder
FilesWontBeMoved = Pliki nie zostaną przeniesione.
Install = Zainstalluj
NoData = Nic do wyświetlenia.
NoInternetConnection = Brak połączenia z internetem.
RestartFunction = Uruchom ponownie funkcję "{0}".
NoResponse = Nie można nawiązać połączenia z {0}.
Restore = Przywróć
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Escolha uma pasta
FilesWontBeMoved = Os arquivos não serão transferidos.
Install = Instalar
NoData = Nada à exibir.
NoInternetConnection = Sem conexão à Internet.
RestartFunction = Favor reiniciar a função "{0}".
NoResponse = Uma conexão não pôde ser estabelecida com {0}.
Restore = Restaurar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Выберите папку
FilesWontBeMoved = Файлы не будут перенесены.
Install = Установить
NoData = Отсутствуют данные.
NoInternetConnection = Отсутствует интернет-соединение.
RestartFunction = Пожалуйста, повторно запустите функцию "{0}".
NoResponse = Невозможно установить соединение с {0}.
Restore = Восстановить
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = Klasör seç
FilesWontBeMoved = Dosyalar taşınmayacak.
Install = Yükle
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.
NoResponse = {0} ile bağlantı kurulamadı.
Restore = Onar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ FolderSelect = Виберіть папку
FilesWontBeMoved = Файли не будуть перенесені.
Install = Встановити
NoData = Відсутні дані.
NoInternetConnection = Відсутнє інтернет-з'єднання.
RestartFunction = Будь ласка, повторно запустіть функцію "{0}".
NoResponse = Не вдалося встановити зв’язок із {0}.
Restore = Відновити
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ FolderSelect = 选择一个文件夹
FilesWontBeMoved = 文件将不会被移动。
Install = 安装
NoData = 无数据。
NoInternetConnection = 无网络连接。
RestartFunction = 请重新运行"{0}"函数。
NoResponse = 无法建立{0}。
Restore = 恢复
Expand Down
2 changes: 2 additions & 0 deletions src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
WinClean = "$env:ProgramFiles\WinClean Plus Apps"
# https://github.com/Atlas-OS/Atlas
AtlasOS = "$env:SystemRoot\AtlasModules"
# https://x.com/NPKirbyy
KirbyOS = "$env:ProgramData\KirbyOS"
}
foreach ($Tweaker in $Tweakers.Keys)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ FolderSelect = Einen Ordner auswählen
FilesWontBeMoved = Dateien werden nicht verschoben.
Install = Installieren
NoData = Nichts anzuzeigen.
NoInternetConnection = Keine Internetverbindung.
RestartFunction = Bitte die Funktion "{0}" neustarten.
NoResponse = Eine Verbindung mit {0} konnte nicht hergestellt werden.
Restore = Wiederherstellen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ FolderSelect = Select a folder
FilesWontBeMoved = Files will not be moved.
Install = Install
NoData = Nothing to display.
NoInternetConnection = No Internet connection.
RestartFunction = Please re-run the "{0}" function.
NoResponse = A connection could not be established with {0}.
Restore = Restore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ FolderSelect = Seleccione una carpeta
FilesWontBeMoved = Los archivos no se transferirán.
Install = Instalar
NoData = Nada que mostrar.
NoInternetConnection = No hay conexión a Internet.
RestartFunction = Por favor, reinicie la función "{0}".
NoResponse = No se pudo establecer una conexión con {0}.
Restore = Restaurar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ FolderSelect = Sélectionner un dossier
FilesWontBeMoved = Les fichiers ne seront pas déplacés.
Install = Installer
NoData = Rien à afficher.
NoInternetConnection = Pas de connexion Internet.
RestartFunction = Veuillez redémarrer la fonction "{0}".
NoResponse = Une connexion n'a pas pu être établie avec {0}.
Restore = Restaurer
Expand Down
Loading

0 comments on commit c0403aa

Please sign in to comment.