Edited setkb.sh to restore to systems locale (#214)

the existing `get-Culture | Select -ExpandProperty Name` in `SETKB DONE` returned to en-GB by default
changed to `Get-WinSystemLocale | Select -ExpandProperty Name` to restore to the System Locale set by the User
pull/213/merge
hacXsbix 2017-05-10 02:47:25 +02:00 committed by Sebastian Kinne
parent 4dbc20f972
commit 6ea0d43662
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function SETKB() {
'DONE')
QUACK GUI r
QUACK DELAY 500
QUACK "STRING powershell.exe \$back2kb=(get-Culture | Select -ExpandProperty Name) ; Set-WinUserLanguageList -LanguageList \$back2kb -force; "
QUACK "STRING powershell.exe \$sl=(Get-WinSystemLocale | Select -ExpandProperty Name) ; Set-WinUserLanguageList -LanguageList \$sl -force; "
QUACK ENTER
QUACK DELAY 1500