Malay fix sound sugar-select.mp3 and update language ID

This commit is contained in:
wanlop run 2024-05-10 13:08:47 +07:00
commit d898e5ffb2
4 changed files with 57 additions and 41 deletions

View file

@ -724,19 +724,9 @@ TextID Note English Thai China Japan Malaysia
800657 Degree องศา 800657 Degree องศา
800658 Coarse หยาบ 800658 Coarse หยาบ
800659 Fine ละเอียด 800659 Fine ละเอียด
800660 Bucket กระบะ
800661 Shutter ชัตเตอร์
800662 Motor แกนมอเตอร์
Test (New UI) Test (New UI)
@ -783,8 +773,30 @@ TextID Note English Thai China Japan Malaysia
800740 Water ปริมาณน้ำ 800740 Water ปริมาณน้ำ
800741 Rotate to pay หมุนจ่าย 800741 Rotate to pay หมุนจ่าย
800742 Rotate back หมุนเก็บ 800742 Rotate back หมุนเก็บ
800743 จ่าย ช่อง %d ผง %d ใน 0.1 วิ Pay slot %d powder %d in 0.1 sec 800743 Pay slot %d powder %d in 0.1 sec จ่าย ช่อง %d ผง %d ใน 0.1 วิ
800744 จ่าย %s ผง %d ใน 0.1 วิ Pay %s powder %d in 0.1 sec 800744 Pay %s powder %d in 0.1 sec จ่าย %s ผง %d ใน 0.1 วิ
800745 จ่าย %s ผง %d กรัม Pay %s powder %d gram 800745 Pay %s powder %d gram จ่าย %s ผง %d กรัม
800746 หมุนล้าง Rotate clean 800746 Rotate clean หมุนล้าง
800747 หมุนชง Rotate brew 800747 Rotate brew หมุนชง
800748 Ginder เครื่องบด
800749 Do you clean GInder module? ล้างเครื่องบดหรือยัง?
800750 Soda Bath ถังแช่โซดา
800751 Do you clean Soda bath? ล้างถังแสดงโซดาหรือยัง?
800752 Change / Clean เปลี่ยน / ทำความสะอาด
800753 Powder Canister กล่องผง
800754 Syrup buffer ถังไซรับ
800755 Bean Canister กล่องเมล็ด
800756 Whipper Module ชุดหัวชง
800757 Clean bowl ถ้วยล้าง
800758 Arm module ชุดแขน
800759 Change Module เปลี่ยนอุปกรณ์
800760 Clean ทำความสะอาด
800761 Disc Powder ฐานจานผง
800762 Change/Clean เปลี่ยน/ทำตวามสะอาด
800763 Did you change/clean module or not? เปลียนหรือทำความสะอาดอุปกรณ์หรือไม่
800764 Did you change module or not? เปลียนอุปกรณ์หรือไม่
800765 Did you clean module or not? ทำความสะอาดหรือไม่
800766 SerialNumber ตัวเลขประจำอุปกรณ์

Can't render this file because it has a wrong number of fields in line 21.

View file

@ -469,28 +469,31 @@
DEBUGVAR LanguageShowByIndex DEBUGVAR LanguageShowByIndex
DEBUGVAR LanguageShow DEBUGVAR LanguageShow
If LanguageShow = "ENG" Then If SugarSoundFlag = 1 Then
Var topping_shot_price_x = 630
Var text_x_add_oreo_price = 510 If LanguageShow = "ENG" Then
Var text_show_normal_x = 408 Var topping_shot_price_x = 630
Var text_show_blend_x = 872 Var text_x_add_oreo_price = 510
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3" Var text_show_normal_x = 408
Var text_show_blend_x = 872
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
EndIf
If LanguageShow = "THAI" Then
Var topping_shot_price_x = 600
Var text_x_add_oreo_price = 490
Var text_show_normal_x = 386
Var text_show_blend_x = 852
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
EndIf
If LanguageShow = "MALAY" Then
Var topping_shot_price_x = 630
Var text_x_add_oreo_price = 510
Var text_show_normal_x = 408
Var text_show_blend_x = 872
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
EndIf
EndIf EndIf
If LanguageShow = "THAI" Then
Var topping_shot_price_x = 600
Var text_x_add_oreo_price = 490
Var text_show_normal_x = 386
Var text_show_blend_x = 852
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
EndIf
If LanguageShow = "MALAY" Then
Var topping_shot_price_x = 630
Var text_x_add_oreo_price = 510
Var text_show_normal_x = 408
Var text_show_blend_x = 872
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
EndIf
If SelectDrinkType = 1 Then If SelectDrinkType = 1 Then
Var showname = NameLang[IndexDrinktType][LanguageShowByIndex] Var showname = NameLang[IndexDrinktType][LanguageShowByIndex]
Var showdesc = DescLang[IndexDrinktType][LanguageShowByIndex] Var showdesc = DescLang[IndexDrinktType][LanguageShowByIndex]

View file

@ -1501,6 +1501,7 @@ If alphaState = "Invisible" Then
;add-pd-to-ref ;add-pd-to-ref
Var CreditCardRef = CreditCardRef + "/" Var CreditCardRef = CreditCardRef + "/"
Var CreditCardRef = CreditCardRef + SelectDrink Var CreditCardRef = CreditCardRef + SelectDrink
DEBUGVAR CreditCardRef
;Var QR_POPUP = "/img_popup8-2.png" ;Var QR_POPUP = "/img_popup8-2.png"
Var VendingCashless = "-" Var VendingCashless = "-"

View file

@ -108,8 +108,8 @@
Var RandomPromotionMyworld = 0 Var RandomPromotionMyworld = 0
Var RandomSalePackage = 0 Var RandomSalePackage = 0
Var XMLPageVersion = "8.45" Var XMLPageVersion = "8.46"
Var XMLPageVersionInt = 845 Var XMLPageVersionInt = 846
;Oreo ;Oreo
Var OreoGuarantee = 0 Var OreoGuarantee = 0