@jsb188/app 1.1.11 → 1.1.13

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 (64) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +17 -6
  3. package/src/constants/agent.ts +44 -57
  4. package/src/constants/app.ts +43 -0
  5. package/src/constants/wsActions.ts +1 -15
  6. package/src/i18n/account.ts +1 -1
  7. package/src/i18n/agent.ts +321 -96
  8. package/src/i18n/agentToolBusiness.ts +340 -0
  9. package/src/i18n/agentToolGrid.ts +121 -0
  10. package/src/i18n/agentToolWorkflow.ts +101 -0
  11. package/src/i18n/agent_note.ts +110 -0
  12. package/src/i18n/app.ts +23 -17
  13. package/src/i18n/auth.ts +25 -30
  14. package/src/i18n/billing.ts +3 -85
  15. package/src/i18n/c.ts +953 -0
  16. package/src/i18n/campaign.ts +164 -211
  17. package/src/i18n/datetime.ts +6 -0
  18. package/src/i18n/editor.ts +56 -0
  19. package/src/i18n/email_outreach_editor.ts +526 -0
  20. package/src/i18n/error.ts +430 -202
  21. package/src/i18n/field_doc_editor.ts +21 -0
  22. package/src/i18n/field_doc_programs.ts +51 -0
  23. package/src/i18n/field_docs.ts +171 -8
  24. package/src/i18n/form.ts +7 -491
  25. package/src/i18n/index.ts +23 -3
  26. package/src/i18n/log.ts +234 -39
  27. package/src/i18n/memory.ts +18 -5
  28. package/src/i18n/message.ts +1 -0
  29. package/src/i18n/note.ts +5 -3
  30. package/src/i18n/org.ts +97 -45
  31. package/src/i18n/schedule.ts +133 -0
  32. package/src/i18n/sheet.ts +105 -161
  33. package/src/i18n/sheet_formula.ts +165 -0
  34. package/src/i18n/workflow.ts +112 -11
  35. package/src/main.ts +2 -2
  36. package/src/platform.ts +89 -49
  37. package/src/types/ai.d.ts +16 -1
  38. package/src/types/app.d.ts +29 -73
  39. package/src/types/auth.d.ts +1 -1
  40. package/src/types/other.d.ts +8 -1
  41. package/src/utils/api.ts +60 -10
  42. package/src/utils/clientIP.ts +213 -0
  43. package/src/utils/color.ts +95 -0
  44. package/src/utils/csv.ts +19 -0
  45. package/src/utils/datetime.ts +207 -31
  46. package/src/utils/deferredSave.ts +89 -0
  47. package/src/utils/email.ts +50 -0
  48. package/src/utils/expression.helpers.ts +470 -0
  49. package/src/utils/expression.ts +1633 -239
  50. package/src/utils/language.ts +9 -0
  51. package/src/utils/logic.ts +9 -162
  52. package/src/utils/number.ts +30 -11
  53. package/src/utils/object.ts +69 -127
  54. package/src/utils/promise.ts +78 -7
  55. package/src/utils/queryReset.ts +110 -61
  56. package/src/utils/string.ts +80 -143
  57. package/src/utils/url_client.ts +115 -15
  58. package/src/constants/billing.ts +0 -146
  59. package/src/i18n/agentDoc.ts +0 -110
  60. package/src/types/form.d.ts +0 -101
  61. package/src/utils/billing.ts +0 -141
  62. package/src/utils/managedSessionBff.test.ts +0 -60
  63. package/src/utils/string.test.ts +0 -293
  64. package/tsconfig.json +0 -12
package/src/i18n/sheet.ts CHANGED
@@ -7,11 +7,9 @@ export default {
7
7
  access_level_team: 'Team',
8
8
  access_level_team_msg: 'Everyone in your team can access this spreadsheet.',
9
9
  access_level_restricted: 'Restricted',
10
- access_level_restricted_msg:
11
- 'Only people and organizations you add can access this spreadsheet.',
10
+ access_level_restricted_msg: 'Only people and organizations you add can access this spreadsheet.',
12
11
  access_level_public: 'Public',
13
- access_level_public_msg:
14
- 'Everyone with the link can view this spreadsheet.',
12
+ access_level_public_msg: 'Everyone with the link can view this spreadsheet.',
15
13
  access_team_permission_title: 'Team permission',
16
14
  access_team_everyone_views: 'Everyone in team can view',
17
15
  access_team_everyone_edits: 'Everyone in team can view & edit',
@@ -33,10 +31,8 @@ export default {
33
31
  access_admin_owner_msg: 'Admins/Owners always have full access.',
34
32
  access_copy_link: 'Copy link',
35
33
  access_link_copied: 'Link copied!',
36
- access_custom_member_permission_msg:
37
- 'There is [cl_primary##%{membersCount} custom member] permission.',
38
- access_custom_member_permissions_msg:
39
- 'There are [cl_primary##%{membersCount} custom member] permissions.',
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.',
40
36
  access_custom_member_permission_org_permission_msg:
41
37
  'There are [cl_primary##%{membersCount} custom member] permission and [cl_primary##%{orgsCount} custom network] permission.',
42
38
  access_custom_member_permission_org_permissions_msg:
@@ -45,10 +41,8 @@ export default {
45
41
  'There are [cl_primary##%{membersCount} custom member] permissions and [cl_primary##%{orgsCount} custom network] permission.',
46
42
  access_custom_member_permissions_org_permissions_msg:
47
43
  'There are [cl_primary##%{membersCount} custom member] permissions and [cl_primary##%{orgsCount} custom network] permissions.',
48
- access_custom_org_permission_msg:
49
- 'There is [cl_primary##%{orgsCount} custom network] permission.',
50
- access_custom_org_permissions_msg:
51
- 'There are [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.',
52
46
  access_anyone_with_link_msg: 'Anyone with the link can view.',
53
47
  access_network_view_msg: 'Other network organizations can view.',
54
48
  access_network_edit_msg: 'Other network organizations can view and edit.',
@@ -57,14 +51,9 @@ export default {
57
51
  access_team_edit_msg: 'Your team can view and edit by default.',
58
52
  access_team_none_msg: 'Your team cannot view unless they were invited.',
59
53
  access_saved_msg: 'Access settings were saved.',
60
- access_no_permission_msg:
61
- 'You do not have permission to change access settings.',
54
+ access_no_permission_msg: 'You do not have permission to change access settings.',
62
55
  access_sign_in_required_msg: 'You must sign in to view this spreadsheet.',
63
56
  access_who_can_access: 'Who can access',
64
- choose_data_table: 'Choose a data table',
65
- choose_data_table_first_msg: 'You must choose a data table first.',
66
- choose_data_table_msg:
67
- 'Create an AI controlled view from a data table\n and insert it anywhere onto this sheet.',
68
57
  custom_currency_title: 'Custom currency formats',
69
58
  custom_currency_template_placeholder: 'Enter a currency format',
70
59
  custom_currency_column_currency: 'Currency',
@@ -73,7 +62,6 @@ export default {
73
62
  custom_format_column_preview: 'Preview',
74
63
  custom_format_column_template: 'Template',
75
64
  custom_format_invalid: 'Invalid format',
76
- built_in_tables: 'Built-in tables',
77
65
  bold: 'Bold',
78
66
  border_outline_all_cells: 'Outline all cells',
79
67
  border_outline_all_sides: 'Outline all sides',
@@ -86,107 +74,102 @@ export default {
86
74
  border_outline_right: 'Outline right side',
87
75
  border_outline_top: 'Outline top side',
88
76
  border_styles: 'Border style',
89
- cell_save_failed_msg:
90
- 'Some cell changes could not be saved and were reverted.',
91
- context_menu_copy_cell_value: 'Copy cell value',
92
- context_menu_edit_cell: 'Edit cell',
93
- context_menu_open_cell: 'Open',
77
+ command_dropped: 'A previous edit reverted your changes, please re-enter them.',
78
+ command_failed: 'A change could not be saved and was reverted.',
79
+ command_save_delayed: 'Some changes are not saved, and a retry is in progress.',
80
+ command_too_large: 'This change is too large to save at once and was reverted.',
81
+ format_layer_too_large: 'This formatting is too fragmented to save and was reverted. Format larger areas at once and try again.',
82
+ command_access_lost: 'This sheet is no longer available, your changes were reverted.',
83
+ command_restore_failed: 'Some unsaved edits from a closed tab could not be restored.',
84
+ command_overridden: 'A more recent change already covers one of your edits.',
85
+ local_durability_unavailable_msg: 'Changes will sync while this page stays open.',
94
86
  copy_cell_value: 'Copy',
95
- create_data_table: 'New data table',
96
- create_data_table_description: 'Create a new data table',
97
- create_data_table_modal_msg: 'Create a new data table, controlled by AI.',
98
- create_new_data_table: 'Create a new data table',
99
87
  create_sheet: 'New spreadsheet',
100
- create_sheet_description: 'Create a new spreadsheet',
101
- create_sheet_modal_msg:
102
- 'Create a new spreadsheet with AI controlled views.',
88
+ create_sheet_modal_msg: 'Create a new spreadsheet.',
103
89
  create_new_spreadsheet: 'Create a new spreadsheet',
104
90
  create_new_sheet: 'Create a new sheet',
105
91
  new_sheet: 'New sheet',
106
92
  new_sheet_title_: 'Spreadsheet %{number}',
107
- data_table: 'View',
93
+ data_table_ai_columns: 'AI columns',
94
+ data_table_ai_columns_paused: 'Paused',
95
+ data_table_ai_columns_paused_owner: 'Paused (AI note archived)',
96
+ data_table_ask_owner_note_: 'Ask the AI note "%{title}" about this table',
97
+ data_table_coverage_gaps: 'Coverage gaps',
98
+ data_table_data_as_of: 'Data as of',
99
+ data_table_derive_failed: 'AI failed',
100
+ data_table_derive_pending: 'AI pending',
101
+ data_table_details: 'Table details',
102
+ data_table_kind_AGENT: 'Agent table',
103
+ data_table_kind_SOURCE: 'Synced table',
108
104
  data_table_missing: 'Data table is missing',
109
- data_table_missing_msg:
110
- 'The data table you are looking for could not be found.',
111
- data_tables: 'Data Tables',
105
+ data_table_missing_msg: 'The data table you are looking for could not be found.',
106
+ data_table_no_changes: 'No changes recorded yet',
107
+ data_table_origin_AGENT: 'Agent',
108
+ data_table_origin_AGENT_msg: 'Written by agents and workflows',
109
+ data_table_origin_DERIVED: 'AI',
110
+ data_table_origin_DERIVED_msg: 'Filled by AI from other columns',
111
+ data_table_origin_SOURCE: 'Source',
112
+ data_table_origin_SOURCE_msg: 'Filled from the source records',
113
+ data_table_owner_badge: 'AI note',
114
+ data_table_owner_note: 'AI note',
115
+ data_table_owner_note_msg: 'This table belongs to the AI note. If the note is deleted, the table will stay as a standalone table.',
116
+ data_table_recent_changes: 'Recent changes',
117
+ data_table_rows: 'Rows',
118
+ data_table_rows_empty: 'This table has no rows yet.',
119
+ data_table_rows_end: 'This table has %{smart_count} row.||||This table has %{smart_count} rows.',
120
+ data_table_run_cause_AGENT_WRITE: 'Agent edit',
121
+ data_table_run_cause_BACKFILL: 'Initial load',
122
+ data_table_run_cause_DEFINITION: 'Columns changed',
123
+ data_table_run_cause_DERIVE: 'AI columns',
124
+ data_table_run_cause_MIGRATION: 'Migration',
125
+ data_table_run_cause_RECONCILE: 'Re-sync',
126
+ data_table_run_summary: '%{added} added, %{changed} changed, %{removed} removed',
127
+ data_table_run_summary_derived: '%{added} added, %{changed} changed, %{removed} removed, %{derived} AI-filled',
128
+ data_table_sort_by_: 'Sort by %{label}',
129
+ data_table_source_EMAIL_OUTREACH_RECIPIENTS: 'email recipients',
130
+ data_table_source_FIELD_DOC_SUBMISSIONS: 'field doc submissions',
131
+ data_table_source_LOGS: 'logs',
132
+ data_table_sync_state_BACKFILLING: 'Loading source records',
133
+ data_table_sync_state_FAILED: 'Sync failed',
134
+ data_table_sync_state_PAUSED: 'Paused',
135
+ data_table_sync_state_READY: 'Up to date',
136
+ data_table_sync_issue: 'Sync issue',
137
+ data_table_synced_from_: 'Synced from %{source}',
138
+ data_tables: 'Data tables',
112
139
  delete_data_table: 'Delete data table',
113
- delete_data_table_msg: '[hl]%{title}[/hl] data table will be deleted.',
114
- delete_data_table_no_access_msg:
115
- 'You do not have permission to delete "%{title}".',
116
- delete_region: 'Delete view',
117
- delete_region_msg: 'Are you sure you want to delete this\n view?',
118
- delete_views_: 'Delete views?',
119
- delete_views_msg:
120
- 'Your selection includes data table views.\n Should those views also be deleted?',
140
+ delete_data_table_no_access_msg: 'You do not have permission to delete "%{title}".',
121
141
  delete_column: 'Delete column',
122
142
  delete_row: 'Delete row',
123
- delete_rows: 'Delete rows',
124
- delete_row_msg: 'This will permanently delete %{row}.',
125
- delete_row_no_access_msg: 'You do not have permission to delete %{row}.',
126
- delete_rows_msg: 'This will permanently delete %{rowCount} rows.',
127
- delete_rows_no_access_msg:
128
- 'You do not have permission to delete %{rowCount} rows.',
129
- delete_sheet_axis_msg:
130
- 'This permanently deletes %{axis} %{index}. This action cannot be undone.',
143
+ delete_sheet_axis_msg: 'This permanently deletes %{axis} %{index}. This action cannot be undone.',
131
144
  delete_sheet: 'Delete spreadsheet',
132
- delete_sheet_msg: '[hl]%{title}[/hl] spreadsheet will be deleted.',
133
- delete_sheet_no_access_msg:
134
- 'You do not have permission to delete "%{title}".',
145
+ delete_sheet_no_access_msg: 'You do not have permission to delete "%{title}".',
135
146
  delete_sheet_tab: 'Delete sheet',
136
147
  delete_sheet_tab_msg: '[hl]%{title}[/hl] sheet will be deleted.',
137
148
  edit_cell: 'Edit',
138
- edit_data_table_view: 'Edit data table',
139
- editing_temporarily_disabled_msg:
140
- 'Editing this cell is temporarily disabled.',
141
149
  export_preparing_msg: 'Preparing download…',
142
- formula_circular_reference_msg:
143
- 'Some formulas reference each other in a loop and could not be calculated.',
144
- history_region_redo_confirm: 'Yes, redo view change',
145
- history_region_redo_msg:
146
- 'Redoing this change will modify a data table view.\n Do you want to continue?',
147
- history_region_title: 'Change data table view?',
148
- history_region_undo_confirm: 'Yes, undo view change',
149
- history_region_undo_msg:
150
- 'Undoing this change will modify a data table view.\n Do you want to continue?',
151
- formula_function_if_arg_condition_description:
152
- 'Condition to test. Comparisons, TRUE/FALSE, and 0/1 values are supported.',
153
- formula_function_if_arg_value_if_false_description:
154
- 'Value returned when the condition is FALSE.',
155
- formula_function_if_arg_value_if_true_description:
156
- 'Value returned when the condition is TRUE.',
157
- formula_function_if_description:
158
- 'Returns one value when the condition is TRUE and another when it is FALSE.',
159
- formula_function_iferror_arg_fallback_description:
160
- 'Value returned only when the first argument returns any formula error.',
161
- formula_function_iferror_arg_value_description:
162
- 'Value to try first. The fallback is skipped when this value succeeds.',
163
- formula_function_iferror_description:
164
- 'Returns a fallback value only when the first value has a formula error.',
165
- formula_function_ifna_arg_fallback_description:
166
- 'Value returned only when the first argument cannot find a referenced value.',
167
- formula_function_ifna_arg_value_description:
168
- 'Value to try first. The fallback is skipped unless this returns #N/A.',
169
- formula_function_ifna_description:
170
- 'Returns a fallback value only when the first value returns #N/A.',
171
- formula_function_includes_arg_needle_description:
172
- 'Value to look for inside the range.',
173
- formula_function_includes_arg_range_description:
174
- 'Cell range to search for the value.',
175
- formula_function_includes_arg_value_if_false_description:
176
- 'Value returned when the range does not contain the value.',
177
- formula_function_includes_arg_value_if_true_description:
178
- 'Value returned when the range contains the value.',
179
- formula_function_includes_description:
180
- 'Returns whether a range contains a value, or picks one of two values based on that.',
181
- formula_function_regexmatch_arg_pattern_description:
182
- 'Text or regular expression to match. The first matching cell is returned.',
183
- formula_function_regexmatch_arg_range_description:
184
- 'Cell range to search, from top to bottom.',
185
- formula_function_regexmatch_description:
186
- 'Returns the first cell value in a range that matches a text or regex pattern.',
150
+ formula_circular_reference_msg: 'Some formulas reference each other in a loop and could not be calculated.',
151
+ hide_hidden_sheet_tabs: 'Hide hidden tabs',
152
+ hide_sheet_tab: 'Hide sheet',
153
+ formula_function_if_arg_condition_description: 'Condition to test. Comparisons, TRUE/FALSE, and 0/1 values are supported.',
154
+ formula_function_if_arg_value_if_false_description: 'Value returned when the condition is FALSE.',
155
+ formula_function_if_arg_value_if_true_description: 'Value returned when the condition is TRUE.',
156
+ formula_function_if_description: 'Returns one value when the condition is TRUE and another when it is FALSE.',
157
+ formula_function_iferror_arg_fallback_description: 'Value returned only when the first argument returns any formula error.',
158
+ formula_function_iferror_arg_value_description: 'Value to try first. The fallback is skipped when this value succeeds.',
159
+ formula_function_iferror_description: 'Returns a fallback value only when the first value has a formula error.',
160
+ formula_function_ifna_arg_fallback_description: 'Value returned only when the first argument cannot find a referenced value.',
161
+ formula_function_ifna_arg_value_description: 'Value to try first. The fallback is skipped unless this returns #N/A.',
162
+ formula_function_ifna_description: 'Returns a fallback value only when the first value returns #N/A.',
163
+ formula_function_includes_arg_needle_description: 'Value to look for inside the range.',
164
+ formula_function_includes_arg_range_description: 'Cell range to search for the value.',
165
+ formula_function_includes_arg_value_if_false_description: 'Value returned when the range does not contain the value.',
166
+ formula_function_includes_arg_value_if_true_description: 'Value returned when the range contains the value.',
167
+ formula_function_includes_description: 'Returns whether a range contains a value, or picks one of two values based on that.',
168
+ formula_function_regexmatch_arg_pattern_description: 'Text or regular expression to match. The first matching cell is returned.',
169
+ formula_function_regexmatch_arg_range_description: 'Cell range to search, from top to bottom.',
170
+ formula_function_regexmatch_description: 'Returns the first cell value in a range that matches a text or regex pattern.',
187
171
  fill_color: 'Fill color',
188
172
  font_size: 'Font size',
189
- check_to_include_all: 'Check to include all',
190
173
  format_cells: 'Stylize cells',
191
174
  format_value: 'Format cells',
192
175
  freeze_1_column: 'Freeze 1 column',
@@ -194,22 +177,14 @@ export default {
194
177
  freeze_n_columns: 'Freeze %{count} columns',
195
178
  freeze_n_rows: 'Freeze %{count} rows',
196
179
  import_sheet: 'Import file',
197
- import_sheet_modal_msg:
198
- 'Import a spreadsheet file, including files exported from Google Sheets.',
180
+ import_sheet_modal_msg: 'Import a spreadsheet file, including files exported from Google Sheets.',
199
181
  import_sheet_choose_file: 'Choose a file',
200
- import_sheet_file_types_hint:
201
- 'Supported files: .csv, .tsv, .xlsx, .xls, .ods',
182
+ import_sheet_file_types_hint: 'Supported files: .csv, .tsv, .xlsx, .xls, .ods',
202
183
  import_sheet_mode_create: 'Create new spreadsheet',
203
184
  import_sheet_mode_insert: 'Insert new sheet(s)',
204
185
  import_sheet_mode_replace: 'Replace spreadsheet',
205
186
  import_sheet_confirm: 'Import',
206
- import_sheet_importing:
207
- '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.',
208
- import_sheet_done: 'Your spreadsheet import finished.',
209
- import_sheet_done_formula_warning:
210
- 'Your spreadsheet import finished, but some formulas could not be computed.',
211
- import_sheet_failed:
212
- 'Your spreadsheet import failed. The uploaded file was kept so you can try again.',
187
+ import_sheet_importing: "Importing may take a few minutes. You can close this window; we'll notify you when it's done.",
213
188
  insert_1_column_left: 'Insert 1 column left',
214
189
  insert_1_column_right: 'Insert 1 column right',
215
190
  insert_1_row_above: 'Insert 1 row above',
@@ -222,64 +197,35 @@ export default {
222
197
  merge_vertically: 'Merge vertically',
223
198
  move_sheet_tab_left: 'Move left',
224
199
  move_sheet_tab_right: 'Move right',
225
- move_selection_coordinate_range_msg:
226
- 'This row or column could not be repositioned because a saved cell or named range would need to move or split.',
227
- move_selection_formula_dependency_msg:
228
- 'This row or column could not be repositioned because one or more formulas depend on cells whose coordinates would change.',
229
- move_selection_formula_loading_msg:
230
- 'This row or column cannot be repositioned until the other sheets finish loading.',
231
- move_selection_merged_source_column_msg:
232
- 'This column could not be repositioned because your selection contains a merged cell. Please unmerge your cells and try again.',
233
- move_selection_merged_source_msg:
234
- 'This selection could not be repositioned because it contains a merged cell. Please unmerge your cells and try again.',
235
- move_selection_merged_target_msg:
236
- 'You cannot move a column to a position that contains a merged cell. Please unmerge your cells and try again.',
200
+ move_selection_design_projection_split_msg: 'Cannot move: a saved cell or named range would move or split.',
201
+ move_selection_formula_dependency_msg: 'Cannot move: formulas depend on cells that would change position.',
202
+ move_selection_formula_loading_msg: 'Wait for the other sheets to load before moving.',
203
+ move_selection_merged_source_column_msg: 'Unmerge the selected cells before moving this column.',
204
+ move_selection_merged_source_msg: 'Unmerge the selected cells before moving.',
205
+ move_selection_merged_target_msg: 'Unmerge cells at the destination before moving this column.',
237
206
  move_selection_merged_title: 'Repositioning Error',
238
207
  more_cell_actions: 'More cell actions',
239
208
  more_sheet_tab_actions: 'More sheet actions',
240
209
  rename_sheet_tab: 'Rename sheet',
210
+ show_hidden_sheet_tabs: 'Show hidden tabs',
241
211
  sheet_tab_name: 'Sheet name',
212
+ unhide_sheet_tab: 'Unhide sheet',
242
213
  unmerge_all: 'Unmerge all',
243
214
  unfreeze_columns: 'Unfreeze columns',
244
215
  unfreeze_rows: 'Unfreeze rows',
245
- no_keep_data_table_views: 'No, keep views',
246
- include_this_column_: 'Include this column?',
247
- insert_rows_from_data_table_rearrange: 'Drag this cell to rearrange',
248
- data_table_login_change_required_msg:
249
- "This data table doesn't belong to [em_text##%{orgName}].\n Change your login to access this data table.",
250
- login_change_required_msg:
251
- "This data table doesn't belong to [em_text##%{orgName}].\n Change your login to access this data table.",
216
+ data_table_login_change_required_msg: "This table isn't in [em_link##%{orgName}]. Switch logins to access it.",
252
217
  open_data_table: 'Open data table',
253
- populate_column_limit: '%{count}/%{max} columns',
254
- populate_columns: 'Columns',
255
- populate_data: 'Insert rows',
256
- populate_no_columns: 'No columns available',
257
- populate_no_data_tables: 'No views available',
258
- populate_row_count: 'Rows',
259
- populate_row_limit: '%{count} rows',
260
- populate_row_limit_unbounded: 'Up to %{count} rows',
261
- populate_source_table: 'View',
262
- region_filter: 'Filter',
263
- region_projection_edit_blocked_msg:
264
- 'This area cannot be edited while its data table is loading or needs recovery.',
265
- region_limit: 'Limit',
266
- region_projection_failed_msg: 'This data table could not be loaded.',
267
- region_sort: 'Sort',
268
- row_number: 'row %{rowNumber}',
218
+ redo_unavailable: 'This change can no longer be redone.',
219
+ undo_history_cleared: 'Undo history was cleared because the sheet changed.',
220
+ structure_insert_grid_full_msg: 'The sheet is full. Empty its last row or column before inserting another one.',
269
221
  sheet_login_change_required_msg:
270
- "This spreadsheet doesn't belong to [em_text##%{orgName}].\n Change your login to access this spreadsheet.",
271
- shortcut_clear_summary:
272
- 'Cleared %{savedCount} cells, skipped %{skippedCount}, failed %{failedCount}.',
273
- shortcut_paste_summary:
274
- 'Pasted %{savedCount} cells, skipped %{skippedCount}, failed %{failedCount}.',
222
+ "This spreadsheet doesn't belong to [em_link##%{orgName}].\n Change your login to access this spreadsheet.",
275
223
  sync_cells: 'Sync cells',
276
224
  paste: 'Paste',
277
- insert_from_data_table: 'Insert data table',
278
- remove_data_table: 'Remove data table',
225
+ print_preparing_msg: 'Preparing to print…',
279
226
  strikethrough: 'Strikethrough',
280
227
  text_color: 'Text color',
281
228
  text_style: 'Text style',
282
- this_row: 'this row',
283
229
  toolbar_edit: 'Edit',
284
230
  toolbar_edit_clear: 'Clear',
285
231
  toolbar_edit_clear_all: 'All',
@@ -290,7 +236,9 @@ export default {
290
236
  toolbar_edit_find_replace: 'Find and replace',
291
237
  toolbar_edit_paste: 'Paste',
292
238
  toolbar_edit_redo: 'Redo',
239
+ toolbar_edit_redo_shortcut: 'Redo (%{shortcut})',
293
240
  toolbar_edit_undo: 'Undo',
241
+ toolbar_edit_undo_shortcut: 'Undo (%{shortcut})',
294
242
  toolbar_file: 'File',
295
243
  toolbar_file_export: 'Export',
296
244
  toolbar_file_export_csv: 'Comma-separated values (.csv)',
@@ -370,10 +318,6 @@ export default {
370
318
  underline: 'Underline',
371
319
  unsupported_link_msg: 'This link cannot be opened yet.',
372
320
  untitled_data_table: 'Untitled data table',
373
- yes_delete_region: 'Yes, delete view',
374
- yes_delete_data_table_views: 'Yes, delete views',
375
- yes_delete_row: 'Yes, delete row',
376
- yes_delete_rows: 'Yes, delete rows',
377
321
  yes_delete_sheet_axis: 'Yes, delete it',
378
322
  yes_delete_data_table: 'Yes, delete data table',
379
323
  yes_delete_sheet: 'Yes, delete spreadsheet',
@@ -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
+ };