@jsb188/app 1.1.8 → 1.1.9
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 +29 -29
- package/src/constants/agent.ts +49 -0
- package/src/constants/app.ts +20 -19
- package/src/constants/wsActions.ts +2 -1
- package/src/i18n/account.ts +40 -17
- package/src/i18n/{ai_agent.ts → agent.ts} +60 -10
- package/src/i18n/app.ts +31 -4
- package/src/i18n/auth.ts +32 -32
- package/src/i18n/billing.ts +1 -1
- package/src/i18n/error.ts +48 -20
- package/src/i18n/form.ts +86 -6
- package/src/i18n/index.ts +9 -3
- package/src/i18n/log.ts +121 -73
- package/src/i18n/message.ts +4 -1
- package/src/i18n/org.ts +96 -10
- package/src/i18n/product.ts +22 -21
- package/src/i18n/sheet.ts +10 -0
- package/src/i18n/workflow.ts +25 -0
- package/src/types/ai.d.ts +2 -1
- package/src/types/app.d.ts +3 -1
- package/src/types/form.d.ts +56 -21
- package/src/types/node-polyglot.d.ts +23 -0
- package/src/types/other.d.ts +15 -0
- package/src/utils/api.ts +30 -19
- package/src/utils/cron.ts +279 -0
- package/src/utils/datetime.ts +206 -83
- package/src/utils/logic.ts +110 -0
- package/src/utils/number.ts +1 -1
- package/src/utils/object.ts +87 -18
- package/src/utils/string.test.ts +281 -0
- package/src/utils/string.ts +532 -292
- package/src/utils/timeZone.ts +6 -3
- package/src/utils/url_client.ts +11 -11
- package/tsconfig.json +0 -1
- package/src/constants/storage.ts +0 -4
- package/src/types/account.d.ts +0 -63
- package/src/types/storage.d.ts +0 -70
package/src/i18n/error.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
en: {
|
|
3
3
|
error: 'Error',
|
|
4
|
+
oauth_error: 'OAuth error',
|
|
4
5
|
invalid: 'Invalid',
|
|
5
6
|
network_error_title: 'Network error',
|
|
6
7
|
server_outage_title: 'Service disruption',
|
|
@@ -19,10 +20,29 @@ export default {
|
|
|
19
20
|
link_expired_msg: 'This link expired. Please try again by\n requesting another link.',
|
|
20
21
|
invalid_link_msg: 'This link is invalid. Please try again by\n requesting another link.',
|
|
21
22
|
|
|
23
|
+
// Status code errors
|
|
24
|
+
'401_title': 'Unauthorized',
|
|
25
|
+
'402_title': 'Payment required',
|
|
26
|
+
'403_title': 'Forbidden',
|
|
27
|
+
'404_title': 'Not found',
|
|
28
|
+
'405_title': 'Not allowed',
|
|
29
|
+
'406_title': 'Not acceptable',
|
|
30
|
+
'407_title': 'Proxy error',
|
|
31
|
+
'408_title': 'Request timeout',
|
|
32
|
+
'410_title': 'Content is gone',
|
|
33
|
+
'413_title': 'Payload too large',
|
|
34
|
+
'422_title': 'Unprocessable entity',
|
|
35
|
+
'429_title': 'Too many requests',
|
|
36
|
+
'500_title': 'Server error',
|
|
37
|
+
'502_title': 'Bad gateway',
|
|
38
|
+
'503_title': 'Service unavailable',
|
|
39
|
+
'504_title': 'Gateway timeout',
|
|
40
|
+
|
|
22
41
|
// 1x
|
|
23
42
|
'10000_title': 'App updated!',
|
|
43
|
+
'10000_icon': 'party-balloons',
|
|
24
44
|
10000: 'This browser tab will reload to update the app.',
|
|
25
|
-
10001: '
|
|
45
|
+
10001: 'Your file is too large. Please try again with a smaller file.',
|
|
26
46
|
10002: 'File meta data is missing.',
|
|
27
47
|
10003: '"%{value}" file type is not supported.',
|
|
28
48
|
10004: 'There was an error while uploading your file(s).',
|
|
@@ -34,45 +54,42 @@ export default {
|
|
|
34
54
|
10010: 'Your Apple login token was invalid.',
|
|
35
55
|
10011: 'Apple API failed to respond.',
|
|
36
56
|
10012: 'This browser tab will reload because you changed your login.',
|
|
37
|
-
10013: 'Our
|
|
57
|
+
10013: 'Our email service is experiencing an outage. Please try again in a moment.',
|
|
38
58
|
|
|
39
59
|
// 2x
|
|
40
60
|
|
|
41
61
|
20000: '"%{value}" is not allowed.',
|
|
42
|
-
20001: '"%{value}" is not a valid
|
|
62
|
+
20001: '"%{value}" is not a valid email domain.',
|
|
43
63
|
20002: '"%{value}" is not a valid username.',
|
|
44
64
|
'20003_title': 'Continue with Google',
|
|
45
65
|
20003: 'Please use "Continue with Google" to log in. (%{value})',
|
|
46
66
|
'20004_title': 'Continue with Apple',
|
|
47
67
|
20004: 'Please use "Continue with Apple" to log in. (%{value})',
|
|
48
68
|
20005: 'Could not find the account with that username (@%{value})',
|
|
49
|
-
20006: 'Could not find the account with that
|
|
69
|
+
20006: 'Could not find the account with that email. (%{value})',
|
|
50
70
|
20007: 'Could not find the account with that ID. (%{value})',
|
|
51
71
|
20008: 'Your password is incorrect. You have %{value} try remaining.||||Your password is incorrect. You have %{value} tries remaining.',
|
|
52
72
|
20009: 'Please wait 10 minutes before trying to log in again.',
|
|
53
73
|
20010: 'This account could not be found.',
|
|
54
74
|
20011: 'Your token expired, please request a new link.',
|
|
55
75
|
20012: 'Your token is invalid, please request a new link.',
|
|
56
|
-
20013: 'Account already exists with that
|
|
76
|
+
20013: 'Account already exists with that email address. (%{value})',
|
|
57
77
|
20014: 'Account already exists with that username. (%{value})',
|
|
58
78
|
20015: "We couldn't find that user in our database.",
|
|
59
79
|
20016: 'You are being rate limited. Please try again in a moment.',
|
|
60
80
|
20017: 'Please check your-email before requesting another verification link or wait few more seconds.',
|
|
61
|
-
20018: "Your
|
|
81
|
+
20018: "Your email is already verified. There's no need to verify your email again.",
|
|
62
82
|
'20019_title': 'Login expired',
|
|
63
83
|
20019: 'Your login token expired. Please log in again.',
|
|
64
84
|
20020: 'You do not have access to this chat.',
|
|
65
|
-
'20021_title': 'Slow down!',
|
|
66
|
-
20021: 'You are sending messages too fast.',
|
|
67
85
|
20022: 'You are not allowed to chat here.',
|
|
68
86
|
20023: 'You must be friends to send direct messages.',
|
|
69
87
|
20024: "You've been temporarily timed out.",
|
|
70
|
-
20025: 'Account associated with "%{value}" has been banned. If this is an error, please send us an
|
|
88
|
+
20025: 'Account associated with "%{value}" has been banned. If this is an error, please send us an email.',
|
|
71
89
|
20026: 'You were blocked by this user.',
|
|
72
|
-
20027: 'Your IP has been banned. If this is an error, please send us an
|
|
90
|
+
20027: 'Your IP has been banned. If this is an error, please send us an email.',
|
|
73
91
|
20028: 'Please disable your VPN and try again.',
|
|
74
92
|
20029: 'Your request failed the profanity test.',
|
|
75
|
-
20030: 'The persona you tried to edit could not be found.',
|
|
76
93
|
20031: 'You reached the maximum number of personas (%{value}).',
|
|
77
94
|
20032: 'You reached the maximum number of live chats (%{value}).',
|
|
78
95
|
20033: 'You do not have permissions to edit this chat.',
|
|
@@ -96,20 +113,28 @@ export default {
|
|
|
96
113
|
20051: 'We couldn\'t find an account associated with that phone number. (%{value})',
|
|
97
114
|
20052: 'You do not have access to this organization\'s data.',
|
|
98
115
|
20053: 'You haven\'t verified your account yet.',
|
|
116
|
+
'20054_icon': 'lock-circle',
|
|
117
|
+
'20054_title': 'Invite required',
|
|
99
118
|
20054: 'You need an invitation to create an account.',
|
|
100
119
|
20055: 'You are sending too many verification codes. Please slow down.',
|
|
101
|
-
20056: 'Account associated with "%{value}" has been banned. If this is an error, please send us an
|
|
120
|
+
20056: 'Account associated with "%{value}" has been banned. If this is an error, please send us an email.',
|
|
102
121
|
20057: 'Your verification code expired. Please request a new code.',
|
|
103
122
|
20058: 'You do not have permissions to edit this log. Please contact your administrator.',
|
|
104
123
|
20059: 'This log was not found.\nIt may have been deleted.',
|
|
105
124
|
20060: 'You do not have permissions to delete this log. Please contact your administrator.',
|
|
106
125
|
20061: 'You do not have permissions to perform this action. Please contact your administrator.',
|
|
107
|
-
20062: '"%{value}" is not a valid
|
|
108
|
-
20063: 'You cannot change your
|
|
109
|
-
20064: '
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
126
|
+
20062: '"%{value}" is not a valid email address.',
|
|
127
|
+
20063: 'You cannot change your email to the same email address.',
|
|
128
|
+
20064: '"%{value}" is not a valid phone number.',
|
|
129
|
+
20065: 'You cannot edit this information because this organization has been claimed by its owner.',
|
|
130
|
+
20066: 'Report submission data could not be found.',
|
|
131
|
+
20067: 'Another account already exists with that phone number. (%{value})',
|
|
132
|
+
20068: 'Your new phone number cannot be the same as your current phone number.',
|
|
133
|
+
20069: '"%{value}" is not a valid AI inbox handle.',
|
|
134
|
+
20070: 'Another organization already uses the AI inbox handle "%{value}".',
|
|
135
|
+
20071: 'This dataTable was not found.\nIt may have been deleted.',
|
|
136
|
+
20072: 'The dataTable design update was invalid.',
|
|
137
|
+
20074: 'Inbound contacts must have an email address or phone number.',
|
|
113
138
|
|
|
114
139
|
// 3x
|
|
115
140
|
|
|
@@ -119,6 +144,7 @@ export default {
|
|
|
119
144
|
30004: 'We made a mistake in our code. We will fix this soon.',
|
|
120
145
|
30010: 'Google servers are not responding right now.',
|
|
121
146
|
30011: 'Something went wrong with your Google authentication attempt.',
|
|
147
|
+
30043: 'This app is not authorized to connect from the current address.',
|
|
122
148
|
30013: 'Our database is in maintenance. Please try again in a moment.',
|
|
123
149
|
30014: 'Stripe CardElement is incorrect.',
|
|
124
150
|
30015: 'Invalid payment form values.',
|
|
@@ -131,10 +157,12 @@ export default {
|
|
|
131
157
|
30022: 'Your CVC number is incorrect.',
|
|
132
158
|
30023: 'Your card expiration date is incorrect.',
|
|
133
159
|
30024: 'Stripe customer and payment method was mismatched.',
|
|
134
|
-
30025: '
|
|
160
|
+
30025: 'Email server is experiencing an outage. Please try again in a moment.',
|
|
135
161
|
30028: 'You cannot send an empty message.',
|
|
136
162
|
'30031_title': 'Upload failed',
|
|
137
163
|
30031: 'There was an issue while uploading your file.\n Please try again in a moment.',
|
|
164
|
+
'30032_title': 'Upload failed',
|
|
165
|
+
30032: 'Your file upload failed because required metadata was missing.',
|
|
138
166
|
|
|
139
167
|
// Form errors
|
|
140
168
|
|
|
@@ -143,7 +171,7 @@ export default {
|
|
|
143
171
|
msg_displayName_invalid: '"%{value}" is an invalid display name.',
|
|
144
172
|
msg_username_invalid: '"%{value}" is an invalid username.',
|
|
145
173
|
msg_name_invalid: '"%{value}" is an invalid name.',
|
|
146
|
-
msg_email_invalid: '"%{value}" is an invalid
|
|
174
|
+
msg_email_invalid: '"%{value}" is an invalid email address.',
|
|
147
175
|
msg_password_too_short: 'Your password must be at least %{length} characters long.',
|
|
148
176
|
msg_password_lowercase: 'Your password must contain at least one lowercase letter.',
|
|
149
177
|
msg_password_uppercase: 'Your password must contain at least one uppercase letter.',
|
package/src/i18n/form.ts
CHANGED
|
@@ -8,7 +8,11 @@ export default {
|
|
|
8
8
|
n_a: 'N/A',
|
|
9
9
|
unknown: 'Unknown',
|
|
10
10
|
void: 'Void', // Use uppercase if needed
|
|
11
|
+
void_status: 'Void status',
|
|
12
|
+
voided: 'Voided',
|
|
13
|
+
valid: 'Valid',
|
|
11
14
|
location: 'Location',
|
|
15
|
+
location_name: 'Location name',
|
|
12
16
|
warning: 'Warning',
|
|
13
17
|
cancel: 'Cancel',
|
|
14
18
|
continue: 'Continue',
|
|
@@ -18,11 +22,13 @@ export default {
|
|
|
18
22
|
overview: 'Overview',
|
|
19
23
|
latest: 'Latest',
|
|
20
24
|
latest_activity: 'Latest Activity',
|
|
25
|
+
incomplete: 'Incomplete',
|
|
21
26
|
dob: 'DOB',
|
|
22
27
|
date_of_birth: 'Date of birth',
|
|
23
28
|
deceased: 'Deceased',
|
|
24
29
|
confirmation: 'Confirmation',
|
|
25
30
|
primary: 'Primary',
|
|
31
|
+
role: 'Role',
|
|
26
32
|
id: 'ID',
|
|
27
33
|
for: 'For',
|
|
28
34
|
sort_by: 'Sort by',
|
|
@@ -33,6 +39,9 @@ export default {
|
|
|
33
39
|
content_missing: 'Content missing',
|
|
34
40
|
content_not_found_msg: 'The content you are looking for could not be found.',
|
|
35
41
|
reports: 'Reports',
|
|
42
|
+
dataTables: 'DataTables',
|
|
43
|
+
form: 'Form',
|
|
44
|
+
ranch: 'Ranch',
|
|
36
45
|
section: 'Section',
|
|
37
46
|
title: 'Title',
|
|
38
47
|
hide: 'Hide',
|
|
@@ -42,6 +51,7 @@ export default {
|
|
|
42
51
|
delete: 'Delete',
|
|
43
52
|
delete_file: 'Delete file',
|
|
44
53
|
delete_file_msg: 'Are you sure you want to delete this file<br /><span class=\"em_text\">"%{fileName}"</span>?',
|
|
54
|
+
delete_document_msg: 'Are you sure you want to delete this\n document and all its pages?',
|
|
45
55
|
yes_delete_file: 'Yes, delete this file',
|
|
46
56
|
balance: 'Balance',
|
|
47
57
|
number: 'Number',
|
|
@@ -49,17 +59,33 @@ export default {
|
|
|
49
59
|
frequency: 'Frequency',
|
|
50
60
|
expiration: 'Expiration',
|
|
51
61
|
expiration_date: 'Expiration date',
|
|
62
|
+
file: 'File',
|
|
63
|
+
files: 'Files',
|
|
64
|
+
flag: 'Flag',
|
|
52
65
|
document: 'Document',
|
|
53
66
|
documents: 'Documents',
|
|
67
|
+
view_document: 'View document',
|
|
68
|
+
edit_document: 'Edit document',
|
|
69
|
+
delete_document: 'Delete document',
|
|
54
70
|
document_type: 'Document type',
|
|
55
71
|
untitled_document: 'Untitled document',
|
|
72
|
+
yes_remove: 'Yes, please remove',
|
|
73
|
+
yes_active: 'Yes, active',
|
|
74
|
+
no_disabled: 'No, disabled',
|
|
75
|
+
e_g_: 'e.g., %{example}',
|
|
76
|
+
prev: 'Prev',
|
|
77
|
+
next: 'Next',
|
|
78
|
+
prev_doc: 'Previous document',
|
|
79
|
+
next_doc: 'Next document',
|
|
56
80
|
try_again: 'Try again',
|
|
57
81
|
refresh_page: 'Refresh page',
|
|
58
82
|
authenticate: 'Authenticate',
|
|
83
|
+
enter_password: 'Enter password',
|
|
59
84
|
please_verify: 'Please verify',
|
|
60
|
-
check_email: 'Check your
|
|
85
|
+
check_email: 'Check your email',
|
|
61
86
|
request_will_complete_once_verified_msg: 'Your request will be completed once the verification is complete.',
|
|
62
87
|
your_request_is_completed_msg: 'Your request is completed.',
|
|
88
|
+
page: 'Page',
|
|
63
89
|
page_of: 'Page %{number} of %{total}',
|
|
64
90
|
subtotal: 'Subtotal',
|
|
65
91
|
total: 'Total',
|
|
@@ -68,9 +94,12 @@ export default {
|
|
|
68
94
|
search: 'Search',
|
|
69
95
|
submitted: 'Submitted',
|
|
70
96
|
no_results: 'No results',
|
|
97
|
+
not_editable: 'Not editable',
|
|
71
98
|
change: 'Change',
|
|
72
99
|
loading_: 'Loading...',
|
|
73
100
|
save: 'Save',
|
|
101
|
+
save_contacts: 'Save contacts',
|
|
102
|
+
press_enter_to_save: 'Press the enter key to save',
|
|
74
103
|
saving_: 'Saving...',
|
|
75
104
|
uploading_: 'Uploading...',
|
|
76
105
|
undo_changes: 'Undo changes',
|
|
@@ -84,14 +113,17 @@ export default {
|
|
|
84
113
|
copied_text_: 'Copied "%{text}"',
|
|
85
114
|
go_back: 'Go back',
|
|
86
115
|
read_more: 'Read more',
|
|
116
|
+
scroll_for_more: 'Scroll for more',
|
|
87
117
|
search_: 'Search: "%{query}"',
|
|
88
118
|
close: 'Close',
|
|
89
119
|
join: 'Join',
|
|
90
120
|
change_img: 'Change image',
|
|
91
121
|
upload_img: 'Upload image',
|
|
92
122
|
upload_file: 'Upload file',
|
|
123
|
+
upload_document: 'Upload document',
|
|
93
124
|
keep_current_img: 'Keep current image',
|
|
94
125
|
select_file: 'Select file',
|
|
126
|
+
select_file_from_computer: 'Click here to pick a file from your computer.',
|
|
95
127
|
tasks: 'Tasks',
|
|
96
128
|
latest_update: 'Latest update',
|
|
97
129
|
name: 'Name',
|
|
@@ -104,8 +136,10 @@ export default {
|
|
|
104
136
|
price_ph: '1000.50',
|
|
105
137
|
tax_ph: '78.20',
|
|
106
138
|
purchase_summary: 'Purchase summary',
|
|
139
|
+
order_summary: 'Order summary',
|
|
107
140
|
amount: 'Amount',
|
|
108
141
|
address: 'Address',
|
|
142
|
+
addresses: 'Addresses',
|
|
109
143
|
unknown_address: 'Unknown address',
|
|
110
144
|
line1: 'Line 1',
|
|
111
145
|
line1_ph: '1234 Main St.',
|
|
@@ -120,6 +154,7 @@ export default {
|
|
|
120
154
|
postalCode: 'Zip code', // USA uses zip code
|
|
121
155
|
postalCode_ph: '12345',
|
|
122
156
|
guide: 'Guide',
|
|
157
|
+
workflow: 'Workflow',
|
|
123
158
|
workflows: 'Workflows',
|
|
124
159
|
information: 'Information',
|
|
125
160
|
instructions: 'Instructions',
|
|
@@ -127,42 +162,66 @@ export default {
|
|
|
127
162
|
summary: 'Summary',
|
|
128
163
|
instructions_summary: 'Instructions summary',
|
|
129
164
|
status: 'Status',
|
|
165
|
+
active: 'Active',
|
|
166
|
+
not_active: 'Not active',
|
|
130
167
|
orders: 'Orders',
|
|
131
168
|
'order_#': 'Order #',
|
|
132
169
|
order_details: 'Order details',
|
|
170
|
+
record_details: 'Record details',
|
|
171
|
+
images: 'Images',
|
|
133
172
|
type: 'Type',
|
|
134
173
|
pin_to_top: 'Pin to top',
|
|
135
174
|
create_new: 'Create new',
|
|
175
|
+
download_file: 'Download file',
|
|
136
176
|
upload: 'Upload',
|
|
137
177
|
uploaded_ct: 'Uploaded %{count}/%{max}',
|
|
138
178
|
create: 'Create',
|
|
139
179
|
invite: 'Invite',
|
|
140
180
|
invited: 'Invited',
|
|
181
|
+
invoice: 'Invoice',
|
|
141
182
|
invoice_date: 'Invoice date',
|
|
142
183
|
sales: 'Sales',
|
|
143
|
-
sales_orders: 'Sales
|
|
184
|
+
sales_orders: 'Sales orders',
|
|
144
185
|
actions: 'Actions',
|
|
145
|
-
ai_tasks: 'AI tasks',
|
|
146
186
|
ai_workflows: 'AI workflows',
|
|
147
187
|
add: 'Add',
|
|
188
|
+
add_file: 'Add file',
|
|
189
|
+
add_document: 'Add document',
|
|
190
|
+
add_contact: 'Add contact',
|
|
191
|
+
copy_id: 'Copy ID',
|
|
148
192
|
remove: 'Remove',
|
|
193
|
+
remove_line: 'Remove line',
|
|
194
|
+
remove_member: 'Remove member',
|
|
149
195
|
removed: 'Removed',
|
|
196
|
+
references: 'References',
|
|
150
197
|
history: 'History',
|
|
198
|
+
manage: 'Manage',
|
|
199
|
+
connect: 'Connect',
|
|
200
|
+
connected: 'Connected',
|
|
201
|
+
disconnect: 'Disconnect',
|
|
202
|
+
disconnected: 'Disconnected',
|
|
151
203
|
edit: 'Edit',
|
|
204
|
+
edit_address: 'Edit address',
|
|
205
|
+
edit_information: 'Edit information',
|
|
206
|
+
edit_location: 'Edit location',
|
|
207
|
+
edit_note: 'Edit note',
|
|
208
|
+
edit_line: 'Edit line',
|
|
152
209
|
enter: 'Enter',
|
|
153
210
|
accept: 'Accept',
|
|
154
211
|
decline: 'Decline',
|
|
155
212
|
dismiss: 'Dismiss',
|
|
156
213
|
description: 'Description',
|
|
214
|
+
desc: 'Desc.',
|
|
157
215
|
no_desc: 'No description.',
|
|
158
216
|
no_additional_notes: 'No additional notes.',
|
|
159
217
|
use_default: 'Use default',
|
|
160
218
|
use_personal: 'Use personal',
|
|
161
219
|
learn_more: 'Learn more',
|
|
162
220
|
department: 'Department',
|
|
163
|
-
email: '
|
|
221
|
+
email: 'Email',
|
|
164
222
|
phone: 'Phone',
|
|
165
223
|
phone_number: 'Phone number',
|
|
224
|
+
verification_code: 'Verification code',
|
|
166
225
|
partners: 'Partners',
|
|
167
226
|
partner: 'Partner',
|
|
168
227
|
contact_person: 'Contact person',
|
|
@@ -172,10 +231,15 @@ export default {
|
|
|
172
231
|
fsvp: 'FSVP',
|
|
173
232
|
risk: 'Risk',
|
|
174
233
|
operation: 'Operation',
|
|
234
|
+
module: 'Module',
|
|
235
|
+
condition: 'Condition',
|
|
236
|
+
enabled: 'Enabled',
|
|
175
237
|
grower: 'Grower',
|
|
176
238
|
growers: 'Growers',
|
|
177
239
|
domestic_growers: 'Domestic growers',
|
|
178
240
|
foreign_growers: 'Foreign growers',
|
|
241
|
+
customer: 'Customer',
|
|
242
|
+
inbound_contacts: 'Inbound contacts',
|
|
179
243
|
vendors: 'Vendors',
|
|
180
244
|
'vendors_#': 'Vendors #',
|
|
181
245
|
vendor: 'Vendor',
|
|
@@ -186,13 +250,16 @@ export default {
|
|
|
186
250
|
organization: 'Organization',
|
|
187
251
|
coordinator: 'Co-ordinator',
|
|
188
252
|
contact: 'Contact',
|
|
253
|
+
contacts: 'Contacts',
|
|
189
254
|
profile: 'Profile',
|
|
190
255
|
compliance: 'Compliance',
|
|
191
256
|
requirement: 'Requirement',
|
|
257
|
+
person: 'Person',
|
|
192
258
|
person_name: 'Person name',
|
|
193
259
|
primary_contact: 'Primary contact',
|
|
194
260
|
thank_you: 'Thank you',
|
|
195
261
|
click_here: 'Click here',
|
|
262
|
+
finished: 'Finished',
|
|
196
263
|
success: 'Success',
|
|
197
264
|
success_: 'Success!',
|
|
198
265
|
help: 'Help',
|
|
@@ -213,34 +280,47 @@ export default {
|
|
|
213
280
|
attended_: 'Attended?',
|
|
214
281
|
ct_attending: '%{count} / %{total} attending',
|
|
215
282
|
ct_attended: '%{count} / %{total} attended',
|
|
283
|
+
at_: 'at %{time}',
|
|
216
284
|
day: 'Day',
|
|
217
285
|
all_day: 'All day',
|
|
218
286
|
date: 'Date',
|
|
287
|
+
mm_dd_yyyy: 'MM/DD/YYYY',
|
|
219
288
|
daily: 'Daily',
|
|
220
289
|
weekly: 'Weekly',
|
|
221
290
|
monthly: 'Monthly',
|
|
222
291
|
schedule: 'Schedule',
|
|
223
292
|
scheduled: 'Scheduled',
|
|
293
|
+
added_by: 'Added by',
|
|
294
|
+
created: 'Created',
|
|
224
295
|
created_by: 'Created by',
|
|
225
296
|
tasked_by: 'Tasked by',
|
|
226
297
|
updated: 'Updated',
|
|
227
298
|
next_due: 'Next due',
|
|
299
|
+
next_run: 'Next run',
|
|
228
300
|
recurring: 'Recurring',
|
|
229
301
|
start_date: 'Start date',
|
|
230
302
|
end_date: 'End date',
|
|
231
303
|
event: 'Event',
|
|
232
304
|
esc: 'ESC',
|
|
305
|
+
esc_to_close: 'Press ESC to close',
|
|
233
306
|
settings: 'Settings',
|
|
234
307
|
note: 'Note',
|
|
235
308
|
notes: 'Notes',
|
|
309
|
+
memory: 'Memory',
|
|
310
|
+
memories: 'Memories',
|
|
311
|
+
ai_memories_desc: 'AI may periodically update or replace its own memories with new information.',
|
|
312
|
+
answer: 'Answer',
|
|
236
313
|
details: 'Details',
|
|
314
|
+
source: 'Source',
|
|
315
|
+
directory: 'Directory',
|
|
237
316
|
temperature: 'Temperature',
|
|
238
317
|
water: 'Water',
|
|
239
318
|
quantity: 'Quantity',
|
|
240
319
|
quantity_ph: '7.5',
|
|
241
320
|
cropId: 'Crop',
|
|
242
321
|
logged_edited_at: 'Logged %{logDate}. Updated %{editDate}.',
|
|
243
|
-
|
|
322
|
+
saved_: 'Saved %{date}.',
|
|
323
|
+
saved_source_: 'Saved %{date} via %{source}.',
|
|
244
324
|
category: 'Category',
|
|
245
325
|
activity: 'Activity',
|
|
246
326
|
activity_ph: 'Type of activity',
|
|
@@ -261,7 +341,7 @@ export default {
|
|
|
261
341
|
greet_NIGHT: 'Good evening, %{name}.',
|
|
262
342
|
|
|
263
343
|
// Communication types
|
|
264
|
-
comm_type_EMAIL: '
|
|
344
|
+
comm_type_EMAIL: 'Email',
|
|
265
345
|
comm_type_SMS: 'SMS',
|
|
266
346
|
|
|
267
347
|
// Languages
|
package/src/i18n/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
/// <reference path="../types/node-polyglot.d.ts" />
|
|
2
|
+
|
|
1
3
|
import Polyglot from 'node-polyglot';
|
|
2
|
-
import type NodePolyglot from '../types.d.ts'
|
|
4
|
+
import type NodePolyglot from '../types.d.ts';
|
|
3
5
|
|
|
4
6
|
import account from './account.ts';
|
|
5
|
-
import
|
|
7
|
+
import agent from './agent.ts';
|
|
6
8
|
import app from './app.ts';
|
|
7
9
|
import auth from './auth.ts';
|
|
8
10
|
import billing from './billing.ts';
|
|
@@ -14,10 +16,12 @@ import log from './log.ts';
|
|
|
14
16
|
import message from './message.ts';
|
|
15
17
|
import org from './org.ts';
|
|
16
18
|
import product from './product.ts';
|
|
19
|
+
import sheet from './sheet.ts';
|
|
20
|
+
import workflow from './workflow.ts';
|
|
17
21
|
|
|
18
22
|
export const i18nTranslations = {
|
|
19
23
|
account,
|
|
20
|
-
|
|
24
|
+
agent,
|
|
21
25
|
app,
|
|
22
26
|
auth,
|
|
23
27
|
billing,
|
|
@@ -29,6 +33,8 @@ export const i18nTranslations = {
|
|
|
29
33
|
message,
|
|
30
34
|
org,
|
|
31
35
|
product,
|
|
36
|
+
sheet,
|
|
37
|
+
workflow,
|
|
32
38
|
} as Record<string, any>;
|
|
33
39
|
|
|
34
40
|
const i18n = new Polyglot();
|