mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-17 02:28:09 +02:00
Fixed an incorrect variable reference in Localization.script that caused manually setting the user locale to fail. (#38)
This commit is contained in:
@@ -40,8 +40,8 @@ Author=Homes32
|
|||||||
Level=4
|
Level=4
|
||||||
Selected=True
|
Selected=True
|
||||||
Mandatory=False
|
Mandatory=False
|
||||||
Version=1.3.1.0
|
Version=1.3.2.0
|
||||||
Date=2023-01-02
|
Date=2023-04-27
|
||||||
|
|
||||||
[Variables]
|
[Variables]
|
||||||
%DismLog%="%TargetWindows%\Logs\DISM\dism.log"
|
%DismLog%="%TargetWindows%\Logs\DISM\dism.log"
|
||||||
@@ -67,7 +67,7 @@ End
|
|||||||
Else,Set,%InputLocale2%,%cmb_InputLocale2%
|
Else,Set,%InputLocale2%,%cmb_InputLocale2%
|
||||||
|
|
||||||
// Format Date/Time
|
// Format Date/Time
|
||||||
StrFormat,POS,%UserLocale%,),%Pos%
|
StrFormat,POS,%cmb_UserLocale%,),%Pos%
|
||||||
If,%Pos%,Bigger,0,Begin
|
If,%Pos%,Bigger,0,Begin
|
||||||
StrFormat,LTRIM,%cmb_UserLocale%,1,%UserLocale%
|
StrFormat,LTRIM,%cmb_UserLocale%,1,%UserLocale%
|
||||||
Math,Sub,%Pos%,%Pos%,2
|
Math,Sub,%Pos%,%Pos%,2
|
||||||
|
Reference in New Issue
Block a user