Merge pull request #32840 from overleaf/mj-docx-copy

[web] Finalise copy for docx import

GitOrigin-RevId: de0331483752ca1f8e8f1ac78639820b7b738c15
This commit is contained in:
Mathias Jakobsen
2026-04-17 08:05:26 +00:00
committed by Copybot
parent b7ee046025
commit 2b77e92d5b
7 changed files with 24 additions and 27 deletions
@@ -61,20 +61,21 @@ function ProjectConvertedFromDocxModalContent({
backdrop="static"
>
<OLModalHeader>
<OLModalTitle as="h3">
{t('document_successfully_imported')}
</OLModalTitle>
<OLModalTitle as="h3">{t('document_ready_for_editing')}</OLModalTitle>
</OLModalHeader>
<OLModalBody>
<ul className="docx-modal-list">
<li>{t('the_document_has_been_converted_to')}</li>
<li>
<Trans
i18nKey="citations_and_cross_references_may_be_written_as_plain_text"
components={{ code: <code /> }}
/>
</li>
</ul>
<Trans
i18nKey="weve_converted_your_content_to_latex"
components={[
// eslint-disable-next-line jsx-a11y/anchor-has-content
<a
href="/learn"
key="wiki-link"
rel="noopener noreferrer"
target="_blank"
/>,
]}
/>
</OLModalBody>
<OLModalFooter>
<OLButton variant="primary" onClick={onHide}>