feat: enhance draw processing and ticket validation logic
- Added a new function to check if the hall is awaiting draw processing, improving the draw status handling. - Implemented validation for roll numbers in ticket orders, ensuring compliance with specified formats. - Enhanced the draft line issue reasoning to provide detailed feedback on invalid ticket entries. - Updated HallDrawPanel and related components to utilize the new draw processing checks and improve user notifications. - Added new translations for draw processing and ticket validation messages in multiple languages.
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
"currentTime": "Current Time",
|
||||
"closesIn": "Closes In",
|
||||
"drawsIn": "Draws In",
|
||||
"drawProcessing": "Drawing…",
|
||||
"coolDown": "Cool Down",
|
||||
"loadFailedRefresh": "Failed to load. Pull down to refresh.",
|
||||
"issueNo": "Issue No.",
|
||||
@@ -103,6 +104,11 @@
|
||||
"notBettable": "This issue is closed or cannot accept bets.",
|
||||
"catalogNotReady": "Play configuration is still loading.",
|
||||
"emptyLines": "Please enter at least one valid number and stake amount.",
|
||||
"lineIssue": {
|
||||
"invalid_number_length": "Row {{row}} «{{play}}»: invalid number length. Check the number field.",
|
||||
"roll_requires_r": "Row {{row}} «{{play}}»: use 4 characters with at least one R (e.g. 12R4, RR34). R marks rolling digits.",
|
||||
"missing_digit_slot": "Row {{row}} «{{play}}»: missing digit slot. Refresh and try again."
|
||||
},
|
||||
"previewFailed": "Preview failed",
|
||||
"closedSubmit": "Closed. Cannot submit.",
|
||||
"changedBeforeSubmit": "Your draft changed before submission. Close the preview and try again.",
|
||||
@@ -177,6 +183,10 @@
|
||||
"submitBet": "Submit Bet",
|
||||
"insufficientBalance": "Insufficient balance",
|
||||
"amountPlaceholder": "Amount",
|
||||
"digitShort": {
|
||||
"big": "B",
|
||||
"small": "S"
|
||||
},
|
||||
"filledPlayCount": "{{count}} plays filled",
|
||||
"tapToFill": "Tap to enter amounts",
|
||||
"rowActual": "Actual",
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
"currentTime": "हालको समय",
|
||||
"closesIn": "बन्द हुन बाँकी",
|
||||
"drawsIn": "ड्र हुन बाँकी",
|
||||
"drawProcessing": "ड्रअ प्रक्रियामा",
|
||||
"coolDown": "कुल डाउन",
|
||||
"loadFailedRefresh": "लोड असफल भयो। तल तानेर रिफ्रेस गर्नुहोस्।",
|
||||
"issueNo": "इश्यू नं.",
|
||||
@@ -103,6 +104,11 @@
|
||||
"notBettable": "यो इश्यू बन्द छ वा बेट स्वीकार गर्न सक्दैन।",
|
||||
"catalogNotReady": "प्ले कन्फिगरेसन अझै लोड हुँदैछ।",
|
||||
"emptyLines": "कृपया कम्तीमा एक मान्य नम्बर र रकम प्रविष्ट गर्नुहोस्।",
|
||||
"lineIssue": {
|
||||
"invalid_number_length": "पङ्क्ति {{row}} «{{play}}»: नम्बरको लम्बाइ मिलेन। नम्बर क्षेत्र जाँच गर्नुहोस्।",
|
||||
"roll_requires_r": "पङ्क्ति {{row}} «{{play}}»: 4 अक्षर र कम्तीमा एक R चाहिन्छ (जस्तै 12R4, RR34)। R = घुम्ने अंक।",
|
||||
"missing_digit_slot": "पङ्क्ति {{row}} «{{play}}»: अंक स्थान छुट्यो। रिफ्रेस गरी पुनः प्रयास गर्नुहोस्।"
|
||||
},
|
||||
"previewFailed": "पूर्वावलोकन असफल",
|
||||
"closedSubmit": "बन्द भयो। पेश गर्न सकिँदैन।",
|
||||
"changedBeforeSubmit": "पेश गर्नु अघि ड्राफ्ट परिवर्तन भयो। पूर्वावलोकन बन्द गरी फेरि प्रयास गर्नुहोस्।",
|
||||
@@ -177,6 +183,10 @@
|
||||
"submitBet": "बेट पेश गर्नुहोस्",
|
||||
"insufficientBalance": "ब्यालेन्स अपुग",
|
||||
"amountPlaceholder": "रकम",
|
||||
"digitShort": {
|
||||
"big": "ठू",
|
||||
"small": "सा"
|
||||
},
|
||||
"filledPlayCount": "{{count}} प्ले भरियो",
|
||||
"tapToFill": "रकम लेख्न ट्याप गर्नुहोस्",
|
||||
"rowActual": "वास्तविक",
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
"currentTime": "当前时间",
|
||||
"closesIn": "距封盘",
|
||||
"drawsIn": "距开奖",
|
||||
"drawProcessing": "开奖处理中",
|
||||
"coolDown": "冷静期",
|
||||
"loadFailedRefresh": "加载失败,请下拉刷新",
|
||||
"issueNo": "期号",
|
||||
@@ -103,6 +104,11 @@
|
||||
"notBettable": "当前已封盘或不可下注。",
|
||||
"catalogNotReady": "玩法配置尚未加载完成。",
|
||||
"emptyLines": "请至少填写一组有效号码和下注金额。",
|
||||
"lineIssue": {
|
||||
"invalid_number_length": "第 {{row}} 行「{{play}}」号码位数不正确,请检查号码列。",
|
||||
"roll_requires_r": "第 {{row}} 行「{{play}}」须为 4 位且含 R(如 12R4、RR34),R 表示滚动位。",
|
||||
"missing_digit_slot": "第 {{row}} 行「{{play}}」缺少位数,请刷新后重试。"
|
||||
},
|
||||
"previewFailed": "预览失败",
|
||||
"closedSubmit": "已封盘,无法提交。",
|
||||
"changedBeforeSubmit": "提交前数据已变化,请关闭预览后重试。",
|
||||
@@ -177,6 +183,10 @@
|
||||
"submitBet": "提交下注",
|
||||
"insufficientBalance": "余额不足",
|
||||
"amountPlaceholder": "金额",
|
||||
"digitShort": {
|
||||
"big": "大",
|
||||
"small": "小"
|
||||
},
|
||||
"filledPlayCount": "已填写 {{count}} 个玩法",
|
||||
"tapToFill": "点击填写玩法金额",
|
||||
"rowActual": "实扣",
|
||||
|
||||
Reference in New Issue
Block a user