THAI: update page_board

This commit is contained in:
Kenta420 2025-04-10 17:55:05 +07:00
parent ee3e46318b
commit 4fc4158dfe

View file

@ -474,6 +474,37 @@
; zone init lang ; zone init lang
; CountryName ; CountryName
If CountryName = "" Then
READ_FILE "/mnt/sdcard/coffeevending/country/short" StrCountryShort
DEBUGVAR StrCountryShort
If StrCountryShort = "MYS" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "MYR" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "AUS" Then
Var CountryName = "Australia"
EndIf
If StrCountryShort = "SGP" Then
Var CountryName = "Singapore"
EndIf
If StrCountryShort = "HKG" Then
Var CountryName = "HongKong"
EndIf
If StrCountryShort = "UAE_DUBAI" Then
Var CountryName = "UnitedArabEmirates Dubai"
EndIf
If StrCountryShort = "" Then
Var CountryName = "Thailand"
EndIf
EndIf
Var show_eng_button_stage = "Enable" Var show_eng_button_stage = "Enable"
Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png" Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
@ -587,42 +618,6 @@
Var XButtonMember = 212 Var XButtonMember = 212
Var YButtonMember = 1695 Var YButtonMember = 1695
; CountryName
If CountryName = "" Then
READ_FILE "/mnt/sdcard/coffeevending/country/short" StrCountryShort
DEBUGVAR StrCountryShort
If StrCountryShort = "MYS" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "MYR" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "AUS" Then
Var CountryName = "Australia"
EndIf
If StrCountryShort = "SGP" Then
Var CountryName = "Singapore"
EndIf
If StrCountryShort = "HKG" Then
Var CountryName = "HongKong"
EndIf
If StrCountryShort = "UAE_DUBAI" Then
Var CountryName = "UnitedArabEmirates Dubai"
EndIf
If StrCountryShort = "" Then
Var CountryName = "Thailand"
EndIf
;
EndIf
; Zone set video main page. ; Zone set video main page.
; ignore collection point ; ignore collection point