@jsb188/app 1.1.12 → 1.1.13
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/LICENSE +21 -0
- package/package.json +11 -3
- package/src/constants/agent.ts +17 -7
- package/src/constants/app.ts +26 -0
- package/src/constants/wsActions.ts +0 -6
- package/src/i18n/agent.ts +65 -78
- package/src/i18n/agentToolBusiness.ts +149 -5
- package/src/i18n/agentToolGrid.ts +0 -16
- package/src/i18n/agent_note.ts +7 -6
- package/src/i18n/auth.ts +0 -3
- package/src/i18n/c.ts +58 -12
- package/src/i18n/campaign.ts +81 -830
- package/src/i18n/editor.ts +3 -5
- package/src/i18n/email_outreach_editor.ts +526 -0
- package/src/i18n/error.ts +174 -85
- package/src/i18n/field_doc_programs.ts +2 -3
- package/src/i18n/field_docs.ts +1 -0
- package/src/i18n/form.ts +12 -0
- package/src/i18n/index.ts +5 -1
- package/src/i18n/log.ts +2 -1
- package/src/i18n/memory.ts +2 -3
- package/src/i18n/message.ts +1 -0
- package/src/i18n/org.ts +4 -1
- package/src/i18n/schedule.ts +46 -122
- package/src/i18n/sheet.ts +20 -33
- package/src/i18n/workflow.ts +66 -4
- package/src/types/ai.d.ts +0 -4
- package/src/types/app.d.ts +22 -59
- package/src/types/auth.d.ts +1 -1
- package/src/utils/api.ts +14 -10
- package/src/utils/color.ts +18 -0
- package/src/utils/object.ts +41 -128
- package/src/utils/queryReset.ts +16 -54
- package/src/utils/string.ts +7 -0
- package/src/utils/url_client.ts +46 -15
- package/src/utils/expression.test.ts +0 -793
- package/src/utils/managedSessionBff.test.ts +0 -60
- package/src/utils/string.test.ts +0 -278
- package/tsconfig.json +0 -12
package/src/i18n/error.ts
CHANGED
|
@@ -6,10 +6,6 @@ export default {
|
|
|
6
6
|
network_error_title: 'Network error',
|
|
7
7
|
session_expired_title: 'Session expired',
|
|
8
8
|
session_expired_msg: 'Your authentication session expired.\n Please sign in again.',
|
|
9
|
-
form_not_found_title: 'Form Not Found',
|
|
10
|
-
form_not_found_msg: 'This form does not exist. Please double check the URL.',
|
|
11
|
-
form_load_error_title: 'Internal Server Error',
|
|
12
|
-
form_load_error_msg: "We're sorry, something went wrong while trying to load this form.",
|
|
13
9
|
server_outage_title: 'Service disruption',
|
|
14
10
|
server_outage_msg: 'Our servers are experiencing a brief service disruption,\n or we may be deploying an update.',
|
|
15
11
|
unknown_error: 'Unknown error',
|
|
@@ -52,10 +48,12 @@ export default {
|
|
|
52
48
|
'10000_preset': 'force_reload',
|
|
53
49
|
10000: 'This browser tab will reload to update the app.',
|
|
54
50
|
10001: 'Your file is too large. Please try again with a smaller file.',
|
|
55
|
-
10002: '
|
|
51
|
+
10002: 'Required upload information is missing or invalid.',
|
|
56
52
|
10003: '"%{value}" file type is not supported.',
|
|
57
53
|
10004: 'There was an error while uploading your file(s).',
|
|
58
|
-
10005: '
|
|
54
|
+
10005: 'This file was blocked by the content safety check.',
|
|
55
|
+
'10006_title': 'Empty file',
|
|
56
|
+
10006: 'This file is empty. Choose a file with content and try again.',
|
|
59
57
|
10009: 'This Apple login URL expired. Please try again.',
|
|
60
58
|
10010: 'Your Apple login token was invalid.',
|
|
61
59
|
10011: 'Apple API failed to respond.',
|
|
@@ -94,7 +92,7 @@ export default {
|
|
|
94
92
|
20018: "Your email is already verified. There's no need to verify your email again.",
|
|
95
93
|
'20019_title': 'Login expired',
|
|
96
94
|
20019: 'Your login token expired. Please log in again.',
|
|
97
|
-
'20020_icon': 'lock-
|
|
95
|
+
// '20020_icon': 'lock-circle-color', // This is not needed because Unauthorized HTTP code will default to the correct, universal, unauthorized icon.
|
|
98
96
|
20020: 'You do not have access to this chat.',
|
|
99
97
|
20022: 'You are not allowed to chat here.',
|
|
100
98
|
20023: 'You must be friends to send direct messages.',
|
|
@@ -126,18 +124,18 @@ export default {
|
|
|
126
124
|
20051: "We couldn't find an account associated with that phone number. (%{value})",
|
|
127
125
|
20052: "You do not have access to this organization's data.",
|
|
128
126
|
20149: 'That schedule item could not be found.',
|
|
129
|
-
20150: 'The schedule input is invalid. Check the dates,
|
|
127
|
+
20150: 'The schedule input is invalid. Check the dates, times, time zone, or settings.',
|
|
130
128
|
20151: 'This item changed while you were editing it. Reload and try again.',
|
|
131
129
|
20152: 'The schedule cannot be published while a blocking rule is breached.',
|
|
132
130
|
20153: 'The schedule has warnings that must be acknowledged before publishing.',
|
|
133
|
-
20161: 'That date range holds too many
|
|
131
|
+
20161: 'That date range holds too many shifts to show at once. Narrow the range.',
|
|
134
132
|
20181: 'That key or code is already in use.',
|
|
135
133
|
20182: 'That link would create a loop in the project logic.',
|
|
136
134
|
20154: 'That item has already changed state. Reload to see the latest.',
|
|
137
135
|
'20154_title': 'Already changed',
|
|
138
136
|
20155: '%{value} is not eligible for this shift.',
|
|
139
137
|
'20155_title': 'Not eligible',
|
|
140
|
-
20183: "Too late
|
|
138
|
+
20183: "Too late for this request. Shift requests need %{value} hours' notice.",
|
|
141
139
|
'20183_title': 'Not enough notice',
|
|
142
140
|
20184: 'Too many rows in one request (%{value}). Split the import.',
|
|
143
141
|
'20184_title': 'Too many rows',
|
|
@@ -155,6 +153,16 @@ export default {
|
|
|
155
153
|
'20191_title': 'Send recovery in progress',
|
|
156
154
|
20188: 'That time off overlaps a request you already have.',
|
|
157
155
|
'20188_title': 'Overlapping time off',
|
|
156
|
+
20268: 'That shift was just filled by someone else. Pick another shift.',
|
|
157
|
+
'20268_title': 'Shift already filled',
|
|
158
|
+
20269: 'That person already has a shift at that time.',
|
|
159
|
+
'20269_title': 'Already booked',
|
|
160
|
+
20270: 'That role is still used by shifts, templates or rules. Archive it instead.',
|
|
161
|
+
'20270_title': 'Role in use',
|
|
162
|
+
20271: 'Only a person on the team can be scheduled for this.',
|
|
163
|
+
'20271_title': 'Not a person',
|
|
164
|
+
20272: 'Scheduling is not available yet.',
|
|
165
|
+
'20272_title': 'Coming soon',
|
|
158
166
|
20156: 'That memory no longer exists.',
|
|
159
167
|
20157: 'A memory must be one short sentence, 255 characters or less.',
|
|
160
168
|
20053: "You haven't verified your account yet.",
|
|
@@ -215,7 +223,7 @@ export default {
|
|
|
215
223
|
20092: 'The attached file could not be found.\n Please upload it again.',
|
|
216
224
|
'20093_icon': 'layers-grid-warning',
|
|
217
225
|
'20093_title': 'Attachment failed',
|
|
218
|
-
20093: 'This file type is not supported.\n
|
|
226
|
+
20093: 'This file type is not supported.\n Choose a supported image, document, audio file, or video.',
|
|
219
227
|
'20094_icon': 'layers-grid-warning',
|
|
220
228
|
'20094_title': 'Attachment failed',
|
|
221
229
|
20094: 'You attached too many files.\n Please attach up to %{value} files per message.',
|
|
@@ -231,22 +239,7 @@ export default {
|
|
|
231
239
|
'20098_icon': 'lock-circle',
|
|
232
240
|
'20098_title': 'Not a member',
|
|
233
241
|
20098: 'Your account is not a member of this organization.\n Please ask your administrator for an invitation.',
|
|
234
|
-
|
|
235
|
-
'20099_title': 'Not eligible',
|
|
236
|
-
20099:
|
|
237
|
-
'Your account is not associated with any organization linked to this form.\n Please contact the organization that sent you this form.',
|
|
238
|
-
'20100_icon': 'lock-circle',
|
|
239
|
-
'20100_title': 'Form unavailable',
|
|
240
|
-
20100: 'This form does not exist or is no longer accepting responses.',
|
|
241
|
-
'20101_icon': 'lock-circle',
|
|
242
|
-
'20101_title': 'Verification needed',
|
|
243
|
-
20101: 'Your email verification expired or is invalid.\n Please verify your email again to continue.',
|
|
244
|
-
'20102_title': 'Already submitted',
|
|
245
|
-
20102: 'A response has already been submitted for this form.',
|
|
246
|
-
'20103_title': 'Invalid answers',
|
|
247
|
-
20103: 'Some answers could not be matched to this form: %{value}',
|
|
248
|
-
'20104_title': 'Missing required answers',
|
|
249
|
-
20104: 'Please answer all required questions before submitting.',
|
|
242
|
+
20099: 'Select a country from the list.',
|
|
250
243
|
'20105_icon': 'layers-grid-warning',
|
|
251
244
|
'20105_title': 'Import in progress',
|
|
252
245
|
20105: 'Your organization already has spreadsheet imports running.\n Please wait for them to finish, then try again.',
|
|
@@ -257,8 +250,6 @@ export default {
|
|
|
257
250
|
20108: 'Your organization already has file exports running.\n Please wait for them to finish, then try again.',
|
|
258
251
|
'20109_title': 'Invalid export request',
|
|
259
252
|
20109: 'The export request is invalid. Please adjust it and try again.',
|
|
260
|
-
'20114_title': 'Invalid header image',
|
|
261
|
-
20114: 'Choose a JPEG, PNG, or WebP image smaller than 10 MB.',
|
|
262
253
|
'20116_title': 'Structure edit conflict',
|
|
263
254
|
20116: 'This spreadsheet edit identifier was already used for a different row or column change. Please refresh and try again.',
|
|
264
255
|
'20117_title': 'Data table edit conflict',
|
|
@@ -273,7 +264,7 @@ export default {
|
|
|
273
264
|
'20128_title': 'Invalid recipient list',
|
|
274
265
|
20128: 'Choose between 1 and 5,000 eligible email recipients.',
|
|
275
266
|
'20129_title': 'Email handle required',
|
|
276
|
-
20129: 'Create an email handle in organization settings before sending
|
|
267
|
+
20129: 'Create an email handle in organization settings before sending emails.',
|
|
277
268
|
'20110_title': 'Daily limit reached',
|
|
278
269
|
20110: 'Your organization reached its daily limit for generated files.\n Please try again tomorrow.',
|
|
279
270
|
'20111_title': 'File not found',
|
|
@@ -294,16 +285,15 @@ export default {
|
|
|
294
285
|
20134: 'This sign-in session could not be established.\n Please sign in again.',
|
|
295
286
|
'20135_title': 'Session refresh in progress',
|
|
296
287
|
20135: 'Another request refreshed this session. Please try again.',
|
|
297
|
-
'20136_title': 'App inbox required',
|
|
298
|
-
20136: "Select one of this organization's app email inboxes for the main Reply-To.",
|
|
299
288
|
'20137_title': 'Invalid second Reply-To',
|
|
300
289
|
20137: 'Enter a valid email address for the optional Reply-To.',
|
|
301
|
-
'20193_title': '
|
|
290
|
+
'20193_title': 'Organization member email required',
|
|
302
291
|
'20195_title': 'Invalid send schedule',
|
|
303
292
|
20195: 'Choose a valid date and time in the future for sending this campaign.',
|
|
304
|
-
'20197_title':
|
|
305
|
-
20197:
|
|
306
|
-
|
|
293
|
+
'20197_title': 'Too close to a follow-up',
|
|
294
|
+
20197:
|
|
295
|
+
'A waiting follow-up must stay at least 60 minutes after this email. Choose an earlier time, or reschedule or cancel the follow-up first.',
|
|
296
|
+
20193: "Choose an organization member's email for the optional Reply-To. Select the Agent inbox under Reply handling.",
|
|
307
297
|
'20194_title': 'Organization member email required',
|
|
308
298
|
20194: 'The optional Reply-To must be a verified email address belonging to a current member of this organization.',
|
|
309
299
|
20138: 'The value you tried to enter is not acceptable.',
|
|
@@ -315,24 +305,12 @@ export default {
|
|
|
315
305
|
'Your form changes could not be saved because an element was invalid or had changed elsewhere. Reload the form and try again.',
|
|
316
306
|
'20143_title': 'Form changed elsewhere',
|
|
317
307
|
20143: 'A newer version of this form was saved elsewhere. Reload the latest form before saving your changes.',
|
|
318
|
-
'20144_title': 'Invalid form request',
|
|
319
|
-
20144: 'Add instructions or up to ten uploaded files, then try again.',
|
|
320
|
-
'20145_title': 'Form generation in progress',
|
|
321
|
-
20145: 'Another form is already being generated for your account. Wait for it to finish, then try again.',
|
|
322
|
-
'20146_title': 'Invalid source file',
|
|
323
|
-
20146: 'One of the uploaded files is unavailable or unsupported. Upload it again, then retry.',
|
|
324
|
-
'20147_title': 'Form generation failed',
|
|
325
|
-
20147: 'We could not generate a valid form from those sources. Adjust the instructions or files and try again.',
|
|
326
|
-
'20148_title': 'More detail needed',
|
|
327
|
-
20148: 'Describe the form you need or upload a file that contains its questions, then try again.',
|
|
328
308
|
'20158_title': 'Email generation unavailable',
|
|
329
309
|
20158: 'Email campaign generation is not available yet.',
|
|
330
310
|
'20159_title': 'File cannot be moderated',
|
|
331
311
|
20159: 'This file is too large for moderation. Try a smaller file.',
|
|
332
|
-
'20160_title': '
|
|
312
|
+
'20160_title': 'Upload approval invalid',
|
|
333
313
|
20160: 'The file moderation approval expired or no longer matches. Upload the file again.',
|
|
334
|
-
'20162_title': 'Instructions not allowed',
|
|
335
|
-
20162: 'The form instructions did not pass our moderation check. Revise them and try again.',
|
|
336
314
|
'20163_title': 'Template not found',
|
|
337
315
|
20163: 'That campaign template no longer exists.\n Please check if you have the correct URL.',
|
|
338
316
|
'20164_title': 'Change unavailable',
|
|
@@ -342,18 +320,12 @@ export default {
|
|
|
342
320
|
'20166_title': 'Campaign not found',
|
|
343
321
|
20166: 'This campaign could not be found.\n Please check if you have the correct URL.',
|
|
344
322
|
20167: 'This template is unavailable or archived. Choose an active template and try again.',
|
|
345
|
-
'20168_title': 'This form is closed',
|
|
346
|
-
20168: 'This form is no longer accepting responses.',
|
|
347
|
-
20169: 'Some answers are missing or invalid. Check the highlighted questions and try again.',
|
|
348
|
-
'20170_title': 'Already submitted',
|
|
349
|
-
20170: 'You have already submitted a response to this form.',
|
|
350
|
-
20171: 'You do not have access to this form.',
|
|
351
323
|
20172: 'Too many campaigns are already being generated for this organization. Wait for one to finish, then try again.',
|
|
352
324
|
20173: 'A chat name must be between 1 and 80 characters.',
|
|
353
325
|
'20176_icon': 'rotate-forward',
|
|
354
326
|
'20176_title': 'Found a newer version',
|
|
355
|
-
20176: 'There is a newer saved version for this
|
|
356
|
-
20199: 'Choose a valid person or contact and where this memory should apply.
|
|
327
|
+
20176: 'There is a newer saved version for this recipient list. Please refresh this page and try again.',
|
|
328
|
+
20199: 'Choose a valid person or contact and the channels where this memory should apply.',
|
|
357
329
|
20200: 'This page could not be loaded. Refresh the list and try again.',
|
|
358
330
|
'20504_icon': 'rotate-forward',
|
|
359
331
|
'20504_title': 'Found a newer version',
|
|
@@ -375,10 +347,116 @@ export default {
|
|
|
375
347
|
20701: 'This QR code could not be found.',
|
|
376
348
|
20702: 'A QR code reference is unavailable or does not belong to this organization or its linked organizations.',
|
|
377
349
|
20703: 'These values are too large for one offline QR code. Shorten the values or remove some fields.',
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
350
|
+
20711: 'This email has no sender address.',
|
|
351
|
+
'20800_title': 'Bulk email not found',
|
|
352
|
+
20800: 'That bulk email no longer exists in this organization.',
|
|
353
|
+
'20801_title': 'Bulk email changed',
|
|
354
|
+
20801: 'This bulk email changed since you opened it. Reload and try again.',
|
|
355
|
+
'20802_title': 'Not approved',
|
|
356
|
+
20802: 'This bulk email draft was not approved for its current version.',
|
|
357
|
+
'20803_title': 'Draft incomplete',
|
|
358
|
+
20803: 'This bulk email draft needs a subject, a body, reply instructions and an audience list before it can be sent.',
|
|
359
|
+
'20804_title': 'Action not available',
|
|
360
|
+
20804: 'This bulk email cannot do that in its current status.',
|
|
361
|
+
'20805_title': 'Chat request needed',
|
|
362
|
+
20805: 'A bulk email can only be sent when someone asks for it in an SMS or web chat. Ask the assistant in a chat to send it.',
|
|
363
|
+
'20806_title': 'Not allowed to send',
|
|
364
|
+
20806: 'You do not have permission to send bulk email for this organization. Ask an organization administrator to send it.',
|
|
365
|
+
'20807_title': 'Preview first',
|
|
366
|
+
20807:
|
|
367
|
+
'This bulk email has not been previewed yet. Open the preview link, check the email, then confirm the send in a new message.',
|
|
368
|
+
'20808_title': 'Draft changed',
|
|
369
|
+
20808:
|
|
370
|
+
"This bulk email's content or recipients changed after the preview you saw. Open the new preview link, check the email, then confirm the send again.",
|
|
371
|
+
'20809_title': 'Confirm after the preview',
|
|
372
|
+
20809:
|
|
373
|
+
'The send was confirmed before the preview was shown. Open the preview link, check the email, then confirm the send in a new message.',
|
|
374
|
+
'20810_title': 'Preview expired',
|
|
375
|
+
20810:
|
|
376
|
+
'The preview of this bulk email is more than 7 days old. Ask for a new preview link, check the email, then confirm the send again.',
|
|
377
|
+
'20811_title': 'Preview not delivered',
|
|
378
|
+
20811:
|
|
379
|
+
'The text message with the preview link was not delivered. Ask for the preview again, check the email, then confirm the send.',
|
|
380
|
+
'20820_title': 'Already sent',
|
|
381
|
+
20820: 'This bulk email is no longer a draft, so it cannot be changed or sent again. Ask the assistant to re-send it instead.',
|
|
382
|
+
'20821_title': 'Continue on the web',
|
|
383
|
+
20821: 'This bulk email uses the rich web layout. Continue editing it in web chat.',
|
|
384
|
+
'20822_title': 'Draft changed',
|
|
385
|
+
20822: 'This bulk email draft changed since you last saw it. Check the latest preview and try again.',
|
|
386
|
+
'20823_title': 'Bulk email archived',
|
|
387
|
+
20823: 'This bulk email is archived. Unarchive it before editing, sending or testing it.',
|
|
388
|
+
'20824_title': 'Cannot re-send',
|
|
389
|
+
20824: 'Only a bulk email that finished sending can be re-sent.',
|
|
390
|
+
'20825_title': 'Chat request needed',
|
|
391
|
+
20825: 'This request could not be matched to a chat message. Ask the assistant again in the chat.',
|
|
392
|
+
'20826_title': 'No verified email',
|
|
393
|
+
20826: 'Verify the email address on your account before sending yourself a test email.',
|
|
394
|
+
'20827_title': 'Invalid request',
|
|
395
|
+
20827: 'The request does not fit the chosen action. Check the details and try again.',
|
|
396
|
+
'20828_title': 'Content changed',
|
|
397
|
+
20828: 'A re-send must keep the original content. Create a new draft to send changed content.',
|
|
398
|
+
'20850_title': 'Invalid layout',
|
|
399
|
+
20850: 'The email layout is not valid. Ask the assistant to fix it.',
|
|
400
|
+
'20851_title': 'Invalid email content',
|
|
401
|
+
20851: 'Part of the email content is missing or not valid. Ask the assistant to fix it.',
|
|
402
|
+
'20852_title': 'Invalid link',
|
|
403
|
+
20852: 'A link in the email is not valid. Ask the assistant to fix it.',
|
|
404
|
+
'20853_title': 'Invalid style',
|
|
405
|
+
20853: 'A color, size or spacing setting in the email is not valid. Ask the assistant to fix it.',
|
|
406
|
+
'20854_title': 'Image unavailable',
|
|
407
|
+
20854: 'An image in the email cannot be used. Upload it again in the chat.',
|
|
408
|
+
'20855_title': 'Email too large',
|
|
409
|
+
20855: 'The email has too many images or too much text.',
|
|
410
|
+
'20856_title': 'Empty email',
|
|
411
|
+
20856: 'The email has no content to show.',
|
|
412
|
+
'20857_title': 'Cannot send this content',
|
|
413
|
+
20857: 'The saved email content cannot be sent. Ask the assistant to save the draft again and confirm the new preview.',
|
|
414
|
+
'20860_title': 'Original email not found',
|
|
415
|
+
20860: 'Choose an original email in this organization.',
|
|
416
|
+
'20861_title': 'Original email is a draft',
|
|
417
|
+
20861: 'The original email must be scheduled or sent before other emails can share its report.',
|
|
418
|
+
'20862_title': 'Email already has report members',
|
|
419
|
+
20862: 'This email owns a report with attached emails. Detach those emails before attaching this email elsewhere.',
|
|
420
|
+
'20863_title': 'Follow-up report cannot change',
|
|
421
|
+
20863: 'A follow-up always reports into its original. Change the reply handling on the original email.',
|
|
422
|
+
'20864_title': 'Reply handling belongs to the original',
|
|
423
|
+
20864: 'This email shares its original’s reply handling and AI note. Open the original email to change them.',
|
|
424
|
+
'20865_title': 'Email cannot report into itself',
|
|
425
|
+
20865: 'Choose a different original email, or detach this email to restore its own report.',
|
|
426
|
+
'20866_title': 'Cannot wait for that work',
|
|
427
|
+
20866:
|
|
428
|
+
'This email cannot wait for the work that was chosen. Ask the assistant to choose different work, or send it without waiting.',
|
|
429
|
+
// Library
|
|
430
|
+
'20900_title': 'File not found',
|
|
431
|
+
20900: 'This file could not be found. It may have been deleted, or you may not have access to it.',
|
|
432
|
+
'20901_title': 'Managers only',
|
|
433
|
+
20901: 'Only a library manager can do this.',
|
|
434
|
+
'20902_title': 'File not supported',
|
|
435
|
+
20902: 'This file type is not accepted, or the file is empty or larger than 25 MB.',
|
|
436
|
+
'20903_title': 'Wrong number of files',
|
|
437
|
+
20903: 'Add one document, spreadsheet, slide deck, text file or recording at a time, or up to 20 pictures.',
|
|
438
|
+
'20904_title': 'Mixed file types',
|
|
439
|
+
20904: 'Pictures can be added together; add every other file on its own.',
|
|
440
|
+
'20905_title': 'PDF is password-protected',
|
|
441
|
+
20905: 'This PDF is password-protected. Remove the password and upload it again.',
|
|
442
|
+
'20906_title': 'Too many files waiting',
|
|
443
|
+
20906: 'Too many files are waiting to be analyzed. Wait a few minutes and try again.',
|
|
444
|
+
'20907_title': 'Daily limit reached',
|
|
445
|
+
20907: 'The daily limit of files from unverified email senders has been reached. Try again tomorrow.',
|
|
446
|
+
'20908_title': 'File was flagged',
|
|
447
|
+
20908: 'This file was received before and flagged by the safety screen. It cannot be added to the library.',
|
|
448
|
+
'20909_title': 'Upload not usable',
|
|
449
|
+
20909: 'This upload could not be used. Upload the file again and try once more.',
|
|
450
|
+
20910: 'This organization or contact could not be found, or is not related to your organization.',
|
|
451
|
+
20911: 'This file belongs to a library file. Delete the library file to remove it.',
|
|
452
|
+
20912: 'These pages could not be shown. Choose a smaller range of pages and try again.',
|
|
453
|
+
20913: 'This source passage could not be found. Reload the page and try again.',
|
|
454
|
+
'20927_title': 'Too many files waiting',
|
|
455
|
+
20927: 'Too many files are waiting for a manager’s approval. Ask a manager to review them, then try again.',
|
|
456
|
+
'20928_title': 'Not waiting for approval',
|
|
457
|
+
20928: 'This file is not waiting for approval.',
|
|
458
|
+
'20929_title': 'File was flagged',
|
|
459
|
+
20929: 'This file was flagged by the safety screen. It cannot be approved or restored.',
|
|
382
460
|
'20179_title': 'Unsupported language',
|
|
383
461
|
20179: 'Choose one of the supported log languages or disable the setting.',
|
|
384
462
|
'20180_title': 'Proof is still archiving',
|
|
@@ -411,28 +489,10 @@ export default {
|
|
|
411
489
|
20214: 'Test emails can only be sent to a verified email address of a current member of your organization.',
|
|
412
490
|
'20215_title': 'Test email not sent',
|
|
413
491
|
20215: 'We could not send the test email. Please try again in a moment.',
|
|
414
|
-
'20218_title': 'Invalid email address',
|
|
415
|
-
20218: 'Enter a valid email address to receive a sign-in code.',
|
|
416
|
-
'20219_title': 'Code not accepted',
|
|
417
|
-
20219: 'This code is incorrect or has expired. Try again or request a new code.',
|
|
418
|
-
'20220_title': 'Please wait before trying again',
|
|
419
|
-
20220: 'Too many sign-in attempts. Please wait before trying again.',
|
|
420
|
-
'20221_title': 'Email sign-in unavailable',
|
|
421
|
-
20221: 'Email sign-in is not available for this form. It may have closed or its access settings may have changed.',
|
|
422
492
|
'20226_title': 'Changes not saved',
|
|
423
493
|
20226: 'Your latest changes could not be saved. Reload the page and try again.',
|
|
424
|
-
'20227_title': 'Form is not ready',
|
|
425
|
-
20227:
|
|
426
|
-
'Your draft was saved, but it is not ready to publish. Check "%{value}": every section needs a title and a question, and every question needs a label and complete answer settings.',
|
|
427
|
-
'20228_icon': 'rotate-forward',
|
|
428
|
-
'20228_title': 'A newer version was published',
|
|
429
|
-
20228: 'This form was published again after your draft started. Discard your draft to start from the latest version.',
|
|
430
494
|
'20229_title': 'Section title required',
|
|
431
495
|
20229: 'Add a title to every section before saving this draft.',
|
|
432
|
-
'20230_title': 'No published version to restore',
|
|
433
|
-
20230: 'This form has never been published. Keep editing its draft, publish it when ready, or archive the form.',
|
|
434
|
-
'20231_title': 'Image used by a published form',
|
|
435
|
-
20231: 'This image belongs to a published form version and must remain available while that form is retained.',
|
|
436
496
|
// Agent notes
|
|
437
497
|
'20232_title': 'AI note not found',
|
|
438
498
|
20232: 'This AI note no longer exists, or you do not have access to it.',
|
|
@@ -451,7 +511,7 @@ export default {
|
|
|
451
511
|
'20240_title': 'QR scan expired',
|
|
452
512
|
20240: 'This QR scan expired or belongs to another account or organization. Add the image again.',
|
|
453
513
|
'20241_title': 'Image could not be checked',
|
|
454
|
-
20241: 'We
|
|
514
|
+
20241: 'We couldn’t read or fully check this image. Try uploading a smaller copy saved as a JPEG or PNG.',
|
|
455
515
|
'20242_title': 'Too much QR data',
|
|
456
516
|
20242: 'Send fewer QR codes at a time so their data fits in one message.',
|
|
457
517
|
'20243_title': 'Table belongs to an AI note',
|
|
@@ -466,7 +526,7 @@ export default {
|
|
|
466
526
|
'20247_title': 'Table already exists',
|
|
467
527
|
20247: 'Another data table already has this title and the same columns. Choose another title.',
|
|
468
528
|
'20248_title': 'Table is in use',
|
|
469
|
-
20248: 'This data table cannot be deleted because an AI note
|
|
529
|
+
20248: 'This data table cannot be deleted because an AI note uses it.',
|
|
470
530
|
'20249_title': 'Table too large to export',
|
|
471
531
|
20249: 'This data table has more than %{value} rows, which is more than one CSV file holds.',
|
|
472
532
|
// Field doc programs
|
|
@@ -498,7 +558,7 @@ export default {
|
|
|
498
558
|
20262: 'This workflow was not found. It may have been deleted.',
|
|
499
559
|
'20263_title': 'Workflow is linked to content',
|
|
500
560
|
20263:
|
|
501
|
-
'This workflow is linked to a field document
|
|
561
|
+
'This workflow is linked to a field document and cannot be deleted directly. It will be removed after the field document is permanently deleted.',
|
|
502
562
|
'20265_title': 'Group not found',
|
|
503
563
|
20265: 'This field doc group no longer exists. Refresh the program and choose an available group.',
|
|
504
564
|
'20266_title': 'Invalid field doc group',
|
|
@@ -511,9 +571,34 @@ export default {
|
|
|
511
571
|
'20261_title': 'Workflow cannot be resumed',
|
|
512
572
|
20261:
|
|
513
573
|
'This workflow cannot be resumed because its program was removed, or its document or workflow was retired from the program.',
|
|
574
|
+
'20273_title': 'Draft changed',
|
|
575
|
+
20273: 'This draft changed while you were viewing it. Review the latest draft, then try again.',
|
|
576
|
+
'20274_title': 'Draft has problems',
|
|
577
|
+
20274: 'This draft has problems that must be fixed before it can be switched on. Ask the assistant to fix them.',
|
|
578
|
+
'20275_title': 'No draft',
|
|
579
|
+
20275: 'This workflow has no draft. It may have been switched on or discarded already.',
|
|
580
|
+
'20276_title': 'Not switched on yet',
|
|
581
|
+
20276: 'This workflow has never been switched on. Switch on its draft first.',
|
|
582
|
+
'20277_title': 'Managed by a program',
|
|
583
|
+
20277: "This workflow is managed by its program, so its steps can't be changed. You can pause it, resume it or add instructions.",
|
|
584
|
+
'20278_title': 'Trigger cannot change',
|
|
585
|
+
20278: "A workflow's trigger can't move to another form or kind of trigger. Ask the assistant for a new workflow instead.",
|
|
586
|
+
'20279_title': 'Nothing added',
|
|
587
|
+
20279: "Nothing was added to this form's workflow. The form is only filled from its logs.",
|
|
588
|
+
'20280_title': 'Form not available',
|
|
589
|
+
20280: 'This form was archived or is no longer available to your organization.',
|
|
590
|
+
'20281_title': 'Old workflow',
|
|
591
|
+
20281: 'This workflow was made by an earlier version of workflows and can no longer be changed. You can delete it.',
|
|
592
|
+
'20282_title': 'Not a form workflow',
|
|
593
|
+
20282: "Only a form's workflow has added steps to remove.",
|
|
594
|
+
'20283_title': 'Scheduled task',
|
|
595
|
+
20283: 'This is a scheduled task, not a workflow.',
|
|
596
|
+
'20284_title': 'Runs in progress',
|
|
597
|
+
20284:
|
|
598
|
+
"This workflow has runs in progress, so its trigger can't switch between logs and finished work yet. Try again when they finish.",
|
|
514
599
|
'20237_title': 'Source is archived',
|
|
515
600
|
20237:
|
|
516
|
-
"This AI note's
|
|
601
|
+
"This AI note's email outreach is archived, or its field doc is archived, retired or no longer in an enrolled program. Restore the archived email outreach first. An archived or retired field doc can't be restored; a removed program can be restored in App Settings → Programs.",
|
|
517
602
|
// 3x
|
|
518
603
|
30000: 'An unknown error occured.',
|
|
519
604
|
30002: 'We made an error in our code. We will fix this soon.',
|
|
@@ -523,9 +608,7 @@ export default {
|
|
|
523
608
|
30011: 'Something went wrong with your Google authentication attempt.',
|
|
524
609
|
30012: 'Microsoft servers are not responding right now.',
|
|
525
610
|
30043: 'This app is not authorized to connect from the current address.',
|
|
526
|
-
30046: 'Form generation is temporarily unavailable. Please try again in a moment.',
|
|
527
611
|
30047: 'File moderation is temporarily unavailable. Please try again in a moment.',
|
|
528
|
-
30048: 'Form instruction moderation is temporarily unavailable. Please try again in a moment.',
|
|
529
612
|
30050: 'The contact form is temporarily unavailable. Please email us directly instead.',
|
|
530
613
|
30013: 'Our database is in maintenance. Please try again in a moment.',
|
|
531
614
|
30014: 'Stripe CardElement is incorrect.',
|
|
@@ -571,6 +654,12 @@ export default {
|
|
|
571
654
|
// File errors
|
|
572
655
|
file_too_large: 'File too large',
|
|
573
656
|
file_too_large_msg: 'Your file is too large.\n It must be less than %{maxFileSize}.',
|
|
657
|
+
image_type_not_supported: 'Image type not supported',
|
|
658
|
+
email_image_type_not_supported_msg: 'Use a GIF, JPEG, or PNG image.',
|
|
659
|
+
email_image_limit: 'Too many images',
|
|
660
|
+
email_image_limit_msg: 'An email can include up to %{limit} images. Remove one before adding another.',
|
|
661
|
+
email_text_too_long: 'Text block is too long',
|
|
662
|
+
email_text_too_long_msg: 'This text block reached its size limit. Split it into another text block to add more.',
|
|
574
663
|
// file_must_be_photo: 'That is an invalid file. It must be a picture.',
|
|
575
664
|
img_processing_failed: "Your file couldn't be processed. Please upload a valid image file.",
|
|
576
665
|
// audio_processing_failed: 'Your file couldn\'t be processed. Please upload a valid audio file.',
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
// App Settings > Programs tab
|
|
4
4
|
program: 'Program',
|
|
5
5
|
programs: 'Programs',
|
|
6
|
-
login_change_required_msg: "This program isn't available in [
|
|
6
|
+
login_change_required_msg: "This program isn't available in [em_link##%{orgName}].\n Change your login to access it.",
|
|
7
7
|
programs_msg: 'Please contact us to enable different programs for your organization.',
|
|
8
8
|
enrolled_programs: 'Your programs',
|
|
9
9
|
enrolled_empty: "Your organization isn't enrolled in any programs yet.",
|
|
@@ -45,8 +45,7 @@ export default {
|
|
|
45
45
|
program_description_ph: 'Optional, what this program is for',
|
|
46
46
|
program_category: 'Category',
|
|
47
47
|
program_category_ph: 'Select a category',
|
|
48
|
-
|
|
49
|
-
program_created_msg: '%{name} was created. Ask AI in Co-Pilot to add documents to it.',
|
|
48
|
+
program_created_msg: '%{name} was created.',
|
|
50
49
|
program_saved_msg: 'Program saved.',
|
|
51
50
|
},
|
|
52
51
|
};
|
package/src/i18n/field_docs.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
3
|
field_docs: 'Field Docs',
|
|
4
|
+
login_change_required_msg: "This document doesn't belong to [em_link##%{orgName}].\n Change your login to access this document.",
|
|
4
5
|
last_submission_updated_at: 'Last updated',
|
|
5
6
|
answer_state: {
|
|
6
7
|
UNANSWERED: 'Unanswered',
|
package/src/i18n/form.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
confirmation_message_placeholder: 'Message shown after a response is submitted.',
|
|
4
|
+
file_upload_unavailable: 'File answers are not available yet.',
|
|
5
|
+
form_question_description_ph: 'Optional related text for your question.',
|
|
6
|
+
form_question_key_hint: 'This is a reference key for this question.',
|
|
7
|
+
form_question_label_ph: 'What question do you want to ask?',
|
|
8
|
+
form_question_placeholder_ph: 'Optional placeholder text.',
|
|
9
|
+
required_question_msg: 'This is a required question.',
|
|
10
|
+
send_response_copy_to_email: 'Send a copy of my response to my email.',
|
|
11
|
+
},
|
|
12
|
+
};
|
package/src/i18n/index.ts
CHANGED
|
@@ -16,18 +16,20 @@ import campaign from './campaign.ts';
|
|
|
16
16
|
import country from './country.ts';
|
|
17
17
|
import datetime from './datetime.ts';
|
|
18
18
|
import editor from './editor.ts';
|
|
19
|
+
import email_outreach_editor from './email_outreach_editor.ts';
|
|
19
20
|
import error from './error.ts';
|
|
20
21
|
import field_doc_editor from './field_doc_editor.ts';
|
|
21
22
|
import field_doc_programs from './field_doc_programs.ts';
|
|
22
23
|
import field_docs from './field_docs.ts';
|
|
24
|
+
import form from './form.ts';
|
|
23
25
|
import log from './log.ts';
|
|
24
26
|
import memory from './memory.ts';
|
|
25
27
|
import message from './message.ts';
|
|
26
28
|
import note from './note.ts';
|
|
27
29
|
import org from './org.ts';
|
|
30
|
+
import schedule from './schedule.ts';
|
|
28
31
|
import sheet from './sheet.ts';
|
|
29
32
|
import sheet_formula from './sheet_formula.ts';
|
|
30
|
-
import schedule from './schedule.ts';
|
|
31
33
|
import workflow from './workflow.ts';
|
|
32
34
|
|
|
33
35
|
export const i18nTranslations = {
|
|
@@ -44,11 +46,13 @@ export const i18nTranslations = {
|
|
|
44
46
|
country,
|
|
45
47
|
datetime,
|
|
46
48
|
editor,
|
|
49
|
+
email_outreach_editor,
|
|
47
50
|
error,
|
|
48
51
|
campaign,
|
|
49
52
|
field_doc_editor,
|
|
50
53
|
field_doc_programs,
|
|
51
54
|
field_docs,
|
|
55
|
+
form,
|
|
52
56
|
log,
|
|
53
57
|
message,
|
|
54
58
|
memory,
|
package/src/i18n/log.ts
CHANGED
|
@@ -148,7 +148,6 @@ export default {
|
|
|
148
148
|
UNANCHORED: 'Unanchored',
|
|
149
149
|
},
|
|
150
150
|
|
|
151
|
-
log_type_is_created_updated: 'When %{type} logs are created/updated.',
|
|
152
151
|
risk_flags: 'Potential risks',
|
|
153
152
|
no_potential_risks: 'This log does not indicate any potential risks.',
|
|
154
153
|
animalRisk: 'Animal risk',
|
|
@@ -265,6 +264,7 @@ export default {
|
|
|
265
264
|
// Activities
|
|
266
265
|
activity: {
|
|
267
266
|
CAMPAIGN_FORM_SUBMISSION: 'Form submission',
|
|
267
|
+
UNSORTED_INBOUND_EMAIL: 'Unsorted email',
|
|
268
268
|
OTHER_PRODUCT_PROCESSING_ACTIVITY: 'Other product processing',
|
|
269
269
|
PRODUCT_TRANSFER: 'Product transfer',
|
|
270
270
|
OTHER_PRODUCT_STORAGE_HANDLING_ACTIVITY: 'Other storage & handling',
|
|
@@ -384,6 +384,7 @@ export default {
|
|
|
384
384
|
|
|
385
385
|
activity_short: {
|
|
386
386
|
CAMPAIGN_FORM_SUBMISSION: 'Form',
|
|
387
|
+
UNSORTED_INBOUND_EMAIL: 'Unsorted',
|
|
387
388
|
OTHER_PRODUCT_PROCESSING_ACTIVITY: 'Other processing',
|
|
388
389
|
PRODUCT_TRANSFER: 'Product transfer',
|
|
389
390
|
OTHER_PRODUCT_STORAGE_HANDLING_ACTIVITY: 'Other storage/handling',
|
package/src/i18n/memory.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
3
|
assistant_memories: 'Memories',
|
|
4
|
-
screen_description:
|
|
5
|
-
|
|
6
|
-
empty_state: 'No memories match this selection. Add a memory here or teach the assistant a standing fact in a conversation.',
|
|
4
|
+
screen_description: 'Memories are saved and updated automatically, helping the AI agent apply the right context when needed.',
|
|
5
|
+
empty_state: 'No memories yet. Teach the assistant a standing fact in a conversation.',
|
|
7
6
|
|
|
8
7
|
what_is_remembered: 'Remembered',
|
|
9
8
|
applies_to: 'Applies to',
|
package/src/i18n/message.ts
CHANGED
package/src/i18n/org.ts
CHANGED
|
@@ -30,6 +30,9 @@ export default {
|
|
|
30
30
|
translate_language_disabled: 'Disabled - do not translate',
|
|
31
31
|
translate_language_description:
|
|
32
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.',
|
|
33
|
+
allow_mcp_connections: 'Allow AI app connections (MCP)',
|
|
34
|
+
allow_mcp_connections_description:
|
|
35
|
+
"Lets members connect apps such as Claude or ChatGPT to read this organization's data with their own permissions. Turning this off stops all such connections for this organization.",
|
|
33
36
|
edit_operation: 'Edit operation',
|
|
34
37
|
edit_child_org_operation: 'Edit child organization operation',
|
|
35
38
|
edit_child_org_operation_msg: 'Choose the business operation for\n [hl]%{name}[/hl].',
|
|
@@ -80,7 +83,7 @@ export default {
|
|
|
80
83
|
switch_instr: 'Select from the list below to change your organization.',
|
|
81
84
|
|
|
82
85
|
switch_confirm_msg:
|
|
83
|
-
// NOTE: Because ".
|
|
86
|
+
// NOTE: Because ".em_link" only works when the entire word is in 1 line,
|
|
84
87
|
// we need to give as much space as possible to <span> block.
|
|
85
88
|
'Do you want to switch your primary organization to ' + '[hl]%{orgName}[/hl]?',
|
|
86
89
|
|