mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
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:
committed by
Copybot
parent
a9a9f6ee6b
commit
96e0830eef
+7
-3
@@ -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' }}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user