add GPRS display
- SGP: update remove cup, lock away cashless cancel, fix bug video not full - MYS: change wording collect pt3 - DUBAI: update wordings
This commit is contained in:
parent
3c05684c63
commit
333782116c
20 changed files with 26056 additions and 25362 deletions
|
|
@ -1036,7 +1036,7 @@ TextID Note English Thai China Japan Malaysia
|
|||
1300003 Beans module ชุดเมล็ดกาแฟ
|
||||
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
|
||||
1300005 Switch tray : สวิตซ์ถาด :
|
||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
|
||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด
|
||||
1300007 Pay beans จ่ายถั่ว
|
||||
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
|
||||
1300009 2. Select direction 2. เลือกทิศทาง
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 21.
|
|
|
@ -1,4 +1,8 @@
|
|||
if "v2" in param:
|
||||
|
||||
# python3 menu_inter_gen.py sheet sheet ../taobin_project/ mys new-inter-v2-gcpm
|
||||
|
||||
|
||||
def find_templatable_product_codes(str_pd):
|
||||
# find sep `|`
|
||||
str_pd_spl = str_pd.split('|')
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -26,7 +26,7 @@
|
|||
DEBUGVAR TelephoneNumber
|
||||
DEBUGVAR TelephoneNumberX
|
||||
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Var CoffeePointTmp = CoffeePoint
|
||||
|
||||
If CoffeePoint > 29 Then
|
||||
|
|
@ -46,11 +46,11 @@
|
|||
Var CoffeePointTmp = 30
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var pImage = CoffeePointTmp * 20
|
||||
Var pImage = pImage / 30
|
||||
Var pImageStr = "/taobinPoint.png"
|
||||
Var pImageStr = "/taobinPoint.png"
|
||||
|
||||
Var pImageStr = "ROOT/taobin_project/image/display_point" + pImageStr
|
||||
|
||||
|
|
@ -66,7 +66,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var TaobinExpireDay = ""
|
||||
|
|
@ -74,14 +74,14 @@
|
|||
Var TaobinExpireMonthX = ""
|
||||
Var TaobinExpireYear = ""
|
||||
|
||||
|
||||
|
||||
|
||||
SPLIT TaobinExpire "/" 1 TaobinExpireDay
|
||||
SPLIT TaobinExpire "/" 2 TaobinExpireMonth
|
||||
SPLIT TaobinExpire "/" 3 TaobinExpireYear
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "Jan"
|
||||
|
|
@ -148,7 +148,7 @@
|
|||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 0
|
||||
|
||||
Else
|
||||
Else
|
||||
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "ม.ค."
|
||||
|
|
@ -225,17 +225,17 @@
|
|||
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireYear
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var PointMaskState = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var TaobinLevelDesc3 = "You have coupons "
|
||||
Var TaobinLevelDesc3 = TaobinLevelDesc3 + TaobinCoupons
|
||||
|
|
@ -270,7 +270,7 @@
|
|||
|
||||
If TaobinLevel = "3" Then
|
||||
Var TaobinLevelDesc1 = "Flying turtle level until " + ExpireStrTmp
|
||||
|
||||
|
||||
Var PointDiff = 200 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
|
||||
|
|
@ -291,7 +291,7 @@
|
|||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "Master turtle level until " + ExpireStrTmp
|
||||
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
|
@ -355,7 +355,7 @@
|
|||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก ผู้เฒ่าเต่า จนถึง " + ExpireStrTmp
|
||||
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
|
@ -366,7 +366,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
Var CheckCoupons = 0
|
||||
Var MakeDrinkState = 0
|
||||
|
||||
|
|
@ -622,20 +622,20 @@
|
|||
Var CheckCouponState = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var PointEndDate = ""
|
||||
GetDateEndOfMonth PointEndDate
|
||||
DEBUGVAR PointEndDate
|
||||
Var xPointEndDate = 570
|
||||
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var xPointEndDate = 618
|
||||
EndIf
|
||||
|
||||
Var Point2XState = "Invisible"
|
||||
Var Point2XImage = ""
|
||||
If Point2X = 1 Then
|
||||
Var Point2XState = "Enable"
|
||||
If Point2X = 1 Then
|
||||
Var Point2XState = "Enable"
|
||||
If Seeker.CampaignPayChanel = "kbank" Then
|
||||
Var Point2XImage = "/text9.png"
|
||||
EndIf
|
||||
|
|
@ -645,7 +645,7 @@
|
|||
If Seeker.CampaignPayChanel = "dolfin" Then
|
||||
Var Point2XImage = "/text11.png"
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
;inter-from-consent
|
||||
|
|
@ -656,29 +656,29 @@
|
|||
;inter-from-consent
|
||||
If CountryName = "Indonesia" Then
|
||||
Var Seeker.FromConsent = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
;inter-from-consent
|
||||
If CountryName = "Australia" Then
|
||||
Var Seeker.FromConsent = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
;inter-from-consent
|
||||
If CountryName = "Singapore" Then
|
||||
Var Seeker.FromConsent = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var CountDownBrewing = BREW_CNT
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
|
|
@ -687,36 +687,36 @@
|
|||
If CoffeePoint > 29 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||
Else
|
||||
If Seeker.FromConsent = 1 Then
|
||||
If Seeker.FromConsent = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||
Else
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
If CheckCoupons = 1 Then
|
||||
Var MakeDrinkState = 1
|
||||
Var CouponPage = 1
|
||||
Var CouponPage = 1
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
|
|
@ -727,14 +727,14 @@
|
|||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
|
||||
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
GETACCEXT TelephoneNumber 13
|
||||
Var CheckCoupons = 2
|
||||
Var CheckCoupons = 2
|
||||
|
||||
Else
|
||||
|
||||
If CheckCoupons = 2 Then
|
||||
If CheckCoupons = 2 Then
|
||||
|
||||
Var TaobinCredit = Ext1b
|
||||
|
||||
|
|
@ -751,15 +751,15 @@
|
|||
|
||||
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
|
|
@ -847,10 +847,10 @@
|
|||
<FilenamePress> Var( DirImage + "/bp_close.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
If Seeker.FromConsent = 1 Then
|
||||
If Seeker.FromConsent = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||
Else
|
||||
If CoffeePoint > 29 Then
|
||||
|
|
@ -858,7 +858,7 @@
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
|
@ -876,7 +876,7 @@
|
|||
<FilenameDisable> Var( DirImage + "/bp_check.png" )</FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
|
||||
|
|
@ -884,7 +884,7 @@
|
|||
Var TelephoneNumber = TelephoneNumberX
|
||||
GETACCEXT TelephoneNumber 15
|
||||
Var CheckCoupons = 1
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -1199,18 +1199,18 @@
|
|||
<Image>
|
||||
<X> 172 </X>
|
||||
<Y> 1570 </Y>
|
||||
<Filename> Var( DirImage + "/text8.png" )</Filename>
|
||||
<Filename> Var( DirImage + "/text8_mys.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> xPointEndDate </X>
|
||||
<Y> 1576 </Y>
|
||||
<Size> 25 </Size>
|
||||
<Width> 500 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> PointEndDate </Value>
|
||||
</Text>
|
||||
;<Text>
|
||||
;<X> xPointEndDate </X>
|
||||
;<Y> 1576 </Y>
|
||||
;<Size> 25 </Size>
|
||||
;<Width> 500 </Width>
|
||||
;<Font> KanitRegularTTF </Font>
|
||||
;<Color> 0xDE794E </Color>
|
||||
;<Value> PointEndDate </Value>
|
||||
;</Text>
|
||||
|
||||
<Text>
|
||||
<X> 310 </X>
|
||||
|
|
@ -1253,4 +1253,3 @@
|
|||
|
||||
|
||||
</Popup>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue