feat: 后台语言包合并默认中文、日夜主题切换、官方侧栏收缩、追溯码分组与批量

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Nixevol
2026-06-28 18:37:57 +08:00
co-authored by Cursor
parent 6578007c9e
commit b5170fe84b
21 changed files with 873 additions and 666 deletions
+280
View File
@@ -0,0 +1,280 @@
{
"common": {
"action": {
"add": "Add",
"edit": "Edit",
"delete": "Delete",
"save": "Save",
"cancel": "Cancel",
"confirm": "OK",
"search": "Search",
"reset": "Reset",
"export": "Export",
"download": "Download",
"downloadTemplate": "Template",
"upload": "Upload",
"view": "View",
"detail": "Detail",
"back": "Back",
"submit": "Submit",
"refresh": "Refresh",
"generate": "Generate",
"bind": "Bind",
"unbind": "Unbind",
"retry": "Retry",
"copy": "Copy",
"onchain": "On-chain",
"qrcode": "QR Code",
"manage": "Manage",
"apply": "Apply",
"open": "Open",
"changePassword": "Change Password",
"logout": "Logout"
},
"label": {
"keyword": "Keyword",
"status": "Status",
"type": "Type",
"createdAt": "Created",
"updatedAt": "Updated",
"operation": "Actions",
"all": "All",
"remark": "Remark",
"total": "{n} items",
"yes": "Yes",
"no": "No"
},
"status": {
"ENABLED": "Enabled",
"DISABLED": "Disabled",
"DRAFT": "Draft",
"ACTIVE": "Activated",
"ABNORMAL": "Abnormal",
"UNBOUND": "Unbound",
"INACTIVE": "Inactive",
"PENDING": "Pending",
"PROCESSING": "Processing",
"SUCCESS": "Success",
"PARTIAL": "Partial",
"FAILED": "Failed",
"ONCHAIN": "On-chain",
"GENERATING": "Generating",
"DONE": "Done"
},
"role": {
"SUPER_ADMIN": "Super Admin",
"OPERATOR": "Operator",
"AUDITOR": "Auditor",
"VIEWER": "Viewer"
},
"queryResult": {
"FIRST_ACTIVATE": "First Activation",
"REPEAT": "Repeat",
"INVALID": "Invalid",
"DISABLED": "Disabled",
"ABNORMAL": "Abnormal"
},
"fieldType": {
"TEXT": "Text",
"NUMBER": "Number",
"DATE": "Date",
"IMAGE": "Image",
"FILE": "File",
"LINK": "Link",
"TEXTAREA": "Textarea"
},
"nodeType": {
"CREATE": "Creation",
"PRODUCE": "Production",
"STORAGE": "Storage",
"OUTBOUND": "Outbound",
"OTHER": "Other"
},
"theme": {
"title": "Theme",
"light": "Light",
"dark": "Dark",
"auto": "System"
},
"msg": {
"confirmDelete": "Delete this record?",
"deleted": "Deleted",
"saved": "Saved",
"created": "Created",
"updated": "Updated",
"copied": "Copied",
"operationSuccess": "Success",
"loginExpired": "Session expired, please log in again",
"networkError": "Network error, please try again",
"noData": "No data"
},
"lang": { "zh": "中文", "en": "English" }
},
"menu": {
"dashboard": "Dashboard",
"templates": "Templates",
"artworks": "Artworks",
"traceCodes": "Trace Codes",
"outbound": "Outbound & Chain",
"queryLogs": "Query Logs",
"users": "Users",
"settings": "Settings",
"profile": "Profile"
},
"pages": {
"login": {
"title": "Artwork Traceability & Authentication",
"subtitle": "Management Console",
"username": "Username",
"password": "Password",
"submit": "Sign In",
"placeholderUser": "Enter username",
"placeholderPass": "Enter password",
"success": "Signed in"
},
"dashboard": {
"totalArtworks": "Artworks",
"boundCodes": "Bound Codes",
"activatedCodes": "Activated Codes",
"totalQueries": "Total Queries",
"todayQueries": "Today",
"abnormalQueries": "Abnormal",
"trendTitle": "Queries (Last 7 Days)",
"topTitle": "Top Queried Artworks",
"queryCount": "Queries",
"rank": "Rank"
},
"template": {
"name": "Template Name",
"fields": "Fields",
"fieldKey": "Field Key",
"fieldLabel": "Label",
"fieldType": "Type",
"required": "Required",
"sortOrder": "Order",
"addField": "Add Field",
"useCount": "Used By",
"create": "New Template",
"edit": "Edit Template",
"namePlaceholder": "Enter template name",
"fieldKeyTip": "Unique key, e.g. craft"
},
"artwork": {
"title": "Title",
"artist": "Artist",
"template": "Template",
"images": "Images",
"basicInfo": "Basic Info",
"dynamicFields": "Fields",
"nodes": "Timeline",
"certificates": "Certificates",
"traceCode": "Trace Code",
"status": "Status",
"create": "New Artwork",
"edit": "Edit Artwork",
"detail": "Artwork Detail",
"addNode": "Add Node",
"nodeTitle": "Node Title",
"nodeLocation": "Location",
"nodeTime": "Time",
"nodeDesc": "Description",
"addCert": "Add Certificate",
"certName": "Certificate Name",
"certIssuer": "Issuer",
"certType": "Type",
"originFile": "Original File",
"watermarkPreview": "Watermark",
"watermarkPending": "Generating watermark…",
"bindCode": "Bind Trace Code",
"noTrace": "No trace code bound"
},
"traceCode": {
"batches": "Batches",
"codes": "Trace Codes",
"batchNo": "Batch No.",
"quantity": "Quantity",
"generate": "Generate",
"generatedCount": "Generated",
"shortCode": "Short Code",
"code": "Trace Code",
"url": "Short URL",
"queryCount": "Queries",
"firstActivatedAt": "First Activated",
"exportBatch": "Export Batch",
"bindArtwork": "Bind Artwork",
"selectArtwork": "Select artwork",
"qrPreview": "QR Preview",
"generating": "Generating, please wait…",
"genSuccess": "Generation task submitted",
"group": "Group",
"groups": "Groups",
"allGroups": "All Groups",
"noGroup": "Ungrouped",
"manageGroups": "Manage Groups",
"createGroup": "New Group",
"editGroup": "Edit Group",
"groupName": "Group Name",
"batchGroup": "Set Group",
"batchEnable": "Enable",
"batchDisable": "Disable",
"selected": "{n} selected",
"assignGroup": "Assign group"
},
"outbound": {
"single": "Single Entry",
"import": "Batch Import",
"sku": "SKU",
"archiveNo": "Archive No.",
"outTime": "Outbound Time",
"selectFile": "Select File",
"importing": "Importing…",
"importResult": "Import Result",
"successCount": "Success",
"failCount": "Failed",
"downloadResult": "Download Details",
"tip": "Download the template first, fill it in and upload (xlsx)"
},
"blockchain": {
"title": "Blockchain Attestation",
"dataHash": "Data Hash",
"txHash": "Tx Hash",
"blockHeight": "Block Height",
"onchainAt": "On-chain Time",
"explorer": "Explorer",
"trigger": "Trigger On-chain",
"triggered": "On-chain task submitted"
},
"queryLog": {
"result": "Result",
"ip": "IP / Region",
"device": "Device",
"queriedAt": "Time",
"startTime": "Start",
"endTime": "End"
},
"user": {
"username": "Username",
"realName": "Name",
"role": "Role",
"create": "New User",
"edit": "Edit User",
"resetPassword": "Reset Password",
"newPassword": "New Password",
"lastLoginAt": "Last Login"
},
"settings": {
"appName": "Platform Name",
"logRetentionDays": "Log Retention (days)",
"watermarkText": "Certificate Watermark",
"saved": "Settings saved"
},
"profile": {
"title": "Profile",
"oldPassword": "Current Password",
"newPassword": "New Password",
"confirmPassword": "Confirm Password",
"passwordMismatch": "Passwords do not match",
"changed": "Password changed, please log in again"
}
}
}
-105
View File
@@ -1,105 +0,0 @@
{
"action": {
"add": "Add",
"edit": "Edit",
"delete": "Delete",
"save": "Save",
"cancel": "Cancel",
"confirm": "OK",
"search": "Search",
"reset": "Reset",
"export": "Export",
"download": "Download",
"downloadTemplate": "Template",
"upload": "Upload",
"view": "View",
"detail": "Detail",
"back": "Back",
"submit": "Submit",
"refresh": "Refresh",
"generate": "Generate",
"bind": "Bind",
"unbind": "Unbind",
"retry": "Retry",
"copy": "Copy",
"onchain": "On-chain",
"qrcode": "QR Code",
"changePassword": "Change Password",
"logout": "Logout"
},
"label": {
"keyword": "Keyword",
"status": "Status",
"type": "Type",
"createdAt": "Created",
"updatedAt": "Updated",
"operation": "Actions",
"all": "All",
"remark": "Remark",
"total": "{n} items",
"yes": "Yes",
"no": "No"
},
"status": {
"ENABLED": "Enabled",
"DISABLED": "Disabled",
"DRAFT": "Draft",
"ACTIVE": "Activated",
"ABNORMAL": "Abnormal",
"UNBOUND": "Unbound",
"INACTIVE": "Inactive",
"PENDING": "Pending",
"PROCESSING": "Processing",
"SUCCESS": "Success",
"PARTIAL": "Partial",
"FAILED": "Failed",
"ONCHAIN": "On-chain",
"GENERATING": "Generating",
"DONE": "Done"
},
"role": {
"SUPER_ADMIN": "Super Admin",
"OPERATOR": "Operator",
"AUDITOR": "Auditor",
"VIEWER": "Viewer"
},
"queryResult": {
"FIRST_ACTIVATE": "First Activation",
"REPEAT": "Repeat",
"INVALID": "Invalid",
"DISABLED": "Disabled",
"ABNORMAL": "Abnormal"
},
"fieldType": {
"TEXT": "Text",
"NUMBER": "Number",
"DATE": "Date",
"IMAGE": "Image",
"FILE": "File",
"LINK": "Link",
"TEXTAREA": "Textarea"
},
"nodeType": {
"CREATE": "Creation",
"PRODUCE": "Production",
"STORAGE": "Storage",
"OUTBOUND": "Outbound",
"OTHER": "Other"
},
"msg": {
"confirmDelete": "Delete this record?",
"deleted": "Deleted",
"saved": "Saved",
"created": "Created",
"updated": "Updated",
"copied": "Copied",
"operationSuccess": "Success",
"loginExpired": "Session expired, please log in again",
"networkError": "Network error, please try again",
"noData": "No data"
},
"lang": {
"zh": "中文",
"en": "English"
}
}
-11
View File
@@ -1,11 +0,0 @@
{
"dashboard": "Dashboard",
"templates": "Templates",
"artworks": "Artworks",
"traceCodes": "Trace Codes",
"outbound": "Outbound & Chain",
"queryLogs": "Query Logs",
"users": "Users",
"settings": "Settings",
"profile": "Profile"
}
-143
View File
@@ -1,143 +0,0 @@
{
"login": {
"title": "Artwork Traceability & Authentication",
"subtitle": "Management Console",
"username": "Username",
"password": "Password",
"submit": "Sign In",
"placeholderUser": "Enter username",
"placeholderPass": "Enter password",
"success": "Signed in"
},
"dashboard": {
"totalArtworks": "Artworks",
"boundCodes": "Bound Codes",
"activatedCodes": "Activated Codes",
"totalQueries": "Total Queries",
"todayQueries": "Today",
"abnormalQueries": "Abnormal",
"trendTitle": "Queries (Last 7 Days)",
"topTitle": "Top Queried Artworks",
"queryCount": "Queries",
"rank": "Rank"
},
"template": {
"name": "Template Name",
"fields": "Fields",
"fieldKey": "Field Key",
"fieldLabel": "Label",
"fieldType": "Type",
"required": "Required",
"sortOrder": "Order",
"addField": "Add Field",
"useCount": "Used By",
"create": "New Template",
"edit": "Edit Template",
"namePlaceholder": "Enter template name",
"fieldKeyTip": "Unique key, e.g. craft"
},
"artwork": {
"title": "Title",
"artist": "Artist",
"template": "Template",
"images": "Images",
"basicInfo": "Basic Info",
"dynamicFields": "Fields",
"nodes": "Timeline",
"certificates": "Certificates",
"traceCode": "Trace Code",
"status": "Status",
"create": "New Artwork",
"edit": "Edit Artwork",
"detail": "Artwork Detail",
"addNode": "Add Node",
"nodeTitle": "Node Title",
"nodeLocation": "Location",
"nodeTime": "Time",
"nodeDesc": "Description",
"addCert": "Add Certificate",
"certName": "Certificate Name",
"certIssuer": "Issuer",
"certType": "Type",
"originFile": "Original File",
"watermarkPreview": "Watermark",
"watermarkPending": "Generating watermark…",
"bindCode": "Bind Trace Code",
"noTrace": "No trace code bound"
},
"traceCode": {
"batches": "Batches",
"codes": "Trace Codes",
"batchNo": "Batch No.",
"quantity": "Quantity",
"generate": "Generate",
"generatedCount": "Generated",
"shortCode": "Short Code",
"code": "Trace Code",
"url": "Short URL",
"queryCount": "Queries",
"firstActivatedAt": "First Activated",
"exportBatch": "Export Batch",
"bindArtwork": "Bind Artwork",
"selectArtwork": "Select artwork",
"qrPreview": "QR Preview",
"generating": "Generating, please wait…",
"genSuccess": "Generation task submitted"
},
"outbound": {
"single": "Single Entry",
"import": "Batch Import",
"sku": "SKU",
"archiveNo": "Archive No.",
"outTime": "Outbound Time",
"selectFile": "Select File",
"importing": "Importing…",
"importResult": "Import Result",
"successCount": "Success",
"failCount": "Failed",
"downloadResult": "Download Details",
"tip": "Download the template first, fill it in and upload (xlsx)"
},
"blockchain": {
"title": "Blockchain Attestation",
"dataHash": "Data Hash",
"txHash": "Tx Hash",
"blockHeight": "Block Height",
"onchainAt": "On-chain Time",
"explorer": "Explorer",
"trigger": "Trigger On-chain",
"triggered": "On-chain task submitted"
},
"queryLog": {
"result": "Result",
"ip": "IP / Region",
"device": "Device",
"queriedAt": "Time",
"startTime": "Start",
"endTime": "End"
},
"user": {
"username": "Username",
"realName": "Name",
"role": "Role",
"create": "New User",
"edit": "Edit User",
"resetPassword": "Reset Password",
"newPassword": "New Password",
"lastLoginAt": "Last Login"
},
"settings": {
"appName": "Platform Name",
"logRetentionDays": "Log Retention (days)",
"watermarkText": "Certificate Watermark",
"saved": "Settings saved"
},
"profile": {
"title": "Profile",
"oldPassword": "Current Password",
"newPassword": "New Password",
"confirmPassword": "Confirm Password",
"passwordMismatch": "Passwords do not match",
"changed": "Password changed, please log in again"
}
}
+8 -10
View File
@@ -1,22 +1,20 @@
import { createI18n } from 'vue-i18n';
import zhCommon from './zh-CN/common.json';
import zhMenu from './zh-CN/menu.json';
import zhPages from './zh-CN/pages.json';
import enCommon from './en-US/common.json';
import enMenu from './en-US/menu.json';
import enPages from './en-US/pages.json';
import zhCN from './zh-CN.json';
import enUS from './en-US.json';
// 新增语言:在本目录添加 <locale>.json(与 zh-CN.json 同构),并在此注册即可。
export const SUPPORTED_LOCALES = [
{ value: 'zh-CN', label: '中文' },
{ value: 'en-US', label: 'English' },
];
const STORAGE_KEY = 'artveris_locale';
const DEFAULT_LOCALE = 'zh-CN';
export function getInitialLocale(): string {
const saved = localStorage.getItem(STORAGE_KEY);
if (saved && SUPPORTED_LOCALES.some((l) => l.value === saved)) return saved;
return navigator.language.startsWith('en') ? 'en-US' : 'zh-CN';
return DEFAULT_LOCALE;
}
export function setLocale(locale: string): void {
@@ -28,9 +26,9 @@ export function setLocale(locale: string): void {
export const i18n = createI18n({
legacy: false,
locale: getInitialLocale(),
fallbackLocale: 'zh-CN',
fallbackLocale: DEFAULT_LOCALE,
messages: {
'zh-CN': { common: zhCommon, menu: zhMenu, pages: zhPages },
'en-US': { common: enCommon, menu: enMenu, pages: enPages },
'zh-CN': zhCN,
'en-US': enUS,
},
});
+280
View File
@@ -0,0 +1,280 @@
{
"common": {
"action": {
"add": "新增",
"edit": "编辑",
"delete": "删除",
"save": "保存",
"cancel": "取消",
"confirm": "确定",
"search": "查询",
"reset": "重置",
"export": "导出",
"download": "下载",
"downloadTemplate": "下载模板",
"upload": "上传",
"view": "查看",
"detail": "详情",
"back": "返回",
"submit": "提交",
"refresh": "刷新",
"generate": "生成",
"bind": "绑定",
"unbind": "解绑",
"retry": "重试",
"copy": "复制",
"onchain": "上链存证",
"qrcode": "二维码",
"manage": "管理",
"apply": "应用",
"open": "打开",
"changePassword": "修改密码",
"logout": "退出登录"
},
"label": {
"keyword": "关键词",
"status": "状态",
"type": "类型",
"createdAt": "创建时间",
"updatedAt": "更新时间",
"operation": "操作",
"all": "全部",
"remark": "备注",
"total": "共 {n} 条",
"yes": "是",
"no": "否"
},
"status": {
"ENABLED": "启用",
"DISABLED": "停用",
"DRAFT": "草稿",
"ACTIVE": "已激活",
"ABNORMAL": "异常",
"UNBOUND": "未绑定",
"INACTIVE": "未激活",
"PENDING": "等待中",
"PROCESSING": "处理中",
"SUCCESS": "成功",
"PARTIAL": "部分成功",
"FAILED": "失败",
"ONCHAIN": "已上链",
"GENERATING": "生成中",
"DONE": "已完成"
},
"role": {
"SUPER_ADMIN": "超级管理员",
"OPERATOR": "平台运营",
"AUDITOR": "审核员",
"VIEWER": "只读监管"
},
"queryResult": {
"FIRST_ACTIVATE": "首次激活",
"REPEAT": "重复查询",
"INVALID": "无效",
"DISABLED": "停用",
"ABNORMAL": "异常"
},
"fieldType": {
"TEXT": "文本",
"NUMBER": "数字",
"DATE": "日期",
"IMAGE": "图片",
"FILE": "文件",
"LINK": "链接",
"TEXTAREA": "多行文本"
},
"nodeType": {
"CREATE": "创作",
"PRODUCE": "制作",
"STORAGE": "仓储",
"OUTBOUND": "出库",
"OTHER": "其他"
},
"theme": {
"title": "主题",
"light": "日间",
"dark": "夜间",
"auto": "跟随系统"
},
"msg": {
"confirmDelete": "确认删除该条数据?",
"deleted": "删除成功",
"saved": "保存成功",
"created": "创建成功",
"updated": "更新成功",
"copied": "已复制",
"operationSuccess": "操作成功",
"loginExpired": "登录已过期,请重新登录",
"networkError": "网络异常,请稍后再试",
"noData": "暂无数据"
},
"lang": { "zh": "中文", "en": "English" }
},
"menu": {
"dashboard": "数据看板",
"templates": "溯源模板",
"artworks": "艺术品建档",
"traceCodes": "追溯码管理",
"outbound": "出库与上链",
"queryLogs": "查询日志",
"users": "用户管理",
"settings": "系统设置",
"profile": "个人中心"
},
"pages": {
"login": {
"title": "艺术品可信溯源与认证平台",
"subtitle": "运营管理后台",
"username": "用户名",
"password": "密码",
"submit": "登 录",
"placeholderUser": "请输入用户名",
"placeholderPass": "请输入密码",
"success": "登录成功"
},
"dashboard": {
"totalArtworks": "作品总数",
"boundCodes": "已绑定追溯码",
"activatedCodes": "已激活追溯码",
"totalQueries": "总查询次数",
"todayQueries": "今日查询",
"abnormalQueries": "异常查询",
"trendTitle": "近 7 日查询趋势",
"topTitle": "高频查询作品榜",
"queryCount": "查询次数",
"rank": "排名"
},
"template": {
"name": "模板名称",
"fields": "字段配置",
"fieldKey": "字段键",
"fieldLabel": "字段名称",
"fieldType": "字段类型",
"required": "必填",
"sortOrder": "排序",
"addField": "添加字段",
"useCount": "使用作品数",
"create": "新建模板",
"edit": "编辑模板",
"namePlaceholder": "请输入模板名称",
"fieldKeyTip": "英文唯一标识,如 craft"
},
"artwork": {
"title": "作品名称",
"artist": "艺术家",
"template": "所属模板",
"images": "作品图片",
"basicInfo": "基础信息",
"dynamicFields": "动态字段",
"nodes": "溯源时间轴",
"certificates": "认证文件",
"traceCode": "追溯码",
"status": "状态",
"create": "新建作品",
"edit": "编辑作品",
"detail": "作品详情",
"addNode": "添加节点",
"nodeTitle": "节点标题",
"nodeLocation": "地点",
"nodeTime": "发生时间",
"nodeDesc": "说明",
"addCert": "添加认证文件",
"certName": "证书名称",
"certIssuer": "颁发机构",
"certType": "类型",
"originFile": "原始文件",
"watermarkPreview": "水印预览",
"watermarkPending": "水印生成中…",
"bindCode": "绑定追溯码",
"noTrace": "未绑定追溯码"
},
"traceCode": {
"batches": "批次列表",
"codes": "追溯码列表",
"batchNo": "批次编号",
"quantity": "数量",
"generate": "生成追溯码",
"generatedCount": "已生成",
"shortCode": "短码",
"code": "追溯码",
"url": "短链",
"queryCount": "查询次数",
"firstActivatedAt": "首次激活时间",
"exportBatch": "导出本批",
"bindArtwork": "绑定作品",
"selectArtwork": "选择作品",
"qrPreview": "二维码预览",
"generating": "正在生成,请稍候…",
"genSuccess": "生码任务已提交",
"group": "分组",
"groups": "分组",
"allGroups": "全部分组",
"noGroup": "未分组",
"manageGroups": "分组管理",
"createGroup": "新建分组",
"editGroup": "编辑分组",
"groupName": "分组名称",
"batchGroup": "批量分组",
"batchEnable": "批量启用",
"batchDisable": "批量停用",
"selected": "已选 {n} 项",
"assignGroup": "设为分组"
},
"outbound": {
"single": "单条录入",
"import": "批量导入",
"sku": "SKU",
"archiveNo": "档案编号",
"outTime": "出库时间",
"selectFile": "选择文件",
"importing": "导入中…",
"importResult": "导入结果",
"successCount": "成功",
"failCount": "失败",
"downloadResult": "下载结果明细",
"tip": "请先下载模板,按模板填写后上传(支持 xlsx)"
},
"blockchain": {
"title": "区块链存证",
"dataHash": "数据哈希",
"txHash": "交易哈希",
"blockHeight": "区块高度",
"onchainAt": "上链时间",
"explorer": "存证查询",
"trigger": "触发上链",
"triggered": "已提交上链任务"
},
"queryLog": {
"result": "查询结果",
"ip": "IP / 地区",
"device": "设备信息",
"queriedAt": "查询时间",
"startTime": "开始时间",
"endTime": "结束时间"
},
"user": {
"username": "用户名",
"realName": "姓名",
"role": "角色",
"create": "新建用户",
"edit": "编辑用户",
"resetPassword": "重置密码",
"newPassword": "新密码",
"lastLoginAt": "最近登录"
},
"settings": {
"appName": "平台名称",
"logRetentionDays": "日志保留天数",
"watermarkText": "证书水印文案",
"saved": "设置已保存"
},
"profile": {
"title": "个人中心",
"oldPassword": "原密码",
"newPassword": "新密码",
"confirmPassword": "确认新密码",
"passwordMismatch": "两次密码不一致",
"changed": "密码修改成功,请重新登录"
}
}
}
-105
View File
@@ -1,105 +0,0 @@
{
"action": {
"add": "新增",
"edit": "编辑",
"delete": "删除",
"save": "保存",
"cancel": "取消",
"confirm": "确定",
"search": "查询",
"reset": "重置",
"export": "导出",
"download": "下载",
"downloadTemplate": "下载模板",
"upload": "上传",
"view": "查看",
"detail": "详情",
"back": "返回",
"submit": "提交",
"refresh": "刷新",
"generate": "生成",
"bind": "绑定",
"unbind": "解绑",
"retry": "重试",
"copy": "复制",
"onchain": "上链存证",
"qrcode": "二维码",
"changePassword": "修改密码",
"logout": "退出登录"
},
"label": {
"keyword": "关键词",
"status": "状态",
"type": "类型",
"createdAt": "创建时间",
"updatedAt": "更新时间",
"operation": "操作",
"all": "全部",
"remark": "备注",
"total": "共 {n} 条",
"yes": "是",
"no": "否"
},
"status": {
"ENABLED": "启用",
"DISABLED": "停用",
"DRAFT": "草稿",
"ACTIVE": "已激活",
"ABNORMAL": "异常",
"UNBOUND": "未绑定",
"INACTIVE": "未激活",
"PENDING": "等待中",
"PROCESSING": "处理中",
"SUCCESS": "成功",
"PARTIAL": "部分成功",
"FAILED": "失败",
"ONCHAIN": "已上链",
"GENERATING": "生成中",
"DONE": "已完成"
},
"role": {
"SUPER_ADMIN": "超级管理员",
"OPERATOR": "平台运营",
"AUDITOR": "审核员",
"VIEWER": "只读监管"
},
"queryResult": {
"FIRST_ACTIVATE": "首次激活",
"REPEAT": "重复查询",
"INVALID": "无效",
"DISABLED": "停用",
"ABNORMAL": "异常"
},
"fieldType": {
"TEXT": "文本",
"NUMBER": "数字",
"DATE": "日期",
"IMAGE": "图片",
"FILE": "文件",
"LINK": "链接",
"TEXTAREA": "多行文本"
},
"nodeType": {
"CREATE": "创作",
"PRODUCE": "制作",
"STORAGE": "仓储",
"OUTBOUND": "出库",
"OTHER": "其他"
},
"msg": {
"confirmDelete": "确认删除该条数据?",
"deleted": "删除成功",
"saved": "保存成功",
"created": "创建成功",
"updated": "更新成功",
"copied": "已复制",
"operationSuccess": "操作成功",
"loginExpired": "登录已过期,请重新登录",
"networkError": "网络异常,请稍后再试",
"noData": "暂无数据"
},
"lang": {
"zh": "中文",
"en": "English"
}
}
-11
View File
@@ -1,11 +0,0 @@
{
"dashboard": "数据看板",
"templates": "溯源模板",
"artworks": "艺术品建档",
"traceCodes": "追溯码管理",
"outbound": "出库与上链",
"queryLogs": "查询日志",
"users": "用户管理",
"settings": "系统设置",
"profile": "个人中心"
}
-143
View File
@@ -1,143 +0,0 @@
{
"login": {
"title": "艺术品可信溯源与认证平台",
"subtitle": "运营管理后台",
"username": "用户名",
"password": "密码",
"submit": "登 录",
"placeholderUser": "请输入用户名",
"placeholderPass": "请输入密码",
"success": "登录成功"
},
"dashboard": {
"totalArtworks": "作品总数",
"boundCodes": "已绑定追溯码",
"activatedCodes": "已激活追溯码",
"totalQueries": "总查询次数",
"todayQueries": "今日查询",
"abnormalQueries": "异常查询",
"trendTitle": "近 7 日查询趋势",
"topTitle": "高频查询作品榜",
"queryCount": "查询次数",
"rank": "排名"
},
"template": {
"name": "模板名称",
"fields": "字段配置",
"fieldKey": "字段键",
"fieldLabel": "字段名称",
"fieldType": "字段类型",
"required": "必填",
"sortOrder": "排序",
"addField": "添加字段",
"useCount": "使用作品数",
"create": "新建模板",
"edit": "编辑模板",
"namePlaceholder": "请输入模板名称",
"fieldKeyTip": "英文唯一标识,如 craft"
},
"artwork": {
"title": "作品名称",
"artist": "艺术家",
"template": "所属模板",
"images": "作品图片",
"basicInfo": "基础信息",
"dynamicFields": "动态字段",
"nodes": "溯源时间轴",
"certificates": "认证文件",
"traceCode": "追溯码",
"status": "状态",
"create": "新建作品",
"edit": "编辑作品",
"detail": "作品详情",
"addNode": "添加节点",
"nodeTitle": "节点标题",
"nodeLocation": "地点",
"nodeTime": "发生时间",
"nodeDesc": "说明",
"addCert": "添加认证文件",
"certName": "证书名称",
"certIssuer": "颁发机构",
"certType": "类型",
"originFile": "原始文件",
"watermarkPreview": "水印预览",
"watermarkPending": "水印生成中…",
"bindCode": "绑定追溯码",
"noTrace": "未绑定追溯码"
},
"traceCode": {
"batches": "批次列表",
"codes": "追溯码列表",
"batchNo": "批次编号",
"quantity": "数量",
"generate": "生成追溯码",
"generatedCount": "已生成",
"shortCode": "短码",
"code": "追溯码",
"url": "短链",
"queryCount": "查询次数",
"firstActivatedAt": "首次激活时间",
"exportBatch": "导出本批",
"bindArtwork": "绑定作品",
"selectArtwork": "选择作品",
"qrPreview": "二维码预览",
"generating": "正在生成,请稍候…",
"genSuccess": "生码任务已提交"
},
"outbound": {
"single": "单条录入",
"import": "批量导入",
"sku": "SKU",
"archiveNo": "档案编号",
"outTime": "出库时间",
"selectFile": "选择文件",
"importing": "导入中…",
"importResult": "导入结果",
"successCount": "成功",
"failCount": "失败",
"downloadResult": "下载结果明细",
"tip": "请先下载模板,按模板填写后上传(支持 xlsx)"
},
"blockchain": {
"title": "区块链存证",
"dataHash": "数据哈希",
"txHash": "交易哈希",
"blockHeight": "区块高度",
"onchainAt": "上链时间",
"explorer": "存证查询",
"trigger": "触发上链",
"triggered": "已提交上链任务"
},
"queryLog": {
"result": "查询结果",
"ip": "IP / 地区",
"device": "设备信息",
"queriedAt": "查询时间",
"startTime": "开始时间",
"endTime": "结束时间"
},
"user": {
"username": "用户名",
"realName": "姓名",
"role": "角色",
"create": "新建用户",
"edit": "编辑用户",
"resetPassword": "重置密码",
"newPassword": "新密码",
"lastLoginAt": "最近登录"
},
"settings": {
"appName": "平台名称",
"logRetentionDays": "日志保留天数",
"watermarkText": "证书水印文案",
"saved": "设置已保存"
},
"profile": {
"title": "个人中心",
"oldPassword": "原密码",
"newPassword": "新密码",
"confirmPassword": "确认新密码",
"passwordMismatch": "两次密码不一致",
"changed": "密码修改成功,请重新登录"
}
}