feat: 完善安装部署与数字溯源码

This commit is contained in:
Nixevol
2026-07-06 23:26:21 +08:00
parent 7480e4d256
commit 7c6b0bff4c
59 changed files with 2174 additions and 166 deletions
+50
View File
@@ -442,6 +442,24 @@
"filingInfo": "Filing Info",
"carouselInterval": "Carousel Interval",
"carouselIntervalHint": "Seconds each media stays; decimals allowed. 0 disables auto-advance (manual loop still works).",
"clientBaseUrl": "Client URL",
"storageSettings": "Storage & CDN",
"storageDriver": "Storage",
"storageDriverLocal": "Local",
"storageDriverOss": "OSS/S3",
"storageLocalDir": "Local Dir",
"cdnBaseUrl": "CDN URL",
"ossEndpoint": "OSS Endpoint",
"ossRegion": "OSS Region",
"ossBucket": "OSS Bucket",
"ossAccessKeyId": "AccessKey ID",
"ossAccessKeySecret": "AccessKey Secret",
"testStorage": "Test",
"migrateStorage": "Migrate",
"confirmStorage": "Switch",
"storageTested": "Storage connection verified",
"storageMigrated": "{n} files migrated",
"storageConfirmed": "Storage settings switched",
"backupEnabled": "Enable Scheduled Backup",
"backupSchedule": "Scheduled Backup",
"backupRetentionDays": "Backup Days",
@@ -542,5 +560,37 @@
"AUTO_BEFORE_RESTORE": "Auto Snapshot Before Restore"
}
}
},
"error": {
"SUCCESS": "Success",
"BAD_REQUEST": "Invalid request",
"UNAUTHORIZED": "Not logged in or session expired",
"FORBIDDEN": "You do not have permission",
"NOT_FOUND": "Resource not found",
"VALIDATION_FAILED": "Validation failed",
"INTERNAL_ERROR": "Internal server error",
"TOO_MANY_REQUESTS": "Too many requests. Please try again later.",
"INVALID_CREDENTIALS": "Incorrect username or password",
"TOKEN_EXPIRED": "Session expired. Please log in again.",
"USER_DISABLED": "This account has been disabled",
"OLD_PASSWORD_WRONG": "Current password is incorrect",
"USERNAME_EXISTS": "Username already exists",
"TEMPLATE_NOT_FOUND": "Template not found",
"TEMPLATE_IN_USE": "Template is in use and cannot be deleted",
"ARTWORK_NOT_FOUND": "Artwork not found",
"TRACE_CODE_NOT_FOUND": "Trace code not found",
"TRACE_CODE_INVALID": "Trace code is invalid",
"TRACE_CODE_DISABLED": "Trace code has been disabled",
"TRACE_CODE_ABNORMAL": "Trace code status is abnormal",
"TRACE_CODE_ALREADY_BOUND": "Trace code is already bound to an artwork",
"IMPORT_PARSE_FAILED": "Import file parsing failed",
"FILE_TYPE_NOT_ALLOWED": "File type is not supported",
"FILE_TOO_LARGE": "File exceeds the size limit",
"CERTIFICATE_NOT_FOUND": "Certificate not found",
"JOB_NOT_FOUND": "Task not found",
"BATCH_NOT_FOUND": "Batch not found",
"ARTWORK_IN_USE": "Artwork file has business data and cannot be deleted",
"OSS_CONFIG_INCOMPLETE": "OSS configuration is incomplete",
"STORAGE_MIGRATION_REQUIRED": "Please migrate files to the target storage before switching"
}
}
+50
View File
@@ -442,6 +442,24 @@
"filingInfo": "备案信息",
"carouselInterval": "客户端轮播间隔",
"carouselIntervalHint": "每张媒体停留秒数,支持小数;填 0 则不自动切换(仍可手动循环切换)",
"clientBaseUrl": "客户端地址",
"storageSettings": "存储与 CDN",
"storageDriver": "存储方式",
"storageDriverLocal": "本地",
"storageDriverOss": "OSS/S3",
"storageLocalDir": "本地目录",
"cdnBaseUrl": "CDN 地址",
"ossEndpoint": "OSS Endpoint",
"ossRegion": "OSS Region",
"ossBucket": "OSS Bucket",
"ossAccessKeyId": "AccessKey ID",
"ossAccessKeySecret": "AccessKey Secret",
"testStorage": "测试",
"migrateStorage": "迁移",
"confirmStorage": "切换",
"storageTested": "存储连接测试通过",
"storageMigrated": "已迁移 {n} 个文件",
"storageConfirmed": "存储配置已切换",
"backupEnabled": "启用定时备份",
"backupSchedule": "定时备份",
"backupRetentionDays": "备份保留天数",
@@ -542,5 +560,37 @@
"AUTO_BEFORE_RESTORE": "恢复前自动快照"
}
}
},
"error": {
"SUCCESS": "成功",
"BAD_REQUEST": "请求参数有误",
"UNAUTHORIZED": "未登录或登录已过期",
"FORBIDDEN": "没有操作权限",
"NOT_FOUND": "资源不存在",
"VALIDATION_FAILED": "数据校验失败",
"INTERNAL_ERROR": "服务器内部错误",
"TOO_MANY_REQUESTS": "请求过于频繁,请稍后再试",
"INVALID_CREDENTIALS": "用户名或密码错误",
"TOKEN_EXPIRED": "登录已过期,请重新登录",
"USER_DISABLED": "账号已被停用",
"OLD_PASSWORD_WRONG": "原密码不正确",
"USERNAME_EXISTS": "用户名已存在",
"TEMPLATE_NOT_FOUND": "模板不存在",
"TEMPLATE_IN_USE": "模板已被使用,无法删除",
"ARTWORK_NOT_FOUND": "艺术品不存在",
"TRACE_CODE_NOT_FOUND": "追溯码不存在",
"TRACE_CODE_INVALID": "追溯码无效",
"TRACE_CODE_DISABLED": "追溯码已停用",
"TRACE_CODE_ABNORMAL": "追溯码状态异常",
"TRACE_CODE_ALREADY_BOUND": "追溯码已绑定作品",
"IMPORT_PARSE_FAILED": "导入文件解析失败",
"FILE_TYPE_NOT_ALLOWED": "不支持的文件类型",
"FILE_TOO_LARGE": "文件超出大小限制",
"CERTIFICATE_NOT_FOUND": "认证文件不存在",
"JOB_NOT_FOUND": "任务不存在",
"BATCH_NOT_FOUND": "批次不存在",
"ARTWORK_IN_USE": "艺术品档案已有业务数据,无法删除",
"OSS_CONFIG_INCOMPLETE": "OSS 配置不完整",
"STORAGE_MIGRATION_REQUIRED": "请先完成目标存储迁移,再确认切换"
}
}