refactor: 合并多语言支持的显示名称字段,优化奖池手动爆发功能的返回数据结构,增强管理端权限控制

This commit is contained in:
2026-05-25 14:31:24 +08:00
parent 7d01e5c47e
commit ddedef824e
101 changed files with 3033 additions and 641 deletions

View File

@@ -83,7 +83,9 @@
"outMin": "Per-order minimum from lottery wallet to main wallet",
"outMax": "Per-order maximum from lottery wallet to main wallet"
},
"discard": "Discard changes"
"discard": "Discard changes",
"confirmSaveTitle": "Save wallet limits?",
"confirmSaveDescription": "This updates per-order transfer-in/out limits and immediately affects player wallet transfers."
},
"system": {
"title": "Draw and settlement runtime settings",
@@ -99,19 +101,25 @@
"manualReview": "Require manual review for draw results",
"cooldownMinutes": "Cooldown duration (minutes)",
"autoSettlement": "Run settlement automatically",
"autoApprove": "Auto-approve settlement batches",
"autoPayout": "Auto-credit winnings to wallets",
"playRulesHtml": "Play rules HTML (i18n)",
"playRulesHtmlDesc": "Rendered on the player play-rules page per locale. Leave empty to fall back to another language or the default empty state."
},
"hints": {
"manualReview": "When enabled, RNG draw results enter pending review and must be published manually in admin.",
"cooldownMinutes": "How long to wait after publishing before entering settling. Use 0 to settle immediately.",
"autoSettlement": "When disabled, tick will not run settlement automatically and admins must trigger it manually."
"autoSettlement": "When disabled, tick will not run settlement automatically and admins must trigger it manually.",
"autoApprove": "After cooldown ends and settlement completes, whether batches are automatically marked as approved.",
"autoPayout": "After a batch is approved, whether tick automatically credits winnings to player wallets."
},
"states": {
"enabled": "Enabled",
"disabled": "Disabled"
},
"discard": "Discard changes"
"discard": "Discard changes",
"confirmSaveTitle": "Save system runtime parameters?",
"confirmSaveDescription": "This updates draw review, cooldown, auto settlement/approval/payout, and play-rules display. It may affect site-wide operation."
},
"currencies": {
"title": "Currency management",
@@ -173,9 +181,23 @@
},
"validation": {
"minMaxInvalid": "{{playCode}}: min bet cannot exceed max bet",
"nameZhRequired": "Chinese display name is required"
"displayNameRequired": "Display name is required"
},
"publishFailed": "Publish failed",
"publishDialog": {
"title": "Publish play configuration?",
"description": "New settings affect future bets. Existing tickets still settle by their saved snapshot.",
"confirm": "Confirm publish"
},
"batchSwitchConfirmTitle": "Batch {{action}}?",
"batchSwitchConfirmDescription": "{{action}} {{count}} play types under «{{group}}» and write to the current draft.",
"batchSwitchEnable": "Enable",
"batchSwitchDisable": "Disable",
"toggleConfirmTitle": "{{action}} play {{playCode}}?",
"toggleConfirmDescription": "This calls the API immediately (not draft-only).",
"toggleEnable": "Enable",
"toggleDisable": "Disable",
"toggleInstantFailed": "Failed to apply play switch. Try again later.",
"createDraftSuccess": "Created draft v{{version}}",
"createDraftFailed": "Failed to create draft",
"ruleSavedLocal": "Rule text was saved into the local draft. Save the draft to persist it.",
@@ -191,7 +213,7 @@
"enable": "Enable",
"disable": "Disable",
"ruleText": "Rule text",
"displayNames": "Display names"
"editDisplayName": "Edit name"
},
"locales": {
"zh": "Chinese",
@@ -217,8 +239,8 @@
"enablePlay": "Enable {{playCode}}"
},
"nameDialog": {
"title": "Display names (i18n)",
"description": "Play {{playCode}}. Chinese is required; English and Nepali are optional. The player site picks the label by locale after publish.",
"title": "Edit display name",
"description": "Play {{playCode}}. The player site shows this label after you save and publish the draft.",
"apply": "Apply to draft",
"savedLocal": "Display names were saved into the local draft. Save the draft to persist them."
},
@@ -228,6 +250,13 @@
"apply": "Apply to draft"
}
},
"prizeScopes": {
"first": "First prize odds",
"second": "Second prize odds",
"third": "Third prize odds",
"starter": "Starter prize odds",
"consolation": "Consolation prize odds"
},
"odds": {
"sectionHint": "Pick a version to edit prize-tier odds; publishing applies to new tickets immediately.",
"tabs": {
@@ -273,6 +302,11 @@
"publishLabel": "Publish",
"publishSuccess": "Published odds version with rebate",
"publishFailed": "Publish failed",
"publishDialog": {
"title": "Publish rebate/odds version?",
"description": "After publish, rebate calculation applies to new tickets.",
"confirm": "Confirm publish"
},
"createDraftSuccess": "Created draft v{{version}}",
"createDraftFailed": "Failed to create draft",
"deleteFailed": "Delete failed",
@@ -297,6 +331,11 @@
"enterValidCapAmount": "Enter a valid cap amount"
},
"publishFailed": "Publish failed",
"publishDialog": {
"title": "Publish cap configuration?",
"description": "After publish, per-number risk-pool cap limits take effect.",
"confirm": "Confirm publish"
},
"createDraftSuccess": "Created draft v{{version}}",
"createDraftFailed": "Failed to create draft",
"savedLocalDraft": "Saved into local draft. Save the draft to persist it.",