UAE_DUBAI: generated menus & WIP support langs
This commit is contained in:
parent
5e24f2918a
commit
ba14e8e86c
19 changed files with 24856 additions and 23362 deletions
|
|
@ -605,7 +605,7 @@
|
|||
|
||||
;inter-xml-open
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/sgp/video/script_video.ev"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/uae_dubai/video/script_video.ev"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -822,10 +822,11 @@
|
|||
;inter-page-board
|
||||
; wait
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/sgp/video/script_video.ev"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/uae_dubai/video/script_video.ev"
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "UAE_DUBAI"
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
||||
|
|
@ -835,16 +836,16 @@
|
|||
|
||||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/sgp/"
|
||||
|
||||
ar TextPriceMenuSize = 12
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/uae_dubai/"
|
||||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 264
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
Var PriceUnitText = "Price in SGD"
|
||||
Var PriceUnitText = "Price in AED"
|
||||
|
||||
Var MemberButtonFileName = "ROOT/taobin_project/image/main_page_en/bp_main_page_member.png"
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
|
@ -855,7 +856,7 @@
|
|||
Var YButtonMember = 1695
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/sgp/menu/lang.tsv"
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/uae_dubai/menu/lang.tsv"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
@ -863,6 +864,7 @@
|
|||
|
||||
|
||||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR CountryRootPath
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1684,7 +1684,7 @@ EndIf
|
|||
<X> 182 </X>
|
||||
<Y> 748 </Y>
|
||||
<State> alphaState2 </State>
|
||||
<Filename> Var( DirImage2 + "/img_popup11-dubai.png" )</Filename>
|
||||
<Filename> Var( DirImage2 + "/img_popup11-UAE_DUBAI.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,36 @@
|
|||
<EventOpen>
|
||||
Var Top2Timeout = 0
|
||||
|
||||
Var lang_icon_file_name[0] = "bn_eng_lang.png"
|
||||
Var lang_icon_file_name[1] = "bn_thai_lang.png"
|
||||
Var lang_icon_file_name[3] = "bn_japan_lang.png"
|
||||
Var lang_icon_file_name[2] = "bn_china_lang.png"
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Var topview2_script = CountryRootPath + "/xml/topview2_script.ev"
|
||||
|
||||
Var lang_icon_file_name[4] = "bn_malay_lang.png"
|
||||
; will apply other countries
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
TRY topview2_script
|
||||
Else
|
||||
Var lang_icon_file_name[0] = "bn_eng_lang.png"
|
||||
Var lang_icon_file_name[1] = "bn_thai_lang.png"
|
||||
Var lang_icon_file_name[3] = "bn_japan_lang.png"
|
||||
Var lang_icon_file_name[2] = "bn_china_lang.png"
|
||||
|
||||
Var lang_icon_file_name[4] = "bn_malay_lang.png"
|
||||
var lang_icon_file_name[5] = "bn_uae_dubai_lang.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
|
||||
Var lang_icon_file_name[0] = "bn_eng_lang.png"
|
||||
Var lang_icon_file_name[1] = "bn_thai_lang.png"
|
||||
Var lang_icon_file_name[3] = "bn_japan_lang.png"
|
||||
Var lang_icon_file_name[2] = "bn_china_lang.png"
|
||||
|
||||
Var lang_icon_file_name[4] = "bn_malay_lang.png"
|
||||
var lang_icon_file_name[5] = "bn_uae_dubai_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var LanguageButtonListEnable = "Invisible"
|
||||
|
|
@ -249,6 +273,14 @@
|
|||
<Filename> "ROOT/taobin_project/image/lang/lang_bg_center.png" </Filename>
|
||||
</Image>
|
||||
</Row1>
|
||||
<Row1>
|
||||
<Width> 82 </Width>
|
||||
<Height> 56 </Height>
|
||||
<State> ENABLE_UAE_DUBAI </State>
|
||||
<Image>
|
||||
<Filename> "ROOT/taobin_project/image/lang/lang_bg_center.png" </Filename>
|
||||
</Image>
|
||||
</Row1>
|
||||
<Row1>
|
||||
<Width> 82 </Width>
|
||||
<Height> 51 </Height>
|
||||
|
|
@ -371,6 +403,27 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
</Row1>
|
||||
<Row1>
|
||||
<Width> 82 </Width>
|
||||
<Height> 68 </Height>
|
||||
<State> ENABLE_UAE_DUBAI </State>
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 82 </Width>
|
||||
<Height> 56 </Height>
|
||||
<State> ENABLE_UAE_DUBAI </State>
|
||||
<Filename> "ROOT/taobin_project/image/lang/bn_uae_dubai_lang.png" </Filename>
|
||||
<EventClick>
|
||||
SetLanguage "UAE_DUBAI"
|
||||
Var LanguageButtonListEnable = "Invisible"
|
||||
|
||||
Var langFileNameIcon = lang_icon_file_name[LanguageShowByIndex]
|
||||
Var langfn = "ROOT/taobin_project/image/lang/" + langFileNameIcon
|
||||
Open "ROOT/taobin_project/xml/topview2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row1>
|
||||
|
||||
|
||||
</ListView1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue