feat(training): 培训配置改造

This commit is contained in:
runny committed 2026-09-03 08:45:05 +08:00
1 parent d21c83433e
commit 15225ef1ce
15 files changed
+602 -56

No files matched your search

+27 -1
View File
@@ -4962,6 +4962,10 @@
"questionJsonHint": "Enter a JSON array. Saving syncs it to settings and the inline question resource.",
"questionCount": "{count} questions",
"confirmDelete": "Delete this training configuration?",
"copySectionTitle": "Learner flow copy",
"copySectionDesc": "Configure progress items, the progress note, and the step guide copy. If no progress items are configured, the learner page hides the progress module.",
"addProgressItem": "Add progress item",
"progressItemsEmpty": "No progress items are configured. The learner page will hide this module.",
"sections": {
"basicTitle": "Basic Configuration",
"basicDesc": "Set the training name, release version, status, and exam rules",
@@ -4980,7 +4984,10 @@
},
"placeholders": {
"onePerLine": "Enter one item per line",
"oneQuestionPerLine": "Enter one question per line"
"oneQuestionPerLine": "Enter one question per line",
"progressItemLabel": "Example: Watch video",
"progressHintText": "Example: Training is complete only after the video, knowledge review, and exam are all finished.",
"stepIntroText": "Example: Step 1: Watch the training video\nEmployees complete the video first, then move on to knowledge review and the exam."
},
"fields": {
"type": "Training type code",
@@ -4989,11 +4996,25 @@
"status": "Status",
"passScore": "Pass score",
"examMode": "Exam mode",
"progressItems": "Training progress items",
"progressStage": "Mapped stage",
"progressItemLabel": "Progress item label",
"progressHintText": "Training progress note",
"stepIntroText": "Training step guide copy",
"summaryPoints": "Review points",
"summaryChecklist": "Pre-exam checklist",
"employeeQuestions": "Employee FAQs",
"hrQuestions": "HR FAQs"
},
"progressStages": {
"video": "Watch video",
"summary": "Review key points",
"exam": "One-question exam",
"result": "Result",
"company": "Company-level safety training",
"department": "Department-level safety training",
"team": "Team-level safety training"
},
"status": {
"draft": "Draft",
"published": "Published",
@@ -5013,6 +5034,11 @@
"saveFailed": "Failed to save training configuration",
"typeRequired": "Enter the training type code and name",
"invalidQuestions": "Question JSON must be an array",
"progressHintRequired": "Please enter the training progress note",
"stepIntroRequired": "Please enter the training step guide copy",
"copyTooLong": "Training copy cannot exceed 500 characters",
"progressItemRequired": "Please complete every training progress item",
"progressStageDuplicate": "Training progress stages cannot repeat",
"questionSourceRequired": "Select a training exam PDF",
"parseSuccess": "Parsed {count} questions. Review before saving.",
"parseFailed": "Question bank parsing failed",