UAE_DUBAI: generated menus & WIP support langs

This commit is contained in:
Pakin 2024-04-02 14:41:43 +07:00
parent 5e24f2918a
commit ba14e8e86c
19 changed files with 24856 additions and 23362 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
ENG,THAI,UAE_DUBAI

View file

@ -203,12 +203,15 @@
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
if verbose == "debug_lang":
print("languageGroup", spl)
out_xml( '\t<LanguageGroup>\r\n')
out_xml( '\t\t<LanguageSlot1>' + spl[ idx_name][ idx_lang_eng] + '</LanguageSlot1>\r\n')
out_xml( '\t\t<LanguageSlot2>' + spl[ idx_name][ idx_lang_thai] + '</LanguageSlot2>\r\n')
out_xml( '\t\t<LanguageSlot3>' + spl[ idx_name][ idx_lang_eng] + '</LanguageSlot3>\r\n')
out_xml( '\t\t<LanguageSlot3>' + spl[ idx_name][ idx_lang_dubai] + '</LanguageSlot3>\r\n')
out_xml( '\t\t<LanguageSlot4>' + spl[ idx_name][ idx_lang_thai] + '</LanguageSlot4>\r\n')
out_xml( '\t\t<LanguageSlot5>' + spl[ idx_name][ idx_lang_malay] + '</LanguageSlot5>\r\n')
out_xml( '\t\t<LanguageSlot5>' + spl[ idx_name][ idx_lang_dubai] + '</LanguageSlot5>\r\n')
out_xml( '\t\t<LanguageSlot6>' + spl[ idx_name][ idx_lang_thai] + '</LanguageSlot6>\r\n')
out_xml( '\t</LanguageGroup>\r\n')
@ -225,9 +228,9 @@
out_xml( '\t<LanguageGroup>\r\n')
out_xml( '\t\t<LanguageSlot1>' + spl[ idx_desc][ idx_lang_eng] + '</LanguageSlot1>\r\n')
out_xml( '\t\t<LanguageSlot2>' + spl[ idx_desc][ idx_lang_thai] + '</LanguageSlot2>\r\n')
out_xml( '\t\t<LanguageSlot3>' + spl[ idx_desc][ idx_lang_eng] + '</LanguageSlot3>\r\n')
out_xml( '\t\t<LanguageSlot3>' + spl[ idx_desc][ idx_lang_dubai] + '</LanguageSlot3>\r\n')
out_xml( '\t\t<LanguageSlot4>' + spl[ idx_desc][ idx_lang_thai] + '</LanguageSlot4>\r\n')
out_xml( '\t\t<LanguageSlot5>' + spl[ idx_desc][ idx_lang_malay] + '</LanguageSlot5>\r\n')
out_xml( '\t\t<LanguageSlot5>' + spl[ idx_desc][ idx_lang_dubai] + '</LanguageSlot5>\r\n')
out_xml( '\t\t<LanguageSlot6>' + spl[ idx_desc][ idx_lang_thai] + '</LanguageSlot6>\r\n')
out_xml( '\t</LanguageGroup>\r\n')
@ -455,10 +458,13 @@
def GenMenuBlock( idx_hot_product_code, idx_cold_product_code, idx_blend_product_code):
GenMenuProductCodeBlock( spl[ idx_name][ idx_hot_product_code], spl[ idx_name][ idx_cold_product_code] , spl[ idx_name][ idx_blend_product_code] )
# should not be fixed position
idx_lang_malay = 5
idx_lang_japan = 4
idx_lang_china = 3
idx_lang_dubai = 3
idx_lang_thai = 2
idx_lang_eng = 1

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
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[2] = "bn_uae_dubai_lang.png"
DEBUGVAR lang_icon_file_name[2]