Просмотр исходного кода

Merge pull request #27367 from overleaf/dp-breadcrumbs-description

Update breadcrumbs and stop-on-first-error setting descriptions

GitOrigin-RevId: 1c3a6e691bcd9fd4bd8b3a247a005f6f7469e8c3
Alexandre Bourdin 1 год назад
Родитель
Сommit
7409e0c6d6

+ 2 - 2
services/web/frontend/extracted-translations.json

@@ -797,7 +797,6 @@
   "i_want_to_add_a_po_number": "",
   "i_want_to_stay": "",
   "id": "",
-  "identify_errors_with_your_compile": "",
   "if_you_need_to_customize_your_table_further_you_can": "",
   "if_you_need_to_delete_your_writefull_account": "",
   "if_you_want_more_than_x_licenses_on_your_plan_we_need_to_add_them_for_you": "",
@@ -1522,6 +1521,7 @@
   "searching_all_project_files_is_now_available": "",
   "security": "",
   "see_suggestions_from_collaborators": "",
+  "see_your_current_location_in_the_project": "",
   "select_a_column_or_a_merged_cell_to_align": "",
   "select_a_column_to_adjust_column_width": "",
   "select_a_file": "",
@@ -1581,7 +1581,6 @@
   "shortcut_to_open_advanced_reference_search": "",
   "show_all_projects": "",
   "show_breadcrumbs": "",
-  "show_breadcrumbs_in_toolbar": "",
   "show_document_preamble": "",
   "show_equation_preview": "",
   "show_file_tree": "",
@@ -1689,6 +1688,7 @@
   "stop_on_first_error_enabled_description": "",
   "stop_on_first_error_enabled_title": "",
   "stop_on_validation_error": "",
+  "stops_compiling_after_the_first_error_so_you_can_fix_issues_one_at_a_time": "",
   "store_your_work": "",
   "stretch_width_to_text": "",
   "strongly_agree": "",

+ 3 - 1
services/web/frontend/js/features/ide-redesign/components/settings/compiler-settings/stop-on-first-error-setting.tsx

@@ -10,7 +10,9 @@ export default function StopOnFirstErrorSetting() {
     <ToggleSetting
       id="stopOnFirstError"
       label={t('stop_on_first_error')}
-      description={t('identify_errors_with_your_compile')}
+      description={t(
+        'stops_compiling_after_the_first_error_so_you_can_fix_issues_one_at_a_time'
+      )}
       checked={stopOnFirstError}
       onChange={setStopOnFirstError}
     />

+ 1 - 1
services/web/frontend/js/features/ide-redesign/components/settings/editor-settings/breadcrumbs-setting.tsx

@@ -10,7 +10,7 @@ export default function BreadcrumbsSetting() {
     <ToggleSetting
       id="breadcrumbs-setting"
       label={t('breadcrumbs')}
-      description={t('show_breadcrumbs_in_toolbar')}
+      description={t('see_your_current_location_in_the_project')}
       checked={breadcrumbs}
       onChange={setBreadcrumbs}
     />

+ 2 - 2
services/web/locales/en.json

@@ -1020,7 +1020,6 @@
   "i_want_to_add_a_po_number": "I want to add a PO number",
   "i_want_to_stay": "I want to stay",
   "id": "ID",
-  "identify_errors_with_your_compile": "Identify errors with your compile",
   "if_have_existing_can_link": "If you have an existing <b>__appName__</b> account on another email, you can link it to your <b>__institutionName__</b> account by clicking <b>__clickText__</b>.",
   "if_owner_can_link": "If you own the <b>__appName__</b> account with <b>__email__</b>, you will be allowed to link it to your <b>__institutionName__</b> institutional account.",
   "if_you_need_to_customize_your_table_further_you_can": "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. <0>Read our guide</0> to using tables in LaTeX to help you get started.",
@@ -1982,6 +1981,7 @@
   "secondary_email_password_reset": "That email is registered as a secondary email. Please enter the primary email for your account.",
   "security": "Security",
   "see_suggestions_from_collaborators": "See suggestions from collaborators",
+  "see_your_current_location_in_the_project": "See your current location in the project",
   "select_a_column_or_a_merged_cell_to_align": "Select a column or a merged cell to align",
   "select_a_column_to_adjust_column_width": "Select a column to adjust column width",
   "select_a_file": "Select a File",
@@ -2050,7 +2050,6 @@
   "shortcut_to_open_advanced_reference_search": "(<strong>__ctrlSpace__</strong> or <strong>__altSpace__</strong>)",
   "show_all_projects": "Show all projects",
   "show_breadcrumbs": "Show breadcrumbs",
-  "show_breadcrumbs_in_toolbar": "Show breadcrumbs in toolbar",
   "show_document_preamble": "Show document preamble",
   "show_equation_preview": "Show equation preview",
   "show_file_tree": "Show file tree",
@@ -2179,6 +2178,7 @@
   "stop_on_first_error_enabled_description": "<0>“Stop on first error” is enabled.</0> Disabling it may allow the compiler to produce a PDF (but your project will still have errors).",
   "stop_on_first_error_enabled_title": "No PDF: Stop on first error enabled",
   "stop_on_validation_error": "Check syntax before compile",
+  "stops_compiling_after_the_first_error_so_you_can_fix_issues_one_at_a_time": "Stops compiling after the first error so you can fix issues one at a time",
   "store_your_work": "Store your work on your own infrastructure",
   "stretch_width_to_text": "Stretch width to text",
   "stripe_error_please_wait_and_try_again": "There is an error with our payment processor, please wait a few minutes and try again.",