fix: 前端设置存储保存分离、硬编码文案接入 i18n、C 端恢复隐私说明

Settings 存储卡片加提示说明不随保存生效;Install 文案迁入全局 locale;
ArtworkEdit 默认节点标题走 i18n;C 端本地化出库记录节点并恢复渲染隐私说明;
TraceCodePanel/Outbound 适配 outImages 去除 outImage 兼容。
This commit is contained in:
Nixevol
2026-07-09 13:14:37 +08:00
parent f712b16c1f
commit 07ebde0ec2
9 changed files with 121 additions and 92 deletions
+40
View File
@@ -182,6 +182,39 @@
"placeholderPass": "Enter password",
"success": "Signed in"
},
"install": {
"subtitle": "First run — please complete the setup",
"start": "Start Install",
"installing": "Installing…",
"alreadyInstalled": "The system has already been initialized",
"gotoAdmin": "You can open the admin console now.",
"enterAdmin": "Open Admin",
"base": "Base",
"appName": "Platform Name",
"baseUrl": "Public URL",
"listenPort": "Listen Port",
"baseUrlHint": "All three apps share this URL: admin at /admin, client at /trace, API at /api. Use Nginx / a control panel to reverse-proxy the domain and HTTPS to the listen port.",
"host": "Host",
"port": "Port",
"database": "Database",
"username": "Username",
"password": "Password",
"adminUser": "DB admin user (optional)",
"adminPass": "DB admin password (optional)",
"mysqlAdminHint": "Only needed if the business account cannot create databases; the database, tables and data are created automatically.",
"admin": "Admin",
"realName": "Name",
"storage": "Storage",
"driver": "Driver",
"local": "Local",
"localDir": "Local Directory",
"cdnBaseUrl": "CDN URL",
"failed": "Installation failed",
"done": "Initialized. The service is restarting, please wait…",
"loadFailed": "Failed to read installation status",
"defaultAppName": "Artwork Traceability Platform",
"defaultAdminName": "Administrator"
},
"dashboard": {
"totalArtworks": "Artworks",
"totalCodes": "Total Codes",
@@ -271,6 +304,12 @@
"changeReason": "Change Reason",
"changeReasonPlaceholder": "Describe why this change is needed for audit and traceability.",
"defaultChangeTitle": "Artwork content update",
"defaultNodes": {
"create": "Creation / Selection",
"produce": "Production",
"storage": "Storage / Custody",
"outbound": "Outbound / Transfer"
},
"changeRecords": "Change Records",
"pendingChange": "Pending Revision",
"rejectedChange": "Rejected Revision",
@@ -444,6 +483,7 @@
"carouselIntervalHint": "Seconds each media stays; decimals allowed. 0 disables auto-advance (manual loop still works).",
"clientBaseUrl": "Client URL",
"storageSettings": "Storage & CDN",
"storageHint": "Storage settings are NOT applied by the Save button above. After editing, click Test to verify the target, Migrate to copy existing files, then Switch to activate.",
"storageDriver": "Storage",
"storageDriverLocal": "Local",
"storageDriverOss": "OSS/S3",
+40
View File
@@ -182,6 +182,39 @@
"placeholderPass": "请输入密码",
"success": "登录成功"
},
"install": {
"subtitle": "首次运行,请完成系统初始化",
"start": "开始安装",
"installing": "安装中…",
"alreadyInstalled": "系统已完成初始化",
"gotoAdmin": "可直接进入管理后台。",
"enterAdmin": "进入后台",
"base": "基础",
"appName": "平台名称",
"baseUrl": "对外访问地址",
"listenPort": "监听端口",
"baseUrlHint": "三端共用此地址:后台 /admin、客户端 /trace、接口 /api。域名与 HTTPS 建议由 Nginx/宝塔/1Panel 反代到监听端口。",
"host": "主机",
"port": "端口",
"database": "数据库",
"username": "账号",
"password": "密码",
"adminUser": "建库管理员账号(可选)",
"adminPass": "建库管理员密码(可选)",
"mysqlAdminHint": "仅当业务账号无建库权限时填写;系统会自动创建数据库并初始化表结构与数据。",
"admin": "管理员",
"realName": "姓名",
"storage": "存储",
"driver": "方式",
"local": "本地",
"localDir": "本地目录",
"cdnBaseUrl": "CDN 地址",
"failed": "安装失败",
"done": "初始化完成,服务正在重启,请稍候…",
"loadFailed": "读取安装状态失败",
"defaultAppName": "艺术品溯源平台",
"defaultAdminName": "管理员"
},
"dashboard": {
"totalArtworks": "作品总数",
"totalCodes": "追溯码总数",
@@ -271,6 +304,12 @@
"changeReason": "修改理由",
"changeReasonPlaceholder": "请说明本次修改的原因,便于审核与追溯",
"defaultChangeTitle": "作品内容修改",
"defaultNodes": {
"create": "创作 / 选胚",
"produce": "制作过程",
"storage": "仓储 / 托管",
"outbound": "出库 / 流转"
},
"changeRecords": "修改记录",
"pendingChange": "待审核修改",
"rejectedChange": "修改已驳回",
@@ -444,6 +483,7 @@
"carouselIntervalHint": "每张媒体停留秒数,支持小数;填 0 则不自动切换(仍可手动循环切换)",
"clientBaseUrl": "客户端地址",
"storageSettings": "存储与 CDN",
"storageHint": "存储配置不随上方「保存」生效:修改后请依次点「测试」验证目标可用、「迁移」把已有文件复制到目标,再点「切换」正式启用。",
"storageDriver": "存储方式",
"storageDriverLocal": "本地",
"storageDriverOss": "OSS/S3",