Merge pull request #34167 from overleaf/mj-conversion-error-update

[web] Point conversion errors to docs page

GitOrigin-RevId: 1a5208065252159b6a69bc6ae4cecae1dd0cd4d8
This commit is contained in:
Mathias Jakobsen
2026-06-02 08:08:31 +00:00
committed by Copybot
parent a9a9f6ee6b
commit 96e0830eef
3 changed files with 11 additions and 7 deletions
@@ -380,6 +380,7 @@
"continue_to": "",
"continue_using_free_features": "",
"continue_with_free_plan": "",
"conversion_error_details": "",
"cookie_banner": "",
"cookie_banner_info": "",
"copied": "",
@@ -628,7 +629,6 @@
"entry_plural": "",
"equation_preview": "",
"error": "",
"error_details": "",
"error_loading_references": "",
"error_opening_document": "",
"error_opening_document_detail": "",
@@ -2015,7 +2015,7 @@
"the_code_editor_color_scheme": "",
"the_code_editor_color_scheme_dark_mode": "",
"the_code_editor_color_scheme_light_mode": "",
"the_document_contains_formatting_we_werent_able_to_convert_contact_support_if_you_need_help": "",
"the_document_contains_formatting_we_werent_able_to_convert": "",
"the_following_files_already_exist_in_this_project": "",
"the_following_files_and_folders_already_exist_in_this_project": "",
"the_following_folder_already_exists_in_this_project": "",
@@ -17,15 +17,19 @@ const ExportDocumentErrorToast = ({ data }: { data?: any }) => {
<b>{t('we_couldnt_export_this_document')}</b>
</p>
<Trans
i18nKey="the_document_contains_formatting_we_werent_able_to_convert_contact_support_if_you_need_help"
i18nKey="the_document_contains_formatting_we_werent_able_to_convert"
components={[
// eslint-disable-next-line react/jsx-key, jsx-a11y/anchor-has-content
<a href="/contact" target="_BLANK" rel="noopener noreferrer" />,
<a
href="https://docs.overleaf.com/managing-projects-and-files/importing-and-exporting-files#common-issues-and-how-to-address-them"
target="_BLANK"
rel="noopener noreferrer"
/>,
]}
/>
{errorMessage && (
<details>
<summary>{t('error_details')}</summary>
<summary>{t('conversion_error_details')}</summary>
<pre
style={{ maxWidth: '800px', maxHeight: '300px', overflow: 'auto' }}
>