Merge branch 'dev' into hugo-shipping-notice

# Conflicts:
#	.env.dev
#	.env.test
#	backend/app/api/__init__.py
#	docs/funclist.md
#	frontend/src/features/chat/composables/useChatPage.ts
This commit is contained in:
hugo committed 2026-07-06 08:35:40 +08:00
commit f72c1c9f0e
101 files changed
+11163 -334

No files matched your search

+27 -9
View File
@@ -471,8 +471,8 @@
}
},
"training": {
"badge": "Onboarding Training Workspace",
"title": "Onboarding Training Agent",
"badge": "Employee Training Workspace",
"title": "",
"subtitle": "Complete video learning, knowledge review, one-question-at-a-time testing, and HR reporting in the same chat page.",
"tabs": {
"learner": "Learner",
@@ -482,7 +482,8 @@
"syncLearnerToChat": "Sync learner context to chat",
"syncHrToChat": "Sync HR filters to chat",
"expandWorkspace": "Expand workspace",
"collapseWorkspace": "Collapse workspace"
"collapseWorkspace": "Collapse Workspace",
"viewExamPdf": "View Exam PDF"
},
"steps": {
"video": "Watch Video",
@@ -514,7 +515,7 @@
"title": "Step 3: One-question-at-a-time exam",
"questionCounter": "Question {current} / {total}",
"currentScore": "Current score: {score}",
"passLine": "Pass line: 90 points",
"passLine": "Pass line: {passScore} points",
"correctFeedback": "Correct. Move on to the next question.",
"wrongFeedback": "Incorrect. The correct answer is now shown.",
"selectedAnswer": "Your answer: {answer}",
@@ -527,8 +528,8 @@
"failedTag": "Retake required",
"passTitle": "Congratulations, you passed the onboarding exam",
"failTitle": "This attempt did not meet the requirement",
"passDescription": "The frontend pass-state interaction is complete. Once the backend is connected, it can write training records and the completion date.",
"failDescription": "According to HR rules, any score below 90 requires a full retake until the learner passes.",
"passDescription": "You passed this exam successfully. The score is automatically synced to the HR console and saved into the training record.",
"failDescription": "According to HR rules, any score below {passScore} requires a full retake until the learner passes.",
"scoreLabel": "Final score",
"attemptsLabel": "Attempts",
"correctCount": "Correct answers",
@@ -545,9 +546,9 @@
},
"rules": {
"title": "Exam rules",
"rule1": "There are 20 questions, 5 points each, with a full score of 100.",
"rule1": "There are {total} questions, and the system calculates the result on a 100-point scale.",
"rule2": "The system enforces one question, one answer, one feedback. Wrong answers show the correct answer immediately.",
"rule3": "Any score below 90 is treated as failed and requires a retake.",
"rule3": "Any score below {passScore} is treated as failed and requires a retake.",
"rule4": "HR can view statistics and export Excel from the same chat page."
},
"hr": {
@@ -594,7 +595,24 @@
"afterSummary": "I finished reviewing the knowledge points. Please switch to exam mode and ask the first question.",
"afterPass": "I passed the onboarding training exam with a score of {score}. Please help me generate a short completion summary.",
"afterFail": "I scored {score} in the onboarding training exam and did not pass. Please summarize the weak points and prepare a retake reminder.",
"examInProgress": "I am taking the onboarding training exam and am currently on question {index}/{total}. Please stay in proctor mode and continue."
"examInProgress": "I am taking the onboarding training exam and am currently on question {index}/{total}. Please stay in proctor mode and continue.",
"assistantVideoIntro": "👋 Welcome aboard! I am your onboarding training assistant. Today's training has three steps: watch the video ➡️ review the key knowledge points ➡️ take the quiz ({passScore} points to pass).\n\n▶️ Please start with the onboarding training video. After watching it, move on to the knowledge review.",
"assistantSummaryIntro": "Great. Based on the video, I pulled together the key knowledge points you are most likely to be tested on:",
"assistantSummaryReady": "Ready for the challenge? Click Start Exam directly or reply \"Start Exam\" in the chat.",
"assistantQuestionSingleType": "Single choice",
"assistantQuestionBooleanType": "True or false",
"assistantQuestionReplyHint": "Reply with the option or the answer text directly.",
"assistantResultPass": "🎉 **Congratulations!** Your final score is **{score}**. You passed the onboarding assessment, and your score has been synced to HR automatically.",
"assistantResultFail": "📊 **Exam finished!** Your final score is **{score}**. The passing line is {passScore}. Reply \"Retake Exam\" to try again.",
"startExamCommand": "Start Exam",
"restartExamCommand": "Retake Exam"
},
"errors": {
"persistTitle": "Training record save failed",
"persistBody": "The current exam result has not been written to the database, so the HR console and statistics will not update",
"loadTitle": "Training record load failed",
"loadBody": "The training record cannot be loaded from the database right now, so the page may not reflect the latest result",
"questionBankEmpty": "The training question bank is empty. Please maintain it first in the Agent configuration."
},
"summaryPoints": [
"Salary is paid on the 15th of each month, and attendance or leave requests must go through OA.",