@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
@@ -0,0 +1,53 @@
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
+ save_failed: 'The memory could not be saved. Review the error and try again.',
32
+
33
+ category_UNIT: 'Units',
34
+ category_PRODUCT: 'Products',
35
+ category_PROCEDURE: 'Procedure',
36
+ category_PREFERENCE: 'Preference',
37
+ category_OTHER: 'Other',
38
+
39
+ status_active: 'In use',
40
+ status_proposed: 'Suggested',
41
+ status_protected: 'Protected',
42
+
43
+ learned_automatically: 'Learned from a conversation',
44
+ learned_from_email: 'Learned from an email',
45
+ told_by: 'Told by %{name}',
46
+ told_in_chat: 'Told in chat',
47
+ edited_here: 'Edited here',
48
+
49
+ approve: 'Start using this',
50
+ protect: 'Protect from cleanup',
51
+ unprotect: 'Allow cleanup',
52
+ },
53
+ };
@@ -6,9 +6,8 @@ export default {
6
6
  en: {
7
7
  email_from_name: 'Marketday',
8
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
- ),
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.',
13
12
  },
14
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
+ };
package/src/i18n/org.ts CHANGED
@@ -2,6 +2,14 @@ export default {
2
2
  en: {
3
3
  organization: 'Organization',
4
4
  organizations: 'Organizations',
5
+ grower: 'Grower',
6
+ growers: 'Growers',
7
+ growers_end: 'There is %{smart_count} grower for this organization.||||' +
8
+ 'There are %{smart_count} growers for this organization.',
9
+ growers_empty: "There aren't any growers for this organization.",
10
+ vendors_end: 'There is %{smart_count} vendor for this organization.||||' +
11
+ 'There are %{smart_count} vendors for this organization.',
12
+ vendors_empty: "There aren't any vendors for this organization.",
5
13
  my_organizations: 'My organizations',
6
14
  name: 'Organization name',
7
15
  name_of: 'Name of organization',
@@ -9,19 +17,28 @@ export default {
9
17
  claimed_business: 'Claimed business',
10
18
  contact_associated_with: 'This contact is associated with: %{organizationNames}',
11
19
  contact_choose_associated_orgs: 'Choose the associated organizations for this contact.',
12
- org_info: 'Organization information',
20
+ org_info: 'Organization settings',
13
21
  nothing_found: 'No organizations found.',
14
22
  farms: 'Farms',
15
23
  settings: 'Organization settings',
24
+ log_language_preference: 'Log display language preference',
25
+ log_language_preference_description:
26
+ 'Choose whether log pages will display available translations or always show the original texts.',
27
+ display_translated_logs_if_available: 'Display translated logs if available',
28
+ always_show_original_log_texts: 'Always show original log texts',
29
+ translate_language: 'Log translation language',
30
+ translate_language_disabled: 'Disabled - do not translate',
31
+ translate_language_description:
32
+ 'Logs written in a different language will always be translated into this language. It may take 1 to 3 minutes before you see the translated texts.',
16
33
  edit_operation: 'Edit operation',
17
34
  edit_child_org_operation: 'Edit child organization operation',
18
35
  edit_child_org_operation_msg: 'Choose the business operation for\n [hl]%{name}[/hl].',
19
- edit_child_org_operation_finished_msg: '[hl]%{name}[/hl]\'s business operation is set to **%{operation}**.',
36
+ edit_child_org_operation_finished_msg: "[hl]%{name}[/hl]'s business operation is set to **%{operation}**.",
20
37
  edit_child_org_info_msg: 'Update the information for\n [hl]%{name}[/hl].',
21
38
  edit_child_org_info_finished_msg: 'Information has been updated for\n [hl]%{name}[/hl].',
22
39
  edit_site_location_msg: 'Update the information for\n [hl]%{name}[/hl].',
23
40
  edit_site_location_finished_msg: 'Information has been updated for\n [hl]%{name}[/hl].',
24
- delete_child_org_msg: 'Are you sure you want to remove\n [hl]%{name}[/hl]?',
41
+ delete_child_org_msg: 'Are you sure you want to remove\n [hl]%{name}[/hl]?',
25
42
  manage_team: 'Manage team',
26
43
  site_locations: 'Site locations',
27
44
  all_site_locations: 'All locations',
@@ -29,9 +46,9 @@ export default {
29
46
  members_ct: '%{smart_count} member||||%{smart_count} members',
30
47
  administration: 'Administration',
31
48
  billing: 'Billing',
32
- department_req_msg: 'Please select a department for this contact.',
33
- contact_phone_or_email_req_msg: 'Please provide a phone number or email for this contact.',
34
- address_notice_msg: 'This information will appear on the invoices you generate for your customers and to others in your network.',
49
+ department_req_msg: 'Please select a department for this contact.',
50
+ contact_phone_or_email_req_msg: 'Please provide a phone number or email for this contact.',
51
+ address_notice_msg: 'This information will appear on the invoices you generate for your customers and others in your network.',
35
52
  no_recurring_schedule: 'This event does not have a recurring schedule.',
36
53
  daily_event_msg: 'This event repeats every day.',
37
54
  single_event_msg: 'This event only occurs once.',
@@ -49,181 +66,219 @@ export default {
49
66
  load_lists: 'Load Lists',
50
67
  contact_to_change: 'Please contact us to change this information.',
51
68
  locked_contact_msg: 'This contact information is saved by the owner of this organization.',
52
- no_contact_information_msg: 'This organization doesn\'t have any contact information.',
53
- no_site_locations: 'This organization doesn\'t have any site locations.',
54
- could_not_load_not_linked_org: 'This organization\'s data could not be loaded because it\'s no longer linked to your organization.',
69
+ no_contact_information_msg: "This organization doesn't have any contact information.",
70
+ no_site_locations: "This organization doesn't have any site locations.",
71
+ could_not_load_not_linked_org: "This organization's data could not be loaded because it's no longer linked to your organization.",
55
72
  vendor_documents_not_found_msg: "This vendor hasn't submitted any compliance documents or certifications.",
56
73
  switch_organizations: 'Switch organizations',
57
- switch_msg: (
58
- 'Messages from your phone number <span class="em_text"><span class="rel z1">%{phoneNumber}</span></span> ' +
59
- 'will only be sent to your primary organization, <span class="em_text"><span class="rel z1">%{orgName}</span></span>.'
60
- ),
61
- switch_msg_no_org_selected: (
62
- 'Messages from your phone number <span class="em_text"><span class="rel z1">%{phoneNumber}</span></span> ' +
63
- 'will only be sent to your primary organization.'
64
- ),
65
- switch_msg_no_phone_selected: (
66
- 'Messages from your phone number ' +
67
- 'will only be sent to your primary organization, <span class="em_text"><span class="rel z1">%{orgName}</span></span>.'
68
- ),
69
- switch_msg_none_selected: (
70
- 'Messages from your phone number will only be sent to your primary organization.'
71
- ),
72
- switch_instr: 'Select from the list below to change your primary organization.',
73
-
74
- switch_confirm_msg: (
74
+ switch_organization: 'Switch organization',
75
+ choose_sign_in_organization: 'Choose the organization you want to sign in as.',
76
+ switch_msg: 'Messages from your phone number [hl]%{phoneNumber}[/hl] will default to the logged in organization: [hl]%{orgName}[/hl].',
77
+ switch_msg_no_org_selected: 'Messages from your phone number [hl]%{phoneNumber}[/hl] will only be sent to the organization you\'re logged into.',
78
+ switch_msg_no_phone_selected: 'Messages from your phone number will only be sent to the organization you\'re logged into: [hl]%{orgName}[/hl].',
79
+ switch_msg_none_selected: 'Messages from your phone number will only be sent to the organization you\'re logged into.',
80
+ switch_instr: 'Select from the list below to change your organization.',
81
+
82
+ switch_confirm_msg:
75
83
  // NOTE: Because ".em_text" only works when the entire word is in 1 line,
76
84
  // we need to give as much space as possible to <span> block.
77
- 'Do you want to switch your primary organization to ' +
78
- '<span class="em_text"><span class="rel z1">%{orgName}</span></span>?'
79
- ),
85
+ 'Do you want to switch your primary organization to ' + '[hl]%{orgName}[/hl]?',
80
86
 
81
- switch_finished_msg: (
82
- 'Your primary organization has been switched to ' +
83
- '<span class="em_text"><span class="rel z1">%{orgName}</span></span>.'
84
- ),
87
+ switch_finished_msg: 'Your primary organization has been switched to ' +
88
+ '[hl]%{orgName}[/hl].',
85
89
 
86
90
  yes_switch: 'Yes, switch organization',
87
91
 
88
- role: {
89
- MEMBER: 'Member',
90
- MANAGER: 'Manager',
91
- ADMIN: 'Admin',
92
- OWNER: 'Owner',
93
- GUEST: 'Guest',
94
- },
92
+ role: {
93
+ MEMBER: 'Member',
94
+ MANAGER: 'Manager',
95
+ ADMIN: 'Admin',
96
+ OWNER: 'Owner',
97
+ GUEST: 'Guest',
98
+ },
95
99
 
96
100
  type: {
97
101
  ARABLE: 'Arable farm',
98
- LIVESTOCK: 'Livestock ranch',
99
- FARMERS_MARKET: 'Farmers market',
100
- GROWER_NETWORK: 'Grower network',
101
- RESTAURANT: 'Restaurant',
102
- VENDOR: 'Vendor',
103
- WHOLESALE_FOOD: 'Wholesale (Food)',
104
- UNKNOWN: 'Unknown',
105
- },
106
-
107
- type_short: {
108
- ARABLE: 'Farm',
109
- LIVESTOCK: 'Ranch',
110
- FARMERS_MARKET: 'Market',
111
- GROWER_NETWORK: 'Grower network',
112
- RESTAURANT: 'Restaurant',
113
- VENDOR: 'Vendor',
114
- WHOLESALE_FOOD: 'Wholesale',
115
- UNKNOWN: 'Unknown',
116
- },
102
+ LIVESTOCK: 'Livestock ranch', // We don't support this operation, but it still needs to be here because some orgs can still be LIVESTOCK operation
103
+ FARMERS_MARKET: 'Farmers market',
104
+ GROWER_NETWORK: 'Grower network',
105
+ RESTAURANT: 'Restaurant',
106
+ VENDOR: 'Vendor',
107
+ WHOLESALE_FOOD: 'Wholesale (Food)',
108
+ UNKNOWN: 'Unknown',
109
+ CONSTRUCTION: 'Construction',
110
+ UTILITIES: 'Utilities',
111
+ CHILDCARE: 'Childcare',
112
+ CONSTRUCTION_INSPECTION_AGENCY: 'Construction inspection agency',
113
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Emergency medical services agency',
114
+ FOOD_MANUFACTURING: 'Food manufacturing',
115
+ },
116
+
117
+ type_short: {
118
+ ARABLE: 'Farm',
119
+ FARMERS_MARKET: 'Market',
120
+ GROWER_NETWORK: 'Grower network',
121
+ RESTAURANT: 'Restaurant',
122
+ VENDOR: 'Vendor',
123
+ WHOLESALE_FOOD: 'Wholesale',
124
+ UNKNOWN: 'Unknown',
125
+ CONSTRUCTION: 'Construction',
126
+ UTILITIES: 'Utilities',
127
+ CHILDCARE: 'Childcare',
128
+ CONSTRUCTION_INSPECTION_AGENCY: 'Inspection agency',
129
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'EMS agency',
130
+ FOOD_MANUFACTURING: 'Food manufacturer',
131
+ },
117
132
 
118
133
  type_inline: {
119
134
  ARABLE: 'farm',
120
- LIVESTOCK: 'ranch',
121
135
  FARMERS_MARKET: 'farmers market',
122
136
  GROWER_NETWORK: 'grower network',
123
- RESTAURANT: 'restaurant',
124
- VENDOR: 'vendor',
125
- WHOLESALE_FOOD: 'wholesale food business',
126
- UNKNOWN: 'unknown organization',
137
+ RESTAURANT: 'restaurant',
138
+ VENDOR: 'vendor',
139
+ WHOLESALE_FOOD: 'wholesale food business',
140
+ UNKNOWN: 'unknown organization',
141
+ CONSTRUCTION: 'construction company',
142
+ UTILITIES: 'utilities company',
143
+ CHILDCARE: 'childcare provider',
144
+ CONSTRUCTION_INSPECTION_AGENCY: 'inspection agency',
145
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'EMS agency',
146
+ FOOD_MANUFACTURING: 'food manufacturer',
127
147
  },
128
148
 
129
149
  type_active: {
130
150
  ARABLE: 'Farming',
131
- LIVESTOCK: 'Ranching',
132
151
  FARMERS_MARKET: 'Market',
133
152
  GROWER_NETWORK: 'Grower network',
134
- RESTAURANT: 'Restaurant',
135
- VENDOR: 'Vendor',
136
- WHOLESALE_FOOD: 'Wholesale',
137
- UNKNOWN: 'Unknown',
153
+ RESTAURANT: 'Restaurant',
154
+ VENDOR: 'Vendor',
155
+ WHOLESALE_FOOD: 'Wholesale',
156
+ UNKNOWN: 'Unknown',
157
+ CONSTRUCTION: 'Projects',
158
+ UTILITIES: 'Projects',
159
+ CHILDCARE: 'Staffing',
160
+ CONSTRUCTION_INSPECTION_AGENCY: 'Inspections',
161
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'EMS',
162
+ FOOD_MANUFACTURING: 'Manufacturing',
138
163
  },
139
164
 
140
165
  type_detailed: {
141
166
  ARABLE: 'Arable farm (produce)',
142
- LIVESTOCK: 'Livestock ranch (livestock)',
143
167
  FARMERS_MARKET: 'Farmers market',
144
168
  GROWER_NETWORK: 'Grower network',
145
- RESTAURANT: 'Restaurant',
146
- VENDOR: 'Vendor (customer or supplier)',
147
- WHOLESALE_FOOD: 'Wholesale (Food)',
148
- UNKNOWN: 'Unknown',
149
- },
169
+ RESTAURANT: 'Restaurant',
170
+ VENDOR: 'Vendor (customer or supplier)',
171
+ WHOLESALE_FOOD: 'Wholesale (Food)',
172
+ UNKNOWN: 'Unknown',
173
+ CONSTRUCTION: 'Construction (contractor or engineering firm)',
174
+ UTILITIES: 'Utilities (power, water, gas, telecom)',
175
+ CHILDCARE: 'Childcare and early learning',
176
+ CONSTRUCTION_INSPECTION_AGENCY: 'Construction inspection agency (special inspections, materials testing)',
177
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Emergency medical services agency',
178
+ FOOD_MANUFACTURING: 'Food manufacturing and processing',
179
+ },
150
180
 
151
181
  operation_desc: {
152
182
  ARABLE: 'Crop production (%{commodities})',
153
- LIVESTOCK: 'Livestock production (%{commodities})',
154
183
 
155
184
  ARABLE_default: 'Crop production (produce)',
156
- LIVESTOCK_default: 'Livestock production',
157
-
158
- // ..
159
- // Other operations will defaults to "Unknown"
185
+ // ..
186
+ // Other operations will defaults to "Unknown"
160
187
  },
161
188
 
162
189
  cert_scope: {
163
190
  ARABLE: 'Crop production',
164
- LIVESTOCK: 'Livestock production',
165
191
  // Defaults to "Unknown"
166
192
  },
167
193
 
168
194
  product: {
169
195
  ARABLE: 'produce',
170
- LIVESTOCK: 'livestock',
171
196
  FARMERS_MARKET: 'product',
172
197
  GROWER_NETWORK: 'product',
173
- RESTAURANT: 'product',
174
- VENDOR: 'product',
175
- WHOLESALE_FOOD: 'product',
176
- UNKNOWN: 'product',
198
+ RESTAURANT: 'product',
199
+ VENDOR: 'product',
200
+ WHOLESALE_FOOD: 'product',
201
+ UNKNOWN: 'product',
202
+ CONSTRUCTION: 'product',
203
+ UTILITIES: 'product',
204
+ CONSTRUCTION_INSPECTION_AGENCY: 'product',
205
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'product',
206
+ FOOD_MANUFACTURING: 'product',
177
207
  },
178
208
 
179
209
  children: {
180
210
  GROWER_NETWORK: 'Farms/Ranches',
181
211
  FARMERS_MARKET: 'Vendors',
182
- default: 'Organizations',
212
+ default: 'Organizations',
213
+ },
214
+
215
+ children_list: {
216
+ GROWER_NETWORK: 'Farms/Ranches network',
217
+ FARMERS_MARKET: 'Vendors list',
218
+ default: 'Organizations list',
183
219
  },
184
220
 
185
221
  view: {
186
222
  ARABLE: 'View farm',
187
- LIVESTOCK: 'View ranch',
223
+ LIVESTOCK: 'View livestock',
188
224
  FARMERS_MARKET: 'View farmers market',
189
225
  GROWER_NETWORK: 'View organization',
190
- RESTAURANT: 'View restaurant',
191
- VENDOR: 'View vendor',
192
- WHOLESALE_FOOD: 'View wholesale business',
193
- UNKNOWN: 'View organization',
226
+ RESTAURANT: 'View restaurant',
227
+ VENDOR: 'View vendor',
228
+ WHOLESALE_FOOD: 'View wholesale business',
229
+ UNKNOWN: 'View organization',
230
+ CONSTRUCTION: 'View construction company',
231
+ UTILITIES: 'View utilities company',
232
+ CONSTRUCTION_INSPECTION_AGENCY: 'View inspection agency',
233
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'View EMS agency',
234
+ FOOD_MANUFACTURING: 'View food manufacturer',
194
235
  },
236
+ view_organization_type: 'View %{type}',
195
237
 
196
238
  edit: {
197
239
  ARABLE: 'Edit farm',
198
- LIVESTOCK: 'Edit ranch',
240
+ LIVESTOCK: 'Edit livestock',
199
241
  FARMERS_MARKET: 'Edit farmers market',
200
242
  GROWER_NETWORK: 'Edit organization',
201
- RESTAURANT: 'Edit restaurant',
202
- VENDOR: 'Edit vendor',
203
- WHOLESALE_FOOD: 'Edit wholesale business',
204
- UNKNOWN: 'Edit organization',
243
+ RESTAURANT: 'Edit restaurant',
244
+ VENDOR: 'Edit vendor',
245
+ WHOLESALE_FOOD: 'Edit wholesale business',
246
+ UNKNOWN: 'Edit organization',
247
+ CONSTRUCTION: 'Edit construction company',
248
+ UTILITIES: 'Edit utilities company',
249
+ CONSTRUCTION_INSPECTION_AGENCY: 'Edit inspection agency',
250
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Edit EMS agency',
251
+ FOOD_MANUFACTURING: 'Edit food manufacturer',
205
252
  },
206
253
 
207
254
  delete: {
208
255
  ARABLE: 'Delete farm',
209
- LIVESTOCK: 'Delete ranch',
256
+ LIVESTOCK: 'Delete livestock',
210
257
  FARMERS_MARKET: 'Delete farmers market',
211
258
  GROWER_NETWORK: 'Delete organization',
212
- RESTAURANT: 'Delete restaurant',
213
- VENDOR: 'Delete vendor',
214
- WHOLESALE_FOOD: 'Delete wholesale business',
215
- UNKNOWN: 'Delete organization',
259
+ RESTAURANT: 'Delete restaurant',
260
+ VENDOR: 'Delete vendor',
261
+ WHOLESALE_FOOD: 'Delete wholesale business',
262
+ UNKNOWN: 'Delete organization',
263
+ CONSTRUCTION: 'Delete construction company',
264
+ UTILITIES: 'Delete utilities company',
265
+ CONSTRUCTION_INSPECTION_AGENCY: 'Delete inspection agency',
266
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Delete EMS agency',
267
+ FOOD_MANUFACTURING: 'Delete food manufacturer',
216
268
  },
217
269
 
218
270
  remove: {
219
271
  ARABLE: 'Remove farm',
220
- LIVESTOCK: 'Remove ranch',
272
+ LIVESTOCK: 'Remove livestock',
221
273
  FARMERS_MARKET: 'Remove farmers market',
222
274
  GROWER_NETWORK: 'Remove organization',
223
- RESTAURANT: 'Remove restaurant',
224
- VENDOR: 'Remove vendor',
225
- WHOLESALE_FOOD: 'Remove wholesale business',
226
- UNKNOWN: 'Remove organization',
275
+ RESTAURANT: 'Remove restaurant',
276
+ VENDOR: 'Remove vendor',
277
+ WHOLESALE_FOOD: 'Remove wholesale business',
278
+ UNKNOWN: 'Remove organization',
279
+ CONSTRUCTION_INSPECTION_AGENCY: 'Remove inspection agency',
280
+ EMERGENCY_MEDICAL_SERVICES_AGENCY: 'Remove EMS agency',
281
+ FOOD_MANUFACTURING: 'Remove food manufacturer',
227
282
  },
228
283
 
229
284
  contact_department: {
@@ -238,7 +293,7 @@ export default {
238
293
  compliance: {
239
294
  ORGANIC: 'Organic certification',
240
295
  INSURANCE: 'Insurance policy',
241
- PRODUCERS_CERTIFICATE: 'Producer\'s certificate',
296
+ PRODUCERS_CERTIFICATE: "Producer's certificate",
242
297
  MILK_HANDLER_LICENSE: 'Milk Handler license',
243
298
  EGG_HANDLER_LICENSE: 'Egg Handler license',
244
299
  NURSERY_LICENSE: 'Nursery license',