Repository navigation
Expand file tree
/
Copy pathglossary.yml
More file actions
226 lines (197 loc) · 7.19 KB
/
Copy pathglossary.yml
File metadata and controls
226 lines (197 loc) · 7.19 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
225
226
# glossary.yml
#
# Purpose
# -------
# Product vocabulary for the OpenFn docs. Two consumers read this file:
#
# 1. The translate skill (.agents/skills/translate/SKILL.md). Any term with
# `translate: false` must appear verbatim in every translated page,
# unless `locales` gives a word for that page's locale.
# 2. The house style in STYLE.md. Any spelling in `variants` is replaced
# with `term` in English pages.
#
# Humans maintain this file. Add a term when a review shows the same
# correction being made more than once.
#
# Schema
# ------
# terms: # list of glossary entries
# - term: string # canonical English spelling (required)
# translate: boolean # false = keep verbatim in all locales (default false)
# product_noun: boolean # true = the rule only applies when the word is used
# # as the OpenFn concept, not as ordinary English
# # (e.g. "run" the noun, not "run the command").
# # Translators keep the product noun and may
# # translate the ordinary-English use. Default false.
# case_sensitive: boolean # true = the house-style check flags case variants too (default false)
# variants: [string] # spellings the house-style check flags, to replace with `term`
# note: string # guidance for humans and the agent
# locales: # optional. The word a locale uses instead of the
# es: string # English. Overrides translate: false for that
# fr: string # locale only; other locales keep the English.
#
# patterns: # regexes that are never translated, for families
# - pattern: string # of identifiers too numerous to list (adaptor
# note: string # package names, CLI flags, env vars, ...)
#
# Matching is whole-word for `term` and `variants`. Code blocks, inline code,
# URLs, and front matter are always exempt from the house-style check and translation.
terms:
- term: OpenFn
translate: false
case_sensitive: true
variants:
- Open Fn
- Openfn
- openFn
note: The product and organisation name. Never localised.
- term: Lightning
translate: false
case_sensitive: true
note: >-
The OpenFn web app (OpenFn/lightning). In user-facing docs prefer
"the OpenFn platform" or "the web app"; keep "Lightning" when the docs
refer to the repo or to self-hosting.
- term: adaptor
translate: false
variants:
- adapter
- Adapter
note: >-
Always "adaptor", never "adapter". Also covers "adaptors", "Adaptor",
"Adaptors". Adaptor package names are matched by the pattern below.
- term: workflow
translate: false
product_noun: true
note: >-
A Trigger plus Steps plus Paths configured on the Canvas or in
project.yaml. Keep "workflow" in translations when it names the OpenFn
object.
- term: step
translate: false
product_noun: true
note: A unit of work inside a workflow. Was "job" in OpenFn v1.
- term: job
translate: false
product_noun: true
note: >-
In v2 the job is the JavaScript expression a Step runs. Do not
"correct" v1 usage inside pages that are explicitly about v1 or
migration.
- term: credential
translate: false
product_noun: true
note: >-
Stored authentication configuration attached to a Step. Spanish translates
it because "credencial" looks almost the same as the English in the app.
Decide separately for each new locale.
locales:
es: credencial
- term: trigger
translate: false
product_noun: true
note: What starts a workflow. Types are webhook and cron.
- term: cron
translate: false
note: Trigger type and the scheduling syntax.
- term: webhook
translate: false
note: Trigger type. One word, lower case, no hyphen.
- term: run
translate: false
product_noun: true
note: >-
One execution of a workflow for a work order. Only the noun is
protected. "Run the CLI" is ordinary English and may be translated.
- term: attempt
translate: false
product_noun: true
note: >-
Legacy name for a run. Do not replace it in migration or historical
pages. In pages about current v2 behaviour, prefer "run" and record the
change as a Should change, not a direct edit.
- term: work order
translate: false
variants:
- workorder
- work-order
note: The record created when a trigger fires; owns one or more runs.
- term: project space
translate: false
note: Billing and hosting unit on the hosted OpenFn app.
- term: project
translate: false
product_noun: true
note: >-
Administrative grouping of workflows, credentials, and collaborators.
Spanish translates it because "proyecto" looks almost the same as the
English in the app. Decide separately for each new locale.
locales:
es: proyecto
- term: dataclip
translate: false
variants:
- data clip
- data-clip
note: A stored input or output state object.
- term: collection
translate: false
product_noun: true
note: >-
The Collections key-value store feature. Spanish translates it because
"colección" looks almost the same as the English in the app. Decide
separately for each new locale.
locales:
es: colección
- term: sandbox
translate: false
product_noun: true
note: A Lightning sandbox environment.
- term: Canvas
translate: false
case_sensitive: true
note: The visual workflow editor in the web app.
- term: Inspector
translate: false
case_sensitive: true
note: The step editing panel in the web app.
- term: CLI
translate: false
case_sensitive: true
note: "@openfn/cli. Also keep every CLI command and flag verbatim."
- term: state
translate: false
product_noun: true
note: >-
The `state` object passed between operations. Protected only when it
names the object (usually rendered in code as `state`).
- term: operation
translate: false
product_noun: true
note: >-
A function exported by an adaptor, e.g. `get()`, `upsert()`. Spanish
translates it because "operación" looks almost the same as the English in
the app. Decide separately for each new locale.
locales:
es: operación
- term: KoboToolbox
translate: false
case_sensitive: true
variants:
- KoboToolBox
- Kobo Toolbox
- Kobo ToolBox
note: >-
The data collection platform. Lower-case "b". "Kobo" on its own is fine
as a short name.
patterns:
- pattern: "@openfn/[a-z0-9-]+"
note: npm package names (adaptors, CLI, runtime).
- pattern: "language-[a-z0-9-]+"
note: Bare adaptor package names as they appear in the adaptor picker.
- pattern: "\\bopenfn [a-z][a-z-]*"
note: CLI subcommands such as `openfn deploy`, `openfn pull`.
- pattern: "\\b[A-Z][A-Z0-9_]{2,}\\b"
note: Environment variables and constants (OPENFN_API_KEY, WORKER_SECRET).
- pattern: "\\bproject\\.yaml\\b"
note: The project state file name.