@jsb188/app 1.1.1 → 1.1.2

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 (110) hide show
  1. package/package.json +57 -42
  2. package/src/constants/agent.ts +74 -0
  3. package/src/constants/app.ts +389 -0
  4. package/src/constants/emoji.ts +9153 -0
  5. package/src/constants/other.ts +13 -0
  6. package/src/constants/user.ts +27 -0
  7. package/src/constants/wsActions.ts +49 -0
  8. package/src/i18n/account.ts +139 -0
  9. package/src/i18n/agent.ts +397 -0
  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 +124 -0
  15. package/src/i18n/auth.ts +128 -0
  16. package/src/i18n/billing.ts +7 -0
  17. package/src/i18n/c.ts +907 -0
  18. package/src/i18n/campaign.ts +919 -0
  19. package/src/i18n/country.ts +249 -0
  20. package/src/i18n/datetime.ts +66 -0
  21. package/src/i18n/editor.ts +58 -0
  22. package/src/i18n/error.ts +579 -0
  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 +64 -0
  27. package/src/i18n/log.ts +566 -0
  28. package/src/i18n/memory.ts +59 -0
  29. package/src/i18n/message.ts +13 -0
  30. package/src/i18n/note.ts +19 -0
  31. package/src/i18n/org.ts +306 -0
  32. package/src/i18n/schedule.ts +209 -0
  33. package/src/i18n/sheet.ts +339 -0
  34. package/src/i18n/sheet_formula.ts +165 -0
  35. package/src/i18n/workflow.ts +111 -0
  36. package/src/main.ts +89 -0
  37. package/src/platform.ts +166 -0
  38. package/src/types/ai.d.ts +63 -0
  39. package/src/types/app.d.ts +127 -0
  40. package/src/types/auth.d.ts +94 -0
  41. package/src/types/console.d.ts +3 -0
  42. package/src/types/node-polyglot.d.ts +23 -0
  43. package/src/types/other.d.ts +66 -0
  44. package/src/types.d.ts +29 -0
  45. package/src/utils/account.ts +97 -0
  46. package/src/utils/api.ts +358 -0
  47. package/src/utils/authSession.ts +24 -0
  48. package/src/utils/clientIP.ts +213 -0
  49. package/src/utils/color.ts +279 -0
  50. package/src/utils/cron.ts +310 -0
  51. package/src/utils/csv.ts +19 -0
  52. package/src/utils/datetime.ts +1394 -0
  53. package/src/utils/deferredSave.ts +89 -0
  54. package/src/utils/email.ts +39 -0
  55. package/src/utils/emoji.ts +174 -0
  56. package/src/utils/expression.helpers.ts +470 -0
  57. package/src/utils/expression.test.ts +793 -0
  58. package/src/utils/expression.ts +2261 -0
  59. package/src/utils/interval.ts +80 -0
  60. package/src/utils/language.ts +9 -0
  61. package/src/utils/logic.ts +299 -0
  62. package/src/utils/managedSession.ts +34 -0
  63. package/src/utils/managedSessionBff.test.ts +60 -0
  64. package/src/utils/managedSessionBff.ts +117 -0
  65. package/src/utils/number.ts +338 -0
  66. package/src/utils/object.ts +916 -0
  67. package/src/utils/promise.ts +98 -0
  68. package/src/utils/queryReset.ts +266 -0
  69. package/src/utils/recurringTask.ts +60 -0
  70. package/src/utils/schema.ts +293 -0
  71. package/src/utils/string.test.ts +278 -0
  72. package/src/utils/string.ts +709 -0
  73. package/{utils → src/utils}/timeZone.ts +531 -852
  74. package/src/utils/url_client.ts +206 -0
  75. package/tsconfig.json +12 -0
  76. package/constants/app.ts +0 -47
  77. package/constants/billing.ts +0 -146
  78. package/constants/emoji.ts +0 -8945
  79. package/constants/journal.ts +0 -74
  80. package/constants/user.ts +0 -36
  81. package/constants/ws.ts +0 -47
  82. package/i18n/app.ts +0 -101
  83. package/i18n/auth.ts +0 -63
  84. package/i18n/billing.ts +0 -94
  85. package/i18n/datetime.ts +0 -21
  86. package/i18n/error.ts +0 -143
  87. package/i18n/form.ts +0 -74
  88. package/i18n/index.ts +0 -5
  89. package/i18n/user.ts +0 -101
  90. package/main.ts +0 -94
  91. package/platform.ts +0 -125
  92. package/types/ai.d.ts +0 -30
  93. package/types/app.d.ts +0 -48
  94. package/types/auth.d.ts +0 -63
  95. package/types/form.d.ts +0 -56
  96. package/types/journal.d.ts +0 -24
  97. package/types/organization.d.ts +0 -38
  98. package/types/user.d.ts +0 -52
  99. package/types.d.ts +0 -31
  100. package/utils/api.ts +0 -99
  101. package/utils/billing.ts +0 -134
  102. package/utils/datetime.ts +0 -542
  103. package/utils/emoji.ts +0 -151
  104. package/utils/journal.ts +0 -17
  105. package/utils/logic.ts +0 -118
  106. package/utils/number.ts +0 -139
  107. package/utils/object.ts +0 -425
  108. package/utils/string.ts +0 -323
  109. package/utils/url_client.ts +0 -138
  110. package/utils/user.ts +0 -273
@@ -0,0 +1,339 @@
1
+ export default {
2
+ en: {
3
+ sheets: 'Spreadsheets',
4
+ open_spreadsheet: 'Open spreadsheet',
5
+ access_settings: 'Access settings',
6
+ access_settings_msg: 'Choose who can view and edit this spreadsheet.',
7
+ access_level_team: 'Team',
8
+ access_level_team_msg: 'Everyone in your team can access this spreadsheet.',
9
+ access_level_restricted: 'Restricted',
10
+ access_level_restricted_msg: 'Only people and organizations you add can access this spreadsheet.',
11
+ access_level_public: 'Public',
12
+ access_level_public_msg: 'Everyone with the link can view this spreadsheet.',
13
+ access_team_permission_title: 'Team permission',
14
+ access_team_everyone_views: 'Everyone in team can view',
15
+ access_team_everyone_edits: 'Everyone in team can view & edit',
16
+ access_public_permission_title: 'Public permission',
17
+ access_public_anyone_views: 'Anyone with the link can view',
18
+ access_public_anyone_edits: 'Anyone with an account can edit',
19
+ access_people_title: 'People with access',
20
+ access_organizations_title: 'Organizations with access',
21
+ access_anyone_with_link: 'Anyone with link',
22
+ access_can_view: 'Can view',
23
+ access_can_edit: 'Can edit',
24
+ access_general_title: 'General access',
25
+ access_network_orgs: 'Network organizations',
26
+ access_no_network_orgs_found: 'No network organizations found.',
27
+ access_no_access: 'No access',
28
+ access_only_invites: 'Only with invites',
29
+ access_no_team_members_found: 'No team members found.',
30
+ access_team_members: 'Team members',
31
+ access_admin_owner_msg: 'Admins/Owners always have full access.',
32
+ access_copy_link: 'Copy link',
33
+ access_link_copied: 'Link copied!',
34
+ access_custom_member_permission_msg: 'There is [cl_primary##%{membersCount} custom member] permission.',
35
+ access_custom_member_permissions_msg: 'There are [cl_primary##%{membersCount} custom member] permissions.',
36
+ access_custom_member_permission_org_permission_msg:
37
+ 'There are [cl_primary##%{membersCount} custom member] permission and [cl_primary##%{orgsCount} custom network] permission.',
38
+ access_custom_member_permission_org_permissions_msg:
39
+ 'There are [cl_primary##%{membersCount} custom member] permission and [cl_primary##%{orgsCount} custom network] permissions.',
40
+ access_custom_member_permissions_org_permission_msg:
41
+ 'There are [cl_primary##%{membersCount} custom member] permissions and [cl_primary##%{orgsCount} custom network] permission.',
42
+ access_custom_member_permissions_org_permissions_msg:
43
+ 'There are [cl_primary##%{membersCount} custom member] permissions and [cl_primary##%{orgsCount} custom network] permissions.',
44
+ access_custom_org_permission_msg: 'There is [cl_primary##%{orgsCount} custom network] permission.',
45
+ access_custom_org_permissions_msg: 'There are [cl_primary##%{orgsCount} custom network] permissions.',
46
+ access_anyone_with_link_msg: 'Anyone with the link can view.',
47
+ access_network_view_msg: 'Other network organizations can view.',
48
+ access_network_edit_msg: 'Other network organizations can view and edit.',
49
+ access_only_invites_msg: 'Invites are required to gain access.',
50
+ access_team_view_msg: 'Your team can view by default, but not edit.',
51
+ access_team_edit_msg: 'Your team can view and edit by default.',
52
+ access_team_none_msg: 'Your team cannot view unless they were invited.',
53
+ access_saved_msg: 'Access settings were saved.',
54
+ access_no_permission_msg: 'You do not have permission to change access settings.',
55
+ access_sign_in_required_msg: 'You must sign in to view this spreadsheet.',
56
+ access_who_can_access: 'Who can access',
57
+ custom_currency_title: 'Custom currency formats',
58
+ custom_currency_template_placeholder: 'Enter a currency format',
59
+ custom_currency_column_currency: 'Currency',
60
+ custom_date_time_title: 'Custom date and time formats',
61
+ custom_date_time_template_placeholder: 'Enter a date format',
62
+ custom_format_column_preview: 'Preview',
63
+ custom_format_column_template: 'Template',
64
+ custom_format_invalid: 'Invalid format',
65
+ bold: 'Bold',
66
+ border_outline_all_cells: 'Outline all cells',
67
+ border_outline_all_sides: 'Outline all sides',
68
+ border_outline_bottom: 'Outline bottom side',
69
+ border_outline_inner_cells: 'Outline in between cells',
70
+ border_outline_inner_horizontal: 'Outline in between cells top to bottom',
71
+ border_outline_inner_vertical: 'Outline in between cells left to right',
72
+ border_outline_left: 'Outline left side',
73
+ border_outline_none: 'Outline nothing',
74
+ border_outline_right: 'Outline right side',
75
+ border_outline_top: 'Outline top side',
76
+ border_styles: 'Border style',
77
+ command_dropped: 'The sheet changed under one of your edits before it could be saved, so it was not applied. Please re-enter it.',
78
+ command_failed: 'A change could not be saved and was reverted.',
79
+ command_save_delayed: 'Some changes are not saved yet. The sheet keeps retrying; keep this page open.',
80
+ command_too_large: 'This change is too large to save at once and was reverted. Try a smaller range.',
81
+ command_access_lost: 'Changes could not be saved because this sheet is no longer available to you, and they were reverted.',
82
+ command_restore_failed: 'Some unsaved edits from a closed tab could not be restored because the sheet changed since.',
83
+ command_overridden: 'A more recent change already covers one of your edits, so it was not applied.',
84
+ local_durability_unavailable_msg:
85
+ 'Changes will sync while this page stays open, but this browser cannot keep an offline recovery copy.',
86
+ copy_cell_value: 'Copy',
87
+ create_sheet: 'New spreadsheet',
88
+ create_sheet_description: 'Create a new spreadsheet',
89
+ create_sheet_modal_msg: 'Create a new spreadsheet.',
90
+ create_new_spreadsheet: 'Create a new spreadsheet',
91
+ create_new_sheet: 'Create a new sheet',
92
+ new_sheet: 'New sheet',
93
+ new_sheet_title_: 'Spreadsheet %{number}',
94
+ data_table_ai_columns: 'AI columns',
95
+ data_table_ai_columns_paused: 'Paused',
96
+ data_table_ai_columns_paused_owner: 'Paused (AI note archived)',
97
+ data_table_ask_agent: 'Ask agent',
98
+ data_table_ask_owner_note_: 'Ask the AI note "%{title}" about this table',
99
+ data_table_coverage_gaps: 'Coverage gaps',
100
+ data_table_data_as_of: 'Data as of',
101
+ data_table_derive_failed: 'AI failed',
102
+ data_table_derive_pending: 'AI pending',
103
+ data_table_details: 'Table details',
104
+ data_table_kind_AGENT: 'Agent table',
105
+ data_table_kind_SOURCE: 'Synced table',
106
+ data_table_missing: 'Data table is missing',
107
+ data_table_missing_msg: 'The data table you are looking for could not be found.',
108
+ data_table_no_changes: 'No changes recorded yet',
109
+ data_table_origin_AGENT: 'Agent',
110
+ data_table_origin_AGENT_msg: 'Written by agents and workflows',
111
+ data_table_origin_DERIVED: 'AI',
112
+ data_table_origin_DERIVED_msg: 'Filled by AI from other columns',
113
+ data_table_origin_SOURCE: 'Source',
114
+ data_table_origin_SOURCE_msg: 'Filled from the source records',
115
+ data_table_owner_badge: 'AI note',
116
+ data_table_owner_note: 'AI note',
117
+ data_table_owner_note_msg:
118
+ 'This table belongs to the AI note. If the note is deleted, the table stays as a standalone table. To delete both, ask the agent.',
119
+ data_table_recent_changes: 'Recent changes',
120
+ data_table_rows: 'Rows',
121
+ data_table_rows_empty: 'This table has no rows yet.',
122
+ data_table_rows_end: 'This table has %{smart_count} row.||||This table has %{smart_count} rows.',
123
+ data_table_run_cause_AGENT_WRITE: 'Agent edit',
124
+ data_table_run_cause_BACKFILL: 'Initial load',
125
+ data_table_run_cause_DEFINITION: 'Columns changed',
126
+ data_table_run_cause_DERIVE: 'AI columns',
127
+ data_table_run_cause_MIGRATION: 'Migration',
128
+ data_table_run_cause_RECONCILE: 'Re-sync',
129
+ data_table_run_summary: '%{added} added, %{changed} changed, %{removed} removed',
130
+ data_table_run_summary_derived: '%{added} added, %{changed} changed, %{removed} removed, %{derived} AI-filled',
131
+ data_table_sort_by_: 'Sort by %{label}',
132
+ data_table_source_CAMPAIGN_RECIPIENTS: 'email recipients',
133
+ data_table_source_CAMPAIGN_RESPONSES: 'form responses',
134
+ data_table_source_FIELD_DOC_SUBMISSIONS: 'field doc submissions',
135
+ data_table_source_LOGS: 'logs',
136
+ data_table_sync_state_BACKFILLING: 'Loading source records',
137
+ data_table_sync_state_FAILED: 'Sync failed',
138
+ data_table_sync_state_PAUSED: 'Paused',
139
+ data_table_sync_state_READY: 'Up to date',
140
+ data_table_sync_issue: 'Sync issue',
141
+ data_table_synced_from_: 'Synced from %{source}',
142
+ data_tables: 'Data tables',
143
+ delete_data_table: 'Delete data table',
144
+ delete_data_table_no_access_msg: 'You do not have permission to delete "%{title}".',
145
+ delete_column: 'Delete column',
146
+ delete_row: 'Delete row',
147
+ delete_sheet_axis_msg: 'This permanently deletes %{axis} %{index}. This action cannot be undone.',
148
+ delete_sheet: 'Delete spreadsheet',
149
+ delete_sheet_no_access_msg: 'You do not have permission to delete "%{title}".',
150
+ delete_sheet_tab: 'Delete sheet',
151
+ delete_sheet_tab_msg: '[hl]%{title}[/hl] sheet will be deleted.',
152
+ edit_cell: 'Edit',
153
+ export_preparing_msg: 'Preparing download…',
154
+ formula_circular_reference_msg: 'Some formulas reference each other in a loop and could not be calculated.',
155
+ hide_hidden_sheet_tabs: 'Hide hidden tabs',
156
+ hide_sheet_tab: 'Hide sheet',
157
+ formula_function_if_arg_condition_description: 'Condition to test. Comparisons, TRUE/FALSE, and 0/1 values are supported.',
158
+ formula_function_if_arg_value_if_false_description: 'Value returned when the condition is FALSE.',
159
+ formula_function_if_arg_value_if_true_description: 'Value returned when the condition is TRUE.',
160
+ formula_function_if_description: 'Returns one value when the condition is TRUE and another when it is FALSE.',
161
+ formula_function_iferror_arg_fallback_description: 'Value returned only when the first argument returns any formula error.',
162
+ formula_function_iferror_arg_value_description: 'Value to try first. The fallback is skipped when this value succeeds.',
163
+ formula_function_iferror_description: 'Returns a fallback value only when the first value has a formula error.',
164
+ formula_function_ifna_arg_fallback_description: 'Value returned only when the first argument cannot find a referenced value.',
165
+ formula_function_ifna_arg_value_description: 'Value to try first. The fallback is skipped unless this returns #N/A.',
166
+ formula_function_ifna_description: 'Returns a fallback value only when the first value returns #N/A.',
167
+ formula_function_includes_arg_needle_description: 'Value to look for inside the range.',
168
+ formula_function_includes_arg_range_description: 'Cell range to search for the value.',
169
+ formula_function_includes_arg_value_if_false_description: 'Value returned when the range does not contain the value.',
170
+ formula_function_includes_arg_value_if_true_description: 'Value returned when the range contains the value.',
171
+ formula_function_includes_description: 'Returns whether a range contains a value, or picks one of two values based on that.',
172
+ formula_function_regexmatch_arg_pattern_description: 'Text or regular expression to match. The first matching cell is returned.',
173
+ formula_function_regexmatch_arg_range_description: 'Cell range to search, from top to bottom.',
174
+ formula_function_regexmatch_description: 'Returns the first cell value in a range that matches a text or regex pattern.',
175
+ fill_color: 'Fill color',
176
+ font_size: 'Font size',
177
+ format_cells: 'Stylize cells',
178
+ format_value: 'Format cells',
179
+ freeze_1_column: 'Freeze 1 column',
180
+ freeze_1_row: 'Freeze 1 row',
181
+ freeze_n_columns: 'Freeze %{count} columns',
182
+ freeze_n_rows: 'Freeze %{count} rows',
183
+ import_sheet: 'Import file',
184
+ import_sheet_modal_msg: 'Import a spreadsheet file, including files exported from Google Sheets.',
185
+ import_sheet_choose_file: 'Choose a file',
186
+ import_sheet_file_types_hint: 'Supported files: .csv, .tsv, .xlsx, .xls, .ods',
187
+ import_sheet_mode_create: 'Create new spreadsheet',
188
+ import_sheet_mode_insert: 'Insert new sheet(s)',
189
+ import_sheet_mode_replace: 'Replace spreadsheet',
190
+ import_sheet_confirm: 'Import',
191
+ import_sheet_importing:
192
+ 'Importing your file. Large files can take a few minutes; you can close this window and keep working. You will be notified when the import finishes.',
193
+ import_sheet_done: 'Your spreadsheet import finished.',
194
+ import_sheet_done_formula_warning: 'Your spreadsheet import finished, but some formulas could not be computed.',
195
+ import_sheet_failed: 'Your spreadsheet import failed. The uploaded file was kept so you can try again.',
196
+ insert_1_column_left: 'Insert 1 column left',
197
+ insert_1_column_right: 'Insert 1 column right',
198
+ insert_1_row_above: 'Insert 1 row above',
199
+ insert_1_row_below: 'Insert 1 row below',
200
+ italic: 'Italic',
201
+ markdown: 'Markdown',
202
+ merge_all: 'Merge all',
203
+ merge_cells: 'Merge cells',
204
+ merge_horizontally: 'Merge horizontally',
205
+ merge_vertically: 'Merge vertically',
206
+ move_sheet_tab_left: 'Move left',
207
+ move_sheet_tab_right: 'Move right',
208
+ move_selection_design_projection_split_msg:
209
+ 'This row or column could not be repositioned because a saved cell or named range would need to move or split.',
210
+ move_selection_formula_dependency_msg:
211
+ 'This row or column could not be repositioned because one or more formulas depend on cells whose coordinates would change.',
212
+ move_selection_formula_loading_msg: 'This row or column cannot be repositioned until the other sheets finish loading.',
213
+ move_selection_merged_source_column_msg:
214
+ 'This column could not be repositioned because your selection contains a merged cell. Please unmerge your cells and try again.',
215
+ move_selection_merged_source_msg:
216
+ 'This selection could not be repositioned because it contains a merged cell. Please unmerge your cells and try again.',
217
+ move_selection_merged_target_msg:
218
+ 'You cannot move a column to a position that contains a merged cell. Please unmerge your cells and try again.',
219
+ move_selection_merged_title: 'Repositioning Error',
220
+ more_cell_actions: 'More cell actions',
221
+ more_sheet_tab_actions: 'More sheet actions',
222
+ rename_sheet_tab: 'Rename sheet',
223
+ show_hidden_sheet_tabs: 'Show hidden tabs',
224
+ sheet_tab_name: 'Sheet name',
225
+ unhide_sheet_tab: 'Unhide sheet',
226
+ unmerge_all: 'Unmerge all',
227
+ unfreeze_columns: 'Unfreeze columns',
228
+ unfreeze_rows: 'Unfreeze rows',
229
+ data_table_login_change_required_msg:
230
+ "This data table doesn't belong to [em_text##%{orgName}].\n Change your login to access this data table.",
231
+ open_data_table: 'Open data table',
232
+ redo_unavailable: 'This change can no longer be redone.',
233
+ undo_history_cleared: 'Undo history was cleared because the sheet changed.',
234
+ structure_insert_grid_full_msg: 'The sheet is full. Empty its last row or column before inserting another one.',
235
+ sheet_login_change_required_msg:
236
+ "This spreadsheet doesn't belong to [em_text##%{orgName}].\n Change your login to access this spreadsheet.",
237
+ sync_cells: 'Sync cells',
238
+ paste: 'Paste',
239
+ strikethrough: 'Strikethrough',
240
+ text_color: 'Text color',
241
+ text_style: 'Text style',
242
+ toolbar_edit: 'Edit',
243
+ toolbar_edit_clear: 'Clear',
244
+ toolbar_edit_clear_all: 'All',
245
+ toolbar_edit_clear_formatting: 'Formatting',
246
+ toolbar_edit_clear_values: 'Values',
247
+ toolbar_edit_copy: 'Copy',
248
+ toolbar_edit_cut: 'Cut',
249
+ toolbar_edit_find_replace: 'Find and replace',
250
+ toolbar_edit_paste: 'Paste',
251
+ toolbar_edit_redo: 'Redo',
252
+ toolbar_edit_redo_shortcut: 'Redo (%{shortcut})',
253
+ toolbar_edit_undo: 'Undo',
254
+ toolbar_edit_undo_shortcut: 'Undo (%{shortcut})',
255
+ toolbar_file: 'File',
256
+ toolbar_file_export: 'Export',
257
+ toolbar_file_export_csv: 'Comma-separated values (.csv)',
258
+ toolbar_file_export_pdf: 'PDF document (.pdf)',
259
+ toolbar_file_export_tsv: 'Tab-separated values (.tsv)',
260
+ toolbar_file_export_xlsx: 'Microsoft Excel (.xlsx)',
261
+ toolbar_file_import: 'Import',
262
+ toolbar_file_make_copy: 'Make a copy',
263
+ toolbar_file_new: 'New',
264
+ toolbar_file_new_sheet: 'Sheet',
265
+ toolbar_file_new_spreadsheet: 'Spreadsheet',
266
+ toolbar_file_open: 'Open',
267
+ toolbar_file_print: 'Print',
268
+ toolbar_file_rename: 'Rename',
269
+ toolbar_file_settings: 'Settings',
270
+ toolbar_format: 'Format',
271
+ toolbar_format_alignment: 'Alignment',
272
+ toolbar_format_alignment_bottom: 'Bottom',
273
+ toolbar_format_alignment_center: 'Center',
274
+ toolbar_format_alignment_left: 'Left',
275
+ toolbar_format_alignment_middle: 'Middle',
276
+ toolbar_format_alignment_right: 'Right',
277
+ toolbar_format_alignment_top: 'Top',
278
+ toolbar_format_number: 'Number',
279
+ toolbar_format_number_accounting: 'Accounting',
280
+ toolbar_format_number_automatic: 'Automatic',
281
+ toolbar_format_number_currency: 'Currency',
282
+ toolbar_format_number_currency_rounded: 'Currency rounded',
283
+ toolbar_format_number_custom_currency: 'Custom currency',
284
+ toolbar_format_number_custom_date_time: 'Custom date/time',
285
+ toolbar_format_number_custom_number: 'Custom number format',
286
+ toolbar_format_number_date: 'Date',
287
+ toolbar_format_number_date_time: 'Date time',
288
+ toolbar_format_number_duration: 'Duration',
289
+ toolbar_format_number_financial: 'Financial',
290
+ toolbar_format_number_number: 'Number',
291
+ toolbar_format_number_percent: 'Percent',
292
+ toolbar_format_number_plain_text: 'Plain text',
293
+ toolbar_format_number_scientific: 'Scientific',
294
+ toolbar_format_number_time: 'Time',
295
+ toolbar_format_rotation: 'Rotation',
296
+ toolbar_format_text: 'Text',
297
+ toolbar_format_text_wrap: 'Text wrap',
298
+ toolbar_format_text_wrap_clip: 'Clip',
299
+ toolbar_format_text_wrap_overflow: 'Overflow',
300
+ toolbar_format_text_wrap_wrap: 'Wrap',
301
+ toolbar_insert: 'Insert',
302
+ toolbar_insert_columns: 'Columns',
303
+ toolbar_insert_column_left: 'Column left',
304
+ toolbar_insert_column_right: 'Column right',
305
+ toolbar_insert_function: 'Function',
306
+ toolbar_insert_function_average: 'AVERAGE',
307
+ toolbar_insert_function_count: 'COUNT',
308
+ toolbar_insert_function_max: 'MAX',
309
+ toolbar_insert_function_min: 'MIN',
310
+ toolbar_insert_function_sum: 'SUM',
311
+ toolbar_insert_row_above: 'Row above',
312
+ toolbar_insert_row_below: 'Row below',
313
+ toolbar_insert_rows: 'Rows',
314
+ toolbar_insert_sheet: 'Sheet',
315
+ toolbar_view: 'View',
316
+ toolbar_view_freeze: 'Freeze',
317
+ toolbar_view_freeze_1_column: '1 column',
318
+ toolbar_view_freeze_1_row: '1 row',
319
+ toolbar_view_freeze_2_columns: '2 columns',
320
+ toolbar_view_freeze_2_rows: '2 rows',
321
+ toolbar_view_freeze_no_rows: 'No rows',
322
+ toolbar_view_show: 'Show',
323
+ toolbar_view_show_formula_bar: 'Formula bar',
324
+ toolbar_view_show_gridlines: 'Gridlines',
325
+ toolbar_view_zoom: 'Zoom',
326
+ toolbar_view_zoom_100: '100%',
327
+ toolbar_view_zoom_125: '125%',
328
+ toolbar_view_zoom_150: '150%',
329
+ toolbar_view_zoom_50: '50%',
330
+ toolbar_view_zoom_75: '75%',
331
+ underline: 'Underline',
332
+ unsupported_link_msg: 'This link cannot be opened yet.',
333
+ untitled_data_table: 'Untitled data table',
334
+ yes_delete_sheet_axis: 'Yes, delete it',
335
+ yes_delete_data_table: 'Yes, delete data table',
336
+ yes_delete_sheet: 'Yes, delete spreadsheet',
337
+ yes_delete_sheet_tab: 'Yes, delete sheet',
338
+ },
339
+ };
@@ -0,0 +1,165 @@
1
+ /* English UI copy for the formula editor guide of the shared formula
2
+ * functions (descriptions and argument hints). Keys mirror the
3
+ * descriptionI18nKey values in @jsb188/mday sheetFormulaReference*.ts. */
4
+ export default {
5
+ en: {
6
+ function_name_guide_description:
7
+ 'Choose a function to insert it with its opening parenthesis.',
8
+ function_name_guide_title: 'Formula functions',
9
+ and_description: 'Returns TRUE when every argument is TRUE.',
10
+ arg_criteria_range: 'Range tested against the criterion that follows it.',
11
+ arg_criterion:
12
+ 'Value, or text such as ">5", "<>x", "ap*" or ">="&A1, that each cell must match.',
13
+ arg_date: 'Date to inspect.',
14
+ arg_end_date: 'Date to end at.',
15
+ arg_holidays: 'Optional dates to skip as non-working days.',
16
+ arg_info_value: 'Value, cell, or formula to test.',
17
+ arg_is_sorted:
18
+ 'TRUE (default, as in Excel) for an approximate match on sorted keys; pass FALSE for an exact match.',
19
+ arg_join_value: 'Values or ranges to join; ranges are read row by row.',
20
+ arg_logical:
21
+ 'Condition, TRUE/FALSE value, number, or range; additional arguments are allowed.',
22
+ arg_months: 'Months to move; negative moves back.',
23
+ arg_number: 'Number to calculate.',
24
+ arg_number_of_characters: 'How many characters to return; defaults to 1.',
25
+ arg_search_for: 'Text to look for.',
26
+ arg_search_key: 'Value to look for.',
27
+ arg_start_date: 'Date to start from.',
28
+ arg_starting_at: 'Position to start searching from; defaults to 1.',
29
+ arg_text: 'Text, or a number or TRUE/FALSE read as text.',
30
+ arg_text_to_search: 'Text to search in.',
31
+ arg_week_type: 'Numbering system; defaults to 1 (weeks start on Sunday).',
32
+ averageif_arg_average_range:
33
+ 'Same-size range whose values are averaged; defaults to range.',
34
+ averageif_arg_range: 'Range tested by the criterion.',
35
+ averageif_description:
36
+ 'Averages the values whose cells meet one criterion.',
37
+ averageifs_arg_average_range: 'Range whose values are averaged.',
38
+ averageifs_description:
39
+ 'Averages the values whose rows meet every criterion.',
40
+ concat_description: 'Joins values and ranges into one text.',
41
+ concatenate_description: 'Joins values into one text; the same as CONCAT.',
42
+ countblank_arg_range: 'Range to inspect.',
43
+ countblank_description: 'Counts the empty cells in a range.',
44
+ countif_arg_range: 'Range to test.',
45
+ countif_description: 'Counts the cells in a range that meet one criterion.',
46
+ countifs_description: 'Counts the rows that meet every criterion.',
47
+ datedif_arg_unit:
48
+ '"Y" years, "M" months, "D" days, "YM" months after whole years, "YD" days after whole years, "MD" days after whole months.',
49
+ datedif_description:
50
+ 'Returns the whole years, months or days between two dates.',
51
+ days_description: 'Returns the number of days between two dates.',
52
+ edate_description: 'Returns the same day a number of months away.',
53
+ eomonth_description:
54
+ 'Returns the last day of the month a number of months away.',
55
+ find_description: 'Returns the position of text inside another text.',
56
+ hlookup_arg_index: '1-based row of the range to return.',
57
+ hlookup_arg_range: 'Range whose first row holds the keys.',
58
+ hlookup_description:
59
+ 'Finds a key in the first row of a range and returns the value from another row of the same column.',
60
+ ifs_arg_condition: 'Condition checked in order.',
61
+ ifs_arg_value:
62
+ 'Value returned, and evaluated, only when its condition is the first TRUE one.',
63
+ ifs_description: 'Returns the value paired with the first TRUE condition.',
64
+ index_arg_column:
65
+ '1-based column; required when the range has several rows and columns.',
66
+ index_arg_range: 'Range or UNIQUE result to read.',
67
+ index_arg_row:
68
+ '1-based row; for a one-row range, a single index is the column.',
69
+ index_description:
70
+ 'Returns the value at a row and column position of a range.',
71
+ int_description: 'Rounds a number down to the nearest integer.',
72
+ isblank_description: 'Returns TRUE when a value is empty.',
73
+ iserror_description: 'Returns TRUE when a value is any formula error.',
74
+ isna_description:
75
+ 'Returns TRUE when a value is the #N/A (not found) error.',
76
+ isnumber_description: 'Returns TRUE when a value is a number.',
77
+ istext_description: 'Returns TRUE when a value is nonempty text.',
78
+ left_description: 'Returns characters from the start of a text.',
79
+ len_description: 'Returns the number of characters in a text.',
80
+ lower_description: 'Converts a text to lowercase.',
81
+ match_arg_match_type:
82
+ '1 (default): largest value <= key in ascending data; 0: exact; -1: smallest value >= key in descending data.',
83
+ match_arg_range: 'One-row or one-column range to search.',
84
+ match_description:
85
+ 'Returns the 1-based position of a key in a one-row or one-column range.',
86
+ mid_arg_extract_length: 'How many characters to return.',
87
+ mid_arg_starting_at: '1-based position of the first character.',
88
+ mid_description: 'Returns characters from the middle of a text.',
89
+ networkdays_description: 'Counts the working days between two dates.',
90
+ not_arg_logical: 'Condition or TRUE/FALSE value to reverse.',
91
+ not_description: 'Reverses a TRUE/FALSE value.',
92
+ or_description: 'Returns TRUE when any argument is TRUE.',
93
+ proper_description: 'Capitalizes the first letter of each word.',
94
+ replace_arg_length: 'How many characters to replace.',
95
+ replace_arg_new_text: 'Text inserted in their place.',
96
+ replace_arg_position: '1-based position where the replacement starts.',
97
+ replace_description: 'Replaces part of a text by position.',
98
+ right_description: 'Returns characters from the end of a text.',
99
+ search_description:
100
+ 'Returns the position of text inside another text, ignoring case.',
101
+ sign_description:
102
+ 'Returns -1, 0 or 1 for a negative, zero or positive number.',
103
+ sqrt_description: 'Returns the positive square root of a number.',
104
+ substitute_arg_occurrence_number:
105
+ 'Replace only this occurrence; omit to replace all.',
106
+ substitute_arg_replace_with: 'Replacement text.',
107
+ substitute_arg_search_for: 'Text to replace (case-sensitive).',
108
+ substitute_arg_text_to_search: 'Text to change.',
109
+ substitute_description: 'Replaces text by content.',
110
+ sumif_arg_range: 'Range tested by the criterion.',
111
+ sumif_arg_sum_range:
112
+ 'Same-size range whose values are added; defaults to range.',
113
+ sumif_description: 'Adds the values whose cells meet one criterion.',
114
+ sumifs_arg_sum_range: 'Range whose values are added.',
115
+ sumifs_description: 'Adds the values whose rows meet every criterion.',
116
+ sumproduct_arg_range:
117
+ 'Same-size ranges whose values are multiplied position by position.',
118
+ sumproduct_description:
119
+ 'Multiplies same-position values of ranges and adds the products.',
120
+ switch_arg_case: 'Value to compare with the expression.',
121
+ switch_arg_expression: 'Value compared with each case.',
122
+ switch_arg_value:
123
+ 'Result for its case; a lone final argument is the default.',
124
+ switch_description:
125
+ 'Returns the value of the first case equal to the expression, or the default.',
126
+ text_arg_format: 'Number format pattern such as "#,##0.00" or "mmm d".',
127
+ text_arg_value: 'Number or date to format.',
128
+ text_description: 'Formats a number or date as text with a format pattern.',
129
+ textjoin_arg_delimiter: 'Text placed between the values, such as ", ".',
130
+ textjoin_arg_ignore_empty: 'TRUE skips empty cells and empty text.',
131
+ textjoin_description: 'Joins values and ranges with a delimiter.',
132
+ trim_description: 'Removes extra spaces from a text.',
133
+ trunc_arg_places:
134
+ 'Decimal places to keep; defaults to 0. Negative places zero out tens, hundreds, and so on.',
135
+ trunc_description: 'Cuts off digits of a number toward zero.',
136
+ unique_arg_by_column:
137
+ 'TRUE compares columns instead of rows. Defaults to FALSE.',
138
+ unique_arg_exactly_once:
139
+ 'TRUE keeps only rows that appear once. Defaults to FALSE.',
140
+ unique_arg_range: 'Range whose distinct rows are kept.',
141
+ unique_description:
142
+ 'Returns the distinct rows of a range as a list for COUNTA, INDEX, SUM, or other functions that read ranges.',
143
+ upper_description: 'Converts a text to uppercase.',
144
+ value_arg_text: 'Text that reads as a number, such as "1,234.50".',
145
+ value_description: 'Converts text that looks like a number into a number.',
146
+ vlookup_arg_index: '1-based column of the range to return.',
147
+ vlookup_arg_range: 'Range whose first column holds the keys.',
148
+ vlookup_description:
149
+ 'Finds a key in the first column of a range and returns the value from another column of the same row.',
150
+ weekday_description: 'Returns the day of the week as a number.',
151
+ weeknum_description: 'Returns the week number of a date within its year.',
152
+ workday_arg_num_days: 'Working days to move; negative moves back.',
153
+ workday_description: 'Returns the date a number of working days away.',
154
+ xlookup_arg_if_not_found:
155
+ 'Evaluated and returned only when nothing matches.',
156
+ xlookup_arg_lookup_range: 'One-row or one-column range to search.',
157
+ xlookup_arg_match_mode:
158
+ '0 exact (default), -1 or next smaller, 1 or next larger, 2 wildcard.',
159
+ xlookup_arg_result_range: 'Same-size range to return from.',
160
+ xlookup_arg_search_mode: '1 first to last (default), -1 last to first.',
161
+ xlookup_description:
162
+ 'Finds a key in one range and returns the value at the same position of another range.',
163
+ xor_description: 'Returns TRUE when an odd number of arguments are TRUE.',
164
+ },
165
+ };
@@ -0,0 +1,111 @@
1
+ export default {
2
+ en: {
3
+ active_only: 'Active only',
4
+ operation_workflows: 'Operation workflows',
5
+ workflow_missing: 'Workflow is missing',
6
+ workflow_missing_msg: "The workflow you're looking for could not be found.",
7
+ not_active_msg: 'Not active – no upcoming jobs',
8
+ active_msg: 'Active – waiting for %{logType} logs',
9
+
10
+ // Reminders
11
+ reminders: 'Scheduled',
12
+ reminder_missing: 'Reminder is missing',
13
+ reminder_missing_msg: "The reminder you're looking for could not be found.",
14
+ one_time: 'One-time',
15
+ in_progress_msg: 'In progress – waiting on a reply or follow-up',
16
+ completed_msg: 'Completed – no further follow-ups',
17
+ completed: 'Completed',
18
+ cancel_reminder: 'Cancel reminder',
19
+ delete_scheduled_task: 'Delete scheduled task',
20
+ delete_scheduled_task_failed: 'The scheduled task could not be deleted. Try again.',
21
+ cancel_reminder_confirm_msg: 'This reminder will not be delivered and any in-progress runs will be stopped. Cancel this reminder?',
22
+ canceled: 'Canceled',
23
+ run_history: 'Run history',
24
+ progress_report: 'Progress report',
25
+ no_runs_msg: 'This reminder has not run yet.',
26
+ sent_message: 'Sent message',
27
+ waiting_for_reply_msg: 'Waiting for a reply from %{name} until %{until}',
28
+ follow_up_at_msg: 'Next follow-up: %{followUpAt}',
29
+ created_by: 'Created by %{name}',
30
+ recipients: 'Recipients',
31
+
32
+ run_status: {
33
+ STARTED: 'In progress',
34
+ COMPLETED: 'Completed',
35
+ COMPLETED_PARTIAL: 'Partial',
36
+ ERRORED: 'Failed',
37
+ QUEUED: 'Queued',
38
+ CANCELED: 'Canceled',
39
+ },
40
+
41
+ // Workflow runs page
42
+ workflow_runs: 'Workflow runs',
43
+ workflows_end:
44
+ 'There is %{smart_count} workflow for this organization.||||' + 'There are %{smart_count} workflows for this organization.',
45
+ workflows_empty: "There aren't any workflows for this organization.",
46
+ workflow_runs_end:
47
+ 'There is %{smart_count} workflow run for this organization.||||' +
48
+ 'There are %{smart_count} workflow runs for this organization.',
49
+ workflow_runs_empty: "There aren't any workflow runs for this organization.",
50
+ runs_end: 'There is %{smart_count} run for this workflow.||||' + 'There are %{smart_count} runs for this workflow.',
51
+ runs_empty: "There aren't any runs for this workflow.",
52
+ view_runs: 'View workflow runs',
53
+ run_missing: 'Run is missing',
54
+ run_missing_msg: "The workflow run you're looking for could not be found.",
55
+ no_runs_found_msg: 'No workflow runs found.',
56
+
57
+ // Workflow kind filter
58
+ filter_by_kind: 'Filter by type',
59
+ all_kinds: 'Workflows + Scheduled',
60
+ workflows_only: 'Workflows only',
61
+ reminders_only: 'Scheduled only',
62
+
63
+ kind: {
64
+ WORKFLOW: 'Workflow',
65
+ REMINDER: 'Scheduled',
66
+ },
67
+
68
+ // Program-managed workflows
69
+ program_managed: 'Managed by %{program}',
70
+ program_managed_msg:
71
+ 'This workflow comes with the %{program} program and stays up to date with it. You can pause it or add your own instructions.',
72
+ program_workflow: 'Program workflow',
73
+ program_trigger_msg: 'When a log is added to this document',
74
+ program_active_msg: 'Active – waiting for logs added to this document',
75
+ program_unenrolled_msg:
76
+ "This workflow's program was removed from your organization. Restore the program in App Settings → Programs to resume it.",
77
+ program_restore_expired_msg:
78
+ "This workflow's program was removed from your organization more than 90 days ago and can no longer be restored, so this workflow can't be resumed. It will be deleted soon.",
79
+ program_removed_paused_msg:
80
+ 'Paused when the %{program} program was removed. Restore the program in App Settings → Programs to resume this workflow.',
81
+ pause_workflow: 'Pause workflow',
82
+ resume_workflow: 'Resume workflow',
83
+ user_instructions: 'User instructions',
84
+ user_instructions_ph: 'Instructions for your organization (optional)',
85
+ user_instructions_empty: 'No user instructions yet.',
86
+ edit_user_instructions: 'Edit instructions',
87
+ user_instructions_msg: 'Your instructions are added after the program instructions each time this workflow runs.',
88
+ user_instructions_max: 'Use at most %{smart_count} character.||||Use at most %{smart_count} characters.',
89
+ catalog_instructions: 'Program instructions',
90
+ composed_instructions: 'What AI reads',
91
+ save_user_instructions: 'Save instructions',
92
+ user_instructions_saved: 'User instructions saved.',
93
+
94
+ // Below is old but some may be useful
95
+
96
+ // Actions related
97
+ not_started_msg: "Tasks haven't started",
98
+ waiting_for_task_msg: 'Waiting for the task to start...',
99
+ waiting_for_tasks_to_be_created: 'Waiting for tasks to be created...',
100
+ view_workflow: 'View workflow',
101
+ delete_workflow: 'Delete workflow',
102
+ yes_delete_workflow: 'Yes, delete workflow',
103
+ delete_workflow_failed: 'The workflow could not be deleted. Try again.',
104
+ workflows_empty_msg: 'Please email us at hello@marketday.ai to create workflows for your %{orgType}.',
105
+
106
+ for_operation: {
107
+ FARMERS_MARKET: 'Vendor',
108
+ GROWER_NETWORK: 'Grower',
109
+ },
110
+ },
111
+ };