refactor: 优化配置与奖池页面多语言编辑及管理端列表布局

This commit is contained in:
2026-05-22 16:55:34 +08:00
parent 2d4a23968e
commit 7d01e5c47e
12 changed files with 901 additions and 599 deletions

View File

@@ -94,10 +94,13 @@
"loadFailed": "Failed to load system settings",
"saveSuccess": "System settings saved",
"saveFailed": "Failed to save system settings",
"frontendConfig": "Front-end configuration",
"fields": {
"manualReview": "Require manual review for draw results",
"cooldownMinutes": "Cooldown duration (minutes)",
"autoSettlement": "Run settlement automatically"
"autoSettlement": "Run settlement automatically",
"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.",
@@ -169,7 +172,8 @@
"jackpot": "Jackpot"
},
"validation": {
"minMaxInvalid": "{{playCode}}: min bet cannot exceed max bet"
"minMaxInvalid": "{{playCode}}: min bet cannot exceed max bet",
"nameZhRequired": "Chinese display name is required"
},
"publishFailed": "Publish failed",
"createDraftSuccess": "Created draft v{{version}}",
@@ -186,7 +190,13 @@
"actions": {
"enable": "Enable",
"disable": "Disable",
"ruleText": "Rule text"
"ruleText": "Rule text",
"displayNames": "Display names"
},
"locales": {
"zh": "Chinese",
"en": "English",
"ne": "Nepali"
},
"table": {
"playCode": "Play code",
@@ -206,10 +216,15 @@
"aria": {
"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.",
"apply": "Apply to draft",
"savedLocal": "Display names were saved into the local draft. Save the draft to persist them."
},
"ruleDialog": {
"title": "Rule text (Chinese)",
"title": "Rule text (i18n)",
"description": "Play {{playCode}}. Changes stay in the draft until you save and publish it.",
"fieldLabel": "rule_text_zh",
"apply": "Apply to draft"
}
},