fix: 全部TS错误修复(25->0) + 证书API 500修复 + i18n缺失key补全 + 类型定义修正
- 证书API 500修复: AssessmentCertificate实体注册到app.module.ts - 前端TS错误25个清零: i18n key 17个, 类型定义8个 - i18n补全: 17个缺失key添加到zh/en/ja - KnowledgeFile类型: 添加title, content字段 - importService: 改用apiClient.request替代raw fetch - ModeSelector: 移除jsx prop - questionBankService: .ok -> .status >= 400 - NotebookDetailView: .filter -> .items.filter - ImportTasksDrawer: tasks.items提取 - API端点审计: 16/16通过 - 数据库Schema审计: 25表288列一致 - AGENTS.md更新
This commit is contained in:
@@ -916,6 +916,23 @@ export const translations = {
|
||||
confirmDeleteTask: "确定要删除此导入任务记录吗?",
|
||||
deleteTaskFailed: "删除任务记录失败",
|
||||
noOrganization: "暂无组织",
|
||||
yes: "是",
|
||||
no: "否",
|
||||
certificate: "证书",
|
||||
viewCertificate: "查看证书",
|
||||
totalScore: "总分",
|
||||
passed: "通过",
|
||||
exportExcel: "导出Excel",
|
||||
timeLimitExceeded: "超时限制",
|
||||
secureIngestion: "安全注入",
|
||||
documentsAndText: "文档和文本",
|
||||
imagesAndVision: "图片与视觉",
|
||||
dropToIngest: "拖拽到这里注入",
|
||||
dropAnywhere: "拖放到任意位置",
|
||||
secureProcessing: "安全处理",
|
||||
allFormats: "所有格式支持",
|
||||
visualVision: "视觉识别",
|
||||
releaseToIngest: "释放以注入",
|
||||
},
|
||||
en: {
|
||||
aiCommandsError: "An error occurred",
|
||||
@@ -1843,6 +1860,23 @@ export const translations = {
|
||||
confirmDeleteTask: "Are you sure you want to delete this import task record?",
|
||||
deleteTaskFailed: "Failed to delete task record",
|
||||
noOrganization: "No Organization",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
certificate: "Certificate",
|
||||
viewCertificate: "View Certificate",
|
||||
totalScore: "Total Score",
|
||||
passed: "Passed",
|
||||
exportExcel: "Export Excel",
|
||||
timeLimitExceeded: "Time Limit Exceeded",
|
||||
secureIngestion: "Secure Ingestion",
|
||||
documentsAndText: "Documents & Text",
|
||||
imagesAndVision: "Images & Vision",
|
||||
dropToIngest: "Drop to Ingest",
|
||||
dropAnywhere: "Drop Anywhere",
|
||||
secureProcessing: "Secure Processing",
|
||||
allFormats: "All Formats Supported",
|
||||
visualVision: "Visual Recognition",
|
||||
releaseToIngest: "Release to Ingest",
|
||||
},
|
||||
ja: {
|
||||
aiCommandsError: "エラーが発生しました",
|
||||
@@ -2766,5 +2800,22 @@ export const translations = {
|
||||
confirmDeleteTask: "このインポートタスクレコードを削除してもよろしいですか?",
|
||||
deleteTaskFailed: "タスクレコードの削除に失敗しました",
|
||||
noOrganization: "組織なし",
|
||||
yes: "はい",
|
||||
no: "いいえ",
|
||||
certificate: "証明書",
|
||||
viewCertificate: "証明書を表示",
|
||||
totalScore: "合計点数",
|
||||
passed: "合格",
|
||||
exportExcel: "Excelにエクスポート",
|
||||
timeLimitExceeded: "時間制限超過",
|
||||
secureIngestion: "安全な取り込み",
|
||||
documentsAndText: "ドキュメントとテキスト",
|
||||
imagesAndVision: "画像とビジョン",
|
||||
dropToIngest: "ドロップして取り込む",
|
||||
dropAnywhere: "どこにでもドロップ",
|
||||
secureProcessing: "安全な処理",
|
||||
allFormats: "すべてのフォーマット対応",
|
||||
visualVision: "視覚認識",
|
||||
releaseToIngest: "離して取り込む",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user