Add support_langs for inter, MYS: change video & fix profile price auto change (still bug)

This commit is contained in:
Pakin 2024-11-05 10:47:41 +07:00
parent 6761957213
commit ed490b440f
8 changed files with 181 additions and 56 deletions

View file

@ -667,6 +667,7 @@
Var UsePepsiTheme = 0
Var NoTrickPriceProfile = 0
Var NeedRefreshProfile = 0
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
@ -1502,7 +1503,7 @@ PRICE "Reset" "-"
</EventUnitTest7>
<EventUnitTest8>
Var XMLProfile = "Discount50"
Var XMLProfile = "General"
Var TimeProfilePrice = 0
</EventUnitTest8>
@ -2188,5 +2189,46 @@ PRICE "Reset" "-"
<Value> ShowNetworkProblemText </Value>
</Text>
<Button>
<X> 0 </X>
<Y> 1870 </Y>
<State> eval(
If LangProcess = "LoadConfig" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
) </State>
<Color> "0xFFFF00" </Color>
<Width> 1080 </Width>
<Height> 60 </Height>
<EventClick>
</EventClick>
</Button>
<Text>
<State> eval(
If LangProcess = "LoadConfig" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
) </State>
<X> 5 </X>
<Y> 1880 </Y>
<Size> 24 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> RobotoRegular </Font>
<Color> 0x000000 </Color>
<Value> eval(
If LangProcess = "LoadConfig" Then
Var return = "Loading ..."
Else
Var return = ""
EndIf
) </Value>
</Text>
</Page>