@jsb188/app 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +54 -45
- package/src/constants/agent.ts +58 -25
- package/src/constants/app.ts +18 -14
- package/src/constants/billing.ts +92 -92
- package/src/constants/emoji.ts +9144 -8936
- package/src/constants/other.ts +1 -5
- package/src/constants/user.ts +16 -25
- package/src/constants/wsActions.ts +35 -0
- package/src/i18n/account.ts +129 -107
- package/src/i18n/agent.ts +63 -43
- package/src/i18n/agentDoc.ts +110 -0
- package/src/i18n/app.ts +101 -91
- package/src/i18n/auth.ts +119 -102
- package/src/i18n/billing.ts +73 -78
- package/src/i18n/campaign.ts +217 -0
- package/src/i18n/country.ts +248 -248
- package/src/i18n/datetime.ts +26 -26
- package/src/i18n/error.ts +428 -182
- package/src/i18n/field_docs.ts +28 -0
- package/src/i18n/form.ts +464 -344
- package/src/i18n/index.ts +25 -18
- package/src/i18n/log.ts +53 -213
- package/src/i18n/memory.ts +39 -0
- package/src/i18n/message.ts +3 -4
- package/src/i18n/note.ts +17 -0
- package/src/i18n/org.ts +115 -109
- package/src/i18n/sheet.ts +376 -4
- package/src/i18n/workflow.ts +70 -23
- package/src/main.ts +66 -62
- package/src/platform.ts +25 -24
- package/src/types/ai.d.ts +33 -23
- package/src/types/app.d.ts +95 -37
- package/src/types/auth.d.ts +66 -40
- package/src/types/console.d.ts +3 -0
- package/src/types/form.d.ts +65 -61
- package/src/types/other.d.ts +6 -6
- package/src/types.d.ts +12 -14
- package/src/utils/account.ts +64 -58
- package/src/utils/api.ts +280 -77
- package/src/utils/authSession.ts +24 -0
- package/src/utils/billing.ts +110 -103
- package/src/utils/color.ts +202 -0
- package/src/utils/cron.ts +49 -18
- package/src/utils/datetime.ts +255 -103
- package/src/utils/emoji.ts +107 -84
- package/src/utils/expression.ts +867 -0
- package/src/utils/interval.ts +80 -0
- package/src/utils/logic.ts +209 -36
- package/src/utils/managedSession.ts +34 -0
- package/src/utils/managedSessionBff.test.ts +60 -0
- package/src/utils/managedSessionBff.ts +117 -0
- package/src/utils/number.ts +60 -32
- package/src/utils/object.ts +198 -30
- package/src/utils/promise.ts +27 -0
- package/src/utils/queryReset.ts +179 -0
- package/src/utils/recurringTask.ts +60 -0
- package/src/utils/schema.ts +293 -0
- package/src/utils/string.test.ts +220 -208
- package/src/utils/string.ts +471 -438
- package/src/utils/timeZone.ts +309 -851
- package/src/utils/url_client.ts +73 -69
- package/tsconfig.json +10 -10
- package/src/i18n/product.ts +0 -76
package/src/constants/other.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
export const DAY_OF_WEEK = [
|
|
3
2
|
'Sunday', // Order matters
|
|
4
3
|
'Monday',
|
|
@@ -9,9 +8,6 @@ export const DAY_OF_WEEK = [
|
|
|
9
8
|
'Saturday',
|
|
10
9
|
];
|
|
11
10
|
|
|
12
|
-
export const SCHEDULE_FREQUENCY = [
|
|
13
|
-
'ONCE',
|
|
14
|
-
'WEEKLY',
|
|
15
|
-
];
|
|
11
|
+
export const SCHEDULE_FREQUENCY = ['ONCE', 'WEEKLY'];
|
|
16
12
|
|
|
17
13
|
export const DATE_PICKER_MIN = '1950-01-01';
|
package/src/constants/user.ts
CHANGED
|
@@ -1,36 +1,27 @@
|
|
|
1
1
|
export const USER_FRIEND_STATUS_ENUMS = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
'BLOCKED',
|
|
3
|
+
'DECLINED',
|
|
4
|
+
'PENDING',
|
|
5
|
+
'ACCEPTED',
|
|
6
6
|
];
|
|
7
7
|
|
|
8
|
-
export const USER_PLUS_TYPE_ENUMS = [
|
|
9
|
-
'NORMAL',
|
|
10
|
-
'PERKS',
|
|
11
|
-
'PLUS',
|
|
12
|
-
'PRO',
|
|
13
|
-
];
|
|
8
|
+
export const USER_PLUS_TYPE_ENUMS = ['NORMAL', 'PERKS', 'PLUS', 'PRO'];
|
|
14
9
|
|
|
15
10
|
export const SUB_TYPE_TO_ENUMS = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
kajiwoto_plus: 'PLUS',
|
|
12
|
+
kajiwoto_plus_yearly: 'PLUS',
|
|
13
|
+
kajiwoto_pro: 'PRO',
|
|
14
|
+
kajiwoto_pro_yearly: 'PRO',
|
|
20
15
|
};
|
|
21
16
|
|
|
22
17
|
export const SUB_TYPE_ENUMS = Object.keys(SUB_TYPE_TO_ENUMS);
|
|
23
18
|
|
|
24
|
-
export const ONLINE_STATUS_ENUMS = [
|
|
25
|
-
'AWAY',
|
|
26
|
-
'BUSY',
|
|
27
|
-
'APPEAR_OFFLINE',
|
|
28
|
-
];
|
|
19
|
+
export const ONLINE_STATUS_ENUMS = ['AWAY', 'BUSY', 'APPEAR_OFFLINE'];
|
|
29
20
|
|
|
30
21
|
export const STICKY_CHAT_SECTION_ENUMS = [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
];
|
|
22
|
+
'LIVE',
|
|
23
|
+
'MY_LIVE',
|
|
24
|
+
'MY_AI',
|
|
25
|
+
'FAVORITES',
|
|
26
|
+
'NONE',
|
|
27
|
+
];
|
|
@@ -7,7 +7,10 @@ const WS_ACTIONS = {
|
|
|
7
7
|
|
|
8
8
|
// Authentication
|
|
9
9
|
auth: 'auth',
|
|
10
|
+
auth_ready: 'aok',
|
|
10
11
|
auth_reset: 'auth_reset',
|
|
12
|
+
session_revoked: 'sr',
|
|
13
|
+
organization_access_revoked: 'oar',
|
|
11
14
|
|
|
12
15
|
// App
|
|
13
16
|
alert: 'alert',
|
|
@@ -16,7 +19,39 @@ const WS_ACTIONS = {
|
|
|
16
19
|
|
|
17
20
|
// Account
|
|
18
21
|
me: 'me:',
|
|
22
|
+
session: 'session:',
|
|
19
23
|
organization: 'org:',
|
|
24
|
+
|
|
25
|
+
// Server-authorized per-DataTable data delivery
|
|
26
|
+
data_table: 'data_table:',
|
|
27
|
+
data_table_watch: 'dt_w',
|
|
28
|
+
data_table_watch_ack: 'dt_wa',
|
|
29
|
+
data_table_change: 'dt_c',
|
|
30
|
+
data_table_change_ack: 'dt_ca',
|
|
31
|
+
data_table_preview_replay_request: 'dt_pr',
|
|
32
|
+
data_table_selection: 'dt_s',
|
|
33
|
+
data_table_unwatch: 'dt_u',
|
|
34
|
+
|
|
35
|
+
// Sheet collaboration
|
|
36
|
+
sheet: 'sheet:',
|
|
37
|
+
sheet_join: 'sh_j',
|
|
38
|
+
sheet_leave: 'sh_l',
|
|
39
|
+
sheet_presence: 'sh_p',
|
|
40
|
+
sheet_selection: 'sh_s',
|
|
41
|
+
sheet_change: 'sh_c',
|
|
42
|
+
sheet_change_ack: 'sh_ca',
|
|
43
|
+
|
|
44
|
+
// Authorization-only Sheet access watcher (no workbook/collab payloads)
|
|
45
|
+
sheet_access: 'sheet_access:',
|
|
46
|
+
sheet_access_watch: 'sh_aw',
|
|
47
|
+
sheet_access_watch_ack: 'sh_awa',
|
|
48
|
+
sheet_access_unwatch: 'sh_au',
|
|
49
|
+
|
|
50
|
+
// Server-managed, signed-capability Sheet data delivery room
|
|
51
|
+
sheet_data: 'sheet_data:',
|
|
52
|
+
// DataTable edit previews bridged into a Sheet's stable data room, so a Sheet
|
|
53
|
+
// viewer sees generated region cells change without joining DataTable rooms
|
|
54
|
+
sheet_data_table_change: 'sh_dtc',
|
|
20
55
|
};
|
|
21
56
|
|
|
22
57
|
export default WS_ACTIONS;
|
package/src/i18n/account.ts
CHANGED
|
@@ -1,117 +1,139 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
en: {
|
|
3
|
+
name_ph: 'e.g. Jane Doe',
|
|
4
|
+
name_ph2: 'Jane Doe',
|
|
5
|
+
about: 'About me',
|
|
6
|
+
about_ph: 'This text will be displayed on your profile for others to see.',
|
|
7
|
+
username: 'Username',
|
|
8
|
+
username_ph: 'e.g. "@jane_doe"',
|
|
9
|
+
username_info: 'Username, ID, and email is used to log in to your account.',
|
|
10
|
+
email: 'Email',
|
|
11
|
+
email_ph: 'e.g. jane_doe@email.com',
|
|
12
|
+
email_ph2: 'jane_doe@email.com',
|
|
13
|
+
phone_ph: 'e.g. 123-444-5555',
|
|
14
|
+
phone_ph2: '123-444-5555',
|
|
15
|
+
password: 'Password',
|
|
16
|
+
password_ph: 'Enter your password',
|
|
17
|
+
passwordRepeat: 'Password (repeat)',
|
|
18
|
+
search_ph: 'Search @ or ID',
|
|
19
|
+
no_one_found_: 'No one found: "%{query}"',
|
|
20
|
+
profile_no_desc: "This user hasn't written anything about themselves.",
|
|
21
|
+
no_one_found: 'No one found with this query.',
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
23
|
+
// App settings
|
|
24
|
+
manage_team: 'Manage team',
|
|
25
|
+
change_role: 'Change role',
|
|
26
|
+
change_role_desc:
|
|
27
|
+
"Choose [hl]%{name}[/hl]'s new role in _%{orgName}_. " +
|
|
28
|
+
'This will change their permissions and access to certain features.',
|
|
29
|
+
edit_note_desc: 'Edit note for [hl]%{name}[/hl].',
|
|
30
|
+
edit_note_fin_msg:
|
|
31
|
+
'Note for [hl]%{name}[/hl] in _%{orgName}_ has been updated.',
|
|
32
|
+
edit_note_help:
|
|
33
|
+
"It's useful to write information here such as their job function, " +
|
|
34
|
+
'dietary preferences, disabilities or anything else to help guide the AI. ' +
|
|
35
|
+
'_AI may update this note when it receives new information._',
|
|
36
|
+
change_role_fin_msg:
|
|
37
|
+
"[hl]%{name}[/hl]'s role in _%{orgName}_ has been changed to **%{role}**.",
|
|
38
|
+
remove_member_confirm_msg:
|
|
39
|
+
'Are you sure you want to remove\n [hl]%{name}[/hl] from _%{orgName}_?',
|
|
40
|
+
remove_member_fin_msg:
|
|
41
|
+
'[hl]%{name}[/hl] has been removed from _%{orgName}_.',
|
|
42
|
+
remove_member: 'Remove member',
|
|
43
|
+
account: 'Account',
|
|
44
|
+
fName: 'First name',
|
|
45
|
+
lName: 'Last name',
|
|
46
|
+
language: 'Language',
|
|
47
|
+
ai_language: 'Preferred language for AI',
|
|
48
|
+
timeZone: 'Time zone',
|
|
49
|
+
your_account: 'Your account',
|
|
50
|
+
sessions: 'Devices and sessions',
|
|
51
|
+
sessions_desc: 'Review the devices currently signed in to your account.',
|
|
52
|
+
session_current: 'Current session',
|
|
53
|
+
session_last_active: 'Last active %{date}',
|
|
54
|
+
session_expires: 'Expires %{date}',
|
|
55
|
+
session_sign_out: 'Sign out',
|
|
56
|
+
session_sign_out_others: 'Sign out other sessions',
|
|
57
|
+
session_sign_out_member: 'Sign out member sessions',
|
|
58
|
+
session_sign_out_member_desc:
|
|
59
|
+
"Remove %{name}'s active access to %{orgName}.",
|
|
60
|
+
session_unknown_device: 'Unknown device',
|
|
61
|
+
session_none: 'No active sessions were found.',
|
|
62
|
+
your_preferences: 'Your preferences',
|
|
63
|
+
profile: 'Profile',
|
|
64
|
+
profile_desc: 'Change how your profile looks to others.',
|
|
65
|
+
personas: 'Personas',
|
|
66
|
+
show_password: 'Show password',
|
|
67
|
+
hide_password: 'Hide password',
|
|
68
|
+
change_password: 'Change password',
|
|
69
|
+
change_password_desc: "Change your account's login password.",
|
|
70
|
+
// personas_desc: 'Manage your roleplay personas. Persona for the chat (your name and photo) can be changed by clicking your photo next to the chat textarea.',
|
|
71
|
+
personas_desc:
|
|
72
|
+
'Use personas to easily change your display name and profile photo. You can change your persona by clicking your photo next to the chat textarea.',
|
|
73
|
+
persona_label: 'Roleplay persona',
|
|
74
|
+
badge: 'Badge',
|
|
75
|
+
badge_desc: 'Change the badge that appear next to your name in chat.',
|
|
76
|
+
badge_instr: 'This badge will be displayed next to your name:',
|
|
64
77
|
|
|
65
|
-
|
|
66
|
-
|
|
78
|
+
// Change sensitive account settings/info
|
|
79
|
+
enter_password: 'Enter password',
|
|
67
80
|
enter_password_msg: 'Confirm your identity before continuing.',
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
new_email: 'New email address',
|
|
82
|
+
email_updated: 'Email updated',
|
|
83
|
+
email_updated_msg:
|
|
84
|
+
'Your email address has been updated to:\n %{emailAddress}.',
|
|
85
|
+
change_email: 'Change email',
|
|
86
|
+
change_email_msg:
|
|
87
|
+
'You will receive a confirmation email\n to your new address.',
|
|
88
|
+
change_email_pw_confirm_msg:
|
|
89
|
+
'Please confirm your identity to\n change your email address.',
|
|
90
|
+
change_email_verify_msg:
|
|
91
|
+
'Follow the instructions in the email we sent\n to change your email address.',
|
|
92
|
+
change_password_msg: 'Enter your new password below.',
|
|
93
|
+
change_password_pw_confirm_msg:
|
|
94
|
+
'Please confirm your identity to\n change your password.',
|
|
95
|
+
change_phone: 'Change phone',
|
|
96
|
+
change_phone_msg:
|
|
97
|
+
'Please confirm your identity to\n change your phone number.',
|
|
98
|
+
change_phone_request_msg:
|
|
99
|
+
'Enter your new phone number below.\n We will send you a verification code.',
|
|
100
|
+
change_phone_verify_msg:
|
|
101
|
+
'Enter the verification code\n sent to your new phone number.',
|
|
102
|
+
currentPassword: 'Current password',
|
|
103
|
+
newPassword: 'New password',
|
|
104
|
+
newPasswordRepeat: 'New password (repeat)',
|
|
105
|
+
phone_updated: 'Number updated',
|
|
106
|
+
phone_updated_msg:
|
|
107
|
+
'Your phone number has been updated to:\n [hl]%{phoneNumber}[/hl].',
|
|
86
108
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
109
|
+
// Log out
|
|
110
|
+
logout: 'Log out',
|
|
111
|
+
logout_message: 'Do you want to log out from this account?',
|
|
112
|
+
logout_yes: 'Yes, log me out',
|
|
91
113
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
114
|
+
// Online status
|
|
115
|
+
status_ONLINE: 'Online',
|
|
116
|
+
status_AWAY: 'Away',
|
|
117
|
+
status_BUSY: 'Busy',
|
|
118
|
+
status_APPEAR_OFFLINE: 'Appear offline',
|
|
97
119
|
|
|
98
|
-
|
|
99
|
-
|
|
120
|
+
// Mini status profile
|
|
121
|
+
copy_id: 'Copy ID',
|
|
100
122
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
123
|
+
// Profile
|
|
124
|
+
avatar_color: 'Avatar color',
|
|
125
|
+
open_profile: 'Open profile',
|
|
126
|
+
cards_ct: '%{smart_count} Card||||%{smart_count} Cards',
|
|
127
|
+
report_user: 'Report user',
|
|
128
|
+
profile_deactivated_desc: 'This account has been deactivated.',
|
|
129
|
+
phone_numbers: 'Phone numbers',
|
|
108
130
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
131
|
+
// Roles
|
|
132
|
+
role: {
|
|
133
|
+
MEMBER: 'Employee',
|
|
134
|
+
MANAGER: 'Manager',
|
|
135
|
+
ADMIN: 'Admin',
|
|
136
|
+
OWNER: 'Owner',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
117
139
|
};
|
package/src/i18n/agent.ts
CHANGED
|
@@ -1,35 +1,46 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
3
|
// SMS responses
|
|
4
|
-
sms_still_processing_1:
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
sms_still_processing_1:
|
|
5
|
+
'Please wait a moment, I am still processing your message.',
|
|
6
|
+
sms_still_processing_2:
|
|
7
|
+
'I am still processing your request. Please give me a moment.',
|
|
8
|
+
sms_still_processing_3:
|
|
9
|
+
'Please hold on. I need a little more time to process your last message.',
|
|
7
10
|
|
|
8
11
|
// Response texts
|
|
9
12
|
thinking_: '💭 Thinking...',
|
|
10
13
|
processing_request_: '⚙️ Processing your request...',
|
|
11
|
-
|
|
14
|
+
creating_link_: '🔗 Creating a link...',
|
|
12
15
|
getting_new_id_: '🆔 Creating new ID number...',
|
|
13
16
|
saving_memories_: '💾 Saving memories...',
|
|
14
17
|
reading_stored_memories_: '🧠 Reading stored memories...',
|
|
18
|
+
listing_documents_: '📚 Listing documents...',
|
|
19
|
+
reading_document_: '📖 Reading document...',
|
|
20
|
+
searching_documents_: '🔍 Searching documents...',
|
|
21
|
+
creating_document_: '📄 Creating document...',
|
|
22
|
+
updating_document_: '📝 Updating document...',
|
|
15
23
|
writing_log_: '📝 Writing log entry...',
|
|
16
24
|
writing_logs_: '📝 Writing log entries...',
|
|
17
25
|
searching_logs_: '📖 Searching for logs...',
|
|
18
26
|
searching_harvest_logs_: '📖 Searching for harvest logs...',
|
|
19
|
-
|
|
27
|
+
searching_avail_field_docs_: '🗄️ Searching for available field docs...',
|
|
20
28
|
getting_file_url_: '📄 Getting file URL...',
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
29
|
+
create_reminder_: '📅 Creating reminder...',
|
|
30
|
+
create_recurring_reminder_: '📅 Creating recurring reminder...',
|
|
31
|
+
update_reminder_: '📅 Updating reminder...',
|
|
32
|
+
list_reminders_: '📅 Opening reminders...',
|
|
33
|
+
ask_and_wait_: '💬 Sending question...',
|
|
25
34
|
finding_item_: '🔍 Searching for item...',
|
|
26
35
|
searching_contacts_: '🔍 Searching contacts list...',
|
|
27
36
|
updating_contacts_: '🪪 Updating contacts list...',
|
|
28
37
|
searching_directory_: '🗂️ Searching directory...',
|
|
38
|
+
listing_organizations_: '🏢 Listing your organizations...',
|
|
39
|
+
switching_organization_: '🏢 Switching organization...',
|
|
29
40
|
updating_directory_: '🗂️ Updating directory...',
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
searching_site_loc_: '🗺️ Searching for site...',
|
|
42
|
+
updating_site_loc_: '🗺️ Updating site location...',
|
|
43
|
+
creating_field_doc_: '📊 Creating field doc... ',
|
|
33
44
|
updating_schedule_: '📅 Updating schedule...',
|
|
34
45
|
updating_events_: '📅 Updating events...',
|
|
35
46
|
searching_event_: '🔍 Searching for event(s)...',
|
|
@@ -44,11 +55,17 @@ export default {
|
|
|
44
55
|
sending_message_: '✉️ Sending message...',
|
|
45
56
|
saving_load_list_: '📋 Saving load list...',
|
|
46
57
|
searching_for_load_list_: '🔍 Searching for load list...',
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
writing_field_doc_: '✍️ Writing field doc...',
|
|
59
|
+
processing_csv_request_: '⚙️ Processing CSV file request...',
|
|
60
|
+
retrieving_inbound_contact_: '🧠 Retrieving inbound contact information...',
|
|
61
|
+
saving_inbound_contact_: '🧠 Saving inbound contact information...',
|
|
62
|
+
inbound_contact_associated_orgs_auto_create_msg:
|
|
63
|
+
'When AI reads incoming emails, it will auto-create associated organizations for the contact, if the information can be found.',
|
|
64
|
+
|
|
65
|
+
// Agent memory
|
|
66
|
+
saving_memory_: '🧠 Remembering...',
|
|
67
|
+
updating_memory_: '🧠 Updating what I remember...',
|
|
68
|
+
forgetting_memory_: '🧠 Forgetting...',
|
|
52
69
|
|
|
53
70
|
// Digests
|
|
54
71
|
digest_for_: 'Digest for %{date}',
|
|
@@ -56,22 +73,23 @@ export default {
|
|
|
56
73
|
// AI inbox
|
|
57
74
|
ai_inbox_handle: 'Handle',
|
|
58
75
|
change_ai_inbox: 'AI inbox',
|
|
59
|
-
change_ai_inbox_msg:
|
|
76
|
+
change_ai_inbox_msg:
|
|
77
|
+
'Choose a handle for your organization.\n This will become the address for your AI inbox email.',
|
|
60
78
|
remove_ai_inbox: 'Remove AI inbox',
|
|
61
79
|
ai_inbox_updated: 'AI inbox updated',
|
|
62
|
-
ai_inbox_updated_msg:
|
|
80
|
+
ai_inbox_updated_msg:
|
|
81
|
+
'AI inbox handle has been changed to:\n [hl]%{inboundEmail}[/hl].',
|
|
63
82
|
ai_inbox_removed_msg: 'AI inbox for your organization has been removed.',
|
|
64
|
-
ai_inbox_addresses_ready:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
change_handle: 'Change inbox handle',
|
|
83
|
+
ai_inbox_addresses_ready:
|
|
84
|
+
'Emails sent to any of these addresses will automatically trigger AI workflows.',
|
|
85
|
+
ai_inbox_addresses_empty:
|
|
86
|
+
"AI inboxes handles requests from emails on your team's behalf. Choose a handle to activate AI inboxes.",
|
|
87
|
+
ai_inbox_desc: {
|
|
88
|
+
orders: 'Handle incoming orders from customers.',
|
|
89
|
+
agent: 'Handle general requests.',
|
|
90
|
+
assistant: 'Answer inquiries and general questions.',
|
|
91
|
+
},
|
|
92
|
+
change_handle: 'Change inbox handle',
|
|
75
93
|
inbound_email_from: 'From',
|
|
76
94
|
inbound_email_to: 'To',
|
|
77
95
|
inbound_email_subject: 'Subject',
|
|
@@ -93,31 +111,32 @@ export default {
|
|
|
93
111
|
|
|
94
112
|
// Integrations
|
|
95
113
|
integrations_desc: 'Grant your AI access to third-party apps and services.',
|
|
96
|
-
integrations_read_only_desc:
|
|
114
|
+
integrations_read_only_desc:
|
|
115
|
+
'You _do not_ have permissions to edit third-party apps and services for this organization.',
|
|
97
116
|
integrations_other_title: 'Looking for a different app connection?',
|
|
98
|
-
integrations_other_desc:
|
|
99
|
-
|
|
117
|
+
integrations_other_desc:
|
|
118
|
+
'[Send us an e-mail](mailto:hello@marketday.ai). We decide what to build next based on your feedback.',
|
|
119
|
+
integrations_disconnect_msg:
|
|
120
|
+
'Are you sure you want to disconnect?\n All related features will be disabled.',
|
|
100
121
|
|
|
101
|
-
|
|
122
|
+
// Common errors
|
|
102
123
|
invalid_id: '"%{field}" (%{value}) is not a valid ID.',
|
|
103
124
|
one_is_required: 'One of the following fields is required: %{fields}.',
|
|
104
125
|
|
|
105
126
|
// Operation specific terms
|
|
106
127
|
operation_activities: {
|
|
107
128
|
ARABLE: 'farming activities',
|
|
108
|
-
LIVESTOCK: 'ranching activities',
|
|
109
129
|
FARMERS_MARKET: 'farmers market operations',
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
130
|
+
GROWER_NETWORK: 'network activities',
|
|
131
|
+
WHOLESALE_FOOD: 'wholesale food operations',
|
|
132
|
+
UNKNOWN: 'organization activities',
|
|
113
133
|
},
|
|
114
134
|
operation_farmers: {
|
|
115
135
|
ARABLE: 'farmers',
|
|
116
|
-
LIVESTOCK: 'ranchers',
|
|
117
136
|
FARMERS_MARKET: 'farmers market vendors',
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
137
|
+
GROWER_NETWORK: 'growers',
|
|
138
|
+
WHOLESALE_FOOD: 'wholesale food businesses',
|
|
139
|
+
UNKNOWN: 'organizations',
|
|
121
140
|
},
|
|
122
141
|
|
|
123
142
|
// Real time data update messages
|
|
@@ -131,7 +150,8 @@ export default {
|
|
|
131
150
|
|
|
132
151
|
// Real-time data update messages
|
|
133
152
|
data_update: {
|
|
134
|
-
moderation_failed_tasks_terminated:
|
|
153
|
+
moderation_failed_tasks_terminated:
|
|
154
|
+
"AI's tasks were terminated because it failed our moderation tests.",
|
|
135
155
|
tasks_assigned: 'AI has been assigned tasks.',
|
|
136
156
|
},
|
|
137
157
|
},
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
access_settings: 'Access settings',
|
|
4
|
+
access_settings_msg: 'Choose who can view and edit this document.',
|
|
5
|
+
access_level_team: 'Team',
|
|
6
|
+
access_team_members: 'Team members',
|
|
7
|
+
access_network_orgs: 'Network organizations',
|
|
8
|
+
access_no_team_members_found: 'No team members found.',
|
|
9
|
+
access_no_network_orgs_found: 'No network organizations found.',
|
|
10
|
+
access_can_view: 'Can view',
|
|
11
|
+
access_can_edit: 'Can edit',
|
|
12
|
+
access_no_access: 'No access',
|
|
13
|
+
access_general_title: 'General access',
|
|
14
|
+
access_only_invites: 'Only with invites',
|
|
15
|
+
access_anyone_with_link: 'Anyone with link',
|
|
16
|
+
access_admin_owner_msg: 'Admins/Owners always have full access.',
|
|
17
|
+
access_copy_link: 'Copy link',
|
|
18
|
+
access_link_copied: 'Link copied!',
|
|
19
|
+
access_custom_member_permission_msg:
|
|
20
|
+
'There is [cl_primary##%{membersCount} custom member] permission.',
|
|
21
|
+
access_custom_member_permissions_msg:
|
|
22
|
+
'There are [cl_primary##%{membersCount} custom member] permissions.',
|
|
23
|
+
access_custom_member_permission_org_permission_msg:
|
|
24
|
+
'There are [cl_primary##%{membersCount} custom member] permission and [cl_primary##%{orgsCount} custom network] permission.',
|
|
25
|
+
access_custom_member_permission_org_permissions_msg:
|
|
26
|
+
'There are [cl_primary##%{membersCount} custom member] permission and [cl_primary##%{orgsCount} custom network] permissions.',
|
|
27
|
+
access_custom_member_permissions_org_permission_msg:
|
|
28
|
+
'There are [cl_primary##%{membersCount} custom member] permissions and [cl_primary##%{orgsCount} custom network] permission.',
|
|
29
|
+
access_custom_member_permissions_org_permissions_msg:
|
|
30
|
+
'There are [cl_primary##%{membersCount} custom member] permissions and [cl_primary##%{orgsCount} custom network] permissions.',
|
|
31
|
+
access_custom_org_permission_msg:
|
|
32
|
+
'There is [cl_primary##%{orgsCount} custom network] permission.',
|
|
33
|
+
access_custom_org_permissions_msg:
|
|
34
|
+
'There are [cl_primary##%{orgsCount} custom network] permissions.',
|
|
35
|
+
access_anyone_with_link_msg: 'Anyone with the link can view.',
|
|
36
|
+
access_network_view_msg: 'Other network organizations can view.',
|
|
37
|
+
access_network_edit_msg: 'Other network organizations can view and edit.',
|
|
38
|
+
access_only_invites_msg: 'Invites are required to gain access.',
|
|
39
|
+
access_team_view_msg: 'Your team can view by default, but not edit.',
|
|
40
|
+
access_team_edit_msg: 'Your team can view and edit by default.',
|
|
41
|
+
access_team_none_msg: 'Your team cannot view unless they were invited.',
|
|
42
|
+
|
|
43
|
+
// Agent doc page
|
|
44
|
+
|
|
45
|
+
login_change_required_msg:
|
|
46
|
+
"This document doesn't belong to [em_text##%{orgName}].\n Change your login to access this document.",
|
|
47
|
+
agent_doc_missing: 'Document is missing',
|
|
48
|
+
agent_doc_missing_msg:
|
|
49
|
+
'The document you are looking for could not be found.',
|
|
50
|
+
agent_docs: 'Agent docs',
|
|
51
|
+
agent_docs_desc:
|
|
52
|
+
'Documents your AI agents read to understand your organization.',
|
|
53
|
+
agent_docs_empty_msg: 'No documents have been created yet.',
|
|
54
|
+
untitled: 'Untitled',
|
|
55
|
+
new_doc: 'New document',
|
|
56
|
+
last_edited: 'Last edited',
|
|
57
|
+
ai_status: 'AI status',
|
|
58
|
+
delete_doc: 'Delete document',
|
|
59
|
+
delete_doc_confirm_msg:
|
|
60
|
+
'Move this document to the trash? It will be permanently deleted after 90 days.',
|
|
61
|
+
delete_doc_no_access_msg:
|
|
62
|
+
'You do not have permission to delete documents in this organization.',
|
|
63
|
+
|
|
64
|
+
// Folders
|
|
65
|
+
|
|
66
|
+
folder: 'Folder',
|
|
67
|
+
folders: 'Folders',
|
|
68
|
+
folders_msg:
|
|
69
|
+
'Folders group documents so people and AI agents can find them by topic.',
|
|
70
|
+
all_docs: 'All documents',
|
|
71
|
+
no_folder: 'No folder',
|
|
72
|
+
new_folder: 'New folder',
|
|
73
|
+
rename_folder: 'Rename folder',
|
|
74
|
+
delete_folder: 'Delete folder',
|
|
75
|
+
delete_folder_confirm_msg:
|
|
76
|
+
'Delete this folder? Documents inside are kept and moved out of the folder.',
|
|
77
|
+
folder_name: 'Folder name',
|
|
78
|
+
folder_name_taken_msg: 'A folder with this name already exists.',
|
|
79
|
+
move_to_folder: 'Move to folder',
|
|
80
|
+
|
|
81
|
+
// AI settings
|
|
82
|
+
|
|
83
|
+
ai_settings: 'AI settings',
|
|
84
|
+
ai_settings_msg: 'Control how AI agents use this document.',
|
|
85
|
+
ai_cannot_read: 'Hide from AI',
|
|
86
|
+
ai_cannot_read_msg: 'AI agents cannot see or read this document.',
|
|
87
|
+
ai_cannot_edit: 'Lock from AI edits',
|
|
88
|
+
ai_cannot_edit_msg: 'AI agents can read this document but never modify it.',
|
|
89
|
+
ai_pinned: 'Pin for AI',
|
|
90
|
+
ai_pinned_msg:
|
|
91
|
+
'Always include this document in AI agent instructions, instead of on-demand lookup.',
|
|
92
|
+
ai_hidden_surfaces: 'Hide from specific agents',
|
|
93
|
+
ai_hidden_surfaces_msg:
|
|
94
|
+
'This document stays visible to every other agent type.',
|
|
95
|
+
ai_review_by: 'Review by',
|
|
96
|
+
ai_review_by_msg:
|
|
97
|
+
'After this date, agents treat the document as possibly outdated.',
|
|
98
|
+
ai_surface_chat: 'Chat assistant',
|
|
99
|
+
ai_surface_runner: 'Automation runners',
|
|
100
|
+
ai_surface_postmaster: 'Email inbox agent',
|
|
101
|
+
ai_surface_analyst: 'Analyst',
|
|
102
|
+
|
|
103
|
+
// Badges
|
|
104
|
+
|
|
105
|
+
badge_ai_hidden: 'AI hidden',
|
|
106
|
+
badge_ai_locked: 'AI locked',
|
|
107
|
+
badge_pinned: 'Pinned',
|
|
108
|
+
badge_stale: 'Needs review',
|
|
109
|
+
},
|
|
110
|
+
};
|