Files
lotteryAdmin/src/i18n/locales/en/draws.json
kang d30c135dde feat(i18n, draws): 新增“随机填充”翻译并实现随机选号功能
在英文、尼泊尔语与中文语言包中新增 “Fill Randomly(随机填充)” 翻译文案,完善多语言支持。
在 DrawReviewConsole 组件中新增随机选号功能,用户可通过按钮一键填充随机号码。
优化开奖录入流程,减少手动输入操作,提升使用效率与用户体验。
2026-06-01 14:54:53 +08:00

212 lines
8.2 KiB
JSON

{
"title": "Draws",
"statusListTitle": "Draw list",
"generatePlan": "Generate draw plan",
"generating": "Generating…",
"generateSuccess": "Generated {{created}} draws, buffer {{upcoming}}/{{target}}",
"generateFailed": "Generation failed",
"scheduleTimezoneHint": "Times in server timezone {{tz}} (GMT, per UI spec); draw interval {{interval}} min (LOTTERY_DRAW_INTERVAL_MINUTES).",
"createDraw": {
"open": "New draw",
"title": "Create draw manually",
"description": "Enter date and time in {{tz}} (not your browser local zone). If only draw time is set, start/close are derived from server config.",
"hint": "Start < close < draw. Draw number optional; sequence auto-assigned by UTC business date.",
"drawTimeRequired": "Draw time is required",
"submit": "Create",
"saving": "Creating…",
"success": "Draw created",
"failed": "Create failed"
},
"drawNo": "Draw no.",
"status": "Status",
"startTime": "Start time",
"closeTime": "Close time",
"drawTime": "Draw time",
"betTotal": "Total bet",
"payoutTotal": "Total payout",
"profitLoss": "Profit/Loss",
"actions": "Actions",
"queryDraw": "Search draw",
"reset": "Reset",
"fuzzyDrawNo": "Fuzzy draw no.",
"viewDetails": "View details",
"editDraw": {
"action": "Edit",
"title": "Edit draw",
"description": "Draw {{drawNo}} · edit times in {{tz}}",
"submit": "Save",
"saving": "Saving…",
"success": "Draw updated",
"failed": "Update failed"
},
"deleteDraw": {
"action": "Delete",
"title": "Delete draw",
"description": "Delete draw {{drawNo}}? Only for pending draws with no bets. This cannot be undone.",
"success": "Draw deleted",
"failed": "Delete failed"
},
"cancelFromList": {
"action": "Cancel",
"title": "Cancel draw",
"description": "Cancel draw {{drawNo}}? Status becomes cancelled; the row is kept."
},
"listActionsHint": "Pending with no bets: edit or delete. Open/closing/closed with no bets: cancel from list or use detail page.",
"invalidDrawId": "Invalid draw ID",
"loadFailed": "Failed to load. Check login and API configuration.",
"drawDetail": "Draw details",
"businessDate": "Business date",
"sequenceNo": "Sequence no.",
"plannedDraw": "Planned draw",
"coolingEndTime": "Cooling ends at",
"resultSource": "Result source",
"resultSourceOptions": {
"rng": "RNG auto-generated",
"manual": "Manual entry"
},
"batchStatusOptions": {
"pending_review": "Pending review",
"published": "Published"
},
"currentResultVersion": "Current result version",
"settleVersion": "Settlement version",
"isReopened": "Reopened",
"yes": "Yes",
"no": "No",
"batchStats": "Batch stats",
"batchTotal": "Total batches",
"pendingReview": "Pending review",
"published": "Published",
"viewFinance": "View draw finance",
"drawActions": "Draw actions",
"drawActionsDesc": "Manual close / cancel / RNG / reopen / settlement all call backend APIs directly.",
"manualClose": "Manual close",
"cancelDraw": "Cancel draw",
"cancelBeforeDraw": "Cancel before draw",
"rngDraw": "RNG draw",
"rngAutoGenerate": "RNG auto generate",
"reopen": "Reopen",
"cooldownReopen": "Reopen in cooldown",
"runSettlement": "Run settlement",
"processing": "Processing…",
"actionSuccess": "{{name}} succeeded",
"actionFailed": "{{name}} failed",
"hallPreviewStatus": "Hall preview {{status}}",
"financeOverview": "Draw finance overview",
"orderAndItemCount": "Orders / Ticket items",
"actualBet": "Actual bet deducted",
"currentPayout": "Current payout total",
"grossProfit": "Approx. gross profit",
"settlementBatchList": "Settlement batch list (filter by draw)",
"relatedSettlementBatches": "Related settlement batches",
"noSettlementBatches": "No settlement batch records.",
"ticketCount": "Tickets",
"winCount": "Wins",
"finishedAt": "Finished at",
"jackpotPayout": "Jackpot payout",
"resultsTitle": "Results",
"reviewAndPublish": "Review / publish",
"viewReviewQueue": "View review queue",
"noPublishedBatch": "No published batches.",
"version": "Version v{{version}}",
"sourceType": "Source {{source}}",
"manualEntry": "Manual",
"rng": "RNG",
"rngSummary": "RNG hash {{hash}}",
"confirmedAt": "Confirmed at {{time}}",
"prize": "Prize",
"tail3": "Last 3",
"tail2": "Last 2",
"headTail": "Head/Tail",
"manualResultEntry": "Manual result entry",
"currentStatusAndDraft": "Current status {{status}}. Saving creates a pending batch and does not publish it.",
"currentStatusLabel": "Current status",
"currentStatusDraftHint": "Saving creates a pending batch and does not publish it.",
"hallPreviewStatusLabel": "Hall preview",
"enter23Numbers": "Please enter all 23 groups of 4 digits",
"draftSaved": "Draft v{{version}} saved, waiting to be published",
"saveFailed": "Failed to save",
"fillRandomNumbers": "Fill randomly",
"clear": "Clear",
"saveDraft": "Save draft",
"saving": "Saving…",
"pendingBatches": "Pending batches",
"noPendingBatches": "There are no batches pending review.",
"batchId": "Batch ID",
"numberCount": "Number count",
"reviewAndPublishAction": "Review and publish",
"noPublishPermission": "No publish permission",
"batchNotFound": "Batch not found",
"batchNotFoundDesc": "Return to the review list and confirm the batch ID.",
"backToReviewQueue": "Back to review queue",
"publishTitle": "Publish",
"cannotPublish": "Cannot publish",
"cannotPublishDesc": "Current batch status is '{{status}}'.",
"checkBeforePublish": "Check the numbers before publishing",
"checkBeforePublishDesc": "Publish only after confirming the numbers.",
"publishedView": "View published result",
"confirmPublish": "Confirm publish",
"submitting": "Submitting…",
"publishSuccess": "Published · {{drawNo}} · status {{status}}",
"publishFailed": "Publish failed",
"sourceTypeFull": "Source: {{source}} · Items: {{count}}/23 · RNG hash: {{hash}}",
"subnav": {
"status": "Draw status",
"results": "Results",
"finance": "Draw finance",
"review": "Review & publish",
"riskOccupancy": "Risk occupancy",
"riskLockLogs": "Lock logs",
"riskHot": "Hot numbers",
"riskSoldOut": "Sold-out numbers",
"riskPools": "Risk pools"
},
"statusOptions": {
"all": "All",
"pending": "Pending",
"open": "Open",
"closing": "Closing",
"closed": "Closed",
"drawing": "Drawing",
"review": "Review",
"cooldown": "Cooldown",
"settling": "Settling",
"settled": "Settled",
"cancelled": "Cancelled"
},
"resultSlots": {
"first": "1st prize",
"second": "2nd prize",
"third": "3rd prize",
"starter": "Starter {{index}}",
"consolation": "Consolation {{index}}"
},
"confirm": {
"manualCloseTitle": "Confirm manual close?",
"manualCloseDescription": "Players will no longer be able to bet on this draw.",
"cancelDrawTitle": "Confirm cancel draw?",
"cancelDrawDescription": "This draw will not be drawn. Ensure there is no outstanding bet risk.",
"rngDrawTitle": "Confirm RNG draw?",
"rngDrawDescription": "The system will generate draw numbers and continue the pipeline.",
"reopenTitle": "Confirm cooldown reopen?",
"reopenDescription": "Results may need re-review; displayed numbers may change.",
"runSettlementTitle": "Confirm run settlement?",
"runSettlementDescription": "A settlement batch will be created from the published result.",
"saveManualDraftTitle": "Confirm save manual draft?",
"saveManualDraftDescription": "23 numbers will be saved for review.",
"publishTitle": "Confirm publish results?",
"publishDescription": "Results become visible to players and may trigger settlement.",
"generatePlanTitle": "Confirm generate draw plan?",
"generatePlanDescription": "Future bettable draws will be created per system rules."
},
"batchDelete": {
"action": "Delete {{count}} draws",
"deleting": "Deleting…",
"confirmTitle": "Confirm batch delete draws?",
"confirmDescription": "Will delete {{count}} pending draws with no bets. This cannot be undone.",
"success": "Successfully deleted {{count}} draws",
"failed": "Batch delete failed",
"partialFailed": "Partial failure: {{success}} succeeded, {{failed}} failed"
}
}