@jsb188/app 1.0.4 → 1.1.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.
Files changed (104) hide show
  1. package/package.json +57 -37
  2. package/src/constants/agent.ts +74 -0
  3. package/src/constants/app.ts +389 -0
  4. package/src/constants/emoji.ts +9153 -0
  5. package/src/constants/other.ts +13 -0
  6. package/src/constants/user.ts +27 -0
  7. package/src/constants/wsActions.ts +49 -0
  8. package/src/i18n/account.ts +139 -0
  9. package/src/i18n/agent.ts +397 -0
  10. package/src/i18n/agentToolBusiness.ts +196 -0
  11. package/src/i18n/agentToolGrid.ts +137 -0
  12. package/src/i18n/agentToolWorkflow.ts +101 -0
  13. package/src/i18n/agent_note.ts +109 -0
  14. package/src/i18n/app.ts +124 -0
  15. package/src/i18n/auth.ts +128 -0
  16. package/src/i18n/billing.ts +7 -0
  17. package/src/i18n/c.ts +907 -0
  18. package/src/i18n/campaign.ts +919 -0
  19. package/src/i18n/country.ts +249 -0
  20. package/src/i18n/datetime.ts +66 -0
  21. package/src/i18n/editor.ts +58 -0
  22. package/src/i18n/error.ts +579 -0
  23. package/src/i18n/field_doc_editor.ts +21 -0
  24. package/src/i18n/field_doc_programs.ts +52 -0
  25. package/src/i18n/field_docs.ts +190 -0
  26. package/src/i18n/index.ts +64 -0
  27. package/src/i18n/log.ts +566 -0
  28. package/src/i18n/memory.ts +59 -0
  29. package/src/i18n/message.ts +13 -0
  30. package/src/i18n/note.ts +19 -0
  31. package/src/i18n/org.ts +306 -0
  32. package/src/i18n/schedule.ts +209 -0
  33. package/src/i18n/sheet.ts +339 -0
  34. package/src/i18n/sheet_formula.ts +165 -0
  35. package/src/i18n/workflow.ts +111 -0
  36. package/src/main.ts +89 -0
  37. package/src/platform.ts +166 -0
  38. package/src/types/ai.d.ts +63 -0
  39. package/src/types/app.d.ts +127 -0
  40. package/src/types/auth.d.ts +94 -0
  41. package/src/types/console.d.ts +3 -0
  42. package/src/types/node-polyglot.d.ts +23 -0
  43. package/src/types/other.d.ts +66 -0
  44. package/src/types.d.ts +29 -0
  45. package/src/utils/account.ts +97 -0
  46. package/src/utils/api.ts +358 -0
  47. package/src/utils/authSession.ts +24 -0
  48. package/src/utils/clientIP.ts +213 -0
  49. package/src/utils/color.ts +279 -0
  50. package/src/utils/cron.ts +310 -0
  51. package/src/utils/csv.ts +19 -0
  52. package/src/utils/datetime.ts +1394 -0
  53. package/src/utils/deferredSave.ts +89 -0
  54. package/src/utils/email.ts +39 -0
  55. package/src/utils/emoji.ts +174 -0
  56. package/src/utils/expression.helpers.ts +470 -0
  57. package/src/utils/expression.test.ts +793 -0
  58. package/src/utils/expression.ts +2261 -0
  59. package/src/utils/interval.ts +80 -0
  60. package/src/utils/language.ts +9 -0
  61. package/src/utils/logic.ts +299 -0
  62. package/src/utils/managedSession.ts +34 -0
  63. package/src/utils/managedSessionBff.test.ts +60 -0
  64. package/src/utils/managedSessionBff.ts +117 -0
  65. package/src/utils/number.ts +338 -0
  66. package/src/utils/object.ts +916 -0
  67. package/src/utils/promise.ts +98 -0
  68. package/src/utils/queryReset.ts +266 -0
  69. package/src/utils/recurringTask.ts +60 -0
  70. package/src/utils/schema.ts +293 -0
  71. package/src/utils/string.test.ts +278 -0
  72. package/src/utils/string.ts +709 -0
  73. package/src/utils/timeZone.ts +2048 -0
  74. package/src/utils/url_client.ts +206 -0
  75. package/tsconfig.json +12 -0
  76. package/constants/app.ts +0 -47
  77. package/constants/billing.ts +0 -146
  78. package/constants/emoji.ts +0 -8945
  79. package/constants/user.ts +0 -36
  80. package/constants/ws.ts +0 -47
  81. package/i18n/app.ts +0 -99
  82. package/i18n/auth.ts +0 -57
  83. package/i18n/billing.ts +0 -94
  84. package/i18n/datetime.ts +0 -22
  85. package/i18n/error.ts +0 -138
  86. package/i18n/form.ts +0 -73
  87. package/i18n/index.ts +0 -6
  88. package/i18n/user.ts +0 -98
  89. package/main.ts +0 -62
  90. package/types/app.d.ts +0 -46
  91. package/types/datetime.d.ts +0 -10
  92. package/types/form.d.ts +0 -56
  93. package/types/user.d.ts +0 -52
  94. package/types.d.ts +0 -23
  95. package/utils/api.ts +0 -99
  96. package/utils/billing.ts +0 -134
  97. package/utils/datetime.ts +0 -358
  98. package/utils/emoji.ts +0 -151
  99. package/utils/logic.ts +0 -115
  100. package/utils/number.ts +0 -115
  101. package/utils/object.ts +0 -367
  102. package/utils/string.ts +0 -211
  103. package/utils/url_client.ts +0 -138
  104. package/utils/user.ts +0 -273
@@ -0,0 +1,566 @@
1
+ export default {
2
+ en: {
3
+ created_by_ai: 'Created by AI',
4
+ // General
5
+ log: 'Log',
6
+ logs: 'Logs',
7
+ related_logs: 'Related logs',
8
+ nothing_found: 'No logs found.',
9
+ log_missing: 'Log missing',
10
+ log_missing_msg: 'There was a problem loading this log.',
11
+ no_message_associated: 'There is no message associated with this log.',
12
+ original_message: 'Original message',
13
+ unit_arable_ph: 'lbs',
14
+ location_arable_ph: 'Field A, Row 4, etc.',
15
+ location_water_ph: 'Water source A, etc.',
16
+ fieldLocation: 'Field',
17
+ crop_ph: 'Tomato, broccoli, etc.',
18
+ purchases: 'Purchases',
19
+ supply_purchases: 'Supply purchases',
20
+ note_from_ai: 'Note from AI',
21
+ logType: 'Log type',
22
+ receipt_for: 'Receipt for',
23
+ otherParty: 'For',
24
+ childOrgName: 'For',
25
+ projectName: 'Project name',
26
+ market: 'Market',
27
+ marketCredits: 'Market credits',
28
+ marketCredits_ph: '$25 MC, $5 EBT, etc.',
29
+ greenhouse_seeding: 'Greenhouse seeding',
30
+ seeding: 'Seeding',
31
+ transplanting: 'Transplanting',
32
+ field_work: 'Field work',
33
+ temperature: 'Cooking & Cooling',
34
+ inspections: 'Inspections',
35
+ harvest: 'Harvest',
36
+ harvested: 'Harvested',
37
+ post_harvest: 'Post-harvest',
38
+ food_safety: 'Food safety',
39
+ hygiene: 'Hygiene',
40
+ sanitation: 'Sanitation',
41
+ materials: 'Materials',
42
+ employees: 'Employees',
43
+ name_of_credit: 'Name of credit',
44
+ water_testing: 'Chlorine levels',
45
+ vendor: 'Vendor',
46
+ invoice_number: 'Invoice number',
47
+ 'invoice_#': 'Invoice #',
48
+ invoice_item: 'Invoice item',
49
+ invoice_items: 'Invoice items',
50
+ invoice_items_ph: 'Name of item, etc.',
51
+ receipt_number: 'Receipt number',
52
+ receipt_is_void: 'Receipt is void',
53
+ receipt_is_not_void: 'Receipt is not void',
54
+ no_permissions_to_edit: 'You do not have edit permissions.',
55
+ note_ph: 'Write additional notes about this log.',
56
+ note_ph_voided: 'Voided logs cannot be edited.',
57
+ unknown_crop: 'Unknown crop',
58
+ yes_delete_log: 'Yes, delete this %{content}',
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.',
61
+ end_of_list_:
62
+ 'You reached the end of this list with %{smart_count} record.||||' +
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
+ },
150
+
151
+ log_type_is_created_updated: 'When %{type} logs are created/updated.',
152
+ risk_flags: 'Potential risks',
153
+ no_potential_risks: 'This log does not indicate any potential risks.',
154
+ animalRisk: 'Animal risk',
155
+ equipmentRisk: 'Equipment risk',
156
+ fieldRisk: 'Field risk',
157
+ contaminationRisk: 'Contamination risk',
158
+ hygieneRisk: 'Hygiene risk',
159
+ pestsRisk: 'Pests risk',
160
+ sanitationRisk: 'Sanitation risk',
161
+
162
+ // Need one of each for every {contentName} for log
163
+ inline_log: 'log',
164
+ inline_invoice: 'invoice',
165
+ inline_receipt: 'receipt',
166
+
167
+ edit_log: 'Edit log',
168
+ edit_invoice: 'Edit invoice',
169
+ edit_receipt: 'Edit receipt',
170
+ view_log: 'View log',
171
+
172
+ view_edit_log: 'View or edit log',
173
+ view_edit_invoice: 'View or edit invoice',
174
+ view_edit_receipt: 'View or edit receipt',
175
+
176
+ delete_log: 'Delete log',
177
+ delete_invoice: 'Delete invoice',
178
+ delete_receipt: 'Delete receipt',
179
+
180
+ // Source of log entry save
181
+
182
+ source: {
183
+ EMAIL: 'email',
184
+ SMS: 'SMS',
185
+ WEB: 'web',
186
+ WORKFLOW: 'workflow',
187
+ },
188
+
189
+ rack_position: { top: 'Top', middle: 'Middle', bottom: 'Bottom' },
190
+ rack_temperature: { top: 'Top temperature', middle: 'Middle temperature', bottom: 'Bottom temperature' },
191
+
192
+ // Types
193
+ market_operations: 'Market operations',
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',
204
+ // #### ARABLE
205
+ SEED: 'Seed purchases',
206
+ PLANTING: 'Seeding & transplanting',
207
+ FIELD: 'Field work',
208
+ HARVEST: 'Harvest',
209
+ POST_HARVEST: 'Post-harvest',
210
+ SALES: 'Sales orders',
211
+ WATER: 'Water testing',
212
+ CLEANING_AND_SANITATION: 'Cleaning and sanitation',
213
+
214
+ // #### FARMERS_MARKET
215
+ MARKET_RECEIPT: 'Receipts',
216
+ MARKET_OPERATION: 'Market operations',
217
+ VOID_MARKET_RECEIPT: 'Voided receipts',
218
+
219
+ // #### GROWER_NETWORK
220
+ WORKER_PRACTICE: 'Personnel practices',
221
+ EQUIPMENT: 'Equipment & materials',
222
+ PRODUCTION_INPUT: 'Production inputs',
223
+ OPERATION: 'Operations',
224
+
225
+ // #### CONSTRUCTION_INSPECTION_AGENCY (OPERATION is shared above)
226
+ SITE_INSPECTION: 'Inspections',
227
+ PROJECT: 'Projects',
228
+ },
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',
239
+ // #### ARABLE
240
+ SEED: 'Seed purchases',
241
+ PLANTING: 'Planting',
242
+ FIELD: 'Field work',
243
+ HARVEST: 'Harvest',
244
+ POST_HARVEST: 'Post-harvest',
245
+ SALES: 'Sales',
246
+ WATER: 'Water testing',
247
+ CLEANING_AND_SANITATION: 'Cleaning',
248
+
249
+ // #### FARMERS_MARKET
250
+ MARKET_RECEIPT: 'Receipts',
251
+ MARKET_OPERATION: 'Operations',
252
+ VOID_MARKET_RECEIPT: 'Voided receipts',
253
+
254
+ // #### GROWER_NETWORK
255
+ WORKER_PRACTICE: 'Personnel',
256
+ EQUIPMENT: 'Equipment',
257
+ PRODUCTION_INPUT: 'Inputs',
258
+ OPERATION: 'Operations',
259
+
260
+ // #### CONSTRUCTION_INSPECTION_AGENCY (OPERATION is shared above)
261
+ SITE_INSPECTION: 'Inspections',
262
+ PROJECT: 'Projects',
263
+ },
264
+
265
+ // Activities
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',
287
+ // #### ARABLE
288
+
289
+ // # Seed activities
290
+ SEED_PURCHASE_INFO: 'Seed purchase',
291
+ OTHER_SUPPLY_PURCHASE_ACTIVITY: 'Other supply purchase',
292
+
293
+ // # Transplanting activities
294
+ SEEDING: 'Seeding',
295
+ DIRECT_SEEDING: 'Direct seeding',
296
+ GREENHOUSE_SEEDING: 'Greenhouse seeding',
297
+ TRANSPLANTING: 'Transplanting',
298
+ SEED_COMPLIANCE_NOTE: 'Seeding compliance',
299
+ OTHER_TRANSPLANT_ACTIVITY: 'Other seeding/transplanting',
300
+
301
+ // # Field activities
302
+ PREPARE_SOIL: 'Soil/bed preparation',
303
+ IRRIGATION: 'Irrigation, water management',
304
+ FERTILIZATION_COMPOST: 'Fertilization, compost',
305
+ PROTECT_CROP: 'Crop protection',
306
+ MONITOR_CROP: 'Crop monitoring',
307
+ PRUNING: 'Pruning',
308
+ STRUCTURE_MAINTENANCE: 'Trellis/structure maintenance',
309
+ PREPARE_HARVEST: 'Preparing crops for harvest',
310
+ OTHER_FIELD_ACTIVITY: 'General field note',
311
+
312
+ // # Harvest activities
313
+ HARVEST_CROP: 'Harvested crops',
314
+ HARVEST_COUNT: 'Counting/weighing crops',
315
+ SORT_GRADE: 'Sorting/grading crops',
316
+ YIELD_LOSS_ESTIMATE: 'Estimating yield or loss',
317
+ OTHER_HARVEST_ACTIVITY: 'Other harvest',
318
+
319
+ // # Post-harvest activities
320
+ POST_HARVEST_HANDLING: 'Handling/grading produce',
321
+ POST_HARVEST_PACKAGING: 'Packaging/moving to storage',
322
+ COLD_STORAGE_TEMPERATURE: 'Cold storage temperature',
323
+ OTHER_POST_HARVEST_ACTIVITY: 'Other post-harvest',
324
+
325
+ // # Sales activities
326
+ SALE_PRODUCE_ORDER: 'Sales order (produce)',
327
+ OTHER_SALE_ORDER: 'Sales order (other)',
328
+
329
+ // # Water testing activities
330
+ WATER_TESTING: 'Water testing (chlorine)',
331
+ OTHER_WATER_TESTING_ACTIVITY: 'Other water testing',
332
+
333
+ // # Food safety and operation notes
334
+ EMPLOYEE_NOTE: 'Employee note',
335
+ OPERATION_NOTE: 'General operation note',
336
+
337
+ // #### FARMERS MARKET
338
+
339
+ // # Market credit receipts activities
340
+ MARKET_CREDIT_RECEIPT: 'Market credit receipt',
341
+
342
+ // # Market operation activities
343
+ MARKET_ATTENDANCE: 'Event attendance',
344
+ MARKET_LOAD_LIST: 'Market load list',
345
+
346
+ // #### GROWER NETWORK
347
+
348
+ // # Grower network activities
349
+ HYGIENE_PROCEDURE: 'Hygiene procedure',
350
+ SANITATION_PRACTICE: 'Sanitation',
351
+ PERSONNEL_PRACTICE: 'Personnel practice',
352
+ EQUIPMENT_MATERIAL: 'Equipment & materials',
353
+ PACKAGING_STORAGE: 'Packaging & storage',
354
+ ENVIRONMENT: 'Environment',
355
+ FIELD_CONDITION: 'Field conditions',
356
+ ADJACENT_LAND: 'Adjacent land',
357
+ WATER_INPUT: 'Water inputs',
358
+ CHEMICAL_INPUT: 'Chemical inputs',
359
+ FERTILIZER_INPUT: 'Fertilizer inputs',
360
+ RECORDKEEPING: 'Recordkeeping',
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',
381
+ },
382
+
383
+ // Short versions will override longer version for UI purposes
384
+
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',
406
+ // # Seed activities
407
+ SEED_PURCHASE_INFO: 'Seed purchase',
408
+ OTHER_SUPPLY_PURCHASE_ACTIVITY: 'Supply purchase',
409
+
410
+ // # Transplanting activities
411
+ SEEDING: 'Seeding',
412
+ DIRECT_SEEDING: 'Direct seeding',
413
+ GREENHOUSE_SEEDING: 'Greenhouse seeding',
414
+ TRANSPLANTING: 'Transplanting',
415
+ SEED_COMPLIANCE_NOTE: 'Note',
416
+ OTHER_TRANSPLANT_ACTIVITY: 'Other',
417
+
418
+ // # Field activities
419
+ PREPARE_SOIL: 'Soil prep',
420
+ IRRIGATION: 'Irrigation',
421
+ FERTILIZATION_COMPOST: 'Fertilization',
422
+ PROTECT_CROP: 'Crop protection',
423
+ MONITOR_CROP: 'Monitoring',
424
+ PRUNING: 'Pruning',
425
+ STRUCTURE_MAINTENANCE: 'Structure maintenance',
426
+ PREPARE_HARVEST: 'Harvest prep',
427
+ OTHER_FIELD_ACTIVITY: 'Note',
428
+
429
+ // # Harvest activities
430
+ HARVEST_CROP: 'Harvested',
431
+ HARVEST_COUNT: 'Counting/weighing',
432
+ SORT_GRADE: 'Sorting/grading',
433
+ YIELD_LOSS_ESTIMATE: 'Yield/loss',
434
+ OTHER_HARVEST_ACTIVITY: 'Harvest-related',
435
+
436
+ // # Post-harvest activities
437
+ POST_HARVEST_HANDLING: 'Handling',
438
+ POST_HARVEST_PACKAGING: 'Storage',
439
+ COLD_STORAGE_TEMPERATURE: 'Cold storage',
440
+ OTHER_POST_HARVEST_ACTIVITY: 'Post-harvest',
441
+
442
+ // # Sales activities
443
+ SALE_PRODUCE_ORDER: 'Sale',
444
+ OTHER_SALE_ORDER: 'Sale (other)',
445
+
446
+ // # Water testing activities
447
+ WATER_TESTING: 'Water testing',
448
+ OTHER_WATER_TESTING_ACTIVITY: 'Water testing',
449
+
450
+ // # Food safety and operation notes
451
+ EMPLOYEE_NOTE: 'Employee',
452
+ OPERATION_NOTE: 'Operation',
453
+
454
+ // #### FARMERS MARKET
455
+
456
+ // # Market credit receipts activities
457
+ MARKET_CREDIT_RECEIPT: 'Credit receipt',
458
+
459
+ // # Market operation activities
460
+ MARKET_LOAD_LIST: 'Load list',
461
+
462
+ // #### GROWER NETWORK
463
+
464
+ // # Grower network activities
465
+ HYGIENE_PROCEDURE: 'Hygiene',
466
+ SANITATION_PRACTICE: 'Sanitation',
467
+ PERSONNEL_PRACTICE: 'Personnel',
468
+ EQUIPMENT_MATERIAL: 'Equipment',
469
+ PACKAGING_STORAGE: 'Storage',
470
+ ENVIRONMENT: 'Environment',
471
+ FIELD_CONDITION: 'Field',
472
+ ADJACENT_LAND: 'Adjacent land',
473
+ WATER_INPUT: 'Water',
474
+ CHEMICAL_INPUT: 'Chemical',
475
+ FERTILIZER_INPUT: 'Fertilizer',
476
+ RECORDKEEPING: 'Records',
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',
497
+ },
498
+
499
+ // Search sort
500
+
501
+ sort: {
502
+ GROUP_BY_VENDORS: 'Sort by vendors',
503
+ DATE_AND_VENDOR_DESC: 'Sort by date, vendors',
504
+ DATE_DESC: 'Sort by date',
505
+ // Workflow list sorts (the sort toolbar reads from the log namespace)
506
+ CREATED_DESC: 'Sort by newest',
507
+ LAST_RUN_DESC: 'Sort by last executed',
508
+ TITLE_ASC: 'Sort by title',
509
+ null: 'Disable sorting',
510
+ },
511
+
512
+ sort_short: {
513
+ GROUP_BY_VENDORS: 'Sort by vendors',
514
+ DATE_AND_VENDOR_DESC: 'Sort by date, vendors',
515
+ DATE_DESC: 'Sort by date',
516
+ CREATED_DESC: 'Sort by newest',
517
+ LAST_RUN_DESC: 'Sort by last executed',
518
+ TITLE_ASC: 'Sort by title',
519
+ null: 'Disable sorting',
520
+ },
521
+
522
+ // Search filters
523
+ filter: {
524
+ logType: 'Activities',
525
+ logType_all: 'Activities',
526
+ logType_ct: 'Activities (%{count})',
527
+ dateRange: 'Date range',
528
+ WEEKS_5: '5 weeks',
529
+ search: 'Search',
530
+ sort_options: 'Sort by',
531
+ },
532
+
533
+ // Search filter popover options
534
+ filter_by: {
535
+ preset: 'Filter by preset',
536
+ activity: 'Filter by activity',
537
+ date_range: 'Filter by date range',
538
+ site_location: 'Filter by location',
539
+ WEEKS_5: '5 weeks',
540
+ search: 'Search for keywords',
541
+ },
542
+
543
+ // Accounting dates
544
+ accounting_date: {
545
+ INVOICE: 'Invoice date',
546
+ RECEIPT: 'Receipt date',
547
+ },
548
+
549
+ // Accounting number
550
+ accounting_number: {
551
+ INVOICE: 'Invoice number',
552
+ INVOICE_short: 'Invoice No.',
553
+ RECEIPT: 'Receipt number',
554
+ RECEIPT_short: 'Receipt No.',
555
+ },
556
+
557
+ // Task status
558
+ task_status: {
559
+ STARTED: 'Started',
560
+ COMPLETED: 'Completed',
561
+ ERRORED: 'Errored',
562
+ QUEUED: 'Queued',
563
+ CANCELED: 'Canceled',
564
+ },
565
+ },
566
+ };
@@ -0,0 +1,59 @@
1
+ export default {
2
+ en: {
3
+ assistant_memories: 'Memories',
4
+ screen_description:
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.',
7
+
8
+ what_is_remembered: 'Remembered',
9
+ applies_to: 'Applies to',
10
+ category: 'Kind',
11
+ status: 'Status',
12
+ learned_from: 'Learned from',
13
+ content_ph: 'One short sentence',
14
+
15
+ scope_organization: 'Everyone',
16
+ scope_you: 'Only you',
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
+ surface_with_inbox: '%{channels} · %{inbox}',
32
+ email_inbox: 'Email inbox',
33
+ inbox_all: 'All inboxes',
34
+ inbox_ORDERS: 'Orders',
35
+ inbox_ASSISTANT: 'Assistant',
36
+ inbox_GENERAL_INQUIRY: 'General inquiries',
37
+ save_failed: 'The memory could not be saved. Review the error and try again.',
38
+
39
+ category_UNIT: 'Units',
40
+ category_PRODUCT: 'Products',
41
+ category_PROCEDURE: 'Procedure',
42
+ category_PREFERENCE: 'Preference',
43
+ category_OTHER: 'Other',
44
+
45
+ status_active: 'In use',
46
+ status_proposed: 'Suggested',
47
+ status_protected: 'Protected',
48
+
49
+ learned_automatically: 'Learned from a conversation',
50
+ learned_from_email: 'Learned from an email',
51
+ told_by: 'Told by %{name}',
52
+ told_in_chat: 'Told in chat',
53
+ edited_here: 'Edited here',
54
+
55
+ approve: 'Start using this',
56
+ protect: 'Protect from cleanup',
57
+ unprotect: 'Allow cleanup',
58
+ },
59
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Use this file for all outbound messages (emails, SMS, notifications, etc.)
3
+ */
4
+
5
+ export default {
6
+ en: {
7
+ email_from_name: 'Marketday',
8
+ from_: 'From: %{name}',
9
+ sent_by_ai_msg:
10
+ 'This email was sent by <a href="https://marketday.ai">Marketday AI</a>.<br />' +
11
+ 'Contact us to automate your business operations with AI.',
12
+ },
13
+ };
@@ -0,0 +1,19 @@
1
+ export default {
2
+ en: {
3
+ // Editor block/format menu (consumed by the @jsb188/editor package)
4
+
5
+ block_paragraph: 'Paragraph',
6
+ block_heading_1: 'Heading 1',
7
+ block_heading_2: 'Heading 2',
8
+ block_heading_3: 'Heading 3',
9
+ block_bullet_list: 'Bulleted list',
10
+ block_ordered_list: 'Numbered list',
11
+ block_quote: 'Quote',
12
+ block_divider: 'Divider',
13
+ clear_formatting: 'Clear formatting',
14
+ highlight_color: 'Highlight color',
15
+ inline_code: 'Inline code',
16
+ insert_image: 'Insert image',
17
+ link_prompt: 'Enter a link URL',
18
+ },
19
+ };