-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathzh-CN.objects.generated.ts
More file actions
224 lines (221 loc) · 5.61 KB
/
Copy pathzh-CN.objects.generated.ts
File metadata and controls
224 lines (221 loc) · 5.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
/**
* Auto-generated by 'os i18n extract' for locale 'zh-CN'.
* Edit translations in place; re-run extract (with --merge) to fill new gaps.
* Do not hand-edit the structure — only the leaf string values.
*/
import type { TranslationData } from '@objectstack/spec/system';
export const zhCNObjects: NonNullable<TranslationData['objects']> = {
sys_audit_log: {
label: "审计日志",
pluralLabel: "审计日志",
description: "平台事件的不可变审计追踪",
fields: {
created_at: {
label: "时间戳"
},
action: {
label: "操作",
help: "操作类型(snake_case)",
options: {
create: "创建",
update: "更新",
delete: "删除",
restore: "恢复",
login: "登录",
logout: "登出",
permission_change: "权限变更",
config_change: "配置变更",
export: "导出",
import: "导入"
}
},
user_id: {
label: "执行人",
help: "执行该操作的用户(系统操作时为 null)"
},
actor: {
label: "操作者",
help: "执行该操作的主体:用户 ID、svc:<name> 或空"
},
object_name: {
label: "对象",
help: "目标对象(例如 sys_user、project_task)"
},
record_id: {
label: "记录 ID",
help: "受影响记录的 ID"
},
old_value: {
label: "旧值",
help: "旧状态的 JSON 序列化内容"
},
new_value: {
label: "新值",
help: "新状态的 JSON 序列化内容"
},
ip_address: {
label: "IP 地址"
},
user_agent: {
label: "用户代理"
},
tenant_id: {
label: "租户",
help: "用于多租户隔离的租户上下文"
},
metadata: {
label: "元数据",
help: "附加上下文的 JSON 序列化内容"
},
id: {
label: "审计日志 ID"
}
},
_views: {
recent: {
label: "最近",
emptyState: {
title: "暂无审计事件",
message: "用户与平台交互后,动态会显示在这里。"
}
},
writes_only: {
label: "写入"
},
auth_events: {
label: "认证"
},
config_changes: {
label: "配置"
},
all_events: {
label: "全部"
}
}
},
sys_activity: {
label: "活动",
pluralLabel: "活动",
description: "最近活动流条目(轻量、去规范化)",
fields: {
id: {
label: "活动 ID"
},
timestamp: {
label: "时间戳"
},
type: {
label: "类型",
options: {
created: "已创建",
updated: "已更新",
deleted: "已删除",
commented: "已评论",
mentioned: "被提及",
shared: "已共享",
assigned: "已分配",
completed: "已完成",
login: "登录",
logout: "登出",
system: "系统"
}
},
summary: {
label: "摘要",
help: "人类可读的单行摘要"
},
actor_id: {
label: "执行人"
},
actor_name: {
label: "执行人名称"
},
actor_avatar_url: {
label: "执行人头像"
},
object_name: {
label: "对象",
help: "目标对象短名称(例如 account、sys_user)"
},
record_id: {
label: "记录 ID"
},
record_label: {
label: "记录标签",
help: "写入时目标记录的显示标签"
},
source_object: {
label: "来源对象",
help: "该动态所派生自的富来源实体的对象名称(如 \"sys_email\")。为空表示动态针对目标记录本身。"
},
source_id: {
label: "来源 ID",
help: "富来源实体的记录 ID(与 source_object 配对)—— 让时间线可以下钻到完整的邮件/通话/会议记录。"
},
url: {
label: "URL",
help: "指向活动目标的可选深度链接"
},
environment_id: {
label: "项目",
help: "项目上下文(多项目部署)"
},
metadata: {
label: "元数据",
help: "附加上下文的 JSON 序列化内容"
}
}
},
sys_comment: {
label: "评论",
pluralLabel: "评论",
description: "通过 thread_id 附加到记录的线程化评论",
fields: {
id: {
label: "评论 ID"
},
thread_id: {
label: "线程",
help: "线程标识——约定格式为 `{object}:{record_id}`(例如 `sys_user:abc123`)"
},
parent_id: {
label: "父评论",
help: "可选的父评论,用于嵌套回复"
},
author_id: {
label: "作者"
},
author_name: {
label: "作者名称"
},
author_avatar_url: {
label: "作者头像"
},
body: {
label: "正文",
help: "评论文本(支持 Markdown)"
},
mentions: {
label: "提及",
help: "@mention 对象的 JSON 数组"
},
reactions: {
label: "回应",
help: "表情回应对象的 JSON 数组"
},
is_edited: {
label: "已编辑"
},
edited_at: {
label: "编辑时间"
},
created_at: {
label: "创建时间"
},
updated_at: {
label: "更新时间"
}
}
}
};