@jsb188/app 1.1.10 → 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.
Files changed (79) hide show
  1. package/package.json +57 -45
  2. package/src/constants/agent.ts +51 -41
  3. package/src/constants/app.ts +34 -13
  4. package/src/constants/emoji.ts +9144 -8936
  5. package/src/constants/other.ts +1 -5
  6. package/src/constants/user.ts +16 -25
  7. package/src/constants/wsActions.ts +27 -0
  8. package/src/i18n/account.ts +129 -107
  9. package/src/i18n/agent.ts +331 -73
  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 +107 -91
  15. package/src/i18n/auth.ts +117 -102
  16. package/src/i18n/billing.ts +5 -92
  17. package/src/i18n/c.ts +907 -0
  18. package/src/i18n/campaign.ts +919 -0
  19. package/src/i18n/country.ts +248 -248
  20. package/src/i18n/datetime.ts +32 -26
  21. package/src/i18n/editor.ts +58 -0
  22. package/src/i18n/error.ts +577 -192
  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 +42 -19
  27. package/src/i18n/log.ts +272 -238
  28. package/src/i18n/memory.ts +53 -0
  29. package/src/i18n/message.ts +3 -4
  30. package/src/i18n/note.ts +19 -0
  31. package/src/i18n/org.ts +164 -109
  32. package/src/i18n/schedule.ts +209 -0
  33. package/src/i18n/sheet.ts +333 -4
  34. package/src/i18n/sheet_formula.ts +165 -0
  35. package/src/i18n/workflow.ts +109 -23
  36. package/src/main.ts +68 -64
  37. package/src/platform.ts +90 -49
  38. package/src/types/ai.d.ts +52 -23
  39. package/src/types/app.d.ts +95 -44
  40. package/src/types/auth.d.ts +66 -40
  41. package/src/types/console.d.ts +3 -0
  42. package/src/types/other.d.ts +13 -6
  43. package/src/types.d.ts +12 -14
  44. package/src/utils/account.ts +64 -58
  45. package/src/utils/api.ts +326 -77
  46. package/src/utils/authSession.ts +24 -0
  47. package/src/utils/clientIP.ts +213 -0
  48. package/src/utils/color.ts +279 -0
  49. package/src/utils/cron.ts +49 -18
  50. package/src/utils/csv.ts +19 -0
  51. package/src/utils/datetime.ts +445 -117
  52. package/src/utils/deferredSave.ts +89 -0
  53. package/src/utils/email.ts +50 -0
  54. package/src/utils/emoji.ts +107 -84
  55. package/src/utils/expression.helpers.ts +470 -0
  56. package/src/utils/expression.test.ts +793 -0
  57. package/src/utils/expression.ts +2261 -0
  58. package/src/utils/interval.ts +80 -0
  59. package/src/utils/language.ts +9 -0
  60. package/src/utils/logic.ts +141 -121
  61. package/src/utils/managedSession.ts +34 -0
  62. package/src/utils/managedSessionBff.test.ts +60 -0
  63. package/src/utils/managedSessionBff.ts +117 -0
  64. package/src/utils/number.ts +85 -38
  65. package/src/utils/object.ts +227 -30
  66. package/src/utils/promise.ts +98 -0
  67. package/src/utils/queryReset.ts +266 -0
  68. package/src/utils/recurringTask.ts +60 -0
  69. package/src/utils/schema.ts +293 -0
  70. package/src/utils/string.test.ts +205 -208
  71. package/src/utils/string.ts +426 -463
  72. package/src/utils/timeZone.ts +309 -851
  73. package/src/utils/url_client.ts +145 -72
  74. package/tsconfig.json +10 -10
  75. package/src/constants/billing.ts +0 -146
  76. package/src/i18n/form.ts +0 -376
  77. package/src/i18n/product.ts +0 -76
  78. package/src/types/form.d.ts +0 -97
  79. package/src/utils/billing.ts +0 -134
package/src/i18n/agent.ts CHANGED
@@ -1,77 +1,233 @@
1
1
  export default {
2
2
  en: {
3
+ searching_qr_codes_: '🔎 Searching QR codes.',
4
+ creating_qr_code_: '▦ Creating a QR code.',
5
+ updating_qr_code_: '▦ Updating a QR code.',
6
+ exporting_qr_code_: '▦ Preparing the QR code print and download link.',
7
+ recording_log_summary: '📝 Recording a log entry: “%{summary}”.',
8
+ recording_logs_summary: '📝 Recording %{count} log entries, including “%{summary}”.',
9
+ recording_log_count: '📝 Recording %{smart_count} log entry. |||| 📝 Recording %{smart_count} log entries.',
3
10
  // SMS responses
4
11
  sms_still_processing_1: 'Please wait a moment, I am still processing your message.',
5
12
  sms_still_processing_2: 'I am still processing your request. Please give me a moment.',
6
13
  sms_still_processing_3: 'Please hold on. I need a little more time to process your last message.',
7
-
8
14
  // Response texts
9
- thinking_: '💭 Thinking...',
10
- processing_request_: '⚙️ Processing your request...',
11
- creating_link_: '🔗 Creating a link...',
12
- getting_new_id_: '🆔 Creating new ID number...',
13
- saving_memories_: '💾 Saving memories...',
14
- reading_stored_memories_: '🧠 Reading stored memories...',
15
- writing_log_: '📝 Writing log entry...',
16
- writing_logs_: '📝 Writing log entries...',
17
- searching_logs_: '📖 Searching for logs...',
18
- searching_harvest_logs_: '📖 Searching for harvest logs...',
19
- searching_avail_forms_: '🗄️ Searching for available forms...',
20
- getting_file_url_: '📄 Getting file URL...',
21
- create_reminder_task_: '📅 Creating task(s)...',
22
- create_recurring_reminder_task_: '📅 Creating recurring task(s)...',
23
- update_reminder_task_: '📅 Updating task(s)...',
24
- search_reminders_tasks_: '📅 Opening scheduled tasks...',
25
- finding_item_: '🔍 Searching for item...',
26
- searching_contacts_: '🔍 Searching contacts list...',
27
- updating_contacts_: '🪪 Updating contacts list...',
28
- searching_directory_: '🗂️ Searching directory...',
29
- updating_directory_: '🗂️ Updating directory...',
30
- searching_site_loc_: '🗺️ Searching for site...',
31
- updating_site_loc_: '🗺️ Updating site location...',
32
- creating_report_: '📊 Creating report... ',
33
- updating_schedule_: '📅 Updating schedule...',
34
- updating_events_: '📅 Updating events...',
35
- searching_event_: '🔍 Searching for event(s)...',
36
- saving_address_: '🏠 Saving address...',
37
- searching_address_: '🔍 Searching for address...',
38
- searching_: '🔍 Searching...',
39
- saving_document_: '📜 Saving document...',
40
- saving_attendance_: '🙋 Saving attendance...',
41
- getting_attendance_: '🙋 Getting attendance...',
42
- updating_attendance_list_: '🙋 Updating attendance list...',
43
- updating_database_: '🗄️ Updating database...',
44
- sending_message_: '✉️ Sending message...',
45
- saving_load_list_: '📋 Saving load list...',
46
- searching_for_load_list_: '🔍 Searching for load list...',
47
- writing_report_: '✍️ Writing report...',
48
- processing_csv_request_: '⚙️ Processing CSV file request...',
49
- retrieving_inbound_contact_: '🧠 Retrieving inbound contact information...',
50
- saving_inbound_contact_: '🧠 Saving inbound contact information...',
51
- inbound_contact_associated_orgs_auto_create_msg: 'When AI reads incoming emails, it will auto-create associated organizations for the contact, if the information can be found.',
52
-
15
+ reading_email_conversation_history_: '📖 Reading email conversation history.',
16
+ reading_latest_conversation_: '📖 Reading the latest conversation.',
17
+ scheduling_workflow_followup_: '📅 Scheduling the next workflow follow-up.',
18
+ updating_workflow_task_progress_: '📝 Updating workflow task progress.',
19
+ saving_field_doc_identifier_: '📝 Saving the submission label.',
20
+ saving_field_doc_answers_: '📝 Saving field document answers.',
21
+ updating_field_doc_table_: '🗄️ Updating field document table.',
22
+ opening_job_document_: '📄 Opening the job document.',
23
+ updating_job_document_status_: '📝 Updating job document status.',
24
+ saving_compliance_document_: '📜 Saving compliance document.',
25
+ saving_temporary_memory_: '🧠 Saving information for short-term reference.',
26
+ recording_farm_purchase_: '📝 Recording farm purchase.',
27
+ recording_farm_purchases_: '📝 Recording farm purchases.',
28
+ recording_farming_activity_: '🌱 Recording farming activity.',
29
+ recording_farming_activities_: '🌱 Recording farming activities.',
30
+ recording_cold_storage_reading_: '🌡️ Recording cold storage reading.',
31
+ recording_cold_storage_readings_: '🌡️ Recording cold storage readings.',
32
+ recording_customer_sales_order_: '📝 Recording customer sales order.',
33
+ recording_customer_sales_orders_: '📝 Recording customer sales orders.',
34
+ recording_water_testing_entry_: '💧 Recording water testing entry.',
35
+ recording_water_testing_entries_: '💧 Recording water testing entries.',
36
+ recording_food_safety_entry_: '🧼 Recording food safety entry.',
37
+ recording_food_safety_entries_: '🧼 Recording food safety entries.',
38
+ recording_farm_operation_note_: '📝 Recording farm operation note.',
39
+ recording_farm_operation_notes_: '📝 Recording farm operation notes.',
40
+ recording_market_credit_receipt_: '🧾 Recording market credit receipt.',
41
+ recording_market_credit_receipts_: '🧾 Recording market credit receipts.',
42
+ recording_market_day_activity_: '📝 Recording market day activity.',
43
+ recording_market_day_activities_: '📝 Recording market day activities.',
44
+ recording_farmers_market_note_: '📝 Recording farmers market note.',
45
+ recording_farmers_market_notes_: '📝 Recording farmers market notes.',
46
+ recording_grower_inspection_note_: '🔍 Recording grower inspection note.',
47
+ recording_grower_inspection_notes_: '🔍 Recording grower inspection notes.',
48
+ listing_open_shifts_: '📅 Listing open shifts.',
49
+ listing_my_shifts_: '📅 Listing your shifts.',
50
+ checking_coverage_: '👥 Checking schedule coverage.',
51
+ finding_candidates_: '👥 Finding eligible staff.',
52
+ requesting_shift_change_: '📅 Submitting your shift request.',
53
+ requesting_time_off_: '🏖️ Submitting your time-off request.',
54
+ reading_project_: '📖 Reading the project schedule.',
55
+ proposing_plan_: '📋 Preparing the project plan proposal.',
56
+ running_schedule_: '🧮 Queuing the project calculation.',
57
+ updating_progress_: '📈 Updating activity progress.',
58
+ thinking_: '⚙️ Working.',
59
+ processing_request_: '⚙️ Processing your request.',
60
+ creating_link_: '🔗 Creating a link.',
61
+ getting_new_id_: '🆔 Creating new ID number.',
62
+ saving_memories_: '💾 Saving memories.',
63
+ reading_stored_memories_: '🧠 Reading stored memories.',
64
+ listing_notes_: '🗒️ Listing AI notes.',
65
+ reading_note_: '🗒️ Reading an AI note.',
66
+ searching_notes_: '🗒️ Searching AI notes.',
67
+ updating_note_focus_: '🎯 Updating an AI note focus.',
68
+ updating_form_note_focus_: '🎯 Updating the AI note focus of a web form.',
69
+ archiving_note_: '🗄️ Archiving an AI note.',
70
+ restoring_note_: '🗒️ Restoring an AI note.',
71
+ deleting_note_: '🗑️ Deleting an AI note.',
72
+ planning_tracker_: '🧭 Planning a tracker.',
73
+ creating_tracker_: '📊 Creating a tracker.',
74
+ updating_tracker_: '📊 Updating a tracker.',
75
+ reading_campaign_responses_: '📋 Reading web form responses.',
76
+ reading_campaign_response_: '📋 Reading one web form response.',
77
+ reading_campaign_responses_count:
78
+ '📋 Reading %{smart_count} web form response. |||| 📋 Reading %{smart_count} web form responses.',
79
+ reading_campaign_email_activity_: '✉️ Reading email campaign activity.',
80
+ reading_campaign_recipients_: '✉️ Reading email campaign recipients.',
81
+ reading_campaign_recipients_count:
82
+ '✉️ Reading %{smart_count} email campaign recipient. |||| ✉️ Reading %{smart_count} email campaign recipients.',
83
+ reading_campaign_replies_: '✉️ Reading email campaign replies.',
84
+ reading_campaign_replies_count:
85
+ '✉️ Reading %{smart_count} email campaign reply. |||| ✉️ Reading %{smart_count} email campaign replies.',
86
+ listing_form_campaigns_: '📋 Listing web form campaigns.',
87
+ listing_form_campaigns_count: '📋 Listing %{smart_count} web form campaign. |||| 📋 Listing %{smart_count} web form campaigns.',
88
+ listing_email_campaigns_: '✉️ Listing email campaigns.',
89
+ listing_email_campaigns_count: '✉️ Listing %{smart_count} email campaign. |||| ✉️ Listing %{smart_count} email campaigns.',
90
+ writing_log_: '📝 Writing log entry.',
91
+ writing_logs_: '📝 Writing log entries.',
92
+ recording_site_inspection_entry_: '📝 Recording site inspection entry.',
93
+ recording_site_inspection_entries_: '📝 Recording site inspection entries.',
94
+ handling_construction_project_inquiry_: '📝 Handling construction project inquiry.',
95
+ handling_construction_project_inquiries_: '📝 Handling construction project inquiries.',
96
+ recording_agency_operation_note_: '📝 Recording agency operation note.',
97
+ recording_agency_operation_notes_: '📝 Recording agency operation notes.',
98
+ searching_logs_: '📖 Finding matching activity records.',
99
+ searching_arable_farming_logs_: '🌱 Scanning farming activity records.',
100
+ searching_farmers_market_logs_: '🧺 Scanning farmers market activity records.',
101
+ searching_grower_network_logs_: '🔍 Finding grower inspection records.',
102
+ searching_harvest_logs_: '📖 Scanning recorded crop harvest logs.',
103
+ searching_avail_field_docs_: '🗄️ Scanning field documents in workspace.',
104
+ getting_file_url_: '📄 Getting file URL.',
105
+ create_reminder_: '📅 Creating reminder.',
106
+ create_recurring_reminder_: '📅 Creating recurring reminder.',
107
+ update_reminder_: '📅 Updating reminder.',
108
+ list_reminders_: '📅 Opening reminders.',
109
+ ask_and_wait_: '💬 Sending question.',
110
+ finding_item_: '🔍 Looking up item details.',
111
+ searching_contacts_: '🔍 Browsing employee contact records.',
112
+ updating_contacts_: '🪪 Updating contacts list.',
113
+ searching_directory_: '🗂️ Browsing the organization directory.',
114
+ listing_organizations_: '🏢 Listing your organizations.',
115
+ switching_organization_: '🏢 Switching organization.',
116
+ updating_directory_: '🗂️ Updating directory.',
117
+ searching_site_loc_: '🗺️ Finding matching organization sites.',
118
+ updating_site_loc_: '🗺️ Updating site location.',
119
+ creating_field_doc_: '📊 Creating field documents.',
120
+ updating_schedule_: '📅 Updating schedule.',
121
+ updating_events_: '📅 Updating events.',
122
+ searching_event_: '🔍 Finding matching scheduled events.',
123
+ saving_address_: '🏠 Saving address.',
124
+ searching_address_: '🔍 Looking up saved address details.',
125
+ searching_: '🔍 Scanning submitted field documents.',
126
+ saving_document_: '📜 Saving document.',
127
+ saving_attendance_: '🙋 Saving attendance.',
128
+ getting_attendance_: '🙋 Getting attendance.',
129
+ updating_attendance_list_: '🙋 Updating attendance list.',
130
+ updating_database_: '🗄️ Updating database.',
131
+ sending_message_: '✉️ Sending message.',
132
+ saving_load_list_: '📋 Saving load list.',
133
+ searching_for_load_list_: '🔍 Scanning saved load list records.',
134
+ writing_field_doc_: '✍️ Writing field doc.',
135
+ processing_csv_request_: '⚙️ Processing CSV file request.',
136
+ processing_data_analysis_: '⚙️ Preparing your analysis.',
137
+ retrieving_inbound_contact_: '🧠 Retrieving inbound contact information.',
138
+ saving_inbound_contact_: '🧠 Saving inbound contact information.',
139
+ // Orchestrator tool progress, keyed by tool name
140
+ grids_tool: {
141
+ get_workflow_authoring_context: '🔍 Checking workflow options.',
142
+ view_workflow: '📖 Reading the workflow.',
143
+ preview_workflow: '✅ Validating the workflow.',
144
+ save_workflow: '💾 Saving the workflow.',
145
+ set_workflow_active: '⚙️ Updating workflow activation.',
146
+ set_workflow_user_instructions: '✏️ Updating workflow user instructions.',
147
+ get_field_doc_authoring_context: '🔍 Checking field document options.',
148
+ view_field_doc_definition: '📖 Reading the field document.',
149
+ list_field_doc_revisions: '🕘 Reviewing document revisions.',
150
+ preview_field_doc: '✅ Validating the field document.',
151
+ save_field_doc: '💾 Saving the field document.',
152
+ migrate_field_doc_submission: '🔄 Updating the submission revision.',
153
+ read_field_doc_document: '📖 Reading document answers.',
154
+ list_field_doc_programs: '🔍 Checking field document programs.',
155
+ enroll_field_doc_program: '📋 Enrolling in the field document program.',
156
+ set_field_doc_custom_instructions: '✏️ Updating custom instructions for the field document.',
157
+ search_sheets: '🔍 Scanning spreadsheets in workspace.',
158
+ view_sheet: '📖 Reading the spreadsheet.',
159
+ get_sheet_formula_help: '📚 Reading formula guidance.',
160
+ validate_sheet_formulas: '✅ Validating formulas.',
161
+ get_sheet_calculation_status: '🧮 Checking calculation status.',
162
+ search_data_tables: '🔍 Scanning data tables in workspace.',
163
+ describe_table_sources: '🔍 Checking the fields of the source data.',
164
+ read_data_table: '📖 Reading the data table.',
165
+ query_data_table: '🔍 Querying table data.',
166
+ transform_dataset: '🛠️ Preparing data for the requested analysis.',
167
+ aggregate_dataset: '🧮 Calculating grouped totals and summaries.',
168
+ explode_dataset: '↕️ Expanding data into rows.',
169
+ append_datasets: '➕ Appending datasets.',
170
+ join_datasets: '🔗 Joining datasets.',
171
+ enable_grid_tools: '🧰 Loading tools for spreadsheet work.',
172
+ save_chat_working_result: '📝 Saving working notes.',
173
+ read_chat_tool_result: '📖 Reading tool results.',
174
+ get_grid_task: '📋 Reviewing the plan.',
175
+ update_grid_task: '📋 Updating the plan.',
176
+ create_spreadsheet: '📊 Creating spreadsheet.',
177
+ clone_spreadsheet: '📊 Cloning spreadsheet.',
178
+ update_spreadsheet: '📊 Updating spreadsheet.',
179
+ delete_spreadsheet: '🗑️ Deleting spreadsheet.',
180
+ create_sheet_tab: '📑 Adding tab.',
181
+ duplicate_sheet_tab: '📑 Duplicating tab.',
182
+ update_sheet_tab: '📑 Updating tab.',
183
+ delete_sheet_tab: '🗑️ Deleting tab.',
184
+ update_sheet_cells: '✏️ Updating spreadsheet cell contents.',
185
+ apply_sheet_changes: '🛠️ Applying sheet changes.',
186
+ update_sheet_layout: '🎨 Formatting sheet.',
187
+ update_sheet_structure: '↕️ Rearranging rows and columns.',
188
+ fill_sheet_cells: '🧮 Filling cells.',
189
+ materialize_sheet_dataset: '📥 Copying data into the sheet.',
190
+ materialize_log_dataset: '📋 Preparing activity records for analysis.',
191
+ create_data_table: '🗄️ Creating data table.',
192
+ update_data_table_definition: '🗄️ Updating table settings.',
193
+ write_data_table_rows: '🗄️ Writing table rows.',
194
+ delete_data_table: '🗑️ Deleting data table.',
195
+ undo_grid_change: '↩️ Undoing a change.',
196
+ redo_grid_change: '↪️ Redoing a change.',
197
+ list_grid_changes: '🕘 Reviewing recent changes.',
198
+ },
199
+ inbound_contact_associated_orgs_auto_create_msg:
200
+ 'When AI reads incoming emails, it will auto-create associated organizations for the contact, if the information can be found.',
201
+ // Agent memory
202
+ saving_memory_: '🧠 Saving information for future conversations.',
203
+ updating_memory_: '🧠 Updating what I remember.',
204
+ forgetting_memory_: '🧠 Forgetting.',
53
205
  // Digests
54
206
  digest_for_: 'Digest for %{date}',
55
-
56
207
  // AI inbox
208
+ ai_inbox: 'Agent inbox',
57
209
  ai_inbox_handle: 'Handle',
58
210
  change_ai_inbox: 'AI inbox',
59
- change_ai_inbox_msg: 'Choose a handle for your organization.\n This will become the address for your AI inbox email.',
211
+ change_ai_inbox_msg: 'Choose an AI inbox email handle for your organization.',
60
212
  remove_ai_inbox: 'Remove AI inbox',
61
213
  ai_inbox_updated: 'AI inbox updated',
62
214
  ai_inbox_updated_msg: 'AI inbox handle has been changed to:\n [hl]%{inboundEmail}[/hl].',
63
215
  ai_inbox_removed_msg: 'AI inbox for your organization has been removed.',
64
- ai_inbox_addresses_ready: (
65
- 'Emails sent to any of these addresses will automatically trigger AI workflows.'
66
- ),
67
- ai_inbox_addresses_empty: (
68
- 'AI inboxes handles requests from emails on your team\'s behalf. Choose a handle to activate AI inboxes.'
69
- ),
70
- ai_inbox_desc: {
71
- orders: 'Handle incoming orders from customers.',
72
- agent: 'Handle general requests.',
73
- },
74
- change_handle: 'Change inbox handle',
216
+ ai_inbox_addresses_ready: 'Your AI agent reviews emails sent to this address and handles relevant requests for your team.',
217
+ ai_inbox_addresses_empty: "The AI agent handles email requests on your team's behalf. Choose a handle to activate your inbox.",
218
+ ai_inbox_desc: {
219
+ agent: 'Handle requests, record supported orders and operational information, and coordinate help from your team.',
220
+ outbound: 'All outbound emails will be sent from this address.',
221
+ },
222
+ inbound_emails: 'Inbound emails',
223
+ campaign_email_agent_tooltip: 'Email agent handling replies to email campaigns.',
224
+ agent_email_agent_tooltip: 'AI agent handling requests, supported orders, and operational information for your team.',
225
+ platform_assistant_email_tooltip: 'Email address used by the Marketday assistant.',
226
+ support_email_tooltip: 'Marketday support email address.',
227
+ do_not_reply_email_tooltip: 'Automated email address that does not accept replies.',
228
+ system_email_tooltip: 'Marketday system email address.',
229
+ outbound_emails: 'Outbound emails',
230
+ change_handle: 'Change inbox handle',
75
231
  inbound_email_from: 'From',
76
232
  inbound_email_to: 'To',
77
233
  inbound_email_subject: 'Subject',
@@ -90,45 +246,147 @@ export default {
90
246
  IGNORED: 'Ignored',
91
247
  ERRORED: 'Errored',
92
248
  },
93
-
249
+ email_message_direction: 'Direction',
250
+ email_message_direction_all: 'Received and sent',
251
+ email_message_direction_INBOUND: 'Received',
252
+ email_message_direction_OUTBOUND: 'Sent',
253
+ email_message_kind: 'Source',
254
+ email_message_kind_filter_title: 'Filter by type',
255
+ email_message_status_filter_title: 'Filter by status',
256
+ email_message_exact_status: 'Detailed status',
257
+ email_message_filters: 'Filters',
258
+ email_message_filters_count: 'Filters (%{count})',
259
+ email_message_clear_filters: 'Clear all',
260
+ email_message_remove_filter: 'Remove %{filter}',
261
+ email_message_search: 'Search emails…',
262
+ email_message_campaign: 'Campaign',
263
+ email_message_delivery_all: 'Any delivery',
264
+ email_message_delivery_recorded: 'Delivery recorded (sent)',
265
+ email_message_delivery_unrecorded: 'No delivery recorded (sent)',
266
+ email_message_open_tracking: 'Opens',
267
+ email_message_open_all: 'Any open tracking',
268
+ email_message_open_recorded: 'Open recorded (sent)',
269
+ email_message_open_unrecorded: 'No open recorded (sent)',
270
+ email_message_from: 'From',
271
+ email_message_to: 'To',
272
+ email_message_subject: 'Subject',
273
+ email_message_date: 'Date',
274
+ email_message_reply_to: 'Reply To',
275
+ email_message_cc: 'Cc',
276
+ email_message_detail: 'Details',
277
+ email_message_body: 'Email',
278
+ email_message_heading: {
279
+ queued: 'Email is queued to be sent to %{name}.',
280
+ sending: 'Email is being sent to %{name}.',
281
+ unknown_delivery: 'Delivery of the email to %{name} could not be confirmed.',
282
+ failed: 'Email to %{name} failed to send.',
283
+ skipped: 'Email to %{name} was skipped.',
284
+ unavailable: 'Delivery status for the email to %{name} is unavailable.',
285
+ sent: 'Email sent to %{name}.',
286
+ sent_at: 'Email sent to %{name} at %{dateTime}.',
287
+ bounced: 'Email to %{name} bounced.',
288
+ bounced_at: 'Email to %{name} bounced at %{dateTime}.',
289
+ delivered: 'Email delivered to %{name}.',
290
+ delivered_at: 'Email delivered to %{name} at %{dateTime}.',
291
+ opened: '%{name} opened the email.',
292
+ opened_at: '%{name} opened the email at %{dateTime}.',
293
+ responded: '%{name} responded to the email.',
294
+ responded_at: '%{name} responded to the email at %{dateTime}.',
295
+ spam: '%{name} reported the email as spam.',
296
+ spam_at: '%{name} reported the email as spam at %{dateTime}.',
297
+ received: 'Email received from %{name}.',
298
+ received_at: 'Email received from %{name} at %{dateTime}.',
299
+ inbound_queued: 'Email from %{name} is queued for AI processing.',
300
+ inbound_processing: 'Email from %{name} is being processed by AI.',
301
+ inbound_processing_at: 'AI started processing the email from %{name} at %{dateTime}.',
302
+ inbound_completed: 'AI finished processing the email from %{name}.',
303
+ inbound_completed_at: 'AI finished processing the email from %{name} at %{dateTime}.',
304
+ inbound_failed: 'AI processing failed for the email from %{name}.',
305
+ inbound_failed_at: 'AI processing failed for the email from %{name} at %{dateTime}.',
306
+ inbound_ignored: 'Email from %{name} was ignored.',
307
+ inbound_superseded: 'Email from %{name} was replaced by a newer message.',
308
+ inbound_unavailable: 'Processing status for the email from %{name} is unavailable.',
309
+ },
310
+ email_message_no_body: 'There is no message body for this email.',
311
+ email_message_load_error: 'This email could not be loaded.',
312
+ email_message_delivery: 'Delivery',
313
+ email_message_processing: 'AI processing',
314
+ email_message_sent_at: 'Sent',
315
+ email_message_delivered_at: 'Delivered',
316
+ email_message_opened_at: 'Opened',
317
+ email_message_bounced_at: 'Bounced',
318
+ email_message_spam_complaint_at: 'Spam complaint',
319
+ email_message_processing_started_at: 'Started',
320
+ email_message_processing_completed_at: 'Finished',
321
+ email_message_kinds: {
322
+ INBOX_MESSAGE: 'Incoming email',
323
+ CAMPAIGN_REPLY: 'Incoming campaign reply',
324
+ REPLY: 'Incoming reply',
325
+ AGENT_REPLY: 'Outgoing AI reply',
326
+ AGENT_SEND: 'Outgoing AI email',
327
+ WORKFLOW_SEND: 'Outgoing workflow email',
328
+ REMINDER: 'Outgoing reminder',
329
+ SCHEDULE_NOTIFICATION: 'Outgoing notification',
330
+ CAMPAIGN: 'Outgoing campaign email',
331
+ FORM_RESPONSE_COPY: 'Outgoing web form response',
332
+ CSV_EXPORT: 'Outgoing CSV export',
333
+ OTHER: 'Other outgoing email',
334
+ },
335
+ email_message_statuses: {
336
+ RECEIVED: 'Received',
337
+ QUEUED: 'Queued',
338
+ PROCESSING: 'Processing',
339
+ SUPERSEDED: 'Superseded',
340
+ COMPLETED: 'Completed',
341
+ IGNORED: 'Ignored',
342
+ SENT: 'Sent',
343
+ DELIVERY_UNKNOWN: 'Delivery unknown',
344
+ BOUNCED: 'Bounced',
345
+ SUPPRESSED: 'Suppressed',
346
+ ERRORED: 'Failed',
347
+ },
348
+ email_message_status_groups: {
349
+ PENDING: 'In progress',
350
+ DONE: 'Done',
351
+ SKIPPED: 'Skipped',
352
+ FAILED: 'Failed',
353
+ },
354
+ email_message_sorts: {
355
+ OCCURRED_AT_DESC: 'Newest first',
356
+ OCCURRED_AT_ASC: 'Oldest first',
357
+ },
94
358
  // Integrations
95
359
  integrations_desc: 'Grant your AI access to third-party apps and services.',
96
360
  integrations_read_only_desc: 'You _do not_ have permissions to edit third-party apps and services for this organization.',
97
361
  integrations_other_title: 'Looking for a different app connection?',
98
362
  integrations_other_desc: '[Send us an e-mail](mailto:hello@marketday.ai). We decide what to build next based on your feedback.',
99
363
  integrations_disconnect_msg: 'Are you sure you want to disconnect?\n All related features will be disabled.',
100
-
101
- // Common errors
364
+ // Common errors
102
365
  invalid_id: '"%{field}" (%{value}) is not a valid ID.',
103
366
  one_is_required: 'One of the following fields is required: %{fields}.',
104
-
105
367
  // Operation specific terms
106
368
  operation_activities: {
107
369
  ARABLE: 'farming activities',
108
- LIVESTOCK: 'ranching activities',
109
370
  FARMERS_MARKET: 'farmers market operations',
110
- GROWER_NETWORK: 'network activities',
111
- WHOLESALE_FOOD: 'wholesale food operations',
112
- UNKNOWN: 'organization activities',
371
+ GROWER_NETWORK: 'network activities',
372
+ WHOLESALE_FOOD: 'wholesale food operations',
373
+ UNKNOWN: 'organization activities',
113
374
  },
114
375
  operation_farmers: {
115
376
  ARABLE: 'farmers',
116
- LIVESTOCK: 'ranchers',
117
377
  FARMERS_MARKET: 'farmers market vendors',
118
- GROWER_NETWORK: 'growers',
119
- WHOLESALE_FOOD: 'wholesale food businesses',
120
- UNKNOWN: 'organizations',
378
+ GROWER_NETWORK: 'growers',
379
+ WHOLESALE_FOOD: 'wholesale food businesses',
380
+ UNKNOWN: 'organizations',
121
381
  },
122
-
123
382
  // Real time data update messages
124
- log_created: 'A new log was created.',
383
+ log_created_label: 'New log',
125
384
  vendors_list_updated: 'Vendors list was updated.',
126
385
  vendor_removed: 'A vendor was removed.',
127
386
  log_updated: 'Log was updated.',
128
387
  log_deleted: 'Log was deleted.',
129
388
  attendance_list_updated: 'Attendance list was updated.',
130
389
  attendance_logged: 'Attendance record was logged.',
131
-
132
390
  // Real-time data update messages
133
391
  data_update: {
134
392
  moderation_failed_tasks_terminated: "AI's tasks were terminated because it failed our moderation tests.",