@jsb188/app 1.1.11 → 1.1.12
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/package.json +7 -4
- package/src/constants/agent.ts +39 -62
- package/src/constants/app.ts +17 -0
- package/src/constants/wsActions.ts +7 -15
- package/src/i18n/account.ts +1 -1
- package/src/i18n/agent.ts +326 -88
- package/src/i18n/agentToolBusiness.ts +196 -0
- package/src/i18n/agentToolGrid.ts +137 -0
- package/src/i18n/agentToolWorkflow.ts +101 -0
- package/src/i18n/agent_note.ts +109 -0
- package/src/i18n/app.ts +23 -17
- package/src/i18n/auth.ts +28 -30
- package/src/i18n/billing.ts +3 -85
- package/src/i18n/c.ts +907 -0
- package/src/i18n/campaign.ts +842 -140
- package/src/i18n/datetime.ts +6 -0
- package/src/i18n/editor.ts +58 -0
- package/src/i18n/error.ts +307 -168
- package/src/i18n/field_doc_editor.ts +21 -0
- package/src/i18n/field_doc_programs.ts +52 -0
- package/src/i18n/field_docs.ts +170 -8
- package/src/i18n/index.ts +21 -5
- package/src/i18n/log.ts +232 -38
- package/src/i18n/memory.ts +18 -4
- package/src/i18n/note.ts +5 -3
- package/src/i18n/org.ts +93 -44
- package/src/i18n/schedule.ts +209 -0
- package/src/i18n/sheet.ts +102 -145
- package/src/i18n/sheet_formula.ts +165 -0
- package/src/i18n/workflow.ts +48 -9
- package/src/main.ts +2 -2
- package/src/platform.ts +89 -49
- package/src/types/ai.d.ts +19 -0
- package/src/types/app.d.ts +50 -57
- package/src/types/other.d.ts +8 -1
- package/src/utils/api.ts +46 -0
- package/src/utils/clientIP.ts +213 -0
- package/src/utils/color.ts +77 -0
- package/src/utils/csv.ts +19 -0
- package/src/utils/datetime.ts +207 -31
- package/src/utils/deferredSave.ts +89 -0
- package/src/utils/email.ts +50 -0
- package/src/utils/expression.helpers.ts +470 -0
- package/src/utils/expression.test.ts +793 -0
- package/src/utils/expression.ts +1633 -239
- package/src/utils/language.ts +9 -0
- package/src/utils/logic.ts +9 -162
- package/src/utils/number.ts +30 -11
- package/src/utils/object.ts +29 -0
- package/src/utils/promise.ts +78 -7
- package/src/utils/queryReset.ts +101 -14
- package/src/utils/string.test.ts +24 -39
- package/src/utils/string.ts +73 -143
- package/src/utils/url_client.ts +83 -14
- package/src/constants/billing.ts +0 -146
- package/src/i18n/agentDoc.ts +0 -110
- package/src/i18n/form.ts +0 -496
- package/src/types/form.d.ts +0 -101
- package/src/utils/billing.ts +0 -141
package/src/i18n/log.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
|
+
created_by_ai: 'Created by AI',
|
|
3
4
|
// General
|
|
4
5
|
log: 'Log',
|
|
5
6
|
logs: 'Logs',
|
|
6
|
-
all_logs: 'All logs',
|
|
7
7
|
related_logs: 'Related logs',
|
|
8
8
|
nothing_found: 'No logs found.',
|
|
9
9
|
log_missing: 'Log missing',
|
|
@@ -22,6 +22,7 @@ export default {
|
|
|
22
22
|
receipt_for: 'Receipt for',
|
|
23
23
|
otherParty: 'For',
|
|
24
24
|
childOrgName: 'For',
|
|
25
|
+
projectName: 'Project name',
|
|
25
26
|
market: 'Market',
|
|
26
27
|
marketCredits: 'Market credits',
|
|
27
28
|
marketCredits_ph: '$25 MC, $5 EBT, etc.',
|
|
@@ -29,6 +30,8 @@ export default {
|
|
|
29
30
|
seeding: 'Seeding',
|
|
30
31
|
transplanting: 'Transplanting',
|
|
31
32
|
field_work: 'Field work',
|
|
33
|
+
temperature: 'Cooking & Cooling',
|
|
34
|
+
inspections: 'Inspections',
|
|
32
35
|
harvest: 'Harvest',
|
|
33
36
|
harvested: 'Harvested',
|
|
34
37
|
post_harvest: 'Post-harvest',
|
|
@@ -52,16 +55,98 @@ export default {
|
|
|
52
55
|
note_ph: 'Write additional notes about this log.',
|
|
53
56
|
note_ph_voided: 'Voided logs cannot be edited.',
|
|
54
57
|
unknown_crop: 'Unknown crop',
|
|
55
|
-
delete_confirm_msg:
|
|
56
|
-
'Are you sure you want to delete this %{content}? This action cannot be undone.',
|
|
57
58
|
yes_delete_log: 'Yes, delete this %{content}',
|
|
58
|
-
loaded_more_than_:
|
|
59
|
-
|
|
60
|
-
change_sorting_option_for_more_data:
|
|
61
|
-
'Change the sorting option for more data.',
|
|
59
|
+
loaded_more_than_: 'You loaded more than %{limit} records. Refine your search to see more.',
|
|
60
|
+
change_sorting_option_for_more_data: 'Change the sorting option for more data.',
|
|
62
61
|
end_of_list_:
|
|
63
62
|
'You reached the end of this list with %{smart_count} record.||||' +
|
|
64
63
|
'You reached the end of this list with %{smart_count} records.',
|
|
64
|
+
logs_end: 'There is %{smart_count} log for this organization.||||' + 'There are %{smart_count} logs for this organization.',
|
|
65
|
+
logs_empty: "There aren't any logs for this organization.",
|
|
66
|
+
receipts_end:
|
|
67
|
+
'There is %{smart_count} receipt for this organization.||||' + 'There are %{smart_count} receipts for this organization.',
|
|
68
|
+
receipts_empty: "There aren't any receipts for this organization.",
|
|
69
|
+
sales_orders_end:
|
|
70
|
+
'There is %{smart_count} sales order for this organization.||||' +
|
|
71
|
+
'There are %{smart_count} sales orders for this organization.',
|
|
72
|
+
sales_orders_empty: "There aren't any sales orders for this organization.",
|
|
73
|
+
purchases_end:
|
|
74
|
+
'There is %{smart_count} purchase for this organization.||||' + 'There are %{smart_count} purchases for this organization.',
|
|
75
|
+
purchases_empty: "There aren't any purchases for this organization.",
|
|
76
|
+
seeding_logs_end:
|
|
77
|
+
'There is %{smart_count} seeding log for this organization.||||' +
|
|
78
|
+
'There are %{smart_count} seeding logs for this organization.',
|
|
79
|
+
seeding_logs_empty: "There aren't any seeding logs for this organization.",
|
|
80
|
+
greenhouse_seeding_logs_end:
|
|
81
|
+
'There is %{smart_count} greenhouse seeding log for this organization.||||' +
|
|
82
|
+
'There are %{smart_count} greenhouse seeding logs for this organization.',
|
|
83
|
+
greenhouse_seeding_logs_empty: "There aren't any greenhouse seeding logs for this organization.",
|
|
84
|
+
transplanting_logs_end:
|
|
85
|
+
'There is %{smart_count} transplanting log for this organization.||||' +
|
|
86
|
+
'There are %{smart_count} transplanting logs for this organization.',
|
|
87
|
+
transplanting_logs_empty: "There aren't any transplanting logs for this organization.",
|
|
88
|
+
harvest_logs_end:
|
|
89
|
+
'There is %{smart_count} harvest log for this organization.||||' +
|
|
90
|
+
'There are %{smart_count} harvest logs for this organization.',
|
|
91
|
+
harvest_logs_empty: "There aren't any harvest logs for this organization.",
|
|
92
|
+
post_harvest_logs_end:
|
|
93
|
+
'There is %{smart_count} post-harvest log for this organization.||||' +
|
|
94
|
+
'There are %{smart_count} post-harvest logs for this organization.',
|
|
95
|
+
post_harvest_logs_empty: "There aren't any post-harvest logs for this organization.",
|
|
96
|
+
field_work_logs_end:
|
|
97
|
+
'There is %{smart_count} field work log for this organization.||||' +
|
|
98
|
+
'There are %{smart_count} field work logs for this organization.',
|
|
99
|
+
field_work_logs_empty: "There aren't any field work logs for this organization.",
|
|
100
|
+
temperature_logs_end:
|
|
101
|
+
'There is %{smart_count} temperature log for this organization.||||' +
|
|
102
|
+
'There are %{smart_count} temperature logs for this organization.',
|
|
103
|
+
temperature_logs_empty: "There aren't any temperature logs for this organization.",
|
|
104
|
+
inspections_logs_end:
|
|
105
|
+
'There is %{smart_count} inspection log for this organization.||||' +
|
|
106
|
+
'There are %{smart_count} inspection logs for this organization.',
|
|
107
|
+
inspections_logs_empty: "There aren't any inspection logs for this organization.",
|
|
108
|
+
revision_history: 'History',
|
|
109
|
+
revision_history_empty: 'No revision history has been recorded yet.',
|
|
110
|
+
revision_history_failed: 'Revision history could not be loaded.',
|
|
111
|
+
revision_history_load_older: 'Load older revisions',
|
|
112
|
+
revision_history_more_failed: 'Older revisions could not be loaded.',
|
|
113
|
+
revision_title: 'Revision %{number} · %{action}',
|
|
114
|
+
revision_actor_at: '%{actor} · %{timestamp}',
|
|
115
|
+
revision_actor_with_id: '%{kind} %{id}',
|
|
116
|
+
revision_full_snapshot: 'A complete snapshot was recorded for this revision.',
|
|
117
|
+
revision_value_missing: '(not present)',
|
|
118
|
+
revision_download_proof: 'Download proof',
|
|
119
|
+
revision_proof_download_failed: 'The archived proof could not be downloaded.',
|
|
120
|
+
|
|
121
|
+
revision_action: {
|
|
122
|
+
BASELINE: 'Baseline',
|
|
123
|
+
CREATE: 'Created',
|
|
124
|
+
UPDATE: 'Updated',
|
|
125
|
+
DELETE: 'Deleted',
|
|
126
|
+
ATTACHMENT_LINK: 'Attachment linked',
|
|
127
|
+
ATTACHMENT_UNLINK: 'Attachment unlinked',
|
|
128
|
+
},
|
|
129
|
+
|
|
130
|
+
revision_actor: {
|
|
131
|
+
ACCOUNT: 'Account',
|
|
132
|
+
AGENT: 'Agent',
|
|
133
|
+
IMPORT: 'Import',
|
|
134
|
+
SYSTEM: 'System',
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
revision_change: {
|
|
138
|
+
ADD: 'Added %{path}: %{after}',
|
|
139
|
+
UPDATE: 'Changed %{path} from %{before} to %{after}',
|
|
140
|
+
REMOVE: 'Removed %{path}: %{before}',
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
revision_proof_status: {
|
|
144
|
+
NOT_REQUIRED: 'Proof not required',
|
|
145
|
+
PENDING: 'Proof pending',
|
|
146
|
+
VERIFIED: 'Proof verified',
|
|
147
|
+
FAILED: 'Proof failed',
|
|
148
|
+
UNANCHORED: 'Unanchored',
|
|
149
|
+
},
|
|
65
150
|
|
|
66
151
|
log_type_is_created_updated: 'When %{type} logs are created/updated.',
|
|
67
152
|
risk_flags: 'Potential risks',
|
|
@@ -82,6 +167,7 @@ export default {
|
|
|
82
167
|
edit_log: 'Edit log',
|
|
83
168
|
edit_invoice: 'Edit invoice',
|
|
84
169
|
edit_receipt: 'Edit receipt',
|
|
170
|
+
view_log: 'View log',
|
|
85
171
|
|
|
86
172
|
view_edit_log: 'View or edit log',
|
|
87
173
|
view_edit_invoice: 'View or edit invoice',
|
|
@@ -100,54 +186,104 @@ export default {
|
|
|
100
186
|
WORKFLOW: 'workflow',
|
|
101
187
|
},
|
|
102
188
|
|
|
189
|
+
rack_position: { top: 'Top', middle: 'Middle', bottom: 'Bottom' },
|
|
190
|
+
rack_temperature: { top: 'Top temperature', middle: 'Middle temperature', bottom: 'Bottom temperature' },
|
|
191
|
+
|
|
103
192
|
// Types
|
|
193
|
+
market_operations: 'Market operations',
|
|
104
194
|
type: {
|
|
195
|
+
APP_INTERACTIONS: 'Interactions',
|
|
196
|
+
FOOD_PRODUCTION: 'Production',
|
|
197
|
+
FOOD_WAREHOUSING: 'Warehousing',
|
|
198
|
+
FULFILLMENT: 'Fulfillment',
|
|
199
|
+
FOOD_TEMPERATURE: 'Food temperatures',
|
|
200
|
+
FOOD_INSPECTION: 'Inspections',
|
|
201
|
+
SANITATION: 'Sanitation',
|
|
202
|
+
SHIPPING_HANDLING: 'Shipping and handling',
|
|
203
|
+
EMS_INCIDENT: 'EMS incidents',
|
|
105
204
|
// #### ARABLE
|
|
106
|
-
SEED: 'Seed
|
|
205
|
+
SEED: 'Seed purchases',
|
|
107
206
|
PLANTING: 'Seeding & transplanting',
|
|
108
|
-
FIELD: 'Field',
|
|
207
|
+
FIELD: 'Field work',
|
|
109
208
|
HARVEST: 'Harvest',
|
|
110
209
|
POST_HARVEST: 'Post-harvest',
|
|
111
|
-
SALES: 'Sales
|
|
210
|
+
SALES: 'Sales orders',
|
|
112
211
|
WATER: 'Water testing',
|
|
113
212
|
CLEANING_AND_SANITATION: 'Cleaning and sanitation',
|
|
114
213
|
|
|
115
214
|
// #### FARMERS_MARKET
|
|
116
|
-
MARKET_RECEIPT: '
|
|
117
|
-
MARKET_OPERATION: '
|
|
118
|
-
VOID_MARKET_RECEIPT: '
|
|
215
|
+
MARKET_RECEIPT: 'Receipts',
|
|
216
|
+
MARKET_OPERATION: 'Market operations',
|
|
217
|
+
VOID_MARKET_RECEIPT: 'Voided receipts',
|
|
119
218
|
|
|
120
219
|
// #### GROWER_NETWORK
|
|
121
220
|
WORKER_PRACTICE: 'Personnel practices',
|
|
122
221
|
EQUIPMENT: 'Equipment & materials',
|
|
123
222
|
PRODUCTION_INPUT: 'Production inputs',
|
|
124
223
|
OPERATION: 'Operations',
|
|
224
|
+
|
|
225
|
+
// #### CONSTRUCTION_INSPECTION_AGENCY (OPERATION is shared above)
|
|
226
|
+
SITE_INSPECTION: 'Inspections',
|
|
227
|
+
PROJECT: 'Projects',
|
|
125
228
|
},
|
|
126
229
|
type_short: {
|
|
230
|
+
APP_INTERACTIONS: 'Interactions',
|
|
231
|
+
FOOD_PRODUCTION: 'Production',
|
|
232
|
+
FOOD_WAREHOUSING: 'Warehousing',
|
|
233
|
+
FULFILLMENT: 'Fulfillment',
|
|
234
|
+
FOOD_TEMPERATURE: 'Food temperatures',
|
|
235
|
+
FOOD_INSPECTION: 'Inspections',
|
|
236
|
+
SANITATION: 'Sanitation',
|
|
237
|
+
SHIPPING_HANDLING: 'Shipping and handling',
|
|
238
|
+
EMS_INCIDENT: 'EMS incidents',
|
|
127
239
|
// #### ARABLE
|
|
128
|
-
SEED: 'Seed
|
|
240
|
+
SEED: 'Seed purchases',
|
|
129
241
|
PLANTING: 'Planting',
|
|
130
|
-
FIELD: 'Field',
|
|
242
|
+
FIELD: 'Field work',
|
|
131
243
|
HARVEST: 'Harvest',
|
|
132
244
|
POST_HARVEST: 'Post-harvest',
|
|
133
|
-
SALES: '
|
|
245
|
+
SALES: 'Sales',
|
|
134
246
|
WATER: 'Water testing',
|
|
135
247
|
CLEANING_AND_SANITATION: 'Cleaning',
|
|
136
248
|
|
|
137
249
|
// #### FARMERS_MARKET
|
|
138
|
-
MARKET_RECEIPT: '
|
|
139
|
-
MARKET_OPERATION: '
|
|
140
|
-
VOID_MARKET_RECEIPT: '
|
|
250
|
+
MARKET_RECEIPT: 'Receipts',
|
|
251
|
+
MARKET_OPERATION: 'Operations',
|
|
252
|
+
VOID_MARKET_RECEIPT: 'Voided receipts',
|
|
141
253
|
|
|
142
254
|
// #### GROWER_NETWORK
|
|
143
255
|
WORKER_PRACTICE: 'Personnel',
|
|
144
256
|
EQUIPMENT: 'Equipment',
|
|
145
257
|
PRODUCTION_INPUT: 'Inputs',
|
|
146
258
|
OPERATION: 'Operations',
|
|
259
|
+
|
|
260
|
+
// #### CONSTRUCTION_INSPECTION_AGENCY (OPERATION is shared above)
|
|
261
|
+
SITE_INSPECTION: 'Inspections',
|
|
262
|
+
PROJECT: 'Projects',
|
|
147
263
|
},
|
|
148
264
|
|
|
149
265
|
// Activities
|
|
150
266
|
activity: {
|
|
267
|
+
CAMPAIGN_FORM_SUBMISSION: 'Form submission',
|
|
268
|
+
OTHER_PRODUCT_PROCESSING_ACTIVITY: 'Other product processing',
|
|
269
|
+
PRODUCT_TRANSFER: 'Product transfer',
|
|
270
|
+
OTHER_PRODUCT_STORAGE_HANDLING_ACTIVITY: 'Other storage & handling',
|
|
271
|
+
OTHER_PACKAGING_SHIPPING_ACTIVITY: 'Other packaging & shipping',
|
|
272
|
+
COOKING_TEMPERATURE: 'Cooking temperature',
|
|
273
|
+
COOLING_TEMPERATURE: 'Cooling temperature',
|
|
274
|
+
THERMOMETER_CALIBRATION: 'Thermometer calibration',
|
|
275
|
+
OTHER_FOOD_TEMPERATURE_ACTIVITY: 'Other food temperature',
|
|
276
|
+
FOOD_INGREDIENT: 'Ingredient inspection',
|
|
277
|
+
METAL_DETECTOR_X_RAY: 'Metal detector / X-ray check',
|
|
278
|
+
ALLERGEN: 'Allergen control',
|
|
279
|
+
OTHER_FOOD_SAFETY_ACTIVITY: 'Other food safety activity',
|
|
280
|
+
OTHER_HYGIENE_SANITATION_ACTIVITY: 'Other hygiene & sanitation',
|
|
281
|
+
PRE_SHIPMENT: 'Pre-shipment review',
|
|
282
|
+
PACKAGING_AND_LABEL: 'Packaging and label check',
|
|
283
|
+
OTHER_SHIPPING_HANDLING_ACTIVITY: 'Other shipping & handling',
|
|
284
|
+
EMS_INCIDENT_CHART: 'Patient care report',
|
|
285
|
+
EMS_CALL_OR_COMPUTER_AIDED_DISPATCH: 'CAD call sheet',
|
|
286
|
+
OTHER_EMS_INCIDENT_ACTIVITY: 'Other EMS incident activity',
|
|
151
287
|
// #### ARABLE
|
|
152
288
|
|
|
153
289
|
// # Seed activities
|
|
@@ -160,43 +296,43 @@ export default {
|
|
|
160
296
|
GREENHOUSE_SEEDING: 'Greenhouse seeding',
|
|
161
297
|
TRANSPLANTING: 'Transplanting',
|
|
162
298
|
SEED_COMPLIANCE_NOTE: 'Seeding compliance',
|
|
163
|
-
OTHER_TRANSPLANT_ACTIVITY: 'Other seeding/transplanting
|
|
299
|
+
OTHER_TRANSPLANT_ACTIVITY: 'Other seeding/transplanting',
|
|
164
300
|
|
|
165
301
|
// # Field activities
|
|
166
302
|
PREPARE_SOIL: 'Soil/bed preparation',
|
|
167
303
|
IRRIGATION: 'Irrigation, water management',
|
|
168
304
|
FERTILIZATION_COMPOST: 'Fertilization, compost',
|
|
169
|
-
PROTECT_CROP: 'Crop protection
|
|
305
|
+
PROTECT_CROP: 'Crop protection',
|
|
170
306
|
MONITOR_CROP: 'Crop monitoring',
|
|
171
307
|
PRUNING: 'Pruning',
|
|
172
|
-
STRUCTURE_MAINTENANCE: '
|
|
308
|
+
STRUCTURE_MAINTENANCE: 'Trellis/structure maintenance',
|
|
173
309
|
PREPARE_HARVEST: 'Preparing crops for harvest',
|
|
174
|
-
OTHER_FIELD_ACTIVITY: 'General field
|
|
310
|
+
OTHER_FIELD_ACTIVITY: 'General field note',
|
|
175
311
|
|
|
176
312
|
// # Harvest activities
|
|
177
313
|
HARVEST_CROP: 'Harvested crops',
|
|
178
314
|
HARVEST_COUNT: 'Counting/weighing crops',
|
|
179
315
|
SORT_GRADE: 'Sorting/grading crops',
|
|
180
316
|
YIELD_LOSS_ESTIMATE: 'Estimating yield or loss',
|
|
181
|
-
OTHER_HARVEST_ACTIVITY: 'Other harvest
|
|
317
|
+
OTHER_HARVEST_ACTIVITY: 'Other harvest',
|
|
182
318
|
|
|
183
319
|
// # Post-harvest activities
|
|
184
320
|
POST_HARVEST_HANDLING: 'Handling/grading produce',
|
|
185
321
|
POST_HARVEST_PACKAGING: 'Packaging/moving to storage',
|
|
186
322
|
COLD_STORAGE_TEMPERATURE: 'Cold storage temperature',
|
|
187
|
-
OTHER_POST_HARVEST_ACTIVITY: 'Other post-harvest
|
|
323
|
+
OTHER_POST_HARVEST_ACTIVITY: 'Other post-harvest',
|
|
188
324
|
|
|
189
325
|
// # Sales activities
|
|
190
|
-
SALE_PRODUCE_ORDER: '
|
|
191
|
-
OTHER_SALE_ORDER: '
|
|
326
|
+
SALE_PRODUCE_ORDER: 'Sales order (produce)',
|
|
327
|
+
OTHER_SALE_ORDER: 'Sales order (other)',
|
|
192
328
|
|
|
193
329
|
// # Water testing activities
|
|
194
|
-
WATER_TESTING: 'Water testing (chlorine
|
|
195
|
-
OTHER_WATER_TESTING_ACTIVITY: 'Other water testing
|
|
330
|
+
WATER_TESTING: 'Water testing (chlorine)',
|
|
331
|
+
OTHER_WATER_TESTING_ACTIVITY: 'Other water testing',
|
|
196
332
|
|
|
197
333
|
// # Food safety and operation notes
|
|
198
334
|
EMPLOYEE_NOTE: 'Employee note',
|
|
199
|
-
OPERATION_NOTE: 'General operation
|
|
335
|
+
OPERATION_NOTE: 'General operation note',
|
|
200
336
|
|
|
201
337
|
// #### FARMERS MARKET
|
|
202
338
|
|
|
@@ -210,9 +346,9 @@ export default {
|
|
|
210
346
|
// #### GROWER NETWORK
|
|
211
347
|
|
|
212
348
|
// # Grower network activities
|
|
213
|
-
HYGIENE_PROCEDURE: 'Hygiene
|
|
349
|
+
HYGIENE_PROCEDURE: 'Hygiene procedure',
|
|
214
350
|
SANITATION_PRACTICE: 'Sanitation',
|
|
215
|
-
PERSONNEL_PRACTICE: 'Personnel
|
|
351
|
+
PERSONNEL_PRACTICE: 'Personnel practice',
|
|
216
352
|
EQUIPMENT_MATERIAL: 'Equipment & materials',
|
|
217
353
|
PACKAGING_STORAGE: 'Packaging & storage',
|
|
218
354
|
ENVIRONMENT: 'Environment',
|
|
@@ -223,11 +359,50 @@ export default {
|
|
|
223
359
|
FERTILIZER_INPUT: 'Fertilizer inputs',
|
|
224
360
|
RECORDKEEPING: 'Recordkeeping',
|
|
225
361
|
FACILITIES: 'Infrastructure (physical)',
|
|
362
|
+
|
|
363
|
+
// #### CONSTRUCTION INSPECTION AGENCY
|
|
364
|
+
|
|
365
|
+
// # Site inspection activities
|
|
366
|
+
MATERIAL: 'Construction materials',
|
|
367
|
+
MATERIAL_TESTING: 'Material testing',
|
|
368
|
+
BEHAVIOR_ISSUE: 'Worker conduct or safety',
|
|
369
|
+
OTHER_INSPECTION_ACTIVITY: 'Other inspection',
|
|
370
|
+
|
|
371
|
+
// # Project activities
|
|
372
|
+
PROJECT_SCHEDULING: 'Project scheduling',
|
|
373
|
+
PROJECT_SCOPE: 'Project scope or changes',
|
|
374
|
+
PROJECT_PROGRESS: 'Project progress',
|
|
375
|
+
PROJECT_BID_PROPOSAL: 'Bid or proposal',
|
|
376
|
+
PROJECT_BILLING_INVOICE: 'Billing or invoice',
|
|
377
|
+
OTHER_PROJECT_ACTIVITY: 'Other project activity',
|
|
378
|
+
|
|
379
|
+
// # Operation activities (RECORDKEEPING and OPERATION_NOTE are shared above)
|
|
380
|
+
OFFICE_NOTE: 'Office note',
|
|
226
381
|
},
|
|
227
382
|
|
|
228
383
|
// Short versions will override longer version for UI purposes
|
|
229
384
|
|
|
230
385
|
activity_short: {
|
|
386
|
+
CAMPAIGN_FORM_SUBMISSION: 'Form',
|
|
387
|
+
OTHER_PRODUCT_PROCESSING_ACTIVITY: 'Other processing',
|
|
388
|
+
PRODUCT_TRANSFER: 'Product transfer',
|
|
389
|
+
OTHER_PRODUCT_STORAGE_HANDLING_ACTIVITY: 'Other storage/handling',
|
|
390
|
+
OTHER_PACKAGING_SHIPPING_ACTIVITY: 'Other packaging/shipping',
|
|
391
|
+
COOKING_TEMPERATURE: 'Cooking temperature',
|
|
392
|
+
COOLING_TEMPERATURE: 'Cooling temperature',
|
|
393
|
+
THERMOMETER_CALIBRATION: 'Thermometer calibration',
|
|
394
|
+
OTHER_FOOD_TEMPERATURE_ACTIVITY: 'Other food temperature',
|
|
395
|
+
FOOD_INGREDIENT: 'Ingredient inspection',
|
|
396
|
+
METAL_DETECTOR_X_RAY: 'Metal detector / X-ray check',
|
|
397
|
+
ALLERGEN: 'Allergen control',
|
|
398
|
+
OTHER_FOOD_SAFETY_ACTIVITY: 'Other food safety activity',
|
|
399
|
+
OTHER_HYGIENE_SANITATION_ACTIVITY: 'Other hygiene/sanitation',
|
|
400
|
+
PRE_SHIPMENT: 'Pre-shipment review',
|
|
401
|
+
PACKAGING_AND_LABEL: 'Packaging and label check',
|
|
402
|
+
OTHER_SHIPPING_HANDLING_ACTIVITY: 'Other shipping/handling',
|
|
403
|
+
EMS_INCIDENT_CHART: 'Patient care report',
|
|
404
|
+
EMS_CALL_OR_COMPUTER_AIDED_DISPATCH: 'CAD call sheet',
|
|
405
|
+
OTHER_EMS_INCIDENT_ACTIVITY: 'Other EMS incident activity',
|
|
231
406
|
// # Seed activities
|
|
232
407
|
SEED_PURCHASE_INFO: 'Seed purchase',
|
|
233
408
|
OTHER_SUPPLY_PURCHASE_ACTIVITY: 'Supply purchase',
|
|
@@ -237,19 +412,19 @@ export default {
|
|
|
237
412
|
DIRECT_SEEDING: 'Direct seeding',
|
|
238
413
|
GREENHOUSE_SEEDING: 'Greenhouse seeding',
|
|
239
414
|
TRANSPLANTING: 'Transplanting',
|
|
240
|
-
SEED_COMPLIANCE_NOTE: '
|
|
415
|
+
SEED_COMPLIANCE_NOTE: 'Note',
|
|
241
416
|
OTHER_TRANSPLANT_ACTIVITY: 'Other',
|
|
242
417
|
|
|
243
418
|
// # Field activities
|
|
244
419
|
PREPARE_SOIL: 'Soil prep',
|
|
245
420
|
IRRIGATION: 'Irrigation',
|
|
246
421
|
FERTILIZATION_COMPOST: 'Fertilization',
|
|
247
|
-
PROTECT_CROP: '
|
|
422
|
+
PROTECT_CROP: 'Crop protection',
|
|
248
423
|
MONITOR_CROP: 'Monitoring',
|
|
249
424
|
PRUNING: 'Pruning',
|
|
250
|
-
STRUCTURE_MAINTENANCE: 'Structure',
|
|
425
|
+
STRUCTURE_MAINTENANCE: 'Structure maintenance',
|
|
251
426
|
PREPARE_HARVEST: 'Harvest prep',
|
|
252
|
-
OTHER_FIELD_ACTIVITY: '
|
|
427
|
+
OTHER_FIELD_ACTIVITY: 'Note',
|
|
253
428
|
|
|
254
429
|
// # Harvest activities
|
|
255
430
|
HARVEST_CROP: 'Harvested',
|
|
@@ -265,8 +440,8 @@ export default {
|
|
|
265
440
|
OTHER_POST_HARVEST_ACTIVITY: 'Post-harvest',
|
|
266
441
|
|
|
267
442
|
// # Sales activities
|
|
268
|
-
SALE_PRODUCE_ORDER: '
|
|
269
|
-
OTHER_SALE_ORDER: '
|
|
443
|
+
SALE_PRODUCE_ORDER: 'Sale',
|
|
444
|
+
OTHER_SALE_ORDER: 'Sale (other)',
|
|
270
445
|
|
|
271
446
|
// # Water testing activities
|
|
272
447
|
WATER_TESTING: 'Water testing',
|
|
@@ -300,6 +475,25 @@ export default {
|
|
|
300
475
|
FERTILIZER_INPUT: 'Fertilizer',
|
|
301
476
|
RECORDKEEPING: 'Records',
|
|
302
477
|
FACILITIES: 'Infrastructure',
|
|
478
|
+
|
|
479
|
+
// #### CONSTRUCTION INSPECTION AGENCY
|
|
480
|
+
|
|
481
|
+
// # Site inspection activities
|
|
482
|
+
MATERIAL: 'Materials',
|
|
483
|
+
MATERIAL_TESTING: 'Testing',
|
|
484
|
+
BEHAVIOR_ISSUE: 'Conduct',
|
|
485
|
+
OTHER_INSPECTION_ACTIVITY: 'Inspection',
|
|
486
|
+
|
|
487
|
+
// # Project activities
|
|
488
|
+
PROJECT_SCHEDULING: 'Schedule',
|
|
489
|
+
PROJECT_SCOPE: 'Scope',
|
|
490
|
+
PROJECT_PROGRESS: 'Progress',
|
|
491
|
+
PROJECT_BID_PROPOSAL: 'Bid/proposal',
|
|
492
|
+
PROJECT_BILLING_INVOICE: 'Billing',
|
|
493
|
+
OTHER_PROJECT_ACTIVITY: 'Project',
|
|
494
|
+
|
|
495
|
+
// # Operation activities (RECORDKEEPING and OPERATION_NOTE are shared above)
|
|
496
|
+
OFFICE_NOTE: 'Office',
|
|
303
497
|
},
|
|
304
498
|
|
|
305
499
|
// Search sort
|
package/src/i18n/memory.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
|
-
assistant_memories: '
|
|
3
|
+
assistant_memories: 'Memories',
|
|
4
4
|
screen_description:
|
|
5
|
-
'
|
|
6
|
-
empty_state:
|
|
7
|
-
'The assistant has not learned anything yet. Tell it a standing rule in chat and it will appear here.',
|
|
5
|
+
'Manage facts the assistant remembers for your organization, members, and contacts. Choose which channels use each memory.',
|
|
6
|
+
empty_state: 'No memories match this selection. Add a memory here or teach the assistant a standing fact in a conversation.',
|
|
8
7
|
|
|
9
8
|
what_is_remembered: 'Remembered',
|
|
10
9
|
applies_to: 'Applies to',
|
|
@@ -16,6 +15,20 @@ export default {
|
|
|
16
15
|
scope_organization: 'Everyone',
|
|
17
16
|
scope_you: 'Only you',
|
|
18
17
|
scope_customer: 'One customer',
|
|
18
|
+
scope_member: 'Organization member',
|
|
19
|
+
select_member: 'Select member',
|
|
20
|
+
select_contact: 'Select contact',
|
|
21
|
+
search_contacts: 'Search contacts',
|
|
22
|
+
all_contacts: 'All contacts',
|
|
23
|
+
add_memory: 'Add memory',
|
|
24
|
+
edit_memory: 'Edit memory',
|
|
25
|
+
channels: 'Channels',
|
|
26
|
+
channels_help: 'Leave all unchecked to use this memory in every channel.',
|
|
27
|
+
surface_all: 'All channels',
|
|
28
|
+
surface_CHAT: 'Chat',
|
|
29
|
+
surface_EMAIL: 'Email',
|
|
30
|
+
surface_WORKFLOW: 'Workflows',
|
|
31
|
+
save_failed: 'The memory could not be saved. Review the error and try again.',
|
|
19
32
|
|
|
20
33
|
category_UNIT: 'Units',
|
|
21
34
|
category_PRODUCT: 'Products',
|
|
@@ -28,6 +41,7 @@ export default {
|
|
|
28
41
|
status_protected: 'Protected',
|
|
29
42
|
|
|
30
43
|
learned_automatically: 'Learned from a conversation',
|
|
44
|
+
learned_from_email: 'Learned from an email',
|
|
31
45
|
told_by: 'Told by %{name}',
|
|
32
46
|
told_in_chat: 'Told in chat',
|
|
33
47
|
edited_here: 'Edited here',
|
package/src/i18n/note.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
|
-
// Editor block/format menu (consumed by the @jsb188/
|
|
4
|
-
// package; entity texts for the agent docs feature live in agentDoc.ts)
|
|
3
|
+
// Editor block/format menu (consumed by the @jsb188/editor package)
|
|
5
4
|
|
|
6
5
|
block_paragraph: 'Paragraph',
|
|
7
6
|
block_heading_1: 'Heading 1',
|
|
@@ -11,7 +10,10 @@ export default {
|
|
|
11
10
|
block_ordered_list: 'Numbered list',
|
|
12
11
|
block_quote: 'Quote',
|
|
13
12
|
block_divider: 'Divider',
|
|
14
|
-
|
|
13
|
+
clear_formatting: 'Clear formatting',
|
|
15
14
|
highlight_color: 'Highlight color',
|
|
15
|
+
inline_code: 'Inline code',
|
|
16
|
+
insert_image: 'Insert image',
|
|
17
|
+
link_prompt: 'Enter a link URL',
|
|
16
18
|
},
|
|
17
19
|
};
|