diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json
index b03d719c91..c49476eefc 100644
--- a/services/web/frontend/extracted-translations.json
+++ b/services/web/frontend/extracted-translations.json
@@ -54,6 +54,8 @@
"aggregate_changed": "",
"aggregate_to": "",
"agree_with_the_terms": "",
+ "alignment": "",
+ "all_borders": "",
"all_premium_features": "",
"all_premium_features_including": "",
"all_projects": "",
@@ -113,6 +115,8 @@
"cannot_invite_self": "",
"cannot_verify_user_not_robot": "",
"cant_see_what_youre_looking_for_question": "",
+ "caption_above": "",
+ "caption_below": "",
"card_details": "",
"card_details_are_not_valid": "",
"card_must_be_authenticated_by_3dsecure": "",
@@ -122,6 +126,7 @@
"category_misc": "",
"category_operators": "",
"category_relations": "",
+ "center": "",
"change": "",
"change_currency": "",
"change_or_cancel-cancel": "",
@@ -136,6 +141,7 @@
"change_to_group_plan": "",
"change_to_this_plan": "",
"changing_the_position_of_your_figure": "",
+ "changing_the_position_of_your_table": "",
"chat": "",
"chat_error": "",
"checking_dropbox_status": "",
@@ -211,8 +217,10 @@
"currently_seeing_only_24_hrs_history": "",
"currently_signed_in_as_x": "",
"currently_subscribed_to_plan": "",
+ "custom_borders": "",
"customize_your_group_subscription": "",
"customizing_figures": "",
+ "customizing_tables": "",
"date_and_owner": "",
"dealing_with_errors": "",
"delete": "",
@@ -226,6 +234,8 @@
"delete_authentication_token_info": "",
"delete_figure": "",
"delete_projects": "",
+ "delete_row_or_column": "",
+ "delete_table": "",
"delete_tag": "",
"delete_token": "",
"delete_user": "",
@@ -462,8 +472,10 @@
"hotkey_toggle_track_changes": "",
"hotkey_undo": "",
"hotkeys": "",
+ "how_it_works": "",
"i_want_to_stay": "",
"if_error_persists_try_relinking_provider": "",
+ "if_you_need_to_customize_your_table_further_you_can": "",
"ignore_validation_errors": "",
"ill_take_it": "",
"image_file": "",
@@ -487,11 +499,20 @@
"inr_discount_modal_title": "",
"inr_discount_offer": "",
"inr_discount_offer_green_banner": "",
+ "insert": "",
+ "insert_column_left": "",
+ "insert_column_right": "",
"insert_figure": "",
"insert_from_another_project": "",
"insert_from_project_files": "",
"insert_from_url": "",
"insert_image": "",
+ "insert_row_above": "",
+ "insert_row_below": "",
+ "insert_x_columns_left": "",
+ "insert_x_columns_right": "",
+ "insert_x_rows_above": "",
+ "insert_x_rows_below": "",
"institution": "",
"institution_account": "",
"institution_acct_successfully_linked_2": "",
@@ -517,6 +538,7 @@
"keep_personal_projects_separate": "",
"keybindings": "",
"labels_help_you_to_easily_reference_your_figures": "",
+ "labels_help_you_to_reference_your_tables": "",
"labs_program_already_participating": "",
"labs_program_benefits": "<0>0>",
"labs_program_not_participating": "",
@@ -530,6 +552,7 @@
"latam_discount_offer": "",
"latex_help_guide": "",
"latex_places_figures_according_to_a_special_algorithm": "",
+ "latex_places_tables_according_to_a_special_algorithm": "",
"layout": "",
"layout_processing": "",
"learn_more": "",
@@ -540,6 +563,7 @@
"leave_group": "",
"leave_now": "",
"leave_projects": "",
+ "left": "",
"let_us_know": "",
"license_for_educational_purposes": "",
"limited_offer": "",
@@ -620,9 +644,11 @@
"mendeley_reference_loading_error_forbidden": "",
"mendeley_sync_description": "",
"menu": "",
+ "merge_cells": "",
"month": "",
"more": "",
"more_actions": "",
+ "more_options_for_border_settings_coming_soon": "",
"n_items": "",
"n_items_plural": "",
"n_more_updates_above": "",
@@ -653,6 +679,8 @@
"newsletter": "",
"next_payment_of_x_collectected_on_y": "",
"no_actions": "",
+ "no_borders": "",
+ "no_caption": "",
"no_comments": "",
"no_existing_password": "",
"no_folder": "",
@@ -874,6 +902,7 @@
"review_your_peers_work": "",
"revoke": "",
"revoke_invite": "",
+ "right": "",
"role": "",
"save": "",
"save_or_cancel-cancel": "",
@@ -905,16 +934,19 @@
"search_within_selection": "",
"security": "",
"see_changes_in_your_documents_live": "",
+ "select_a_column_or_a_merged_cell_to_align": "",
"select_a_file": "",
"select_a_file_figure_modal": "",
"select_a_new_owner_for_projects": "",
"select_a_payment_method": "",
"select_a_project": "",
"select_a_project_figure_modal": "",
+ "select_a_row_or_a_column_to_delete": "",
"select_all": "",
"select_all_projects": "",
"select_an_output_file": "",
"select_an_output_file_figure_modal": "",
+ "select_cells_in_a_single_row_to_merge": "",
"select_folder_from_project": "",
"select_from_output_files": "",
"select_from_project_files": "",
@@ -969,6 +1001,7 @@
"something_went_wrong_rendering_pdf_expected": "<0>0>",
"something_went_wrong_server": "",
"somthing_went_wrong_compiling": "",
+ "sorry_your_table_cant_be_displayed_at_the_moment": "",
"sort_by": "",
"sort_by_x": "",
"source": "",
@@ -1038,12 +1071,14 @@
"this_action_cannot_be_reversed": "",
"this_action_cannot_be_undone": "",
"this_address_will_be_shown_on_the_invoice": "",
+ "this_could_be_because_we_cant_support_some_elements_of_the_table": "",
"this_field_is_required": "",
"this_grants_access_to_features_2": "",
"this_project_is_public": "",
"this_project_is_public_read_only": "",
"this_project_will_appear_in_your_dropbox_folder_at": "",
"this_tool_helps_you_insert_figures": "",
+ "this_tool_helps_you_insert_simple_tables_into_your_project_without_writing_latex_code_give_feedback": "",
"timedout": "",
"tip": "",
"title": "",
@@ -1141,6 +1176,7 @@
"unlink_reference": "",
"unlink_warning_reference": "",
"unlinking": "",
+ "unmerge_cells": "",
"unpublish": "",
"unpublishing": "",
"unsubscribe": "",
@@ -1172,6 +1208,7 @@
"vat_number": "",
"verify_email_address_before_enabling_managed_users": "",
"view_all": "",
+ "view_code": "",
"view_group_members": "",
"view_hub": "",
"view_hub_subtext": "",
@@ -1221,6 +1258,7 @@
"you_have_been_invited_to_transfer_management_of_your_account": "",
"you_have_been_invited_to_transfer_management_of_your_account_to": "",
"you_will_be_able_to_reassign_subscription": "",
+ "youll_get_best_results_in_visual_but_can_be_used_in_source": "",
"your_affiliation_is_confirmed": "",
"your_browser_does_not_support_this_feature": "",
"your_git_access_info": "",
diff --git a/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx b/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx
index 20869ba258..48d79b9f4d 100644
--- a/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx
+++ b/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx
@@ -1,9 +1,11 @@
import { Button, Modal } from 'react-bootstrap'
import AccessibleModal from '../../../../shared/components/accessible-modal'
import { useTabularContext } from './contexts/tabular-context'
+import { Trans, useTranslation } from 'react-i18next'
export const TableGeneratorHelpModal = () => {
const { helpShown, hideHelp } = useTabularContext()
+ const { t } = useTranslation()
if (!helpShown) return null
return (
@@ -13,73 +15,77 @@ export const TableGeneratorHelpModal = () => {
className="table-generator-help-modal"
>
- This tool helps you insert simple tables into your project without
- writing LaTeX code. This tool is new, so please{' '}
-
- give us feedback
- {' '}
- and look out for additional functionality coming soon.
+
- You’ll get the best results from using this tool in the{' '}
- Visual Editor, although you can still use it to insert tables
- in the Code Editor. Once you’ve selected the number of rows and
- columns you need, the table will appear in your document and you can
- double click in a cell to add contents to it.
+
- If you need to customize your table further, you can. Using LaTeX
- code, you can change anything from table styles and border styles to
- colors and column widths.{' '}
-
- Read our guide
- {' '}
- to using tables in LaTeX to help you get started.
+
- LaTeX places tables according to a special algorithm. You can use
- “placement parameters” to influence the position of the table.{' '}
-
- This article
- {' '}
- explains how to do this.
+
- Labels help you to reference your tables throughout your document
- easily. To reference a table within the text, reference the label
- using the
+ {t('sorry_your_table_cant_be_displayed_at_the_moment')}
+
+ {t(
+ 'this_could_be_because_we_cant_support_some_elements_of_the_table'
+ )}
+ \ref{...}
command. This makes it easy
- to reference tables without manually remembering the table numbering.{' '}
-
- Read about labels and cross-references.
-
+