Modified the behavior of Localization script to allow the user to define the 2nd keyboard layout instead of defaulting it to en-US.

This commit is contained in:
Homes32
2020-07-12 15:39:48 -05:00
parent 3436b08aed
commit 4f266da058
9 changed files with 157 additions and 63 deletions

View File

@@ -668,12 +668,18 @@ If,#1,Equal,"",Halt,"Syntax Error: Directory was not specified."
System,ErrorOff
If,ExistDir,#1,DirDelete,#1
//Wait a few seconds to give async tasks time to complete...
If,ExistDir,#1,Wait,5
If,ExistDir,#1,Begin
If,Question,"Error: The specified folder could not be deleted.#$x#$x#1#$x#$xPlease make sure there are no files open in other applications (eg. Text Editor/vmWare/VirtualBox), registry hives are unloaded, and you do not have the directory open in Explorer.#$x#$xRetry?",Begin
// User clicked 'Yes'
Wait,3
System,ErrorOff
If,ExistDir,#1,DirDelete,#1
If,ExistDir,#1,Begin
DirDelete,#1
// Wait a few seconds to give async tasks time to complete...
Wait,5
End
If,ExistDir,#1,Begin
Message,"Error: The specified folder could not be deleted.#$x#$x#1#$x#$xPlease make sure there are no files open in other applications (eg. Text Editor/vmWare/VirtualBox), registry hives are unloaded, and you do not have the directory open in Explorer then try building again.",Error
Halt,"Error: The specified folder could not be deleted."