@jsb188/app 1.1.10 → 1.1.12

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 (79) hide show
  1. package/package.json +57 -45
  2. package/src/constants/agent.ts +51 -41
  3. package/src/constants/app.ts +34 -13
  4. package/src/constants/emoji.ts +9144 -8936
  5. package/src/constants/other.ts +1 -5
  6. package/src/constants/user.ts +16 -25
  7. package/src/constants/wsActions.ts +27 -0
  8. package/src/i18n/account.ts +129 -107
  9. package/src/i18n/agent.ts +331 -73
  10. package/src/i18n/agentToolBusiness.ts +196 -0
  11. package/src/i18n/agentToolGrid.ts +137 -0
  12. package/src/i18n/agentToolWorkflow.ts +101 -0
  13. package/src/i18n/agent_note.ts +109 -0
  14. package/src/i18n/app.ts +107 -91
  15. package/src/i18n/auth.ts +117 -102
  16. package/src/i18n/billing.ts +5 -92
  17. package/src/i18n/c.ts +907 -0
  18. package/src/i18n/campaign.ts +919 -0
  19. package/src/i18n/country.ts +248 -248
  20. package/src/i18n/datetime.ts +32 -26
  21. package/src/i18n/editor.ts +58 -0
  22. package/src/i18n/error.ts +577 -192
  23. package/src/i18n/field_doc_editor.ts +21 -0
  24. package/src/i18n/field_doc_programs.ts +52 -0
  25. package/src/i18n/field_docs.ts +190 -0
  26. package/src/i18n/index.ts +42 -19
  27. package/src/i18n/log.ts +272 -238
  28. package/src/i18n/memory.ts +53 -0
  29. package/src/i18n/message.ts +3 -4
  30. package/src/i18n/note.ts +19 -0
  31. package/src/i18n/org.ts +164 -109
  32. package/src/i18n/schedule.ts +209 -0
  33. package/src/i18n/sheet.ts +333 -4
  34. package/src/i18n/sheet_formula.ts +165 -0
  35. package/src/i18n/workflow.ts +109 -23
  36. package/src/main.ts +68 -64
  37. package/src/platform.ts +90 -49
  38. package/src/types/ai.d.ts +52 -23
  39. package/src/types/app.d.ts +95 -44
  40. package/src/types/auth.d.ts +66 -40
  41. package/src/types/console.d.ts +3 -0
  42. package/src/types/other.d.ts +13 -6
  43. package/src/types.d.ts +12 -14
  44. package/src/utils/account.ts +64 -58
  45. package/src/utils/api.ts +326 -77
  46. package/src/utils/authSession.ts +24 -0
  47. package/src/utils/clientIP.ts +213 -0
  48. package/src/utils/color.ts +279 -0
  49. package/src/utils/cron.ts +49 -18
  50. package/src/utils/csv.ts +19 -0
  51. package/src/utils/datetime.ts +445 -117
  52. package/src/utils/deferredSave.ts +89 -0
  53. package/src/utils/email.ts +50 -0
  54. package/src/utils/emoji.ts +107 -84
  55. package/src/utils/expression.helpers.ts +470 -0
  56. package/src/utils/expression.test.ts +793 -0
  57. package/src/utils/expression.ts +2261 -0
  58. package/src/utils/interval.ts +80 -0
  59. package/src/utils/language.ts +9 -0
  60. package/src/utils/logic.ts +141 -121
  61. package/src/utils/managedSession.ts +34 -0
  62. package/src/utils/managedSessionBff.test.ts +60 -0
  63. package/src/utils/managedSessionBff.ts +117 -0
  64. package/src/utils/number.ts +85 -38
  65. package/src/utils/object.ts +227 -30
  66. package/src/utils/promise.ts +98 -0
  67. package/src/utils/queryReset.ts +266 -0
  68. package/src/utils/recurringTask.ts +60 -0
  69. package/src/utils/schema.ts +293 -0
  70. package/src/utils/string.test.ts +205 -208
  71. package/src/utils/string.ts +426 -463
  72. package/src/utils/timeZone.ts +309 -851
  73. package/src/utils/url_client.ts +145 -72
  74. package/tsconfig.json +10 -10
  75. package/src/constants/billing.ts +0 -146
  76. package/src/i18n/form.ts +0 -376
  77. package/src/i18n/product.ts +0 -76
  78. package/src/types/form.d.ts +0 -97
  79. package/src/utils/billing.ts +0 -134
package/src/i18n/app.ts CHANGED
@@ -1,108 +1,124 @@
1
1
  export default {
2
- en: {
2
+ en: {
3
+ // Site meta
4
+ schedule_demo: 'Schedule a demo',
5
+ get_in_touch: 'Get in touch',
6
+ copyright_text: '© %{currentYear} %{companyName}. All rights reserved.',
7
+ privacy: 'Privacy Policy',
8
+ tos: 'Terms of Service',
3
9
 
4
- // Site meta
5
- schedule_demo: 'Schedule a demo',
6
- copyright_text: '© %{currentYear} %{companyName}. All rights reserved.',
7
- privacy: 'Privacy Policy',
8
- tos: 'Terms of Service',
10
+ // Routes
11
+ route_: 'App | %{text}',
12
+ route_auth: 'Log in or sign up',
13
+ route_auth_change_email: 'Change email address',
14
+ route_auth_signup: 'Create an account',
15
+ route_not_found: 'Page Not Found',
16
+ route_not_found_desc: 'The page you are looking for does not exist.',
17
+ return_to_homepage: 'Return to homepage',
9
18
 
10
- // Routes
11
- route_: 'App | %{text}',
12
- route_auth: 'Log in or sign up',
13
- route_auth_change_email: 'Change email address',
14
- route_auth_signup: 'Create an account',
15
- route_not_found: 'Page Not Found',
16
- route_not_found_desc: 'The page you are looking for does not exist.',
19
+ // General
20
+ open_app: 'Open app',
21
+ home: 'Home',
22
+ new_data_click_to_refresh: 'New data available. Click to refresh.',
23
+ timezone_set_to_: 'Time zone is set to: %{timeZone}',
24
+ latest_updates: 'Latest updates',
25
+ update_notes: 'Update notes',
17
26
 
18
- // General
19
- open_app: 'Open app',
20
- home: 'Home',
21
- new_data_click_to_refresh: 'New data available. Click to refresh.',
22
- timezone_set_to_: 'Time zone is set to: %{timeZone}',
23
- latest_updates: 'Latest updates',
24
- update_notes: 'Update notes',
27
+ // @home screen
28
+ home_hero_field_work: 'field work',
29
+ home_hero_communication: 'communication',
30
+ home_hero_real_world: 'the real world',
31
+ home_hero_field_image: 'Field observations and operational work',
32
+ home_hero_communication_image: 'Messages connecting teams and their operations',
33
+ home_hero_real_world_image: 'People and stalls in a busy outdoor market',
34
+ hey_: 'Hey, ',
35
+ how_to_use_app: 'How to use this app',
36
+ free_plus_account: 'Get free perks (subscription)',
37
+ // free_plus_account: 'Tweet us & get a free subscription',
38
+ // free_plus_account: 'Get a free subscription',
25
39
 
26
- // @home screen
27
- hey_: 'Hey, ',
28
- how_to_use_app: 'How to use this app',
29
- free_plus_account: 'Get free perks (subscription)',
30
- // free_plus_account: 'Tweet us & get a free subscription',
31
- // free_plus_account: 'Get a free subscription',
40
+ // Settings
41
+ app: 'App',
42
+ account: 'Account',
43
+ features: 'Features',
44
+ tools: 'Tools',
45
+ integrations: 'Integrations',
46
+ knowledge: 'Knowledge',
47
+ connections: 'Connections',
48
+ ai_inbox: 'AI inbox',
49
+ ai_inboxes: 'AI inboxes',
50
+ emails: 'Emails',
51
+ email_messages_end:
52
+ 'There is %{smart_count} email for this organization.||||' + 'There are %{smart_count} emails for this organization.',
53
+ email_messages_empty: "There aren't any emails for this organization.",
54
+ updates: 'Update notes',
55
+ logout: 'Log out',
32
56
 
33
- // Settings
34
- app: 'App',
35
- account: 'Account',
36
- features: 'Features',
37
- memories: 'Memories',
38
- connections: 'Connections',
39
- ai_inbox: 'AI inbox',
40
- ai_inboxes: 'AI inboxes',
41
- updates: 'Update notes',
42
- logout: 'Log out',
57
+ // Light/Dark
58
+ light_dark_LIGHT: 'Light mode',
59
+ light_dark_DARK: 'Dark mode',
60
+ light_dark_SYSTEM: 'System auto',
43
61
 
44
- // Light/Dark
45
- light_dark_LIGHT: 'Light mode',
46
- light_dark_DARK: 'Dark mode',
47
- light_dark_SYSTEM: 'System auto',
62
+ // Log out screen
63
+ logging_out: 'Logging you out...',
48
64
 
49
- // Log out screen
50
- logging_out: 'Logging you out...',
65
+ // Message demo for light/dark mode
66
+ message_other_1: 'This is how messages will look,',
67
+ message_other_2: 'from AI and other users.',
68
+ message_you_1: 'This is how your messages will look to you.',
69
+ message_you_2: 'From top to bottom.',
70
+ message_you_3: 'Your messages are colorful.',
71
+ message_you_4: 'Because you are special!',
51
72
 
52
- // Message demo for light/dark mode
53
- message_other_1: 'This is how messages will look,',
54
- message_other_2: 'from AI and other users.',
55
- message_you_1: 'This is how your messages will look to you.',
56
- message_you_2: 'From top to bottom.',
57
- message_you_3: 'Your messages are colorful.',
58
- message_you_4: 'Because you are special!',
73
+ // Settings
74
+ settings: 'Settings',
75
+ appearance: 'Appearance',
76
+ themes: 'Themes',
77
+ colors: 'Colors',
78
+ colors_desc: 'Change the color scheme for your profile page, and your direct messages.',
79
+ light_dark: 'Light/Dark',
80
+ light_dark_desc: 'Choose light or dark mode for the app. This option only affects your experience.',
81
+ change_status: 'Change status',
59
82
 
60
- // Settings
61
- settings: 'Settings',
62
- appearance: 'Appearance',
63
- themes: 'Themes',
64
- colors: 'Colors',
65
- colors_desc: 'Change the color scheme for your profile page, and your direct messages.',
66
- light_dark: 'Light/Dark',
67
- light_dark_desc: 'Choose light or dark mode for the app. This option only affects your experience.',
68
- change_status: 'Change status',
83
+ // Sidebar
84
+ // ..
69
85
 
70
- // External link popup
71
- leaving_app_desc: 'You are about to visit an external website. Are you sure you want to continue?',
72
- link_yes: 'Yes, take me away',
86
+ // External link popup
87
+ leaving_app_desc: 'You are about to visit an external website. Are you sure you want to continue?',
88
+ link_yes: 'Yes, take me away',
73
89
 
74
- // Notifications/Alerts
75
- notification: 'Notification',
76
- notif_expire_in_ct: 'This message will disappear in %{smart_count} day.||||This message will disappear in %{smart_count} days.',
77
- invite_expire_in_ct: 'This invitation will expire in %{smart_count} day.||||This invitation will expire in %{smart_count} days.',
78
- notif_not_exist: 'This notification does not exist. It may be deleted.',
90
+ // Notifications/Alerts
91
+ notification: 'Notification',
92
+ notif_expire_in_ct: 'This message will disappear in %{smart_count} day.||||This message will disappear in %{smart_count} days.',
93
+ invite_expire_in_ct: 'This invitation will expire in %{smart_count} day.||||This invitation will expire in %{smart_count} days.',
94
+ notif_not_exist: 'This notification does not exist. It may be deleted.',
79
95
 
80
- // Homepage; Roadmap
81
- roadmap: 'Roadmap',
96
+ // Homepage; Roadmap
97
+ roadmap: 'Roadmap',
82
98
 
83
- // Subscription related
84
- sub_needed: 'You need a subscription to use this feature.',
99
+ // Subscription related
100
+ sub_needed: 'You need a subscription to use this feature.',
85
101
 
86
- // Square specific
87
- square_connected: 'Square is connected.',
88
- square_disconnected: 'Square is not connected.',
89
- connect_square_title: 'Connect Square',
90
- connect_square_desc: 'Connect your Square account to\nunlock these features:',
91
- disconnect_square_title: 'Disconnect Square',
92
- square_connection_desc: 'Access your data and create payment requests.',
93
- connect_square_permission_1: 'Access your orders and sales data',
94
- connect_square_permission_2: 'Create new orders and payment requests',
95
- connect_square_permission_3: 'Edit an existing order',
96
- connect_square_permission_4: "Charge a vendor/customer's credit card",
97
- connect_square_button: 'Continue to Square',
98
- square_permissions_sales: 'Sales data',
99
- square_permissions_payments: 'Payment requests',
102
+ // Square specific
103
+ square_connected: 'Square is connected.',
104
+ square_disconnected: 'Square is not connected.',
105
+ connect_square_title: 'Connect Square',
106
+ connect_square_desc: 'Connect your Square account to\nunlock these features:',
107
+ disconnect_square_title: 'Disconnect Square',
108
+ square_connection_desc: 'Access your data and create payment requests.',
109
+ connect_square_permission_1: 'Access your orders and sales data',
110
+ connect_square_permission_2: 'Create new orders and payment requests',
111
+ connect_square_permission_3: 'Edit an existing order',
112
+ connect_square_permission_4: "Charge a vendor/customer's credit card",
113
+ connect_square_button: 'Continue to Square',
114
+ square_permissions_sales: 'Sales data',
115
+ square_permissions_payments: 'Payment requests',
100
116
 
101
- // OAuth results
102
- oauth_provider_google: 'Google',
103
- oauth_provider_logo_alt: '%{provider} logo',
104
- oauth_provider_square: 'Square',
105
- oauth_success_message: 'You successfully connected your\n organization to %{provider}.',
106
- oauth_error_message: 'We could not connect your organization to %{provider}. Please try again later.',
107
- },
117
+ // OAuth results
118
+ oauth_provider_google: 'Google',
119
+ oauth_provider_logo_alt: '%{provider} logo',
120
+ oauth_provider_square: 'Square',
121
+ oauth_success_message: 'You successfully connected your\n organization to %{provider}.',
122
+ oauth_error_message: 'We could not connect your organization to %{provider}. Please try again later.',
123
+ },
108
124
  };
package/src/i18n/auth.ts CHANGED
@@ -1,113 +1,128 @@
1
1
  export default {
2
- en: {
3
- // Login
4
- welcome_back: 'Welcome back',
5
- sign_in: 'Sign in',
6
- sign_in_again: 'Sign in again',
7
- sign_in_sign_up: 'Sign in / Sign up',
8
- open_app: 'Open app',
9
- continue_with_google: 'Continue with Google',
10
- continue_with_discord: 'Continue with Discord',
11
- continue_with_apple: 'Continue with Apple',
12
- continue_with_phone: 'Continue with Phone',
13
- login_opts_main: 'Phone number or email',
14
- verify_your_acc: 'Verify your account',
15
- reset_password: 'Reset password',
16
- forgot_password_: 'Forgot password or username?',
17
- signup_email: 'Sign up using email',
18
- sign_in_w_existing: 'Sign in with an existing account',
19
- sign_in_other_methods: 'Sign in using other methods',
2
+ en: {
3
+ // Login
4
+ welcome_back: 'Welcome back',
5
+ sign_in: 'Sign in',
6
+ sign_in_to_google: 'Sign in to Google',
7
+ more_login_options: 'More login options',
8
+ sign_in_with_email: 'Sign in with email',
9
+ sign_in_to_complete_form: '%{signIn} to complete this form.',
10
+ sign_in_again: 'Sign in again',
11
+ sign_in_sign_up: 'Sign in / Sign up',
12
+ agent_login: 'AI agents Enter',
13
+ open_app: 'Open app',
14
+ continue_with_google: 'Continue with Google',
15
+ continue_with_microsoft: 'Continue with Microsoft',
16
+ continue_with_discord: 'Continue with Discord',
17
+ continue_with_phone: 'Continue with Phone',
18
+ continue_with_sso: 'Continue with SSO',
19
+ sso_email_instr: "Enter your work email address and we will\nfind your organization's sign-on provider.",
20
+ sso_continue_instr: 'Continue with your organization to sign in.',
21
+ sso_choose_org_instr: 'Choose the organization you want to sign in as.',
22
+ sso_use_different_email: 'Use a different email address',
23
+ login_opts_main: 'Phone number or email',
24
+ verify_your_acc: 'Verify your account',
25
+ reset_password: 'Reset password',
26
+ forgot_password_: 'Forgot password or username?',
27
+ signup_email: 'Sign up using email',
28
+ sign_in_w_existing: 'Sign in with an existing account',
29
+ sign_in_other_methods: 'Sign in using other methods',
20
30
  change_password: 'Change password',
21
- you_are_verified_: 'You are verified!',
22
- account_is_verified: 'Thank you for verifying your account with email address: **%{emailAddress}**. Please log in again using your password.',
23
- continue_to_login: 'Continue to log in',
24
- continue_to_app: 'Continue to app',
25
- back_to_homepage: 'Back to homepage',
26
- login_changed: 'Account changed',
31
+ you_are_verified_: 'You are verified!',
32
+ account_is_verified:
33
+ 'Thank you for verifying your account with email address: **%{emailAddress}**. Please log in again using your password.',
34
+ continue_to_login: 'Continue to log in',
35
+ continue_to_app: 'Continue to app',
36
+ back_to_homepage: 'Back to homepage',
37
+ login_changed: 'Account changed',
27
38
 
28
- // Phone 2FA & Email verification
29
- send_verification_email: 'Send verification email',
30
- send_verification_code_msg: 'Enter your phone number and we will send you a verification code for authentication.',
31
- send_verification_code: 'Send verification code',
32
- confirm_verification_code_instr: 'Enter the verification code sent to your phone. Please wait few minutes if you did not receive it.',
33
- resend_verification_code: 'Re-send verification code',
34
- verification_code_wrong: 'Verification code you entered is incorrect. Please try again.',
39
+ // Phone 2FA & Email verification
40
+ send_verification_email: 'Send verification email',
41
+ send_verification_code_msg: 'Enter your phone number and we will send you a verification code for authentication.',
42
+ send_verification_code: 'Send verification code',
43
+ confirm_verification_code_instr:
44
+ 'Enter the verification code sent to your phone. Please wait few minutes if you did not receive it.',
45
+ resend_verification_code: 'Re-send verification code',
46
+ resend_verification_code_in: 'Re-send code in %{seconds}s',
47
+ use_different_email: 'Use a different email address',
48
+ public_form_email_code_sent:
49
+ 'Enter the 6-digit code sent to %{emailAddress}. The code expires in 10 minutes. Check your spam folder if it has not arrived.',
50
+ verification_code_wrong: 'Verification code you entered is incorrect. Please try again.',
35
51
 
36
- // Auth
37
- username_not_found: 'No one was found with that username.',
38
- signed_in: 'Signed in',
39
- hello_: 'Hello %{name}!',
40
- you_are_logged_in: 'You are signed in.',
41
- password_changed_msg: 'Your password has been changed.',
42
- request_reset_password_instr: 'Enter your email address and we will send\n you instructions to reset your password.',
43
- resend_verification_instr: 'Enter your email address and we will send\nyou an email to verify your account.',
44
- reset_password_instr: 'Choose a new password for your account with\n the email address: %{emailAddress}',
45
- _verify_your_email: ' to verify your email.',
46
- _verify_your_phone: ' to verify your phone number.',
47
- account_secured_: 'Account secured!',
48
- one_last_step_: 'One last step!',
49
- add_password: 'Add password',
50
- add_password_sign_in_msg: 'Please add a password to your account (%{identifier}) for security.',
51
- add_email: 'Add email address',
52
- add_email_to_login_msg: 'Please add an email 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 email',
55
- check_email_to_login_msg: 'Please check your email for verification instructions. You will be logged in after you verify your email address.',
52
+ // Auth
53
+ username_not_found: 'No one was found with that username.',
54
+ signed_in: 'Signed in',
55
+ signed_in_as_email: 'Signed in as [cl_bd u##%{emailAddress}].',
56
+ logged_in_as_: 'Logged in as %{name}.',
57
+ logged_in_as_org_: 'Logged in as %{name} (%{orgName}).',
58
+ verify_email_to_fill_form: 'Please [verify your email](/app) to fill out this form.',
59
+ hello_: 'Hello %{name}!',
60
+ you_are_logged_in: 'You are signed in.',
61
+ password_changed_msg: 'Your password has been changed.',
62
+ request_reset_password_instr: 'Enter your email address and we will send\n you instructions to reset your password.',
63
+ resend_verification_instr: 'Enter your email address and we will send\nyou an email to verify your account.',
64
+ reset_password_instr: 'Choose a new password for your account with\n the email address: %{emailAddress}',
65
+ _verify_your_email: ' to verify your email.',
66
+ _verify_your_phone: ' to verify your phone number.',
67
+ account_secured_: 'Account secured!',
68
+ one_last_step_: 'One last step!',
69
+ add_password: 'Add password',
70
+ add_password_sign_in_msg: 'Please add a password to your account (%{identifier}) for security.',
71
+ add_email: 'Add email address',
72
+ add_email_to_login_msg: 'Please add an email address to your account (%{identifier}) for security.',
73
+ verify_email_to_login_msg:
74
+ 'Please verify your email address to continue. You can resend the verification email or enter a different email address.',
75
+ required_auth_fin_msg: 'Your account has been secured. From now on, you may use your password to log in.',
76
+ check_email: 'Check your email',
77
+ check_email_to_login_msg:
78
+ 'Please check your email for verification instructions. You will be logged in after you verify your email address.',
56
79
 
57
- // Auth - check fails
58
- no_account_with_phone: 'No account was found with that phone number.',
59
- no_account_with_email: 'No account was found with that email address.',
60
- not_valid_email_or_phone: 'That is not a valid phone number or email address.',
80
+ // Auth - check fails
81
+ no_account_with_phone: 'No account was found with that phone number.',
82
+ no_account_with_email: 'No account was found with that email address.',
83
+ not_valid_email_or_phone: 'That is not a valid phone number or email address.',
61
84
 
62
- // Reset password (requested)
63
- reset_password_requested_msg: (
64
- 'Check your email, <strong>%{emailAddress}</strong> ' +
65
- 'for instructions to reset your password.'
66
- ),
67
- reset_password_requested_msg_no_email: (
68
- 'Please check your email for instructions to reset your password.'
69
- ),
70
- if_need_more_help_email: (
71
- 'If you need assistance, please contact us at ' +
72
- '[%{emailAddress}](mailto:%{emailAddress}).'
73
- ),
85
+ // Reset password (requested)
86
+ reset_password_requested_msg: 'Check your email, <strong>%{emailAddress}</strong> ' + 'for instructions to reset your password.',
87
+ reset_password_requested_msg_no_email: 'Please check your email for instructions to reset your password.',
88
+ if_need_more_help_email: 'If you need assistance, please contact us at ' + '[%{emailAddress}](mailto:%{emailAddress}).',
74
89
 
75
- // Invite required
76
- invite_required: 'Invite required',
77
- invite_required_msg: (
78
- 'Account creation is currently not opened to the public. ' +
79
- 'Ask your team for an invite or contact us at ' +
80
- '[%{emailAddress}](mailto:%{emailAddress}) to create an account.'
81
- ),
90
+ // Invite required
91
+ invite_required: 'Invite required',
92
+ invite_required_msg:
93
+ 'Account creation is currently not opened to the public. ' +
94
+ 'Ask your team for an invite or contact us at ' +
95
+ '[%{emailAddress}](mailto:%{emailAddress}) to create an account.',
82
96
 
83
- // Sign up
84
- sign_up: 'Sign up',
85
- create_account: 'Create an account',
86
- agree_and_continue: 'Agree and continue',
87
- sign_up_notice_msg: (
88
- 'By selecting "Agree and continue", I agree to the ' +
89
- '[Terms of Service](/tos) and acknowledge the ' +
90
- '[Privacy Policy](/privacy).'
91
- ),
92
- email_sent: 'Email sent',
93
- check_email_msg: 'Please check your email for instructions to verify your account.',
94
- // check_email_3: 'Click "continue" to log in as ',
95
- // check_email_4: ' or re-send another verification link to your email.',
96
- not_verified_yet: 'Please verify your email and try again.',
97
- resend_change_verification: 'Re-send verification link or change email',
98
- verify_account: 'Verify your account',
99
- verify_email_msg: 'Send a new verification link to your email.',
100
- resend_verification: 'Send verification email',
97
+ // Sign up
98
+ sign_up: 'Sign up',
99
+ create_account: 'Create an account',
100
+ agree_and_continue: 'Agree and continue',
101
+ sign_up_notice_msg:
102
+ 'By selecting "Agree and continue", I agree to the ' +
103
+ '[Terms of Service](/tos) and acknowledge the ' +
104
+ '[Privacy Policy](/privacy).',
105
+ email_sent: 'Email sent',
106
+ check_email_msg: 'Please check your email for instructions to verify your account.',
107
+ // check_email_3: 'Click "continue" to log in as ',
108
+ // check_email_4: ' or re-send another verification link to your email.',
109
+ not_verified_yet: 'Please verify your email and try again.',
110
+ resend_change_verification: 'Re-send verification link or change email',
111
+ verify_account: 'Verify your account',
112
+ verify_email_msg: 'Send a new verification link to your email.',
113
+ resend_verification: 'Send verification email',
101
114
 
102
- // Sign up success
103
- account_created: 'Account created',
104
- account_created_msg: (
105
- 'Your account has been created successfully. Please follow the instructions ' +
106
- 'in the email we sent you to verify your account.'
107
- ),
115
+ // Sign up success
116
+ account_created: 'Account created',
117
+ account_created_msg:
118
+ 'Your account has been created successfully. Please follow the instructions ' +
119
+ 'in the email we sent you to verify your account.',
108
120
 
109
- // Sign out
110
- sign_out: 'Sign out',
111
- signing_out_: 'Signing you out...'
112
- },
121
+ // Sign out
122
+ sign_out: 'Sign out',
123
+ no_active_orgs_title: 'No active organizations',
124
+ no_active_orgs_desc:
125
+ 'Your account does not belong to any active organizations. Contact your organization administrator for an invitation.',
126
+ signing_out_: 'Signing you out...',
127
+ },
113
128
  };
@@ -1,94 +1,7 @@
1
- import { SOCIAL_URLS } from "../constants/app.ts";
2
-
3
- // NOTE: Can't use /constants/ here because this file is loaded before all else
4
- const PerksSubDays = 14;
5
-
6
1
  export default {
7
- en: {
8
- // General
9
- free_perks_desc: 'Free every time you post on social media',
10
- subscribe: 'Subscribe',
11
- per_month: '%{price} per month',
12
- per_year: '%{price} per year',
13
- save_per_cent: 'Save %{perCent}%',
14
- purchase_details: 'Purchase details',
15
- credit_card: 'Credit card',
16
- name_on_card: 'Name on card',
17
- upgrade: 'Upgrade',
18
-
19
- // Subscription
20
- subscription: 'Subscription',
21
- subscription_desc: (
22
- 'Big Planet is an independent platform without any outside funding. All of the money earned ' +
23
- 'from subscriptions are used to pay for servers and to develop new features.'
24
- ),
25
- sub_none: 'You do not have an active subscription right now.',
26
- sub_perks: 'Your Perks subscription will expire on %{date}.',
27
- sub_active_1: 'Your',
28
- sub_active_2: 'subscription will auto renew on %{date}.',
29
- sub_will_expire: 'subscription will expire on %{date}.',
30
- sub_group_PERKS: 'Free Perks',
31
- sub_group_PLUS: 'Plus',
32
- sub_group_PRO: 'Pro',
33
- sub_cancelled_billing_msg: 'Your account will remain upgraded until the expiration date.',
34
- cancelled_sub_msg: 'You will not be billed again after the expiration date.',
35
- sub_active_billing_msg: 'You may cancel your subscription at any time.',
36
-
37
- // Checkout form
38
- PLUS_subscription: 'Plus subscription',
39
- PRO_subscription: 'Pro subscription',
40
- choose_payment_opt: 'Choose a payment option',
41
-
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.MARKETDAY.x_username}) with your Big Planet ID or username.`,
44
- PERKS_desc_3: `Wait until you receive a reply on X, Perks subscription (${PerksSubDays} days) will be added to your account.`,
45
-
46
- PLUS_year: 'Plus (yearly)',
47
- payment_details_PLUS_year: (
48
- 'You are purchasing a recurring PLUS subscription. You will be charged %{price} / year starting today. ' +
49
- 'You may cancel your subscription at any time from the settings screen.'
50
- ),
51
- PLUS_month: 'Plus (monthly)',
52
- payment_details_PLUS_month: (
53
- 'You are purchasing a recurring PLUS subscription. You will be charged %{price} / month starting today. ' +
54
- 'You may cancel your subscription at any time from the settings screen.'
55
- ),
56
-
57
- PRO_year: 'Pro (yearly)',
58
- payment_details_PRO_year: (
59
- 'You are purchasing a recurring PRO subscription. You will be charged %{price} / year starting today. ' +
60
- 'You may cancel your subscription at any time from the settings screen.'
61
- ),
62
- PRO_month: 'Pro (monthly)',
63
- payment_details_PRO_month: (
64
- 'You are purchasing a recurring PRO subscription. You will be charged %{price} / month starting today. ' +
65
- 'You may cancel your subscription at any time from the settings screen.'
66
- ),
67
-
68
- pay_get_PLUS_month: 'Pay for Plus (monthly)',
69
- pay_get_PLUS_year: 'Pay for Plus (yearly)',
70
- pay_get_PRO_month: 'Pay for Pro (monthly)',
71
- pay_get_PRO_year: 'Pay for Pro (yearly)',
72
-
73
- payment_delayed: 'Payment delayed',
74
- payment_delayed_msg: (
75
- 'Your payment attempt failed and is being retried. When the payment completes, your account will be updated.'
76
- ),
77
-
78
- checkout_completed_msg: (
79
- 'Your account was updated. If there are problems, ' +
80
- 'please contact us by email.'
81
- ),
82
-
83
- try_again_diff_card: 'Try with a different card',
84
- to_cancel_sub: ' to cancel your subscription.',
85
-
86
- cancel_confirm_msg: (
87
- 'Do you want to cancel your subscription and stop all future payments?' +
88
- '\n\n' +
89
- 'Your upgraded membership will remain active until the expiration date.'
90
- ),
91
- cancel_my_sub: 'Cancel my subscription',
92
- keep_my_sub: 'Keep my subscription',
93
- },
2
+ en: {
3
+ // Server-sent texts (the marketday client keeps its own billing_ui namespace)
4
+ sms_subscription_expired:
5
+ "Your organization's Marketday subscription has expired, so we can't process your messages right now. Please contact us to renew.",
6
+ },
94
7
  };