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:
2026-05-26 11:13:16 +08:00
parent 05fa0cbeec
commit 4080f0b601
38 changed files with 788 additions and 608 deletions

View File

@@ -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": "खेल स्विच तुरुन्त लागू गर्न असफल। पछि पुनः प्रयास गर्नुहोस्।",