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