@object-ui/i18n 4.0.6 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,7 +102,58 @@ declare const zh: {
102
102
  readonly pullToRefresh: "下拉刷新";
103
103
  readonly refreshing: "刷新中…";
104
104
  readonly openRecord: "打开记录";
105
+ readonly openMenu: "打开菜单";
105
106
  readonly rowHeight: "行高: {{mode}}";
107
+ readonly empty: "空";
108
+ readonly yes: "是";
109
+ readonly no: "否";
110
+ readonly systemFields: "系统字段";
111
+ readonly import: {
112
+ readonly title: "导入{{object}}";
113
+ readonly stepUpload: "上传";
114
+ readonly stepMapping: "字段映射";
115
+ readonly stepPreview: "预览";
116
+ readonly uploadDescription: "上传 CSV 文件以开始导入。";
117
+ readonly mappingDescription: "将 CSV 列映射到对象字段。";
118
+ readonly previewDescription: "导入前预览数据。";
119
+ readonly dragDrop: "拖拽 CSV 文件到此处,或点击选择文件";
120
+ readonly browseFiles: "选择文件";
121
+ readonly onlyCsv: "仅支持 CSV 文件。";
122
+ readonly fileNeedsHeader: "文件必须包含表头行和至少一行数据。";
123
+ readonly mappingTemplate: "映射模板:";
124
+ readonly chooseTemplate: "选择模板…";
125
+ readonly noSavedTemplates: "暂无保存的模板";
126
+ readonly noneOption: "— 无 —";
127
+ readonly saveCurrent: "保存当前映射";
128
+ readonly templateName: "模板名称";
129
+ readonly save: "保存";
130
+ readonly deleteTemplate: "删除模板";
131
+ readonly csvColumn: "CSV 列";
132
+ readonly mapsTo: "映射到";
133
+ readonly status: "状态";
134
+ readonly skipColumn: "跳过此列";
135
+ readonly skip: "— 跳过 —";
136
+ readonly mapped: "已映射";
137
+ readonly skipped: "已跳过";
138
+ readonly rowsWithErrors: "{{count}} 行有错误";
139
+ readonly rowsCorrected: "已修正 {{count}} 行";
140
+ readonly clickToFix: "— 点击高亮单元格可直接修改。";
141
+ readonly showingRows: "显示第 {{shown}} 行,共 {{total}} 行";
142
+ readonly importing: "导入中… {{progress}}%";
143
+ readonly importComplete: "导入完成";
144
+ readonly imported: "已导入 {{count}} 条";
145
+ readonly skippedCount: "已跳过 {{count}} 条";
146
+ readonly moreErrors: "…还有 {{count}} 个错误";
147
+ readonly cancel: "取消";
148
+ readonly back: "上一步";
149
+ readonly next: "下一步";
150
+ readonly close: "关闭";
151
+ readonly importNRows: "导入 {{count}} 行";
152
+ readonly importingProgress: "导入中…";
153
+ readonly requiredMark: "*";
154
+ readonly required: "必填";
155
+ readonly invalidType: "{{type}} 格式无效";
156
+ };
106
157
  };
107
158
  readonly calendar: {
108
159
  readonly today: "今天";
@@ -661,6 +712,10 @@ declare const zh: {
661
712
  readonly addView: "添加视图";
662
713
  readonly designTools: "设计工具";
663
714
  readonly new: "新建";
715
+ readonly import: "导入";
716
+ readonly importTitle: "从 CSV 文件导入";
717
+ readonly importedToast: "成功导入 {{count}} 行。";
718
+ readonly importedWithSkipped: "已导入 {{ok}} 行;跳过 {{skipped}} 行。";
664
719
  readonly configureView: "配置视图";
665
720
  readonly closePanel: "关闭面板";
666
721
  readonly page: "页面";
@@ -941,5 +996,137 @@ declare const zh: {
941
996
  readonly default: "默认";
942
997
  };
943
998
  };
999
+ readonly layout: {
1000
+ readonly appSwitcher: {
1001
+ readonly home: "首页";
1002
+ readonly addApp: "新增应用";
1003
+ readonly editApp: "编辑应用";
1004
+ readonly manageAllApps: "管理所有应用";
1005
+ readonly systemConsole: "系统控制台";
1006
+ readonly noAppsConfigured: "尚未配置任何应用";
1007
+ };
1008
+ readonly activityFeed: {
1009
+ readonly title: "最近动态";
1010
+ readonly filter: "筛选";
1011
+ readonly empty: "暂无最近动态";
1012
+ readonly ariaLabel: "动态消息";
1013
+ readonly typeCreate: "创建";
1014
+ readonly typeUpdate: "更新";
1015
+ readonly typeDelete: "删除";
1016
+ readonly typeComment: "评论";
1017
+ readonly relativeJustNow: "刚刚";
1018
+ readonly relativeSecondsAgo: "{{count}} 秒前";
1019
+ readonly relativeMinutesAgo: "{{count}} 分钟前";
1020
+ readonly relativeHoursAgo: "{{count}} 小时前";
1021
+ readonly relativeDaysAgo: "{{count}} 天前";
1022
+ };
1023
+ readonly metadata: {
1024
+ readonly label: "元数据";
1025
+ readonly toggleTitle: "切换元数据检视器";
1026
+ readonly panelTitle: "元数据检视器";
1027
+ readonly jsonBadge: "JSON";
1028
+ readonly copyJson: "复制 JSON";
1029
+ };
1030
+ };
1031
+ readonly search: {
1032
+ readonly title: "搜索";
1033
+ readonly back: "返回";
1034
+ readonly placeholder: "搜索对象、仪表板、页面、报表…";
1035
+ readonly inputAriaLabel: "搜索对象、仪表板、页面、报表";
1036
+ readonly resultsCount: "找到 {{count}} 条与“{{query}}”相关的结果";
1037
+ readonly resultsCountPlural: "找到 {{count}} 条与“{{query}}”相关的结果";
1038
+ readonly itemsAvailable: "共 {{count}} 项可搜索";
1039
+ readonly noResults: "未找到结果";
1040
+ readonly noResultsHint: "请尝试调整搜索关键字";
1041
+ readonly typeObjects: "对象";
1042
+ readonly typeDashboards: "仪表板";
1043
+ readonly typePages: "页面";
1044
+ readonly typeReports: "报表";
1045
+ readonly badgeObject: "对象";
1046
+ readonly badgeDashboard: "仪表板";
1047
+ readonly badgePage: "页面";
1048
+ readonly badgeReport: "报表";
1049
+ };
1050
+ readonly empty: {
1051
+ readonly objectNotFound: "未找到对象";
1052
+ readonly objectNotFoundDescription: "对象 “{{name}}” 的定义不存在。请检查配置或返回选择有效的对象。";
1053
+ readonly pageNotFound: "未找到页面";
1054
+ readonly pageNotFoundDescription: "未找到页面 “{{name}}”,可能已被删除或重命名。";
1055
+ readonly dashboardNotFound: "未找到仪表板";
1056
+ readonly dashboardNotFoundDescription: "未找到仪表板 “{{name}}”,可能已被删除或重命名。";
1057
+ readonly reportNotFound: "未找到报表";
1058
+ readonly reportNotFoundDescription: "未找到报表 “{{name}}”,可能已被删除或重命名。";
1059
+ readonly noAppsConfigured: "尚未配置应用";
1060
+ readonly noAppsConfiguredDescription: "当前没有任何已注册的应用。请创建您的第一个应用,或前往系统设置进行配置。";
1061
+ readonly createFirstApp: "创建您的第一个应用";
1062
+ readonly systemSettings: "系统设置";
1063
+ readonly back: "返回";
1064
+ };
1065
+ readonly renderer: {
1066
+ readonly noPageSchema: "未提供页面 schema";
1067
+ readonly noFormSchema: "未提供表单 schema";
1068
+ readonly noDashboardSchema: "未提供仪表板 schema";
1069
+ readonly pageRendering: "页面渲染中:{{name}}";
1070
+ readonly dashboardRendering: "仪表板渲染中:{{name}}";
1071
+ readonly formRenderingMode: "正在以 {{mode}} 模式渲染表单";
1072
+ readonly formRenderingFor: "记录 {{id}}";
1073
+ readonly createRecord: "新建记录";
1074
+ readonly editRecord: "编辑记录";
1075
+ readonly page: "页面";
1076
+ readonly dashboard: "仪表板";
1077
+ readonly save: "保存";
1078
+ readonly cancel: "取消";
1079
+ };
1080
+ readonly actionDialog: {
1081
+ readonly title: "操作参数";
1082
+ readonly description: "请填写以下信息以继续操作。";
1083
+ readonly selectPlaceholder: "请选择 {{label}}";
1084
+ readonly requiredError: "{{label}} 为必填项";
1085
+ readonly cancel: "取消";
1086
+ readonly confirm: "确认";
1087
+ readonly defaultActionTitle: "操作";
1088
+ readonly ok: "确定";
1089
+ };
1090
+ readonly rowAction: {
1091
+ readonly openMenu: "打开菜单";
1092
+ readonly edit: "编辑";
1093
+ readonly delete: "删除";
1094
+ };
1095
+ readonly navigationSync: {
1096
+ readonly addedPage: "导航已更新:已添加页面 “{{name}}”";
1097
+ readonly addedDashboard: "导航已更新:已添加仪表板 “{{name}}”";
1098
+ readonly removedPage: "导航已更新:已移除页面 “{{name}}”";
1099
+ readonly removedDashboard: "导航已更新:已移除仪表板 “{{name}}”";
1100
+ readonly renamedPage: "导航已更新:页面 “{{oldName}}” 已重命名为 “{{newName}}”";
1101
+ readonly renamedDashboard: "导航已更新:仪表板 “{{oldName}}” 已重命名为 “{{newName}}”";
1102
+ readonly undoLabel: "撤销";
1103
+ readonly undone: "已撤销导航变更";
1104
+ readonly undoFailed: "撤销导航变更失败";
1105
+ readonly updateFailed: "更新导航失败";
1106
+ };
1107
+ readonly objectActions: {
1108
+ readonly deleteSuccess: "{{label}} 删除成功";
1109
+ readonly deleteFailed: "删除 {{label}} 失败";
1110
+ readonly noRecordId: "未提供记录 ID";
1111
+ readonly deleteConfirm: "确定要删除此记录吗?";
1112
+ };
1113
+ readonly objectViewActions: {
1114
+ readonly renameFailed: "重命名视图失败";
1115
+ readonly deleteFailed: "删除视图失败";
1116
+ };
1117
+ readonly dashboardActions: {
1118
+ readonly pdfPreparing: "正在准备 PDF 导出…";
1119
+ readonly exportFailed: "导出失败:{{message}}";
1120
+ readonly forecastSoon: "预测视图即将上线";
1121
+ };
1122
+ readonly recordDetail: {
1123
+ readonly viewersTooltip: "正在查看此记录的用户";
1124
+ };
1125
+ readonly cellRender: {
1126
+ readonly empty: "空";
1127
+ readonly yes: "是";
1128
+ readonly no: "否";
1129
+ readonly systemFields: "系统字段";
1130
+ };
944
1131
  };
945
1132
  export default zh;
@@ -102,7 +102,58 @@ const zh = {
102
102
  pullToRefresh: '下拉刷新',
103
103
  refreshing: '刷新中…',
104
104
  openRecord: '打开记录',
105
+ openMenu: '打开菜单',
105
106
  rowHeight: '行高: {{mode}}',
107
+ empty: '空',
108
+ yes: '是',
109
+ no: '否',
110
+ systemFields: '系统字段',
111
+ import: {
112
+ title: '导入{{object}}',
113
+ stepUpload: '上传',
114
+ stepMapping: '字段映射',
115
+ stepPreview: '预览',
116
+ uploadDescription: '上传 CSV 文件以开始导入。',
117
+ mappingDescription: '将 CSV 列映射到对象字段。',
118
+ previewDescription: '导入前预览数据。',
119
+ dragDrop: '拖拽 CSV 文件到此处,或点击选择文件',
120
+ browseFiles: '选择文件',
121
+ onlyCsv: '仅支持 CSV 文件。',
122
+ fileNeedsHeader: '文件必须包含表头行和至少一行数据。',
123
+ mappingTemplate: '映射模板:',
124
+ chooseTemplate: '选择模板…',
125
+ noSavedTemplates: '暂无保存的模板',
126
+ noneOption: '— 无 —',
127
+ saveCurrent: '保存当前映射',
128
+ templateName: '模板名称',
129
+ save: '保存',
130
+ deleteTemplate: '删除模板',
131
+ csvColumn: 'CSV 列',
132
+ mapsTo: '映射到',
133
+ status: '状态',
134
+ skipColumn: '跳过此列',
135
+ skip: '— 跳过 —',
136
+ mapped: '已映射',
137
+ skipped: '已跳过',
138
+ rowsWithErrors: '{{count}} 行有错误',
139
+ rowsCorrected: '已修正 {{count}} 行',
140
+ clickToFix: '— 点击高亮单元格可直接修改。',
141
+ showingRows: '显示第 {{shown}} 行,共 {{total}} 行',
142
+ importing: '导入中… {{progress}}%',
143
+ importComplete: '导入完成',
144
+ imported: '已导入 {{count}} 条',
145
+ skippedCount: '已跳过 {{count}} 条',
146
+ moreErrors: '…还有 {{count}} 个错误',
147
+ cancel: '取消',
148
+ back: '上一步',
149
+ next: '下一步',
150
+ close: '关闭',
151
+ importNRows: '导入 {{count}} 行',
152
+ importingProgress: '导入中…',
153
+ requiredMark: '*',
154
+ required: '必填',
155
+ invalidType: '{{type}} 格式无效',
156
+ },
106
157
  },
107
158
  calendar: {
108
159
  today: '今天',
@@ -671,6 +722,10 @@ const zh = {
671
722
  addView: '添加视图',
672
723
  designTools: '设计工具',
673
724
  new: '新建',
725
+ import: '导入',
726
+ importTitle: '从 CSV 文件导入',
727
+ importedToast: '成功导入 {{count}} 行。',
728
+ importedWithSkipped: '已导入 {{ok}} 行;跳过 {{skipped}} 行。',
674
729
  configureView: '配置视图',
675
730
  closePanel: '关闭面板',
676
731
  page: '页面',
@@ -951,5 +1006,137 @@ const zh = {
951
1006
  default: '默认',
952
1007
  },
953
1008
  },
1009
+ layout: {
1010
+ appSwitcher: {
1011
+ home: '首页',
1012
+ addApp: '新增应用',
1013
+ editApp: '编辑应用',
1014
+ manageAllApps: '管理所有应用',
1015
+ systemConsole: '系统控制台',
1016
+ noAppsConfigured: '尚未配置任何应用',
1017
+ },
1018
+ activityFeed: {
1019
+ title: '最近动态',
1020
+ filter: '筛选',
1021
+ empty: '暂无最近动态',
1022
+ ariaLabel: '动态消息',
1023
+ typeCreate: '创建',
1024
+ typeUpdate: '更新',
1025
+ typeDelete: '删除',
1026
+ typeComment: '评论',
1027
+ relativeJustNow: '刚刚',
1028
+ relativeSecondsAgo: '{{count}} 秒前',
1029
+ relativeMinutesAgo: '{{count}} 分钟前',
1030
+ relativeHoursAgo: '{{count}} 小时前',
1031
+ relativeDaysAgo: '{{count}} 天前',
1032
+ },
1033
+ metadata: {
1034
+ label: '元数据',
1035
+ toggleTitle: '切换元数据检视器',
1036
+ panelTitle: '元数据检视器',
1037
+ jsonBadge: 'JSON',
1038
+ copyJson: '复制 JSON',
1039
+ },
1040
+ },
1041
+ search: {
1042
+ title: '搜索',
1043
+ back: '返回',
1044
+ placeholder: '搜索对象、仪表板、页面、报表…',
1045
+ inputAriaLabel: '搜索对象、仪表板、页面、报表',
1046
+ resultsCount: '找到 {{count}} 条与“{{query}}”相关的结果',
1047
+ resultsCountPlural: '找到 {{count}} 条与“{{query}}”相关的结果',
1048
+ itemsAvailable: '共 {{count}} 项可搜索',
1049
+ noResults: '未找到结果',
1050
+ noResultsHint: '请尝试调整搜索关键字',
1051
+ typeObjects: '对象',
1052
+ typeDashboards: '仪表板',
1053
+ typePages: '页面',
1054
+ typeReports: '报表',
1055
+ badgeObject: '对象',
1056
+ badgeDashboard: '仪表板',
1057
+ badgePage: '页面',
1058
+ badgeReport: '报表',
1059
+ },
1060
+ empty: {
1061
+ objectNotFound: '未找到对象',
1062
+ objectNotFoundDescription: '对象 “{{name}}” 的定义不存在。请检查配置或返回选择有效的对象。',
1063
+ pageNotFound: '未找到页面',
1064
+ pageNotFoundDescription: '未找到页面 “{{name}}”,可能已被删除或重命名。',
1065
+ dashboardNotFound: '未找到仪表板',
1066
+ dashboardNotFoundDescription: '未找到仪表板 “{{name}}”,可能已被删除或重命名。',
1067
+ reportNotFound: '未找到报表',
1068
+ reportNotFoundDescription: '未找到报表 “{{name}}”,可能已被删除或重命名。',
1069
+ noAppsConfigured: '尚未配置应用',
1070
+ noAppsConfiguredDescription: '当前没有任何已注册的应用。请创建您的第一个应用,或前往系统设置进行配置。',
1071
+ createFirstApp: '创建您的第一个应用',
1072
+ systemSettings: '系统设置',
1073
+ back: '返回',
1074
+ },
1075
+ renderer: {
1076
+ noPageSchema: '未提供页面 schema',
1077
+ noFormSchema: '未提供表单 schema',
1078
+ noDashboardSchema: '未提供仪表板 schema',
1079
+ pageRendering: '页面渲染中:{{name}}',
1080
+ dashboardRendering: '仪表板渲染中:{{name}}',
1081
+ formRenderingMode: '正在以 {{mode}} 模式渲染表单',
1082
+ formRenderingFor: '记录 {{id}}',
1083
+ createRecord: '新建记录',
1084
+ editRecord: '编辑记录',
1085
+ page: '页面',
1086
+ dashboard: '仪表板',
1087
+ save: '保存',
1088
+ cancel: '取消',
1089
+ },
1090
+ actionDialog: {
1091
+ title: '操作参数',
1092
+ description: '请填写以下信息以继续操作。',
1093
+ selectPlaceholder: '请选择 {{label}}',
1094
+ requiredError: '{{label}} 为必填项',
1095
+ cancel: '取消',
1096
+ confirm: '确认',
1097
+ defaultActionTitle: '操作',
1098
+ ok: '确定',
1099
+ },
1100
+ rowAction: {
1101
+ openMenu: '打开菜单',
1102
+ edit: '编辑',
1103
+ delete: '删除',
1104
+ },
1105
+ navigationSync: {
1106
+ addedPage: '导航已更新:已添加页面 “{{name}}”',
1107
+ addedDashboard: '导航已更新:已添加仪表板 “{{name}}”',
1108
+ removedPage: '导航已更新:已移除页面 “{{name}}”',
1109
+ removedDashboard: '导航已更新:已移除仪表板 “{{name}}”',
1110
+ renamedPage: '导航已更新:页面 “{{oldName}}” 已重命名为 “{{newName}}”',
1111
+ renamedDashboard: '导航已更新:仪表板 “{{oldName}}” 已重命名为 “{{newName}}”',
1112
+ undoLabel: '撤销',
1113
+ undone: '已撤销导航变更',
1114
+ undoFailed: '撤销导航变更失败',
1115
+ updateFailed: '更新导航失败',
1116
+ },
1117
+ objectActions: {
1118
+ deleteSuccess: '{{label}} 删除成功',
1119
+ deleteFailed: '删除 {{label}} 失败',
1120
+ noRecordId: '未提供记录 ID',
1121
+ deleteConfirm: '确定要删除此记录吗?',
1122
+ },
1123
+ objectViewActions: {
1124
+ renameFailed: '重命名视图失败',
1125
+ deleteFailed: '删除视图失败',
1126
+ },
1127
+ dashboardActions: {
1128
+ pdfPreparing: '正在准备 PDF 导出…',
1129
+ exportFailed: '导出失败:{{message}}',
1130
+ forecastSoon: '预测视图即将上线',
1131
+ },
1132
+ recordDetail: {
1133
+ viewersTooltip: '正在查看此记录的用户',
1134
+ },
1135
+ cellRender: {
1136
+ empty: '空',
1137
+ yes: '是',
1138
+ no: '否',
1139
+ systemFields: '系统字段',
1140
+ },
954
1141
  };
955
1142
  export default zh;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/i18n",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",