@jsb188/app 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/package.json +31 -30
  2. package/src/constants/app.ts +367 -0
  3. package/src/constants/other.ts +17 -0
  4. package/src/constants/storage.ts +4 -0
  5. package/src/constants/wsActions.ts +21 -0
  6. package/{i18n → src/i18n}/account.ts +19 -6
  7. package/src/i18n/ai_agent.ts +88 -0
  8. package/{i18n → src/i18n}/app.ts +4 -18
  9. package/{i18n → src/i18n}/auth.ts +18 -8
  10. package/{i18n → src/i18n}/billing.ts +2 -2
  11. package/src/i18n/country.ts +249 -0
  12. package/src/i18n/datetime.ts +60 -0
  13. package/{i18n → src/i18n}/error.ts +18 -7
  14. package/src/i18n/form.ts +295 -0
  15. package/src/i18n/index.ts +35 -0
  16. package/src/i18n/log.ts +484 -0
  17. package/src/i18n/message.ts +11 -0
  18. package/src/i18n/org.ts +165 -0
  19. package/src/i18n/product.ts +75 -0
  20. package/{main.ts → src/main.ts} +20 -29
  21. package/{types → src/types}/account.d.ts +9 -8
  22. package/src/types/app.d.ts +74 -0
  23. package/{types → src/types}/auth.d.ts +1 -2
  24. package/{types → src/types}/form.d.ts +1 -1
  25. package/src/types/other.d.ts +44 -0
  26. package/src/types/storage.d.ts +70 -0
  27. package/{utils/user.ts → src/utils/account.ts} +7 -84
  28. package/{utils → src/utils}/api.ts +4 -4
  29. package/{utils → src/utils}/billing.ts +1 -1
  30. package/{utils → src/utils}/datetime.ts +295 -33
  31. package/{utils → src/utils}/logic.ts +42 -5
  32. package/{utils → src/utils}/number.ts +89 -16
  33. package/{utils → src/utils}/object.ts +164 -11
  34. package/{utils → src/utils}/string.ts +165 -34
  35. package/{utils → src/utils}/timeZone.ts +168 -13
  36. package/{utils → src/utils}/url_client.ts +1 -1
  37. package/tsconfig.json +13 -0
  38. package/constants/app.ts +0 -80
  39. package/constants/organization.ts +0 -12
  40. package/constants/ws.ts +0 -47
  41. package/i18n/datetime.ts +0 -21
  42. package/i18n/form.ts +0 -115
  43. package/i18n/index.ts +0 -5
  44. package/types/app.d.ts +0 -49
  45. package/types/organization.d.ts +0 -94
  46. package/utils/organization.ts +0 -102
  47. /package/{constants → src/constants}/billing.ts +0 -0
  48. /package/{constants → src/constants}/emoji.ts +0 -0
  49. /package/{constants → src/constants}/user.ts +0 -0
  50. /package/{platform.ts → src/platform.ts} +0 -0
  51. /package/{types → src/types}/ai.d.ts +0 -0
  52. /package/{types.d.ts → src/types.d.ts} +0 -0
  53. /package/{utils → src/utils}/emoji.ts +0 -0
@@ -3,6 +3,7 @@ export default {
3
3
  // Login
4
4
  welcome_back: 'Welcome back',
5
5
  log_in: 'Log in',
6
+ log_in_again: 'Log in again',
6
7
  log_in_sign_up: 'Log in / Sign up',
7
8
  open_app: 'Open app',
8
9
  continue_with_google: 'Continue with Google',
@@ -16,13 +17,16 @@ export default {
16
17
  signup_email: 'Sign up using e-mail',
17
18
  log_in_w_existing: 'Log in with an existing account',
18
19
  log_in_other_methods: 'Log in using other methods',
19
- change_password: 'Change password',
20
+ change_password: 'Change password',
20
21
  you_are_verified_: 'You are verified!',
21
22
  account_is_verified: 'Thank you for verifying your account with e-mail address: **%{emailAddress}**. Please log in again using your password.',
22
23
  continue_to_login: 'Continue to log in',
23
24
  continue_to_app: 'Continue to app',
25
+ back_to_homepage: 'Back to homepage',
26
+ login_changed: 'Login changed',
24
27
 
25
- // Phone 2FA
28
+ // Phone 2FA & E-mail verification
29
+ send_verification_email: 'Send verification e-mail',
26
30
  send_verification_code_msg: 'Enter your phone number and we will send you a verification code for authentication.',
27
31
  send_verification_code: 'Send verification code',
28
32
  confirm_verification_code_instr: 'Enter the verification code sent to your phone. Please wait few minutes if you did not receive it.',
@@ -35,16 +39,20 @@ export default {
35
39
  hello_: 'Hello %{name}!',
36
40
  you_are_logged_in: 'You are signed in.',
37
41
  password_changed_msg: 'Your password has been changed.',
38
- request_reset_password_instr: 'Enter your e-mail address and we will send you instructions to reset your password.',
39
- resend_verification_instr: 'Enter your e-mail address and we will send you an e-mail to verify your account.',
40
- reset_password_instr: 'Choose a new password for your account with the e-mail address: %{emailAddress}',
42
+ request_reset_password_instr: 'Enter your e-mail address and we will send\n you instructions to reset your password.',
43
+ resend_verification_instr: 'Enter your e-mail address and we will send\nyou an e-mail to verify your account.',
44
+ reset_password_instr: 'Choose a new password for your account with\n the e-mail address: %{emailAddress}',
41
45
  _verify_your_email: ' to verify your e-mail.',
42
46
  _verify_your_phone: ' to verify your phone number.',
43
47
  account_secured_: 'Account secured!',
44
48
  one_last_step_: 'One last step!',
45
49
  add_password: 'Add password',
46
- add_password_log_in_msg: 'Please add a password to your account (%{identifier}) for security. You will be logged in afterwards.',
47
- add_password_fin_msg: 'Your account has been secured with a password. From now on, you may use your password to log in.',
50
+ add_password_log_in_msg: 'Please add a password to your account (%{identifier}) for security.',
51
+ add_email: 'Add e-mail address',
52
+ add_email_to_login_msg: 'Please add an e-mail address to your account (%{identifier}) for security.',
53
+ required_auth_fin_msg: 'Your account has been secured. From now on, you may use your password to log in.',
54
+ check_email: 'Check your e-mail',
55
+ check_email_to_login_msg: 'Please check your e-mail for verification instructions. You will be logged in after you verify your e-mail address.',
48
56
 
49
57
  // Auth - check fails
50
58
  no_account_with_phone: 'No account was found with that phone number.',
@@ -56,6 +64,9 @@ export default {
56
64
  'Check your e-mail, <strong>%{emailAddress}</strong> ' +
57
65
  'for instructions to reset your password.'
58
66
  ),
67
+ reset_password_requested_msg_no_email: (
68
+ 'Please check your e-mail for instructions to reset your password.'
69
+ ),
59
70
  if_need_more_help_email: (
60
71
  'If you need assistance, please contact us at ' +
61
72
  '[%{emailAddress}](mailto:%{emailAddress}).'
@@ -82,7 +93,6 @@ export default {
82
93
  check_email_msg: 'Please check your e-mail for instructions to verify your account.',
83
94
  // check_email_3: 'Click "continue" to log in as ',
84
95
  // check_email_4: ' or re-send another verification link to your e-mail.',
85
- check_email: 'Check your e-mail',
86
96
  not_verified_yet: 'Please verify your e-mail and try again.',
87
97
  resend_change_verification: 'Re-send verification link or change e-mail',
88
98
  verify_account: 'Verify your account',
@@ -1,4 +1,4 @@
1
- import { SOCIAL_URLS } from "../constants/app";
1
+ import { SOCIAL_URLS } from "../constants/app.ts";
2
2
 
3
3
  // NOTE: Can't use /constants/ here because this file is loaded before all else
4
4
  const PerksSubDays = 14;
@@ -40,7 +40,7 @@ export default {
40
40
  choose_payment_opt: 'Choose a payment option',
41
41
 
42
42
  PERKS_desc_1: 'Say something nice on YouTube, TikTok, Instagram, X, personal blog, or anywhere you want.',
43
- PERKS_desc_2: `Follow us on X and share your message mentioning us (@${SOCIAL_URLS.big_planet.x_username}) with your Big Planet ID or username.`,
43
+ PERKS_desc_2: `Follow us on X and share your message mentioning us (@${SOCIAL_URLS.MARKETDAY.x_username}) with your Big Planet ID or username.`,
44
44
  PERKS_desc_3: `Wait until you receive a reply on X, Perks subscription (${PerksSubDays} days) will be added to your account.`,
45
45
 
46
46
  PLUS_year: 'Plus (yearly)',
@@ -0,0 +1,249 @@
1
+ export default {
2
+ en: {
3
+ from_code: {
4
+ AF: 'Afghanistan',
5
+ AX: 'Åland Islands',
6
+ AL: 'Albania',
7
+ DZ: 'Algeria',
8
+ AS: 'American Samoa',
9
+ AD: 'AndorrA',
10
+ AO: 'Angola',
11
+ AI: 'Anguilla',
12
+ AQ: 'Antarctica',
13
+ AG: 'Antigua and Barbuda',
14
+ AR: 'Argentina',
15
+ AM: 'Armenia',
16
+ AW: 'Aruba',
17
+ AU: 'Australia',
18
+ AT: 'Austria',
19
+ AZ: 'Azerbaijan',
20
+ BS: 'Bahamas',
21
+ BH: 'Bahrain',
22
+ BD: 'Bangladesh',
23
+ BB: 'Barbados',
24
+ BY: 'Belarus',
25
+ BE: 'Belgium',
26
+ BZ: 'Belize',
27
+ BJ: 'Benin',
28
+ BM: 'Bermuda',
29
+ BT: 'Bhutan',
30
+ BO: 'Bolivia',
31
+ BA: 'Bosnia and Herzegovina',
32
+ BW: 'Botswana',
33
+ BV: 'Bouvet Island',
34
+ BR: 'Brazil',
35
+ IO: 'British Indian Ocean Territory',
36
+ BN: 'Brunei Darussalam',
37
+ BG: 'Bulgaria',
38
+ BF: 'Burkina Faso',
39
+ BI: 'Burundi',
40
+ KH: 'Cambodia',
41
+ CM: 'Cameroon',
42
+ CA: 'Canada',
43
+ CV: 'Cape Verde',
44
+ KY: 'Cayman Islands',
45
+ CF: 'Central African Republic',
46
+ TD: 'Chad',
47
+ CL: 'Chile',
48
+ CN: 'China',
49
+ CX: 'Christmas Island',
50
+ CC: 'Cocos (Keeling) Islands',
51
+ CO: 'Colombia',
52
+ KM: 'Comoros',
53
+ CG: 'Congo',
54
+ CD: 'Congo, The Democratic Republic of the',
55
+ CK: 'Cook Islands',
56
+ CR: 'Costa Rica',
57
+ CI: 'Cote D\'Ivoire',
58
+ HR: 'Croatia',
59
+ CU: 'Cuba',
60
+ CY: 'Cyprus',
61
+ CZ: 'Czech Republic',
62
+ DK: 'Denmark',
63
+ DJ: 'Djibouti',
64
+ DM: 'Dominica',
65
+ DO: 'Dominican Republic',
66
+ EC: 'Ecuador',
67
+ EG: 'Egypt',
68
+ SV: 'El Salvador',
69
+ GQ: 'Equatorial Guinea',
70
+ ER: 'Eritrea',
71
+ EE: 'Estonia',
72
+ ET: 'Ethiopia',
73
+ FK: 'Falkland Islands (Malvinas)',
74
+ FO: 'Faroe Islands',
75
+ FJ: 'Fiji',
76
+ FI: 'Finland',
77
+ FR: 'France',
78
+ GF: 'French Guiana',
79
+ PF: 'French Polynesia',
80
+ TF: 'French Southern Territories',
81
+ GA: 'Gabon',
82
+ GM: 'Gambia',
83
+ GE: 'Georgia',
84
+ DE: 'Germany',
85
+ GH: 'Ghana',
86
+ GI: 'Gibraltar',
87
+ GR: 'Greece',
88
+ GL: 'Greenland',
89
+ GD: 'Grenada',
90
+ GP: 'Guadeloupe',
91
+ GU: 'Guam',
92
+ GT: 'Guatemala',
93
+ GG: 'Guernsey',
94
+ GN: 'Guinea',
95
+ GW: 'Guinea-Bissau',
96
+ GY: 'Guyana',
97
+ HT: 'Haiti',
98
+ HM: 'Heard Island and Mcdonald Islands',
99
+ VA: 'Holy See (Vatican City State)',
100
+ HN: 'Honduras',
101
+ HK: 'Hong Kong',
102
+ HU: 'Hungary',
103
+ IS: 'Iceland',
104
+ IN: 'India',
105
+ ID: 'Indonesia',
106
+ IR: 'Iran, Islamic Republic Of',
107
+ IQ: 'Iraq',
108
+ IE: 'Ireland',
109
+ IM: 'Isle of Man',
110
+ IL: 'Israel',
111
+ IT: 'Italy',
112
+ JM: 'Jamaica',
113
+ JP: 'Japan',
114
+ JE: 'Jersey',
115
+ JO: 'Jordan',
116
+ KZ: 'Kazakhstan',
117
+ KE: 'Kenya',
118
+ KI: 'Kiribati',
119
+ KP: 'Korea, Democratic People\'s Republic of',
120
+ KR: 'Korea, Republic of',
121
+ KW: 'Kuwait',
122
+ KG: 'Kyrgyzstan',
123
+ LA: 'Lao People\'s Democratic Republic',
124
+ LV: 'Latvia',
125
+ LB: 'Lebanon',
126
+ LS: 'Lesotho',
127
+ LR: 'Liberia',
128
+ LY: 'Libyan Arab Jamahiriya',
129
+ LI: 'Liechtenstein',
130
+ LT: 'Lithuania',
131
+ LU: 'Luxembourg',
132
+ MO: 'Macao',
133
+ MK: 'Macedonia, The Former Yugoslav Republic of',
134
+ MG: 'Madagascar',
135
+ MW: 'Malawi',
136
+ MY: 'Malaysia',
137
+ MV: 'Maldives',
138
+ ML: 'Mali',
139
+ MT: 'Malta',
140
+ MH: 'Marshall Islands',
141
+ MQ: 'Martinique',
142
+ MR: 'Mauritania',
143
+ MU: 'Mauritius',
144
+ YT: 'Mayotte',
145
+ MX: 'México',
146
+ FM: 'Micronesia, Federated States of',
147
+ MD: 'Moldova, Republic of',
148
+ MC: 'Monaco',
149
+ MN: 'Mongolia',
150
+ MS: 'Montserrat',
151
+ MA: 'Morocco',
152
+ MZ: 'Mozambique',
153
+ MM: 'Myanmar',
154
+ NA: 'Namibia',
155
+ NR: 'Nauru',
156
+ NP: 'Nepal',
157
+ NL: 'Netherlands',
158
+ AN: 'Netherlands Antilles',
159
+ NC: 'New Caledonia',
160
+ NZ: 'New Zealand',
161
+ NI: 'Nicaragua',
162
+ NE: 'Niger',
163
+ NG: 'Nigeria',
164
+ NU: 'Niue',
165
+ NF: 'Norfolk Island',
166
+ MP: 'Northern Mariana Islands',
167
+ NO: 'Norway',
168
+ OM: 'Oman',
169
+ PK: 'Pakistan',
170
+ PW: 'Palau',
171
+ PS: 'Palestinian Territory, Occupied',
172
+ PA: 'Panama',
173
+ PG: 'Papua New Guinea',
174
+ PY: 'Paraguay',
175
+ PE: 'Peru',
176
+ PH: 'Philippines',
177
+ PN: 'Pitcairn',
178
+ PL: 'Poland',
179
+ PT: 'Portugal',
180
+ PR: 'Puerto Rico',
181
+ QA: 'Qatar',
182
+ RE: 'Reunion',
183
+ RO: 'Romania',
184
+ RU: 'Russian Federation',
185
+ RW: 'RWANDA',
186
+ SH: 'Saint Helena',
187
+ KN: 'Saint Kitts and Nevis',
188
+ LC: 'Saint Lucia',
189
+ PM: 'Saint Pierre and Miquelon',
190
+ VC: 'Saint Vincent and the Grenadines',
191
+ WS: 'Samoa',
192
+ SM: 'San Marino',
193
+ ST: 'Sao Tome and Principe',
194
+ SA: 'Saudi Arabia',
195
+ SN: 'Senegal',
196
+ CS: 'Serbia and Montenegro',
197
+ SC: 'Seychelles',
198
+ SL: 'Sierra Leone',
199
+ SG: 'Singapore',
200
+ SK: 'Slovakia',
201
+ SI: 'Slovenia',
202
+ SB: 'Solomon Islands',
203
+ SO: 'Somalia',
204
+ ZA: 'South Africa',
205
+ GS: 'South Georgia and the South Sandwich Islands',
206
+ ES: 'Spain',
207
+ LK: 'Sri Lanka',
208
+ SD: 'Sudan',
209
+ SR: 'Suriname',
210
+ SJ: 'Svalbard and Jan Mayen',
211
+ SZ: 'Swaziland',
212
+ SE: 'Sweden',
213
+ CH: 'Switzerland',
214
+ SY: 'Syrian Arab Republic',
215
+ TW: 'Taiwan',
216
+ TJ: 'Tajikistan',
217
+ TZ: 'Tanzania, United Republic of',
218
+ TH: 'Thailand',
219
+ TL: 'Timor-Leste',
220
+ TG: 'Togo',
221
+ TK: 'Tokelau',
222
+ TO: 'Tonga',
223
+ TT: 'Trinidad and Tobago',
224
+ TN: 'Tunisia',
225
+ TR: 'Turkey',
226
+ TM: 'Turkmenistan',
227
+ TC: 'Turks and Caicos Islands',
228
+ TV: 'Tuvalu',
229
+ UG: 'Uganda',
230
+ UA: 'Ukraine',
231
+ AE: 'United Arab Emirates',
232
+ GB: 'United Kingdom',
233
+ US: 'United States',
234
+ UM: 'United States Minor Outlying Islands',
235
+ UY: 'Uruguay',
236
+ UZ: 'Uzbekistan',
237
+ VU: 'Vanuatu',
238
+ VE: 'Venezuela',
239
+ VN: 'Viet Nam',
240
+ VG: 'Virgin Islands, British',
241
+ VI: 'Virgin Islands, U.S.',
242
+ WF: 'Wallis and Futuna',
243
+ EH: 'Western Sahara',
244
+ YE: 'Yemen',
245
+ ZM: 'Zambia',
246
+ ZW: 'Zimbabwe'
247
+ }
248
+ }
249
+ }
@@ -0,0 +1,60 @@
1
+ export default {
2
+ en: {
3
+ // General
4
+ year_: 'Year: %{year}',
5
+
6
+ // Times count
7
+ weeks_ct: '%{smart_count} week||||%{smart_count} weeks',
8
+ days_ct: '%{smart_count} day||||%{smart_count} days',
9
+ hours_ct: '%{smart_count} hour||||%{smart_count} hours',
10
+ minutes_ct: '%{smart_count} minute||||%{smart_count} minutes',
11
+ seconds_ct: '%{smart_count} second||||%{smart_count} seconds',
12
+
13
+ // Ago
14
+ just_now: 'just now',
15
+ in_minutes_ct: 'in %{smart_count} minute||||in %{smart_count} minutes',
16
+ in_hours_ct: 'in %{smart_count} hour||||in %{smart_count} hours',
17
+ minutes_ago_ct: '%{smart_count} minute ago||||%{smart_count} minutes ago',
18
+ hours_ago_ct: '%{smart_count} hour ago||||%{smart_count} hours ago',
19
+ weeks_ago_ct: '%{smart_count} week ago||||%{smart_count} weeks ago',
20
+ months_ago_ct: '%{smart_count} month ago||||%{smart_count} months ago',
21
+
22
+ // Time period
23
+ period_TOMORROW: 'Tomorrow',
24
+ period_TODAY: 'Today',
25
+ period_YESTERDAY: 'Yesterday',
26
+ period_THIS_WEEK: 'This week',
27
+ period_THIS_MONTH: 'This month',
28
+ period_LAST_WEEK: 'Last week',
29
+ period_LAST_MONTH: 'Last month',
30
+ period_OLDER: 'History',
31
+ period_UPCOMING: 'Upcoming',
32
+
33
+ // Schedule
34
+ schedule: {
35
+ ONCE_fixed: 'Once on %{date}',
36
+ DAILY_fixed: 'Recurring every %{value} day', // Unused atm
37
+ WEEKLY_fixed: 'Recurring every %{value} week',
38
+ MONTHLY_fixed: 'Recurring every %{value} month', // Unused atm
39
+ YEARLY_fixed: 'Recurring every %{value} year', // Unused atm
40
+
41
+ ONCE: 'Once on %{date}',
42
+ DAILY: 'Recurring every day', // Unused atm
43
+ WEEKLY: 'Recurring every week',
44
+ MONTHLY: 'Recurring every month', // Unused atm
45
+ YEARLY: 'Recurring every year', // Unused atm
46
+
47
+ _on_: ' on %{daysOfWeek}'
48
+ },
49
+
50
+ daysOfWeek: {
51
+ 0: 'Sunday',
52
+ 1: 'Monday',
53
+ 2: 'Tuesday',
54
+ 3: 'Wednesday',
55
+ 4: 'Thursday',
56
+ 5: 'Friday',
57
+ 6: 'Saturday',
58
+ }
59
+ },
60
+ };
@@ -3,17 +3,20 @@ export default {
3
3
  error: 'Error',
4
4
  invalid: 'Invalid',
5
5
  network_error_title: 'Network error',
6
+ server_outage_title: 'Service disruption',
7
+ server_outage_msg: 'Our servers are experiencing a disruption or we may be deploying an update. Please try again in a moment.',
6
8
  unknown_error: 'An unknown error occured.',
7
9
  network_error: 'Failed to connect to server.\nPlease try again in a moment.',
8
- network_or_outage_error: 'Failed to connect to server. If your internet connection is stable, our servers may be experiencing an outage.',
10
+ network_error_msg: 'Failed to connect to server. Please check if your\n internet connection is stable.',
9
11
  app_error_title: 'App crashed',
10
12
  app_error: 'Uh-oh, please refresh the page and tell someone.',
11
13
  not_allowed: 'Not allowed',
12
14
  not_allowed_perms: 'You do not have permission to do that.',
13
15
  login_changed: 'Login changed',
14
16
  link_expired: 'Link expired',
15
- link_expired_msg: 'This link expired. Please try again by requesting another link.',
16
- invalid_link_msg: 'This link is invalid. Please try again by requesting another link.',
17
+ invalid_link: 'Invalid link',
18
+ link_expired_msg: 'This link expired. Please try again by\n requesting another link.',
19
+ invalid_link_msg: 'This link is invalid. Please try again by\n requesting another link.',
17
20
 
18
21
  // 1x
19
22
  '10000_title': 'App updated!',
@@ -30,6 +33,7 @@ export default {
30
33
  10010: 'Your Apple login token was invalid.',
31
34
  10011: 'Apple API failed to respond.',
32
35
  10012: 'This browser tab will reload because you changed your login.',
36
+ 10013: 'Our e-mail service is experiencing an outage. Please try again in a moment.',
33
37
 
34
38
  // 2x
35
39
 
@@ -43,7 +47,7 @@ export default {
43
47
  20005: 'Could not find the account with that username (@%{value})',
44
48
  20006: 'Could not find the account with that e-mail. (%{value})',
45
49
  20007: 'Could not find the account with that ID. (%{value})',
46
- 20008: 'Your password is incorrect. You have %{value} try(s) remaining.',
50
+ 20008: 'Your password is incorrect. You have %{value} try remaining.||||Your password is incorrect. You have %{value} tries remaining.',
47
51
  20009: 'Please wait 10 minutes before trying to log in again.',
48
52
  20010: 'This account could not be found.',
49
53
  20011: 'Your token expired, please request a new link.',
@@ -54,7 +58,8 @@ export default {
54
58
  20016: 'You are being rate limited. Please try again in a moment.',
55
59
  20017: 'Please check your-email before requesting another verification link or wait few more seconds.',
56
60
  20018: "Your e-mail is already verified. There's no need to verify your e-mail again.",
57
- 20019: 'You are not logged in. Please log in and try again.',
61
+ '20019_title': 'Login expired',
62
+ 20019: 'Your login token expired. Please log in again.',
58
63
  20020: 'You do not have access to this chat.',
59
64
  '20021_title': 'Slow down!',
60
65
  20021: 'You are sending messages too fast.',
@@ -97,6 +102,10 @@ export default {
97
102
  20058: 'You do not have permissions to edit this log. Please contact your administrator.',
98
103
  20059: 'This log was not found.\nIt may have been deleted.',
99
104
  20060: 'You do not have permissions to delete this log. Please contact your administrator.',
105
+ 20061: 'You do not have permissions to perform this action. Please contact your administrator.',
106
+ 20062: '"%{value}" is not a valid e-mail address.',
107
+ 20063: 'You cannot change your e-mail to the same e-mail address.',
108
+ 20064: 'Your file is too large. Please try again with a smaller file.',
100
109
 
101
110
  '29999_title': 'Not ready',
102
111
  29999: 'AI chat is not ready right now.',
@@ -104,6 +113,7 @@ export default {
104
113
  // 3x
105
114
 
106
115
  30000: 'An unknown error occured.',
116
+ 30002: 'We made an error in our code. We will fix this soon.',
107
117
  30003: "We're having trouble accessing the server.",
108
118
  30004: 'We made a mistake in our code. We will fix this soon.',
109
119
  30010: 'Google servers are not responding right now.',
@@ -122,6 +132,7 @@ export default {
122
132
  30024: 'Stripe customer and payment method was mismatched.',
123
133
  30025: 'E-mail server is experiencing an outage. Please try again in a moment.',
124
134
  30028: 'You cannot send an empty message.',
135
+ 30031: 'There was an issue while uploading your file.',
125
136
 
126
137
  // Form errors
127
138
 
@@ -143,8 +154,8 @@ export default {
143
154
 
144
155
  // File errors
145
156
 
146
- upload_failed: 'File upload failed.',
147
- file_too_large: 'Your file is too large. It must be less than %{maxFileSize}.',
157
+ file_too_large: 'File too large',
158
+ file_too_large_msg: 'Your file is too large.\n It must be less than %{maxFileSize}.',
148
159
  // file_must_be_photo: 'That is an invalid file. It must be a picture.',
149
160
  img_processing_failed: "Your file couldn't be processed. Please upload a valid image file.",
150
161
  // audio_processing_failed: 'Your file couldn\'t be processed. Please upload a valid audio file.',