@jsb188/app 1.1.5 → 1.1.6

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/constants/app.ts CHANGED
@@ -1,80 +1,361 @@
1
-
2
- // Big planet constants
3
-
4
- export const NOTIF_EXPIRE_DAYS = 30;
1
+ type IDDocumentType = any; // Server <-> Client match
5
2
 
6
3
  // DOM element names (ids)
7
4
 
8
5
  export const DOM_IDS = {
9
- sidebarInput: 'sidebar_input',
10
- mainFocusTextarea: 'main_tx',
11
- mainBodyScrollArea: 'main_scr',
12
- popOverScrollArea: 'pop_over_scr',
6
+ sidebarInput: 'sidebar_input',
7
+ mainFocusTextarea: 'main_tx',
8
+ mainBodyScrollArea: 'main_scr',
9
+ popOverScrollArea: 'pop_over_scr',
10
+ };
11
+
12
+ // Common style variables
13
+
14
+ export const END_BUTTON_WIDTH = '40px';
15
+ export const DATE_AND_BUTTON_WIDTH = '100px ' + END_BUTTON_WIDTH;
16
+
17
+ // Common, repeatable classnames
18
+
19
+ export const COMMON_CLASSNAMES = {
20
+ listContainer: 'cw lg responsive px_lg pt_md pb_lg',
21
+ listContainerFlushRight: 'cw lg responsive pl_lg pr_10 pt_md pb_lg',
22
+ leftSidebarContainer: 'cw lg pr_md',
23
+ // listContainer: 'cw lg responsive px_lg py_lg',
24
+ modalScreenSplitForm: 'h_top px_lg pb_md gap_lg',
25
+ modalScreenSplitContent: 'h_top px_md pb_md gap_lg',
26
+ modalScreenHeading: 'pt_lg pb_df ft_normal ft_xs cl_darker_2 ls_2',
27
+ };
28
+
29
+ // Encryption
30
+
31
+ export const DOCUMENT_TYPE_TO_PREFIX: Record<string, IDDocumentType | IDDocumentType[]> = {
32
+ 'activity log or note': ['log', 'inv'], // I've seen AI mistakenly use "activity log or note" for invoices, so we have to comebine it
33
+ 'invoice': ['log', 'inv'],
34
+ 'purchase order': ['log', 'inv'],
35
+ 'user account': 'acc',
36
+ 'ai task': 'task',
37
+ 'event': 'event',
38
+ 'farmers market day': 'event',
13
39
  };
14
40
 
15
41
  // Local storage
16
42
 
17
43
  export const STORAGE_KEYS = {
18
- // Authentication
19
- AUTH_TOKEN: 'AT', // There's no ":", so this is used as-is
20
- LAST_VERSION: 'LV:', // ":" at end means it's a prefix
21
- CURRENT_ACCOUNT_ID: 'CU:',
44
+ // Authentication
45
+ AUTH_TOKEN: 'AT', // There's no ":", so this is used as-is
46
+ LAST_VERSION: 'LV:', // ":" at end means it's a prefix
47
+ CURRENT_ACCOUNT_ID: 'CU:',
22
48
 
23
- // Settings
24
- LIGHT_MODE: 'LM:',
49
+ // Settings
50
+ LIGHT_MODE: 'LM:',
25
51
  } as Record<string, string>;
26
52
 
53
+ // Company address
54
+
55
+ export const COMPANY_ADDRESS = {
56
+ line1: '3053 Fillmore St.',
57
+ line2: '#231',
58
+ city: 'San Francisco',
59
+ state: 'CA',
60
+ postalCode: '94123',
61
+ country: 'US',
62
+ };
63
+
27
64
  // Support e-mails
28
65
 
29
- export const SUPPORT_EMAILS = {
30
- marketday: 'hello@marketday.ai'
66
+ export const APP_EMAILS = {
67
+ support: 'hello@marketday.ai',
31
68
  } as Record<string, string>;
32
69
 
33
70
  // Social media
34
71
 
35
72
  export const SOCIAL_URLS = {
36
- big_planet: {
37
- x: 'https://x.com/bigplanetai',
38
- x_username: 'BigPlanetAI',
39
- },
40
- cosmic: {
41
- x: 'https://x.com/bigplanetai',
42
- x_username: 'BigPlanetAI',
43
- }
73
+ MARKETDAY: {
74
+ x: 'https://x.com/?',
75
+ x_username: '?',
76
+ },
44
77
  } as Record<string, {
45
- x: string;
46
- x_username: string;
78
+ x: string;
79
+ x_username: string;
47
80
  }>;
48
81
 
82
+ // Colors
83
+
84
+ export const COLORS = [
85
+ 'red',
86
+ 'orange',
87
+ 'brown',
88
+ 'amber',
89
+ 'yellow',
90
+ 'lime',
91
+ 'green',
92
+ 'emerald',
93
+ 'teal',
94
+ 'cyan',
95
+ 'sky',
96
+ 'blue',
97
+ 'indigo',
98
+ 'violet',
99
+ 'purple',
100
+ 'fuchsia',
101
+ 'pink',
102
+ 'rose',
103
+ 'slate',
104
+ 'zinc',
105
+ 'stone',
106
+ ];
107
+
49
108
  // Languages
50
109
 
51
110
  export const SUPPORTED_LANGUAGES = [
52
- 'ENGLISH',
53
- 'SPANISH',
111
+ 'en',
112
+ 'es',
54
113
  ];
55
114
 
56
- // Colors
115
+ // Countries
57
116
 
58
- export const COLORS = [
59
- 'red',
60
- 'orange',
61
- 'brown',
62
- 'amber',
63
- 'yellow',
64
- 'lime',
65
- 'green',
66
- 'emerald',
67
- 'teal',
68
- 'cyan',
69
- 'sky',
70
- 'blue',
71
- 'indigo',
72
- 'violet',
73
- 'purple',
74
- 'fuchsia',
75
- 'pink',
76
- 'rose',
77
- 'slate',
78
- 'zinc',
79
- 'stone'
117
+ export const SUPPORTED_COUNTRIES = [
118
+ 'AF',
119
+ 'AX',
120
+ 'AL',
121
+ 'DZ',
122
+ 'AS',
123
+ 'AD',
124
+ 'AO',
125
+ 'AI',
126
+ 'AQ',
127
+ 'AG',
128
+ 'AR',
129
+ 'AM',
130
+ 'AW',
131
+ 'AU',
132
+ 'AT',
133
+ 'AZ',
134
+ 'BS',
135
+ 'BH',
136
+ 'BD',
137
+ 'BB',
138
+ 'BY',
139
+ 'BE',
140
+ 'BZ',
141
+ 'BJ',
142
+ 'BM',
143
+ 'BT',
144
+ 'BO',
145
+ 'BA',
146
+ 'BW',
147
+ 'BV',
148
+ 'BR',
149
+ 'IO',
150
+ 'BN',
151
+ 'BG',
152
+ 'BF',
153
+ 'BI',
154
+ 'KH',
155
+ 'CM',
156
+ 'CA',
157
+ 'CV',
158
+ 'KY',
159
+ 'CF',
160
+ 'TD',
161
+ 'CL',
162
+ 'CN',
163
+ 'CX',
164
+ 'CC',
165
+ 'CO',
166
+ 'KM',
167
+ 'CG',
168
+ 'CD',
169
+ 'CK',
170
+ 'CR',
171
+ 'CI',
172
+ 'HR',
173
+ 'CU',
174
+ 'CY',
175
+ 'CZ',
176
+ 'DK',
177
+ 'DJ',
178
+ 'DM',
179
+ 'DO',
180
+ 'EC',
181
+ 'EG',
182
+ 'SV',
183
+ 'GQ',
184
+ 'ER',
185
+ 'EE',
186
+ 'ET',
187
+ 'FK',
188
+ 'FO',
189
+ 'FJ',
190
+ 'FI',
191
+ 'FR',
192
+ 'GF',
193
+ 'PF',
194
+ 'TF',
195
+ 'GA',
196
+ 'GM',
197
+ 'GE',
198
+ 'DE',
199
+ 'GH',
200
+ 'GI',
201
+ 'GR',
202
+ 'GL',
203
+ 'GD',
204
+ 'GP',
205
+ 'GU',
206
+ 'GT',
207
+ 'GG',
208
+ 'GN',
209
+ 'GW',
210
+ 'GY',
211
+ 'HT',
212
+ 'HM',
213
+ 'VA',
214
+ 'HN',
215
+ 'HK',
216
+ 'HU',
217
+ 'IS',
218
+ 'IN',
219
+ 'ID',
220
+ 'IR',
221
+ 'IQ',
222
+ 'IE',
223
+ 'IM',
224
+ 'IL',
225
+ 'IT',
226
+ 'JM',
227
+ 'JP',
228
+ 'JE',
229
+ 'JO',
230
+ 'KZ',
231
+ 'KE',
232
+ 'KI',
233
+ 'KP',
234
+ 'KR',
235
+ 'KW',
236
+ 'KG',
237
+ 'LA',
238
+ 'LV',
239
+ 'LB',
240
+ 'LS',
241
+ 'LR',
242
+ 'LY',
243
+ 'LI',
244
+ 'LT',
245
+ 'LU',
246
+ 'MO',
247
+ 'MK',
248
+ 'MG',
249
+ 'MW',
250
+ 'MY',
251
+ 'MV',
252
+ 'ML',
253
+ 'MT',
254
+ 'MH',
255
+ 'MQ',
256
+ 'MR',
257
+ 'MU',
258
+ 'YT',
259
+ 'MX',
260
+ 'FM',
261
+ 'MD',
262
+ 'MC',
263
+ 'MN',
264
+ 'MS',
265
+ 'MA',
266
+ 'MZ',
267
+ 'MM',
268
+ 'NA',
269
+ 'NR',
270
+ 'NP',
271
+ 'NL',
272
+ 'AN',
273
+ 'NC',
274
+ 'NZ',
275
+ 'NI',
276
+ 'NE',
277
+ 'NG',
278
+ 'NU',
279
+ 'NF',
280
+ 'MP',
281
+ 'NO',
282
+ 'OM',
283
+ 'PK',
284
+ 'PW',
285
+ 'PS',
286
+ 'PA',
287
+ 'PG',
288
+ 'PY',
289
+ 'PE',
290
+ 'PH',
291
+ 'PN',
292
+ 'PL',
293
+ 'PT',
294
+ 'PR',
295
+ 'QA',
296
+ 'RE',
297
+ 'RO',
298
+ 'RU',
299
+ 'RW',
300
+ 'SH',
301
+ 'KN',
302
+ 'LC',
303
+ 'PM',
304
+ 'VC',
305
+ 'WS',
306
+ 'SM',
307
+ 'ST',
308
+ 'SA',
309
+ 'SN',
310
+ 'CS',
311
+ 'SC',
312
+ 'SL',
313
+ 'SG',
314
+ 'SK',
315
+ 'SI',
316
+ 'SB',
317
+ 'SO',
318
+ 'ZA',
319
+ 'GS',
320
+ 'ES',
321
+ 'LK',
322
+ 'SD',
323
+ 'SR',
324
+ 'SJ',
325
+ 'SZ',
326
+ 'SE',
327
+ 'CH',
328
+ 'SY',
329
+ 'TW',
330
+ 'TJ',
331
+ 'TZ',
332
+ 'TH',
333
+ 'TL',
334
+ 'TG',
335
+ 'TK',
336
+ 'TO',
337
+ 'TT',
338
+ 'TN',
339
+ 'TR',
340
+ 'TM',
341
+ 'TC',
342
+ 'TV',
343
+ 'UG',
344
+ 'UA',
345
+ 'AE',
346
+ 'GB',
347
+ 'US',
348
+ 'UM',
349
+ 'UY',
350
+ 'UZ',
351
+ 'VU',
352
+ 'VE',
353
+ 'VN',
354
+ 'VG',
355
+ 'VI',
356
+ 'WF',
357
+ 'EH',
358
+ 'YE',
359
+ 'ZM',
360
+ 'ZW',
80
361
  ];
@@ -0,0 +1,17 @@
1
+
2
+ export const DAY_OF_WEEK = [
3
+ 'Sunday', // Order matters
4
+ 'Monday',
5
+ 'Tuesday',
6
+ 'Wednesday',
7
+ 'Thursday',
8
+ 'Friday',
9
+ 'Saturday',
10
+ ];
11
+
12
+ export const SCHEDULE_FREQUENCY = [
13
+ 'ONCE',
14
+ 'WEEKLY',
15
+ ];
16
+
17
+ export const DATE_PICKER_MIN = '1950-01-01';
@@ -0,0 +1,21 @@
1
+ const WS_ACTIONS = {
2
+ // Socket connection
3
+ // NOTE: these are reserved names in Socket.IO
4
+ // That means you cannot emit custom events with these names
5
+ connect: 'connect',
6
+ disconnect: 'disconnect',
7
+
8
+ // Authentication
9
+ auth: 'auth',
10
+ auth_reset: 'auth_reset',
11
+
12
+ // App
13
+ data_update: 'du',
14
+ app_context_update: 'acu',
15
+
16
+ // Account
17
+ me: 'me:',
18
+ organization: 'org:',
19
+ };
20
+
21
+ export default WS_ACTIONS;
package/i18n/account.ts CHANGED
@@ -10,7 +10,6 @@ export default {
10
10
  username_info: 'Username, ID, and e-mail is used to log in to your account.',
11
11
  email: 'E-mail',
12
12
  email_ph: 'e.g. jane_doe@email.com',
13
- phone: 'Phone number',
14
13
  phone_ph: 'e.g. 123-444-5555',
15
14
  password: 'Password',
16
15
  password_ph: 'Enter your password',
@@ -46,7 +45,18 @@ export default {
46
45
  badge_desc: 'Change the badge that appear next to your name in chat.',
47
46
  badge_instr: 'This badge will be displayed next to your name:',
48
47
 
49
- // Change password
48
+ // Change sensitive account settings/info
49
+ enter_password: 'Enter password',
50
+ enter_password_msg: 'Confirm your identity before continuing.',
51
+ new_email: 'New e-mail address',
52
+ email_updated: 'E-mail updated',
53
+ email_updated_msg: 'Your e-mail address has been updated to:\n %{emailAddress}.',
54
+ change_email: 'Change e-mail',
55
+ change_email_msg: 'You will receive a confirmation e-mail\n to your new address.',
56
+ change_email_pw_confirm_msg: 'Confirm your identity to change\n your e-mail address.',
57
+ change_email_verify_msg: 'Follow the instructions in the e-mail we sent\n to change your e-mail address.',
58
+ change_phone: 'Change phone number',
59
+ change_phone_msg: 'Confirm your identity to change\n your phone number.',
50
60
  currentPassword: 'Current password',
51
61
  newPassword: 'New password',
52
62
  newPasswordRepeat: 'New password (repeat)',
@@ -72,10 +82,5 @@ export default {
72
82
  report_user: 'Report user',
73
83
  profile_deactivated_desc: 'This account has been deactivated.',
74
84
  phone_numbers: 'Phone numbers',
75
-
76
- // Search instructions
77
- search_instr_1: 'Search by user ID',
78
- search_instr_2: 'Search by @username',
79
- search_instr_3: 'Search by display name',
80
85
  },
81
86
  };
package/i18n/app.ts CHANGED
@@ -9,15 +9,11 @@ export default {
9
9
  // Routes
10
10
  route_: 'App | %{text}',
11
11
  route_auth: 'Log in or sign up',
12
+ route_auth_change_email: 'Change e-mail address',
12
13
  route_auth_signup: 'Create an account',
13
14
  route_not_found: 'Page Not Found',
14
15
  route_not_found_desc: 'The page you are looking for does not exist.',
15
16
 
16
- // Toolbar titles
17
- // NOTE: If i18n.has(routeName) -> /app/ routes will show the title in the toolbar
18
- toolbar_title_logs: 'Logs',
19
- toolbar_title_ai_chat: 'AI',
20
-
21
17
  // General
22
18
  open_app: 'Open app',
23
19
  home: 'Home',
@@ -73,19 +69,6 @@ export default {
73
69
  invite_expire_in_ct: 'This invitation will expire in %{smart_count} day.||||This invitation will expire in %{smart_count} days.',
74
70
  notif_not_exist: 'This notification does not exist. It may be deleted.',
75
71
 
76
- alerts_ct_CO_OWNER_ADDED: '%{smart_count} New co-ownership||||%{smart_count} New co-ownerships',
77
- alerts_ct_CO_OWNER_INVITE: '%{smart_count} Co-owner invite||||%{smart_count} Co-owner invites',
78
- alerts_ct_NEW_FRIEND: '%{smart_count} New friend alert||||%{smart_count} New friends alerts',
79
- alerts_ct_MESSAGE: '%{smart_count} Notification||||%{smart_count} Notifications',
80
-
81
- alerts_CO_OWNER_ADDED: 'New co-ownership',
82
- alerts_CO_OWNER_INVITE: 'Co-owner invite',
83
- alerts_NEW_FRIEND: 'Friend added',
84
- alerts_MESSAGE: 'Notification',
85
-
86
- notif_message_CO_OWNER_ADDED: 'You became a co-owner. You have live and moderation permissions.',
87
- notif_message_CO_OWNER_INVITE: 'You received an invitation to become a co-owner for this chat.',
88
-
89
72
  // Homepage; Roadmap
90
73
  roadmap: 'Roadmap',
91
74
 
package/i18n/auth.ts CHANGED
@@ -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',
package/i18n/billing.ts CHANGED
@@ -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)',
package/i18n/datetime.ts CHANGED
@@ -1,21 +1,60 @@
1
1
  export default {
2
- en: {
3
- // Ago
4
- just_now: 'just now',
5
- in_minutes_ct: 'in %{smart_count} minute||||in %{smart_count} minutes',
6
- in_hours_ct: 'in %{smart_count} hour||||in %{smart_count} hours',
7
- minutes_ago_ct: '%{smart_count} minute ago||||%{smart_count} minutes ago',
8
- hours_ago_ct: '%{smart_count} hour ago||||%{smart_count} hours ago',
2
+ en: {
3
+ // General
4
+ year_: 'Year: %{year}',
9
5
 
10
- // Time period
11
- period_TOMORROW: 'Tomorrow',
12
- period_TODAY: 'Today',
13
- period_YESTERDAY: 'Yesterday',
14
- period_THIS_WEEK: 'This week',
15
- period_THIS_MONTH: 'This month',
16
- period_LAST_WEEK: 'Last week',
17
- period_LAST_MONTH: 'Last month',
18
- period_OLDER: 'History',
19
- period_UPCOMING: 'Upcoming',
20
- }
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
+ },
21
60
  };