feat(ui): enhance table and admin components with improved layout and status display
- Updated global CSS to center-align table headers and cells, ensuring a consistent layout. - Modified admin table components to replace switches with status badges for better clarity. - Enhanced internationalization support by adding new strings for version actions and validation messages in multiple locales. - Refactored configuration document screens to include version selection and improved user feedback on status changes.
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
"effectiveAt": "Effective at: {{value}}",
|
||||
"note": "Note: {{value}}",
|
||||
"current": "Current",
|
||||
"moreActions": "More actions for v{{version}}",
|
||||
"selected": "Selected",
|
||||
"view": "View",
|
||||
"rollback": "Rollback",
|
||||
@@ -54,8 +55,11 @@
|
||||
"deleteConfirmTitle": "Delete this version?",
|
||||
"deleteConfirmDescription": "Version ID {{id}} (version_no {{version}}) will be permanently deleted. Active versions cannot be deleted."
|
||||
},
|
||||
"versionToolbar": {
|
||||
"draftEditing": "Editing a draft — save and publish to go live"
|
||||
},
|
||||
"versionActions": {
|
||||
"publishCurrent": "Set as current version",
|
||||
"publishCurrent": "Publish",
|
||||
"refreshing": "Refreshing",
|
||||
"refresh": "Refresh versions",
|
||||
"newDraft": "New draft",
|
||||
@@ -194,7 +198,8 @@
|
||||
"batchSwitchEnable": "Enable",
|
||||
"batchSwitchDisable": "Disable",
|
||||
"toggleConfirmTitle": "{{action}} play {{playCode}}?",
|
||||
"toggleConfirmDescription": "This calls the API immediately (not draft-only).",
|
||||
"toggleConfirmDescription": "This updates the current draft only. Players see changes after save and publish.",
|
||||
"batchPartialEnabled": "{{enabledCount}}/{{total}} enabled (not all on — turn on to enable all)",
|
||||
"toggleEnable": "Enable",
|
||||
"toggleDisable": "Disable",
|
||||
"toggleInstantFailed": "Failed to apply play switch. Try again later.",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"exportHint": "Once export APIs are connected, the current filters will generate the selected file format.",
|
||||
"validation": {
|
||||
"drawNoRequired": "Please enter a draw number",
|
||||
"drawNoNotFound": "Draw number «{{drawNo}}» was not found",
|
||||
"drawNoNumberRequired": "Please enter both draw number and number"
|
||||
},
|
||||
"formats": {
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
"effectiveAt": "लागू समय: {{value}}",
|
||||
"note": "टिप्पणी: {{value}}",
|
||||
"current": "हाल हेर्दै",
|
||||
"moreActions": "v{{version}} थप कार्य",
|
||||
"selected": "छानिएको",
|
||||
"view": "हेर्नुहोस्",
|
||||
"rollback": "रोलब्याक",
|
||||
@@ -54,8 +55,11 @@
|
||||
"deleteConfirmTitle": "यो संस्करण मेटाउने?",
|
||||
"deleteConfirmDescription": "संस्करण ID {{id}} (version_no {{version}}) स्थायी रूपमा मेटाइनेछ। सक्रिय संस्करण मेटाउन मिल्दैन।"
|
||||
},
|
||||
"versionToolbar": {
|
||||
"draftEditing": "ड्राफ्ट सम्पादन — सेभ र प्रकाशित गरेपछि लाइभ हुन्छ"
|
||||
},
|
||||
"versionActions": {
|
||||
"publishCurrent": "हालको संस्करण बनाउनुहोस्",
|
||||
"publishCurrent": "प्रकाशित गर्नुहोस्",
|
||||
"refreshing": "रिफ्रेस हुँदैछ",
|
||||
"refresh": "संस्करण रिफ्रेस",
|
||||
"newDraft": "नयाँ ड्राफ्ट",
|
||||
@@ -194,7 +198,8 @@
|
||||
"batchSwitchEnable": "सक्रिय",
|
||||
"batchSwitchDisable": "निष्क्रिय",
|
||||
"toggleConfirmTitle": "खेल {{playCode}} {{action}} गर्ने?",
|
||||
"toggleConfirmDescription": "यो तुरुन्त API मार्फत लागू हुन्छ (केवल ड्राफ्ट मात्र होइन)।",
|
||||
"toggleConfirmDescription": "यो हालको ड्राफ्ट मात्र अपडेट गर्छ। सेभ र प्रकाशित गरेपछि खेलाडीलाई देखिन्छ।",
|
||||
"batchPartialEnabled": "{{enabledCount}}/{{total}} सक्रिय (सबै खुला छैन — अन गर्दा सबै सक्रिय हुन्छ)",
|
||||
"toggleEnable": "सक्रिय",
|
||||
"toggleDisable": "निष्क्रिय",
|
||||
"toggleInstantFailed": "खेल स्विच तुरुन्त लागू गर्न असफल। पछि पुनः प्रयास गर्नुहोस्।",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"exportHint": "निर्यात API जोडिएपछि हालका फिल्टरअनुसार छानिएको फाइल ढाँचा बनाइनेछ।",
|
||||
"validation": {
|
||||
"drawNoRequired": "कृपया ड्र नं. प्रविष्ट गर्नुहोस्",
|
||||
"drawNoNotFound": "ड्र नं. «{{drawNo}}» फेला परेन",
|
||||
"drawNoNumberRequired": "कृपया ड्र नं. र नम्बर दुवै प्रविष्ट गर्नुहोस्"
|
||||
},
|
||||
"formats": {
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
"effectiveAt": "生效时间:{{value}}",
|
||||
"note": "备注:{{value}}",
|
||||
"current": "当前查看",
|
||||
"moreActions": "版本 v{{version}} 更多操作",
|
||||
"selected": "已选中",
|
||||
"view": "查看",
|
||||
"rollback": "回滚",
|
||||
@@ -54,8 +55,11 @@
|
||||
"deleteConfirmTitle": "确认删除版本?",
|
||||
"deleteConfirmDescription": "将永久删除版本 ID {{id}}(version_no {{version}})。生效中的版本不可删除。"
|
||||
},
|
||||
"versionToolbar": {
|
||||
"draftEditing": "正在编辑草稿,保存并发布后生效"
|
||||
},
|
||||
"versionActions": {
|
||||
"publishCurrent": "启用为当前版本",
|
||||
"publishCurrent": "发布生效",
|
||||
"refreshing": "刷新中",
|
||||
"refresh": "刷新版本",
|
||||
"newDraft": "新建草稿",
|
||||
@@ -194,7 +198,8 @@
|
||||
"batchSwitchEnable": "开启",
|
||||
"batchSwitchDisable": "关闭",
|
||||
"toggleConfirmTitle": "确认{{action}}玩法 {{playCode}}?",
|
||||
"toggleConfirmDescription": "将立即调用接口生效(不仅限于草稿)。",
|
||||
"toggleConfirmDescription": "将写入当前草稿;保存并发布后才会影响玩家端。",
|
||||
"batchPartialEnabled": "{{enabledCount}}/{{total}} 已开启(未全开,打开开关将全部开启)",
|
||||
"toggleEnable": "开启",
|
||||
"toggleDisable": "关闭",
|
||||
"toggleInstantFailed": "玩法开关即时生效失败,请稍后重试",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"exportHint": "接入导出接口后,会按当前条件生成对应格式的文件。",
|
||||
"validation": {
|
||||
"drawNoRequired": "请输入期号",
|
||||
"drawNoNotFound": "未找到期号「{{drawNo}}」",
|
||||
"drawNoNumberRequired": "请输入期号和号码"
|
||||
},
|
||||
"formats": {
|
||||
|
||||
Reference in New Issue
Block a user