diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index d54c14f2c4..4f090bbe3b 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -288,6 +288,7 @@ "choose_from_group_members": "", "choose_how_you_search_your_references": "", "choose_which_experiments": "", + "choose_word_document": "", "citation": "", "citation_key_helper": "", "cite_a_reference_from_your_reference_manager_to_automatically_add_it_to_your_bib_file": "", @@ -909,6 +910,7 @@ "import_idp_metadata": "", "import_to_sharelatex": "", "import_word_document": "", + "import_word_document_description": "", "imported_from_another_project_at_date": "", "imported_from_external_provider_at_date": "", "imported_from_mendeley_at_date": "", diff --git a/services/web/frontend/js/features/ide-react/components/modals/project-converted-from-docx-modal.tsx b/services/web/frontend/js/features/ide-react/components/modals/project-converted-from-docx-modal.tsx index 96fdec770e..193fb93362 100644 --- a/services/web/frontend/js/features/ide-react/components/modals/project-converted-from-docx-modal.tsx +++ b/services/web/frontend/js/features/ide-react/components/modals/project-converted-from-docx-modal.tsx @@ -1,4 +1,4 @@ -import { Trans, useTranslation } from 'react-i18next' +import { useTranslation } from 'react-i18next' import { OLModal, OLModalBody, @@ -63,20 +63,7 @@ function ProjectConvertedFromDocxModalContent({ {t('document_ready_for_editing')} - - , - ]} - /> - + {t('weve_converted_your_content_to_latex')} {t('start_editing')} diff --git a/services/web/frontend/js/features/project-list/components/new-project-button/import-docx-modal.tsx b/services/web/frontend/js/features/project-list/components/new-project-button/import-docx-modal.tsx index c4ac7ec1ce..740a1c2cd9 100644 --- a/services/web/frontend/js/features/project-list/components/new-project-button/import-docx-modal.tsx +++ b/services/web/frontend/js/features/project-list/components/new-project-button/import-docx-modal.tsx @@ -11,6 +11,7 @@ import { import OLButton from '@/shared/components/ol/ol-button' import '@uppy/core/dist/style.css' import '@uppy/dashboard/dist/style.css' +import BetaBadgeIcon from '@/shared/components/beta-badge-icon' function ImportDocxModal({ onHide, @@ -36,9 +37,15 @@ function ImportDocxModal({ backdrop="static" > - {t('import_word_document')} + + {t('choose_word_document')} + + + + +

{t('import_word_document_description')}

Another project/__sourceEntityPathHTML__, at __formattedDate__ __relativeDate__", "imported_from_external_provider_at_date": "Imported from <0>__shortenedUrlHTML__ at __formattedDate__ __relativeDate__", @@ -2980,7 +2982,7 @@ "well_be_here_when_youre_ready": "We’ll be here when you’re ready to dive back in! 🦆", "were_making_some_changes_to_project_sharing_this_means_you_will_be_visible": "We’re making some <0>changes to project sharing. This means, as someone with edit access, your name and email address will be visible to the project owner and other editors.", "were_performing_maintenance": "We’re performing maintenance on Overleaf and you need to wait a moment. Sorry for any inconvenience. The editor will refresh automatically in __seconds__ seconds.", - "weve_converted_your_content_to_latex": "We’ve converted your content to LaTeX. You may need to edit styling, particularly for tables, figures and citations. <0>Get help with LaTeX", + "weve_converted_your_content_to_latex": "We’ve converted your content to LaTeX. You may need to edit styling, particularly for tables, figures and citations.", "weve_hit_a_problem_try_starting_a_new_chat": "We’ve hit a problem. Try starting a new chat.", "what_did_you_find_most_helpful": "What did you find most helpful?", "what_do_you_need": "What do you need?",