@object-ui/i18n 4.2.1 → 4.4.0

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.
@@ -118,6 +118,14 @@ const zh = {
118
118
  yes: '是',
119
119
  no: '否',
120
120
  systemFields: '系统字段',
121
+ toolbar: {
122
+ densityMode: '密度',
123
+ densityCompact: '紧凑',
124
+ densityComfortable: '舒适',
125
+ densitySpacious: '宽松',
126
+ densityCycleHint: '{{label}}(点击切换)',
127
+ densityCycleShortHint: '点击切换',
128
+ },
121
129
  import: {
122
130
  title: '导入{{object}}',
123
131
  stepUpload: '上传',
@@ -206,6 +214,8 @@ const zh = {
206
214
  print: '打印',
207
215
  hideFieldsTitle: '隐藏字段',
208
216
  dataLimitReached: '显示前 {{limit}} 条记录。可能有更多数据。',
217
+ viewSettings: '视图设置',
218
+ viewSettingsHint: '分组、行颜色、密度与可见字段。',
209
219
  },
210
220
  kanban: {
211
221
  addCard: '添加卡片',
@@ -293,6 +303,7 @@ const zh = {
293
303
  new: '新建',
294
304
  emptyValue: '—',
295
305
  activity: '活动',
306
+ history: '历史',
296
307
  editRow: '编辑',
297
308
  deleteRow: '删除',
298
309
  deleteRowConfirmation: '确定要删除此记录吗?',
@@ -317,6 +328,9 @@ const zh = {
317
328
  minutesAgo: '{{count}}分钟前',
318
329
  hoursAgo: '{{count}}小时前',
319
330
  daysAgo: '{{count}}天前',
331
+ // Record meta footer (audit provenance)
332
+ createdBy: '创建于',
333
+ updatedBy: '更新于',
320
334
  // Attachments
321
335
  dropFilesToUpload: '拖拽文件到此处或点击上传',
322
336
  attachmentCount: '{{count}} 个附件',
@@ -340,6 +354,7 @@ const zh = {
340
354
  mentionSomeone: '提及某人',
341
355
  preview: '预览',
342
356
  submitComment: '提交 (Ctrl+Enter)',
357
+ sendComment: '发送',
343
358
  writeComment: '写评论…',
344
359
  // Subscription
345
360
  subscribedTooltip: '已订阅 — 点击取消订阅',
@@ -405,6 +420,113 @@ const zh = {
405
420
  max: '最大值',
406
421
  first: '首个',
407
422
  },
423
+ editor: {
424
+ breadcrumb: '配置',
425
+ basic: '基础',
426
+ title: '标题',
427
+ titlePlaceholder: '例如:按季度的销售管道',
428
+ description: '描述',
429
+ descriptionPlaceholder: '此报表展示什么?',
430
+ type: '报表类型',
431
+ typeTabular: '表格 — 平铺列表',
432
+ typeSummary: '汇总 — 分组带合计',
433
+ typeMatrix: '矩阵 — 行列透视',
434
+ typeJoined: '拼接 — 多块组合',
435
+ typeHelp: '选择最贴合需求的布局方式。',
436
+ data: '数据',
437
+ objectName: '数据源',
438
+ objectNamePlaceholder: '例如:opportunity',
439
+ objectNameHelp: '此报表应查询哪个对象?',
440
+ limit: '行数上限',
441
+ limitPlaceholder: '例如:100',
442
+ columns: '列',
443
+ columnsHint: '选择要展示的字段。汇总或矩阵报表可添加聚合(求和、计数…)。',
444
+ filters: '筛选',
445
+ filtersHint: '限定参与报表的数据行。',
446
+ filtersComplex: '此报表使用了高级筛选条件,此处无法编辑。保存时将原样保留。',
447
+ groupBy: '分组',
448
+ groupByHint: '按字段分组并计算小计。',
449
+ rows: '行',
450
+ rowsHint: '按这些字段对行分组。',
451
+ columnsAxis: '列',
452
+ columnsAxisHint: '将这些字段透视到顶部。',
453
+ values: '度量',
454
+ valuesHint: '每个单元格里展示的数字。选择一个或多个字段并设置聚合方式(求和、计数…)。',
455
+ grouping: '分组',
456
+ addGrouping: '添加分组',
457
+ dateGranularity: '日期粒度',
458
+ dateGranularityNone: '(使用原始值)',
459
+ day: '日',
460
+ week: '周',
461
+ month: '月',
462
+ quarter: '季度',
463
+ year: '年',
464
+ sortAsc: '升序',
465
+ sortDesc: '降序',
466
+ chart: '图表',
467
+ chartHint: '在表格旁可选展示的可视化。',
468
+ chartType: '图表类型',
469
+ chartTitle: '图表标题',
470
+ chartTitlePlaceholder: '默认使用报表标题',
471
+ chartXAxis: 'X 轴(类别)',
472
+ chartYAxis: 'Y 轴(数值)',
473
+ chartShowLegend: '显示图例',
474
+ chartShowDataLabels: '显示数据标签',
475
+ chartNone: '(无图表)',
476
+ chartBar: '柱状图',
477
+ chartLine: '折线图',
478
+ chartArea: '面积图',
479
+ chartPie: '饼图',
480
+ chartDonut: '环形图',
481
+ chartFunnel: '漏斗图',
482
+ validationNeedsObject: '请先选择数据源,再添加列。',
483
+ validationMatrixNeedsRowsCols: '矩阵报表至少需要一个行字段和一个列字段。',
484
+ validationSummaryNeedsRows: '汇总报表至少需要一个分组字段。',
485
+ blocks: '区块',
486
+ blocksHint: '每个区块都是独立的表格或图表。区块筛选会与报表筛选合并(AND)。',
487
+ addBlock: '添加区块',
488
+ removeBlock: '删除区块',
489
+ blockName: '区块名称',
490
+ blockNamePlaceholder: '唯一的区块名',
491
+ blockLabel: '显示标题',
492
+ blockLabelPlaceholder: '显示在区块上方',
493
+ blockDescription: '说明',
494
+ blockDescriptionPlaceholder: '该区块的可选说明',
495
+ validationJoinedNeedsBlocks: '组合报表至少需要一个区块。',
496
+ validationBlockNameRequired: '每个区块都必须有非空的名称。',
497
+ validationBlockNameDuplicate: '区块名称在报表内必须唯一。',
498
+ validationBlockNeedsColumns: '每个区块至少需要一列。',
499
+ noneOption: '(无)',
500
+ addCondition: '添加条件',
501
+ combineLogic: '组合方式',
502
+ opContains: '包含',
503
+ opIsEmpty: '为空',
504
+ opIsNotEmpty: '不为空',
505
+ formatAuto: '自动',
506
+ formatCurrency: '货币',
507
+ formatPercent: '百分比',
508
+ formatInteger: '整数',
509
+ formatDate: '日期',
510
+ formatDatetime: '日期 + 时间',
511
+ columnLabelPlaceholder: '自定义标签',
512
+ aggregateColumn: '聚合',
513
+ formatColumn: '格式',
514
+ addColumns: '添加字段',
515
+ searchFields: '搜索字段…',
516
+ noMatchingFields: '没有匹配的字段。',
517
+ noFieldsAvailable: '暂无可用字段。',
518
+ columnsCount: '已选择 {n} 个列',
519
+ columnsEmpty: '尚未选择任何列。',
520
+ fieldPickerTitle: '选择字段',
521
+ fieldPickerDescription: '可选择一个或多个字段添加到报表,输入关键字可快速筛选。',
522
+ fieldPickerChangeTitle: '更换字段',
523
+ fieldPickerAddGroupingTitle: '添加分组',
524
+ fieldPickerEmpty: '(请选择字段)',
525
+ fieldPickerSelected: '已选 {n} 个',
526
+ fieldPickerClear: '清空选择',
527
+ fieldPickerAdd: '添加',
528
+ fieldPickerAddN: '添加 {n} 个',
529
+ },
408
530
  },
409
531
  map: {
410
532
  searchLocations: '搜索位置…',
@@ -1060,6 +1182,10 @@ const zh = {
1060
1182
  help: '帮助',
1061
1183
  helpTooltip: '帮助与文档',
1062
1184
  activityFeed: '活动动态',
1185
+ notifications: '通知',
1186
+ approvals: '审批',
1187
+ inbox: '消息中心',
1188
+ inboxAriaLabel: '打开消息中心',
1063
1189
  area: '区域',
1064
1190
  recent: '最近使用',
1065
1191
  favorites: '收藏',
@@ -1114,6 +1240,7 @@ const zh = {
1114
1240
  title: '最近动态',
1115
1241
  filter: '筛选',
1116
1242
  empty: '暂无最近动态',
1243
+ viewAll: '查看全部动态',
1117
1244
  ariaLabel: '动态消息',
1118
1245
  typeCreate: '创建',
1119
1246
  typeUpdate: '更新',
@@ -1239,6 +1366,31 @@ const zh = {
1239
1366
  profile: '个人资料',
1240
1367
  settings: '设置',
1241
1368
  logout: '注销',
1369
+ preferences: '偏好设置',
1370
+ theme: '主题',
1371
+ language: '语言',
1372
+ },
1373
+ organizations: {
1374
+ mine: '我的组织',
1375
+ title: '组织',
1376
+ heading: '您的组织',
1377
+ subtitle: '选择一个组织以继续,或新建一个组织。',
1378
+ searchPlaceholder: '搜索组织',
1379
+ new: '新建组织',
1380
+ current: '当前组织',
1381
+ manage: '管理',
1382
+ emptyTitle: '尚无组织',
1383
+ emptyDescription: '创建您的第一个组织以开始使用。',
1384
+ noMatches: '没有匹配的组织。',
1385
+ },
1386
+ notifications: {
1387
+ empty: '暂无通知',
1388
+ markAllRead: '全部标记为已读',
1389
+ viewAll: '查看全部通知',
1390
+ approvalsPending: '{{count}} 条待审批',
1391
+ viewApprovals: '查看审批',
1392
+ noPendingApprovals: '暂无待审批事项',
1393
+ openApprovalsInbox: '打开审批中心',
1242
1394
  },
1243
1395
  };
1244
1396
  export default zh;
@@ -188,16 +188,16 @@ export declare function useObjectLabel(): {
188
188
  * may be rendered outside an i18n context.
189
189
  */
190
190
  export declare function useSafeFieldLabel(): {
191
- fieldLabel: (objectName: string, fieldName: string, fallback: string) => string;
192
- translateOptions: (objectName: string, fieldName: string, options: Array<{
191
+ fieldLabel: (_objectName: string, _fieldName: string, fallback: string) => string;
192
+ translateOptions: (_objectName: string, _fieldName: string, options: Array<{
193
193
  value: string;
194
194
  label: string;
195
195
  [key: string]: any;
196
- }>) => Array<{
196
+ }>) => {
197
+ [key: string]: any;
197
198
  value: string;
198
199
  label: string;
199
- [key: string]: any;
200
- }>;
201
- fieldOptionLabel: (objectName: string, fieldName: string, optionValue: string, fallback: string) => string;
202
- sectionLabel: (objectName: string, sectionName: string, fallback: string) => string;
200
+ }[];
201
+ fieldOptionLabel: (_objectName: string, _fieldName: string, _optionValue: string, fallback: string) => string;
202
+ sectionLabel: (_objectName: string, _sectionName: string, fallback: string) => string;
203
203
  };