@sendproof/core 0.1.0-alpha.1 → 0.1.0-alpha.2
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.
- package/assets/api.js +2 -1
- package/assets/app.css +612 -1
- package/assets/app.js +89 -13
- package/assets/bar-fit.js +91 -0
- package/assets/commands.js +27 -4
- package/assets/dialog.css +125 -0
- package/assets/dialog.js +191 -0
- package/assets/fields/lookup-source.js +5 -2
- package/assets/fields/lookup.js +3 -2
- package/assets/i18n.js +13 -2
- package/assets/icons.js +18 -0
- package/assets/index.html +1 -0
- package/assets/journeys/compare.js +225 -0
- package/assets/journeys/expressions.js +89 -0
- package/assets/journeys/index.js +7 -0
- package/assets/journeys/run.js +152 -0
- package/assets/journeys/steps.js +163 -0
- package/assets/journeys-code.js +193 -0
- package/assets/journeys-dialog-model.js +172 -0
- package/assets/journeys-dialogs.js +301 -0
- package/assets/journeys-model.js +259 -0
- package/assets/journeys-runs.js +109 -0
- package/assets/journeys-session.js +135 -0
- package/assets/journeys-view.js +961 -0
- package/assets/journeys.js +962 -0
- package/assets/locales/ar-journeys.js +468 -0
- package/assets/locales/ar.js +2 -0
- package/assets/locales/cs-journeys.js +468 -0
- package/assets/locales/cs.js +2 -0
- package/assets/locales/da-journeys.js +465 -0
- package/assets/locales/da.js +2 -0
- package/assets/locales/de-journeys.js +465 -0
- package/assets/locales/de.js +2 -0
- package/assets/locales/el-journeys.js +465 -0
- package/assets/locales/el.js +2 -0
- package/assets/locales/en-journeys.js +467 -0
- package/assets/locales/en.js +2 -0
- package/assets/locales/es-journeys.js +467 -0
- package/assets/locales/es.js +2 -0
- package/assets/locales/fa-journeys.js +465 -0
- package/assets/locales/fa.js +2 -0
- package/assets/locales/fi-journeys.js +465 -0
- package/assets/locales/fi.js +2 -0
- package/assets/locales/fr-journeys.js +467 -0
- package/assets/locales/fr.js +2 -0
- package/assets/locales/he-journeys.js +468 -0
- package/assets/locales/he.js +2 -0
- package/assets/locales/hi-journeys.js +465 -0
- package/assets/locales/hi.js +2 -0
- package/assets/locales/id-journeys.js +466 -0
- package/assets/locales/id.js +2 -0
- package/assets/locales/it-journeys.js +467 -0
- package/assets/locales/it.js +2 -0
- package/assets/locales/ja-journeys.js +466 -0
- package/assets/locales/ja.js +2 -0
- package/assets/locales/ko-journeys.js +465 -0
- package/assets/locales/ko.js +2 -0
- package/assets/locales/nb-journeys.js +465 -0
- package/assets/locales/nb.js +2 -0
- package/assets/locales/nl-journeys.js +465 -0
- package/assets/locales/nl.js +2 -0
- package/assets/locales/pl-journeys.js +468 -0
- package/assets/locales/pl.js +2 -0
- package/assets/locales/pt-BR-journeys.js +467 -0
- package/assets/locales/pt-BR.js +2 -0
- package/assets/locales/pt-PT-journeys.js +467 -0
- package/assets/locales/pt-PT.js +2 -0
- package/assets/locales/ru-journeys.js +468 -0
- package/assets/locales/ru.js +2 -0
- package/assets/locales/sv-journeys.js +465 -0
- package/assets/locales/sv.js +2 -0
- package/assets/locales/th-journeys.js +466 -0
- package/assets/locales/th.js +2 -0
- package/assets/locales/tr-journeys.js +468 -0
- package/assets/locales/tr.js +2 -0
- package/assets/locales/uk-journeys.js +468 -0
- package/assets/locales/uk.js +2 -0
- package/assets/locales/vi-journeys.js +466 -0
- package/assets/locales/vi.js +2 -0
- package/assets/locales/zh-Hans-journeys.js +466 -0
- package/assets/locales/zh-Hans.js +2 -0
- package/assets/locales/zh-Hant-journeys.js +466 -0
- package/assets/locales/zh-Hant.js +2 -0
- package/assets/manifest.json +349 -104
- package/assets/markdown.js +27 -2
- package/assets/request-editor.js +7 -1
- package/assets/result-states.js +2 -2
- package/assets/results.js +41 -14
- package/assets/router.js +25 -1
- package/assets/seeded-menu.js +2 -1
- package/assets/shortcuts-sheet.js +3 -1
- package/assets/shortcuts.js +6 -0
- package/assets/sidebar.js +54 -5
- package/assets/signin.js +6 -3
- package/assets/styles.css +8 -2
- package/assets/toast.js +29 -0
- package/assets/vendor/arazzo-runtime-expression.js +136 -0
- package/assets/vendor/json-pointer.js +48 -0
- package/assets/vendor/jsonpath-rfc9535.js +15 -0
- package/assets/view.js +11 -3
- package/assets/views.css +7 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.js +217 -26
- package/dist/journey-builder.d.ts +178 -0
- package/dist/journey-builder.js +169 -0
- package/dist/journeys.d.ts +24 -0
- package/dist/journeys.js +157 -0
- package/dist/node-http.d.ts +2 -0
- package/dist/node-http.js +17 -0
- package/dist/sessions.d.ts +43 -0
- package/dist/sessions.js +145 -0
- package/dist/statements.js +2 -2
- package/dist/stores/tables.d.ts +213 -0
- package/dist/stores/tables.js +213 -0
- package/dist/types.d.ts +34 -2
- package/package.json +1 -1
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
// Simplified Chinese strings for Journeys mode (see en-journeys.js). Merged into zh-Hans.js.
|
|
2
|
+
// Chinese has a single plural category, so every plural entry carries only `other`.
|
|
3
|
+
export default {
|
|
4
|
+
// The mode switch and the journeys sidebar
|
|
5
|
+
'jr.mode': '模式',
|
|
6
|
+
'jr.mode.spec': '规范',
|
|
7
|
+
'jr.mode.journeys': '旅程',
|
|
8
|
+
'jr.filter': '筛选旅程',
|
|
9
|
+
'jr.head.code': '来自代码',
|
|
10
|
+
'jr.head.file': '来自文件',
|
|
11
|
+
'jr.head.codeTip': '启动时从旅程类构建 · 打开生成的 Arazzo 文档',
|
|
12
|
+
'jr.head.fileTip': '从已注册的 Arazzo 文件读取 · 打开它',
|
|
13
|
+
'jr.head.inferred': '从链接推断',
|
|
14
|
+
'jr.head.none': '未定义任何旅程',
|
|
15
|
+
'jr.inferred': '从链接推断',
|
|
16
|
+
'jr.inferredPill': '来自 OpenAPI 链接',
|
|
17
|
+
'jr.inferredTip': '从 OpenAPI 文档中的响应链接推断而来。没有预期的写入。',
|
|
18
|
+
'jr.stepsN': { other: '{n} 个步骤' },
|
|
19
|
+
'jr.last.passed': '上次运行通过',
|
|
20
|
+
'jr.last.failed': '上次运行失败',
|
|
21
|
+
'jr.last.none': '尚未运行',
|
|
22
|
+
'jr.last.sendOnly': '仅发送:某个步骤无法进行预览',
|
|
23
|
+
'jr.last.ended': '上次运行被提前结束',
|
|
24
|
+
'jr.ended': '已结束',
|
|
25
|
+
'jr.v.endedAfter': '在步骤 {n} 后结束 · 已回滚',
|
|
26
|
+
'jr.v.stoppedAfter': '在步骤 {n} 后停止',
|
|
27
|
+
'jr.v.endedLedePreview': '运行被提前结束,因此预览会话回滚了它保持的全部内容。',
|
|
28
|
+
'jr.v.endedLedeSend': '运行被提前停止。这些步骤已发送的内容会保留在数据库中。',
|
|
29
|
+
'jr.strip.ended': '会话已结束 · 已回滚',
|
|
30
|
+
'jr.rb.ended': '会话已结束 · 未提交任何内容',
|
|
31
|
+
'jr.sum.leftTitle': '留在数据库中',
|
|
32
|
+
'jr.sum.leftEnd': '运行停止前已发送',
|
|
33
|
+
'jr.signedInAs': '此旅程以 {name} 的身份运行,因此您现在已登录为 {name}。',
|
|
34
|
+
'jr.runAll': '运行全部',
|
|
35
|
+
'jr.runAllTip': '预览每个旅程 · 仅发送的旅程将被跳过',
|
|
36
|
+
'jr.allDone': '全部完成:{passed} 个通过,{failed} 个失败。',
|
|
37
|
+
'jr.side.emptyTitle': '尚无旅程',
|
|
38
|
+
'jr.side.emptyBody': '此 API 未定义任何旅程,其 OpenAPI 文档中也没有可供推断的链接。',
|
|
39
|
+
'jr.loading': '正在加载旅程…',
|
|
40
|
+
'jr.loadingJourney': '正在加载旅程',
|
|
41
|
+
'jr.loadingRuns': '正在加载运行记录…',
|
|
42
|
+
'jr.loadStatus': 'GET {url} 返回了 {status}。',
|
|
43
|
+
|
|
44
|
+
'jr.pane.journey': '旅程',
|
|
45
|
+
'jr.pane.summary': '摘要',
|
|
46
|
+
'jr.pane.details': '详情',
|
|
47
|
+
'jr.pane.step': '步骤',
|
|
48
|
+
|
|
49
|
+
// The rail
|
|
50
|
+
'jr.steps': '步骤',
|
|
51
|
+
'jr.rail.ready': '已准备好预览',
|
|
52
|
+
'jr.rail.readySend': '已准备好发送',
|
|
53
|
+
'jr.rail.notRun': '尚未运行',
|
|
54
|
+
'jr.rail.skipped': '未运行 · 运行已停止',
|
|
55
|
+
'jr.rail.running': '正在运行…',
|
|
56
|
+
'jr.rail.refused': '已拒绝',
|
|
57
|
+
'jr.rail.blocked': '已阻止',
|
|
58
|
+
'jr.rail.failedShort': '失败',
|
|
59
|
+
'jr.sr.passed': '已通过',
|
|
60
|
+
'jr.sr.failed': '已失败',
|
|
61
|
+
'jr.sr.refused': '已拒绝',
|
|
62
|
+
'jr.sr.current': '当前步骤',
|
|
63
|
+
'jr.sr.pending': '尚未运行',
|
|
64
|
+
'jr.sr.skipped': '未运行',
|
|
65
|
+
'jr.problems': { other: '{n} 个问题' },
|
|
66
|
+
'jr.approvedN': { other: '{n} 个已批准' },
|
|
67
|
+
'jr.matchedN': { other: '{n} 个匹配' },
|
|
68
|
+
'jr.uncheckedN': { other: '{n} 个未检查' },
|
|
69
|
+
|
|
70
|
+
// The overview
|
|
71
|
+
'jr.view': '视图',
|
|
72
|
+
'jr.view.overview': '概览',
|
|
73
|
+
'jr.inputs': '输入',
|
|
74
|
+
'jr.endsWith': '以此结束',
|
|
75
|
+
'jr.outputs': '输出',
|
|
76
|
+
'jr.from': '来自',
|
|
77
|
+
'jr.fromStep': '来自步骤 {n}',
|
|
78
|
+
'jr.fromInputs': '来自输入',
|
|
79
|
+
'jr.valuesFromInputs': { other: '{n} 个来自输入的值' },
|
|
80
|
+
'jr.expects': '期望 {field} {value}',
|
|
81
|
+
'jr.readsOnly': '仅读取',
|
|
82
|
+
'jr.writesNothing': '不写入任何内容',
|
|
83
|
+
'jr.notRunBySendproof': '未由 Sendproof 运行',
|
|
84
|
+
'jr.count.rows': { other: '{n} 行' },
|
|
85
|
+
'jr.count.documents': { other: '{n} 个文档' },
|
|
86
|
+
'jr.count.keys': { other: '{n} 个键' },
|
|
87
|
+
'jr.count.emails': { other: '{n} 封邮件' },
|
|
88
|
+
'jr.count.effects': { other: '{n} 个副作用' },
|
|
89
|
+
'jr.runsAs': '以 {name} 身份运行',
|
|
90
|
+
'jr.sendOnly': '仅发送',
|
|
91
|
+
'jr.definedIn': '在 {file} 中定义',
|
|
92
|
+
'jr.usedIn': '在步骤 {n} 中使用',
|
|
93
|
+
'jr.usedInMany': '在步骤 {steps} 中使用',
|
|
94
|
+
'jr.usedNowhere': '未被任何步骤使用',
|
|
95
|
+
'jr.ends.criteria': '步骤 {n} 会读回它,并期望 {condition}。',
|
|
96
|
+
'jr.ends.status': '步骤 {n} 期望状态 {status}。',
|
|
97
|
+
'jr.previewRun': '预览运行',
|
|
98
|
+
'jr.sendRun': '发送运行',
|
|
99
|
+
'jr.sendAgain': '再次发送',
|
|
100
|
+
'jr.previewAgain': '再次预览',
|
|
101
|
+
'jr.bar.rollsBack': '预览会回滚所有内容',
|
|
102
|
+
'jr.bar.rollsBackTip': '预览会回滚所有内容',
|
|
103
|
+
'jr.bar.sendOnly': '仅发送:某个步骤无法进行预览',
|
|
104
|
+
'jr.bar.noSessions': '此主机无法保持预览会话',
|
|
105
|
+
'jr.arazzoTitle': 'Arazzo 工作流',
|
|
106
|
+
|
|
107
|
+
// Runs in the overview's right column
|
|
108
|
+
'jr.lastRun': '上次运行',
|
|
109
|
+
'jr.openRun': '打开运行',
|
|
110
|
+
'jr.earlierRuns': '较早的运行',
|
|
111
|
+
'jr.meta.preview': '预览运行 · {name} · {when} · 已回滚',
|
|
112
|
+
'jr.meta.send': '发送运行 · {name} · {when} · 已提交',
|
|
113
|
+
'jr.problemsIn': '步骤 {n} 中的问题',
|
|
114
|
+
'jr.expectedWrittenPair': '期望 {expected},已写入 {written}',
|
|
115
|
+
'jr.p.expectedNothing': '期望 {op},但没有任何变化',
|
|
116
|
+
'jr.p.unexpected': '意外的 {op}',
|
|
117
|
+
'jr.got': '实际得到',
|
|
118
|
+
'jr.passed': '已通过',
|
|
119
|
+
'jr.failed': '已失败',
|
|
120
|
+
'jr.stopped': '已停止',
|
|
121
|
+
'jr.notRun': '未运行',
|
|
122
|
+
'jr.someone': '某人',
|
|
123
|
+
'jr.viaMcp': '通过 MCP',
|
|
124
|
+
'jr.send': '发送',
|
|
125
|
+
'jr.preview': '预览',
|
|
126
|
+
'jr.runs': '运行记录',
|
|
127
|
+
'jr.runsKept': '运行记录保存在此浏览器中 · {n} / {max}',
|
|
128
|
+
'jr.noRuns': '尚无运行记录',
|
|
129
|
+
'jr.runs.emptyTitle': '尚无运行记录',
|
|
130
|
+
'jr.runs.emptyBody': '预览该旅程,查看每个步骤实际写入的内容与应写入内容的对比。不会提交任何内容。',
|
|
131
|
+
'jr.runs.emptySendOnly': '此旅程仅能发送:某个步骤写入的存储区预览无法保持。请对一次性数据库发送它。',
|
|
132
|
+
'jr.runs.appear': '运行记录会出现在这里',
|
|
133
|
+
'jr.runs.appearBody': '每次运行都会列出其步骤、每个步骤实际写入的内容与应写入内容的对比,以及它使用的已批准差异。',
|
|
134
|
+
'jr.todayAt': '今天,{time}',
|
|
135
|
+
|
|
136
|
+
// A step on its operation's screen
|
|
137
|
+
'jr.stepN': '步骤 {n}',
|
|
138
|
+
'jr.stepOf': '步骤 {n}/{total}',
|
|
139
|
+
'jr.stepsDone': '已完成 {n}/{total} 个步骤',
|
|
140
|
+
'jr.strip.held': '会话已保持 · 运行结束时会回滚',
|
|
141
|
+
'jr.strip.commits': '每个步骤都会写入 {db}',
|
|
142
|
+
'jr.strip.commitsAny': '每个步骤都会提交其写入',
|
|
143
|
+
'jr.endRun': '结束运行',
|
|
144
|
+
'jr.endRunTip': '结束运行并回滚其预览会话',
|
|
145
|
+
'jr.prevStep': '上一步',
|
|
146
|
+
'jr.nextStep': '下一步',
|
|
147
|
+
'jr.bind.fromStep': '来自步骤 {n}',
|
|
148
|
+
'jr.bind.input': '旅程输入',
|
|
149
|
+
'jr.bind.fixed': '固定',
|
|
150
|
+
'jr.bind.setByJourney': '由旅程设置',
|
|
151
|
+
'jr.ref.step': '步骤 {n}',
|
|
152
|
+
'jr.ref.input': '输入',
|
|
153
|
+
'jr.sends': '发送',
|
|
154
|
+
'jr.bar.fromEarlier': '来自之前的步骤',
|
|
155
|
+
'jr.bar.fromInputs': '来自旅程的输入',
|
|
156
|
+
'jr.bar.commits': '真正提交',
|
|
157
|
+
'jr.bar.edited': { other: '已编辑 {n} 个绑定值' },
|
|
158
|
+
'jr.bar.running': '正在运行步骤 {n}/{total}…',
|
|
159
|
+
'jr.bar.stopped': '步骤 {n} 中止了运行',
|
|
160
|
+
'jr.bar.previewStep': '预览步骤 {n}',
|
|
161
|
+
'jr.bar.sendStep': '发送步骤 {n}',
|
|
162
|
+
'jr.bar.sendAgain': '再次发送',
|
|
163
|
+
'jr.bar.previewAgain': '再次预览',
|
|
164
|
+
'jr.bar.runToEnd': '运行到结束',
|
|
165
|
+
'jr.bar.noGetPreview': '读取只在预览运行的会话内进行预览',
|
|
166
|
+
'jr.bar.summary': '运行摘要',
|
|
167
|
+
'jr.stepFailed': '步骤 {n} 失败',
|
|
168
|
+
'jr.stepPassed': '步骤 {n} 通过',
|
|
169
|
+
'jr.stepPassedApproved': '步骤 {n} 通过 · {count} 个已批准',
|
|
170
|
+
'jr.rerun': '在会话中重新运行步骤 {n}',
|
|
171
|
+
'jr.rb.held': '会话已保持 · 不会提交任何内容',
|
|
172
|
+
'jr.rb.sendRun': '发送运行 · 每个步骤都会提交',
|
|
173
|
+
'jr.rb.prevPreviewed': '步骤 {n} 已在 {time} 预览 · 会话已保持',
|
|
174
|
+
'jr.rb.prevSent': '步骤 {n} 已在 {time} 发送',
|
|
175
|
+
'jr.rb.previewed': '已在 {time} 的会话中预览 · 运行 {run}',
|
|
176
|
+
'jr.rb.sent': '已在 {time} 真正发送 · 运行 {run} · 已追踪',
|
|
177
|
+
'jr.rb.review': '运行 {run} · 保存在此浏览器中',
|
|
178
|
+
|
|
179
|
+
// The Expected tab before a step runs
|
|
180
|
+
'jr.expected': '预期',
|
|
181
|
+
'jr.exp.title': '步骤 {n} 应该做什么',
|
|
182
|
+
'jr.exp.body': '预览后,Sendproof 会将步骤写入的内容与此列表进行比较。只有当已批准差异记录涵盖某个差异时,该差异才会通过。',
|
|
183
|
+
'jr.exp.bodyNone': '此步骤没有预期的写入,因此只检查其成功标准。',
|
|
184
|
+
'jr.exp.noneTitle': '无预期写入',
|
|
185
|
+
'jr.exp.noneBody': '期望文档未为此步骤列出任何内容。',
|
|
186
|
+
'jr.exp.inferredBody': '从链接推断的旅程不带有期望。预览后,数据库标签页上的“复制为 C#”会提供应添加的写入。',
|
|
187
|
+
'jr.exp.nothing': '此步骤不应写入任何内容。',
|
|
188
|
+
'jr.exp.to': '到',
|
|
189
|
+
'jr.exp.subjectMatches': '主题',
|
|
190
|
+
'jr.exp.unlistedFail': '未列出的更改会使该步骤失败。',
|
|
191
|
+
'jr.exp.unlistedIgnore': '未列出的更改会被忽略。',
|
|
192
|
+
'jr.exp.ignored': '已忽略:',
|
|
193
|
+
'jr.succeedsWhen': '在以下情况下成功:',
|
|
194
|
+
'jr.matches': '匹配',
|
|
195
|
+
'jr.anyValue': '任意值',
|
|
196
|
+
'jr.anyType': '任意 {type}',
|
|
197
|
+
|
|
198
|
+
// The comparison after a step runs
|
|
199
|
+
'jr.show': '显示',
|
|
200
|
+
'jr.f.all': '全部',
|
|
201
|
+
'jr.f.problems': '问题',
|
|
202
|
+
'jr.f.approved': '已批准',
|
|
203
|
+
'jr.f.match': '匹配',
|
|
204
|
+
'jr.expectedWritten': '期望 {expected} · 已写入 {written}',
|
|
205
|
+
'jr.approvedDifferences': '已批准的差异',
|
|
206
|
+
'jr.matched': '匹配',
|
|
207
|
+
'jr.find.match': '匹配',
|
|
208
|
+
'jr.find.differs': '不同',
|
|
209
|
+
'jr.find.missing': '缺失',
|
|
210
|
+
'jr.find.extra': '多余',
|
|
211
|
+
'jr.find.approved': '已批准',
|
|
212
|
+
'jr.find.unchecked': '未检查',
|
|
213
|
+
'jr.result': '结果',
|
|
214
|
+
'jr.field': '字段',
|
|
215
|
+
'jr.written': '已写入',
|
|
216
|
+
'jr.condition': '条件',
|
|
217
|
+
'jr.actual': '实际',
|
|
218
|
+
'jr.notWritten': '未写入',
|
|
219
|
+
'jr.op.insert': '一次插入',
|
|
220
|
+
'jr.op.update': '一次更新',
|
|
221
|
+
'jr.op.delete': '一次删除',
|
|
222
|
+
'jr.op.write': '一次写入',
|
|
223
|
+
'jr.miss.keyed': '期望 {op},其中 {field} 为 {value}',
|
|
224
|
+
'jr.miss.plain': '期望 {op}',
|
|
225
|
+
'jr.miss.none': '没有匹配的更改',
|
|
226
|
+
'jr.miss.nothingIn': '此步骤中 {target} 没有发生任何变化。',
|
|
227
|
+
'jr.miss.noEffect': '此步骤中没有 {target} 被保留或发送。',
|
|
228
|
+
'jr.extra.title': '已写入,但未预期',
|
|
229
|
+
'jr.extra.body': '此步骤更改了 {target},而其期望未列出该项。',
|
|
230
|
+
'jr.unchecked.title': '未检查',
|
|
231
|
+
'jr.unchecked.body': 'Sendproof 在此处未为 {store} 植入检测,因此无法比较其写入。',
|
|
232
|
+
'jr.unchecked.notHooked': '此主机未为 {store} 植入检测,因此无法比较其写入。',
|
|
233
|
+
'jr.unchecked.notTraced': '被追踪的发送没有携带任何 {store} 变化,因此无法比较此写入。',
|
|
234
|
+
'jr.unchecked.noTrace': '此发送未被追踪,因此无法比较其写入。',
|
|
235
|
+
'jr.coveredBy': '由以下涵盖',
|
|
236
|
+
'jr.draft': '已批准差异草稿',
|
|
237
|
+
'jr.showInDatabase': '在数据库中显示',
|
|
238
|
+
'jr.showEffects': '显示副作用',
|
|
239
|
+
'jr.v.passedBody': '每次写入都与该步骤应写入的内容相匹配。',
|
|
240
|
+
'jr.v.approvedBody': '每个差异都由一条已批准差异记录涵盖。',
|
|
241
|
+
'jr.p.differs': '{field} 不同',
|
|
242
|
+
'jr.p.missing': '{target} 中没有任何变化',
|
|
243
|
+
'jr.p.noEffect': '没有 {kind} 被保留',
|
|
244
|
+
'jr.p.extra': '对 {target} 的一次意外写入',
|
|
245
|
+
'jr.p.criterion': '{condition} 为 {actual}',
|
|
246
|
+
'jr.p.more': ',还有 {n} 个',
|
|
247
|
+
|
|
248
|
+
// Approved-difference records
|
|
249
|
+
'jr.ad.by': '由 {name} 批准',
|
|
250
|
+
'jr.ad.expiresIn': { other: '将在 {n} 天后过期' },
|
|
251
|
+
'jr.ad.expired': '已过期',
|
|
252
|
+
'jr.ad.expiredBody': '已过期的记录不涵盖任何内容。请续期,或修正该期望。',
|
|
253
|
+
'jr.ad.extraRow': '多余的行',
|
|
254
|
+
'jr.ad.missingRow': '缺失的行',
|
|
255
|
+
'jr.ad.unused': '此次运行中没有任何内容需要它。如果情况持续,请将其从 {file} 中移除。',
|
|
256
|
+
'jr.ad.unusedCode': '此次运行中没有任何内容需要它。如果情况持续,请将其从旅程的代码中移除。',
|
|
257
|
+
'jr.ad.used': '已在此次运行中使用',
|
|
258
|
+
'jr.ad.notNeeded': '此次未需要',
|
|
259
|
+
'jr.ad.expiredTitle': '已过期',
|
|
260
|
+
'jr.ad.noneTitle': '无已批准的差异',
|
|
261
|
+
'jr.ad.noneBody': '此旅程没有已批准差异记录。',
|
|
262
|
+
|
|
263
|
+
// A stopped run
|
|
264
|
+
'jr.stop.eyebrow': '旅程已停止',
|
|
265
|
+
'jr.stop.refusedTitle': '步骤 {n} 被拒绝:{reason}',
|
|
266
|
+
'jr.stop.blockedTitle': '步骤 {n} 被预览防护阻止',
|
|
267
|
+
'jr.stop.titlePlain': '步骤 {n} 未满足其成功标准',
|
|
268
|
+
'jr.stop.expects': '旅程期望',
|
|
269
|
+
'jr.stop.answered': 'API 返回了 {status}',
|
|
270
|
+
'jr.stop.wroteNothing': '此步骤未写入任何内容。',
|
|
271
|
+
'jr.stop.wrote': '此步骤在被拒绝前已写入了更改。',
|
|
272
|
+
'jr.stop.traced': '已追踪发送:{changes} 项更改,{effects} 个副作用。',
|
|
273
|
+
'jr.stop.previewSafe': '未提交任何内容。',
|
|
274
|
+
'jr.stop.previewSafeBody': '此次运行的预览会话已回滚。',
|
|
275
|
+
'jr.stop.didntRun': { other: '步骤 {steps} 未运行。' },
|
|
276
|
+
'jr.stop.default': 'Arazzo 在失败时的默认行为是结束工作流。',
|
|
277
|
+
'jr.stop.left': { other: '被步骤 {steps} 留在数据库中' },
|
|
278
|
+
'jr.stop.sentForReal': '已真正发送',
|
|
279
|
+
'jr.stop.undoBody': '打开已填入此记录的操作,以撤销此次运行留下的内容。',
|
|
280
|
+
'jr.responseBody': '响应正文',
|
|
281
|
+
|
|
282
|
+
// The run summary
|
|
283
|
+
'jr.runId': '运行 {id}',
|
|
284
|
+
'jr.backToJourney': '返回旅程',
|
|
285
|
+
'jr.runDetails': '运行详情',
|
|
286
|
+
'jr.timeline': '时间线',
|
|
287
|
+
'jr.v.running': '正在运行',
|
|
288
|
+
'jr.v.cancelled': '在完成前结束',
|
|
289
|
+
'jr.v.passedAll': { other: '通过,全部 {n} 个步骤' },
|
|
290
|
+
'jr.v.passedApproved': { other: '通过 · {n} 个已批准' },
|
|
291
|
+
'jr.v.failedAt': '在步骤 {n} 处失败',
|
|
292
|
+
'jr.v.stoppedAt': '在步骤 {n} 处停止',
|
|
293
|
+
'jr.v.failedAtOf': '在步骤 {n}/{total} 处失败',
|
|
294
|
+
'jr.v.stoppedAtOf': '在步骤 {n}/{total} 处停止',
|
|
295
|
+
'jr.v.refusedLede': 'API 返回了 {status}。',
|
|
296
|
+
'jr.v.previewLede': '每个步骤都写入了应写入的内容,预览会话回滚了全部内容。',
|
|
297
|
+
'jr.v.sendLede': '每个步骤都写入了应写入的内容,每个步骤都已提交。',
|
|
298
|
+
'jr.by.ran': '运行了一次',
|
|
299
|
+
'jr.by.durTip': { other: '步骤自身耗时,共 {n} 个步骤。' },
|
|
300
|
+
'jr.by.rolledBack': '已回滚',
|
|
301
|
+
'jr.by.committed': '已提交',
|
|
302
|
+
'jr.sum.passedN': { other: '{n} 个通过' },
|
|
303
|
+
'jr.sum.failedN': { other: '{n} 个失败' },
|
|
304
|
+
'jr.sum.skippedN': { other: '{n} 个未运行' },
|
|
305
|
+
'jr.sum.kept': '写入差异不会停止运行,因此步骤 {n} 仍然运行了。',
|
|
306
|
+
'jr.sum.rolledTitle': '已回滚',
|
|
307
|
+
'jr.sum.rolledEnd': '未写入任何内容',
|
|
308
|
+
'jr.sum.writtenTitle': '已写入',
|
|
309
|
+
'jr.sum.writtenEnd': '由运行提交',
|
|
310
|
+
'jr.sum.changesUndone': { other: '{n} 项更改已撤销' },
|
|
311
|
+
'jr.sum.changesKept': { other: '{n} 项更改已提交' },
|
|
312
|
+
'jr.sum.effectsHeld': { other: '保留了 {n} 个,未发送任何' },
|
|
313
|
+
'jr.sum.effectsSent': { other: '已记录 {n} 个' },
|
|
314
|
+
'jr.sum.rolledBack': '已回滚',
|
|
315
|
+
'jr.sum.aborted': '已中止',
|
|
316
|
+
'jr.sum.committed': '已提交',
|
|
317
|
+
'jr.sum.discarded': '已丢弃',
|
|
318
|
+
'jr.sum.recorded': '已记录',
|
|
319
|
+
'jr.sum.outputsPreview': '来自已回滚的运行',
|
|
320
|
+
'jr.sum.outputsSend': '来自已提交的运行',
|
|
321
|
+
'jr.sum.notDone': '期望 {op},但没有任何变化',
|
|
322
|
+
'jr.sum.unexpected': '意外的 {op}',
|
|
323
|
+
'jr.sum.covered': '已涵盖',
|
|
324
|
+
'jr.sum.stepsFailed': { other: '{n} 个步骤失败' },
|
|
325
|
+
'jr.sum.allPassed': '每个步骤都通过',
|
|
326
|
+
'jr.openStep': '打开步骤 {n}',
|
|
327
|
+
'jr.copyOutput': '复制 {name}',
|
|
328
|
+
'jr.copyJson': '将运行复制为 JSON',
|
|
329
|
+
'jr.cli': '从终端或代理运行它',
|
|
330
|
+
'jr.copyCommand': '复制命令',
|
|
331
|
+
'jr.mcp': '代理使用与 MCP 工具相同的运行器:',
|
|
332
|
+
'jr.runKept': '运行 {id} · 保存在此浏览器中',
|
|
333
|
+
'jr.noInputs': '此旅程不需要任何输入。',
|
|
334
|
+
'jr.tl.startedPreview': '预览会话已打开',
|
|
335
|
+
'jr.tl.startedSend': '发送运行已开始',
|
|
336
|
+
'jr.tl.rolledBack': '会话已回滚',
|
|
337
|
+
'jr.tl.ended': '运行已结束',
|
|
338
|
+
'jr.finished': '{name}:{verdict}。',
|
|
339
|
+
'jr.reads': '读取',
|
|
340
|
+
'jr.readsOnlyTip': '仅读取:没有可比较的内容',
|
|
341
|
+
|
|
342
|
+
// Copy and drafts
|
|
343
|
+
'jr.copyCode': '复制',
|
|
344
|
+
'jr.copyCSharp': '复制为 C#',
|
|
345
|
+
'jr.copyCSharpTip': '将此预览的写入作为旅程类的 ExpectWrites 代码块',
|
|
346
|
+
'jr.copy.draft': '已批准差异草稿',
|
|
347
|
+
'jr.copy.csharp': 'ExpectWrites 代码块',
|
|
348
|
+
'jr.copy.run': '运行为 JSON',
|
|
349
|
+
'jr.copy.output': '输出',
|
|
350
|
+
'jr.copy.command': '命令',
|
|
351
|
+
'jr.copy.code': '代码',
|
|
352
|
+
'jr.copy.prompt': '提示',
|
|
353
|
+
|
|
354
|
+
// No journeys
|
|
355
|
+
'jr.empty.title': '此 API 尚无旅程',
|
|
356
|
+
'jr.empty.body': '旅程是一组完成某项任务的步骤,例如将订单推进到发货。您在代码中定义它:它的步骤、每个步骤传递的值,以及每个步骤应写入的内容。Sendproof 会在此处逐步运行它,而同一个旅程也会在 {test} 和 CI 中运行。',
|
|
357
|
+
'jr.empty.prompt.copy': '为您的代理复制提示',
|
|
358
|
+
'jr.empty.prompt': '为 {api} 编写 Sendproof 旅程。每个旅程都是一个派生自 Journey<TInputs>(Sendproof.Journeys)的 sealed class:从生成的 operations 类中获取操作,将每个步骤的请求绑定到输入和之前步骤的输出,为每个步骤设置 SucceedsWith,并用 ExpectWrites 描述其预期写入。使用 AddJourneys(typeof(Program).Assembly) 注册它们,然后用 JourneyTestSuite 运行 dotnet test,以检查它们是否通过。在批准任何差异之前,请先征求确认。',
|
|
359
|
+
'jr.empty.orByHand': '或者自己编写该类:',
|
|
360
|
+
'jr.empty.step1': '编写一个旅程类',
|
|
361
|
+
'jr.empty.step1Body': '操作、请求字段和表都是有类型的,因此错误的值无法编译通过。',
|
|
362
|
+
'jr.empty.step2': '注册这些旅程',
|
|
363
|
+
'jr.empty.step2Body': '启动时,它们会成为 Arazzo 和预期写入。',
|
|
364
|
+
'jr.empty.step3': '也将它们作为测试运行',
|
|
365
|
+
'jr.empty.step3Body': '每个旅程都会成为一个测试用例,在内存中进行预览。',
|
|
366
|
+
'jr.empty.arazzo': 'Arazzo Specification 1.1.0',
|
|
367
|
+
'jr.empty.bar': '尚无可运行的内容',
|
|
368
|
+
|
|
369
|
+
// Shortcuts
|
|
370
|
+
'shortcut.mode-spec': '规范模式',
|
|
371
|
+
'shortcut.mode-journeys': '旅程模式',
|
|
372
|
+
'shortcut.step-previous': '上一步',
|
|
373
|
+
'shortcut.step-next': '下一步',
|
|
374
|
+
'shortcut.run-to-end': '运行到结束',
|
|
375
|
+
|
|
376
|
+
// Dialogs (dialog.js, journeys-dialogs.js; mocks v8): the workbench never opens a native browser
|
|
377
|
+
// dialog. Journey, step, table and database names, addresses, roles and status codes are the
|
|
378
|
+
// API's own and are passed in as {placeholders}.
|
|
379
|
+
'dialog.close': '关闭',
|
|
380
|
+
'dialog.closeTip': '关闭 · Esc',
|
|
381
|
+
'dlg.cancel': '取消',
|
|
382
|
+
'dlg.close': '关闭',
|
|
383
|
+
|
|
384
|
+
// Send a run for real
|
|
385
|
+
'dlg.sendrun.title': '真的要发送此次运行吗?',
|
|
386
|
+
'dlg.sendrun.body': { other: '{name} 会发送全部 {n} 个步骤。它们写入的内容会保留。' },
|
|
387
|
+
'dlg.sendrun.kept': '运行后保留',
|
|
388
|
+
'dlg.sendrun.unknown': '此旅程未列出预期的写入,因此每个步骤都会提交其写入的所有内容。',
|
|
389
|
+
'dlg.sendrun.hint': '预览运行会检查相同的步骤,并回滚所有内容。',
|
|
390
|
+
'dlg.sendrun.go': '发送运行',
|
|
391
|
+
'dlg.store.in': '{places}中 {count}',
|
|
392
|
+
'dlg.store.inMore.table': { other: '{places}中 {count},另有 {n} 个表' },
|
|
393
|
+
'dlg.store.inMore.collection': { other: '{places}中 {count},另有 {n} 个集合' },
|
|
394
|
+
'dlg.email': '邮件',
|
|
395
|
+
'dlg.email.to': { other: '{n} 封邮件已送达 {to}' },
|
|
396
|
+
'dlg.email.sent': { other: '{n} 封邮件已送达' },
|
|
397
|
+
'dlg.effect.sent': { other: '已发送 {n} 个副作用' },
|
|
398
|
+
|
|
399
|
+
// End a Preview run partway
|
|
400
|
+
'dlg.endrun.title': '要结束此次预览运行吗?',
|
|
401
|
+
'dlg.endrun.body': { other: '结束保持中的会话会回滚全部 {n} 个步骤。未写入任何内容。' },
|
|
402
|
+
'dlg.endrun.bodyTwo': '结束保持中的会话会回滚两个步骤。未写入任何内容。',
|
|
403
|
+
'dlg.endrun.keep': '继续运行',
|
|
404
|
+
'dlg.endrun.end': '结束运行',
|
|
405
|
+
'dlg.endrun.held': '已保持 {time}',
|
|
406
|
+
'dlg.step.sub': '{status} · {time} · {what}',
|
|
407
|
+
'dlg.held': '{what} 已保持',
|
|
408
|
+
'dlg.readsOnly': '仅读取',
|
|
409
|
+
'dlg.held.emails': { other: '{n} 封邮件' },
|
|
410
|
+
'dlg.held.effects': { other: '{n} 个副作用' },
|
|
411
|
+
'dlg.held.effect': '{n} 个{kind}',
|
|
412
|
+
'dlg.units': { other: '{n} 件' },
|
|
413
|
+
|
|
414
|
+
// Stop a Send run partway
|
|
415
|
+
'dlg.stopsend.title': '要停止此次发送运行吗?',
|
|
416
|
+
'dlg.stopsend.sent': { other: '步骤 {steps} 已真正发送。停止会保留它们写入的内容。' },
|
|
417
|
+
'dlg.stopsend.skipped': { other: '步骤 {steps} 将不会运行。' },
|
|
418
|
+
'dlg.stopsend.left': '留在数据库中',
|
|
419
|
+
'dlg.stopsend.by': '步骤 {n}:{what}',
|
|
420
|
+
'dlg.stopsend.more': { other: '另有 {n} 项更改' },
|
|
421
|
+
'dlg.stopsend.moreIn': '{where}中另有 {n} 项',
|
|
422
|
+
'dlg.stopsend.moreStore': { other: '{n} 个 {store} 集合' },
|
|
423
|
+
'dlg.stopsend.moreTables': { other: '另有 {n} 张表' },
|
|
424
|
+
'dlg.stopsend.undoes': '撤销 {ref} 的步骤 {n}',
|
|
425
|
+
'dlg.stopsend.undoesStep': '撤销步骤 {n}',
|
|
426
|
+
'dlg.stopsend.keep': '继续',
|
|
427
|
+
'dlg.stopsend.stop': '停止运行',
|
|
428
|
+
'dlg.op.insert': '已插入', 'dlg.op.update': '已更新', 'dlg.op.delete': '已删除', 'dlg.op.write': '已写入', 'dlg.op.email': '已发送',
|
|
429
|
+
'dlg.range': '{from} 至 {to}',
|
|
430
|
+
|
|
431
|
+
// Switch persona while a Preview session is held
|
|
432
|
+
'dlg.persona.title': '要切换到 {name} 吗?',
|
|
433
|
+
'dlg.persona.body': { other: '你以 {from} 身份进行的预览运行将结束,其保持的 {n} 个步骤会回滚。' },
|
|
434
|
+
'dlg.persona.bodyAnon': { other: '你的预览运行将结束,其保持的 {n} 个步骤会回滚。' },
|
|
435
|
+
'dlg.persona.held': '预览已保持',
|
|
436
|
+
'dlg.persona.next': '切换到',
|
|
437
|
+
'dlg.persona.count': '{ok}/{total}',
|
|
438
|
+
'dlg.persona.access': { other: '{total} 个步骤中有 {ok} 个允许' },
|
|
439
|
+
'dlg.persona.seg': '{n}. {step}',
|
|
440
|
+
'dlg.persona.segRefused': '{n}. {step} · 已拒绝 (403)',
|
|
441
|
+
'dlg.persona.refused': { other: '{n} 个步骤被拒绝' },
|
|
442
|
+
'dlg.persona.refusedSub': { other: '{steps} 对 {role} 返回 403' },
|
|
443
|
+
'dlg.persona.foot': { other: '回滚 {n} 个保持中的步骤' },
|
|
444
|
+
'dlg.persona.stay': '继续使用 {name}',
|
|
445
|
+
'dlg.persona.stayAnon': '保持不变',
|
|
446
|
+
'dlg.persona.switch': '切换并结束运行',
|
|
447
|
+
|
|
448
|
+
// The Preview session ended on its own
|
|
449
|
+
'dlg.expired.title': '预览会话已结束',
|
|
450
|
+
'dlg.expired.idle': '它已闲置 {time},因此 Sendproof 将其回滚。未写入任何内容。',
|
|
451
|
+
'dlg.expired.gone': '它自行结束了,因此 Sendproof 将其回滚。未写入任何内容。',
|
|
452
|
+
'dlg.expired.ran': { other: '步骤 {steps} 已运行' },
|
|
453
|
+
'dlg.expired.ranSub': { other: '其结果保留在此次运行中' },
|
|
454
|
+
'dlg.expired.rolledBy': '最迟于 {time} 回滚',
|
|
455
|
+
'dlg.expired.rolledAt': '已于 {time} 回滚',
|
|
456
|
+
'dlg.expired.again': '重新开始',
|
|
457
|
+
|
|
458
|
+
// A Preview session that couldn't open
|
|
459
|
+
'jr.opening': '正在打开预览会话…',
|
|
460
|
+
'dlg.busy.title': '{store} 被另一个预览占用',
|
|
461
|
+
'dlg.busy.body': '另一个预览会话(可能在其他标签页,或是已关闭的标签页遗留的)占用了数据库。它会在 {time} 内自行结束。',
|
|
462
|
+
'dlg.busy.bodyNoTime': '另一个预览会话(可能在其他标签页,或是已关闭的标签页遗留的)占用了数据库。它会在空闲超时后自行结束。',
|
|
463
|
+
'dlg.busy.held': '被另一个预览会话占用',
|
|
464
|
+
'dlg.busy.again': '重试',
|
|
465
|
+
'dlg.openfail.title': '无法打开预览会话',
|
|
466
|
+
};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
// Chinese has a single plural category, so every plural entry carries only `other`.
|
|
5
5
|
import capture from './zh-Hans-capture.js';
|
|
6
6
|
import stores from './zh-Hans-stores.js';
|
|
7
|
+
import journeys from './zh-Hans-journeys.js';
|
|
7
8
|
|
|
8
9
|
export default {
|
|
9
10
|
dir: 'ltr',
|
|
@@ -13,6 +14,7 @@ export default {
|
|
|
13
14
|
strings: {
|
|
14
15
|
...capture,
|
|
15
16
|
...stores,
|
|
17
|
+
...journeys,
|
|
16
18
|
'app.name': 'Sendproof',
|
|
17
19
|
'kbd.then': '然后',
|
|
18
20
|
'unit.bytes': '{n} B',
|