Quellcode durchsuchen

Merge pull request #27644 from overleaf/dp-default-error-text

Update text in default pdf error state in new editor

GitOrigin-RevId: 4908628aab4e7ee0e2ad2c41713ebd381395dec5
David vor 1 Jahr
Ursprung
Commit
1547cf6379

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

@@ -1810,7 +1810,7 @@
   "then_x_price_per_month": "",
   "then_x_price_per_year": "",
   "there_are_lots_of_options_to_edit_and_customize_your_figures": "",
-  "there_is_an_unrecoverable_latex_error": "",
+  "there_is_an_unrecoverable_latex_error_check_logs": "",
   "there_was_a_problem_restoring_the_project_please_try_again_in_a_few_moments_or_contact_us": "",
   "they_lose_access_to_account": "",
   "they_will_be_removed_from_the_group": "",

+ 1 - 1
services/web/frontend/js/features/ide-redesign/components/pdf-preview/pdf-error-state.tsx

@@ -53,7 +53,7 @@ const GeneralErrorState = () => {
             {t('why_might_this_happen')}
           </div>
           <ul className="pdf-error-state-info-box-text">
-            <li>{t('there_is_an_unrecoverable_latex_error')}</li>
+            <li>{t('there_is_an_unrecoverable_latex_error_check_logs')}</li>
             <li>{t('the_document_environment_contains_no_content')}</li>
             <li>{t('this_project_contains_a_file_called_output')}</li>
           </ul>

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

@@ -2331,7 +2331,7 @@
   "then_x_price_per_month": "Then __price__ per month",
   "then_x_price_per_year": "Then __price__ per year",
   "there_are_lots_of_options_to_edit_and_customize_your_figures": "There are lots of options to edit and customize your figures, such as wrapping text around the figure, rotating the image, or including multiple images in a single figure. You’ll need to edit the LaTeX code to do this. <0>Find out how</0>",
-  "there_is_an_unrecoverable_latex_error": "There is an unrecoverable LaTeX error. If there are LaTeX errors shown below or in the raw logs, please try to fix them and compile again.",
+  "there_is_an_unrecoverable_latex_error_check_logs": "There is an unrecoverable LaTeX error. If there are LaTeX errors shown in the logs, please try to fix them and compile again.",
   "there_was_a_problem_restoring_the_project_please_try_again_in_a_few_moments_or_contact_us": "There was a problem restoring the project. Please try again in a few moments. Contact us if the problem persists.",
   "there_was_an_error_opening_your_content": "There was an error creating your project",
   "thesis": "Thesis",