mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[WEB] Update copy for docx import (#33239)
* removing link from translation weve_converted_your_content_to_latex * adding the translations on choose document modal * adding beta icon GitOrigin-RevId: b734447474e41e57efacb589aadf67e4124d4924
This commit is contained in:
@@ -288,6 +288,7 @@
|
|||||||
"choose_from_group_members": "",
|
"choose_from_group_members": "",
|
||||||
"choose_how_you_search_your_references": "",
|
"choose_how_you_search_your_references": "",
|
||||||
"choose_which_experiments": "",
|
"choose_which_experiments": "",
|
||||||
|
"choose_word_document": "",
|
||||||
"citation": "",
|
"citation": "",
|
||||||
"citation_key_helper": "",
|
"citation_key_helper": "",
|
||||||
"cite_a_reference_from_your_reference_manager_to_automatically_add_it_to_your_bib_file": "",
|
"cite_a_reference_from_your_reference_manager_to_automatically_add_it_to_your_bib_file": "",
|
||||||
@@ -909,6 +910,7 @@
|
|||||||
"import_idp_metadata": "",
|
"import_idp_metadata": "",
|
||||||
"import_to_sharelatex": "",
|
"import_to_sharelatex": "",
|
||||||
"import_word_document": "",
|
"import_word_document": "",
|
||||||
|
"import_word_document_description": "",
|
||||||
"imported_from_another_project_at_date": "",
|
"imported_from_another_project_at_date": "",
|
||||||
"imported_from_external_provider_at_date": "",
|
"imported_from_external_provider_at_date": "",
|
||||||
"imported_from_mendeley_at_date": "",
|
"imported_from_mendeley_at_date": "",
|
||||||
|
|||||||
+2
-15
@@ -1,4 +1,4 @@
|
|||||||
import { Trans, useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import {
|
import {
|
||||||
OLModal,
|
OLModal,
|
||||||
OLModalBody,
|
OLModalBody,
|
||||||
@@ -63,20 +63,7 @@ function ProjectConvertedFromDocxModalContent({
|
|||||||
<OLModalHeader>
|
<OLModalHeader>
|
||||||
<OLModalTitle as="h3">{t('document_ready_for_editing')}</OLModalTitle>
|
<OLModalTitle as="h3">{t('document_ready_for_editing')}</OLModalTitle>
|
||||||
</OLModalHeader>
|
</OLModalHeader>
|
||||||
<OLModalBody>
|
<OLModalBody>{t('weve_converted_your_content_to_latex')}</OLModalBody>
|
||||||
<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>
|
<OLModalFooter>
|
||||||
<OLButton variant="primary" onClick={onHide}>
|
<OLButton variant="primary" onClick={onHide}>
|
||||||
{t('start_editing')}
|
{t('start_editing')}
|
||||||
|
|||||||
+8
-1
@@ -11,6 +11,7 @@ import {
|
|||||||
import OLButton from '@/shared/components/ol/ol-button'
|
import OLButton from '@/shared/components/ol/ol-button'
|
||||||
import '@uppy/core/dist/style.css'
|
import '@uppy/core/dist/style.css'
|
||||||
import '@uppy/dashboard/dist/style.css'
|
import '@uppy/dashboard/dist/style.css'
|
||||||
|
import BetaBadgeIcon from '@/shared/components/beta-badge-icon'
|
||||||
|
|
||||||
function ImportDocxModal({
|
function ImportDocxModal({
|
||||||
onHide,
|
onHide,
|
||||||
@@ -36,9 +37,15 @@ function ImportDocxModal({
|
|||||||
backdrop="static"
|
backdrop="static"
|
||||||
>
|
>
|
||||||
<OLModalHeader>
|
<OLModalHeader>
|
||||||
<OLModalTitle as="h3">{t('import_word_document')}</OLModalTitle>
|
<OLModalTitle as="h3" className="import-docx-modal-title">
|
||||||
|
{t('choose_word_document')}
|
||||||
|
<span className="beta-icon-wrapper">
|
||||||
|
<BetaBadgeIcon />
|
||||||
|
</span>
|
||||||
|
</OLModalTitle>
|
||||||
</OLModalHeader>
|
</OLModalHeader>
|
||||||
<OLModalBody>
|
<OLModalBody>
|
||||||
|
<p>{t('import_word_document_description')}</p>
|
||||||
<Dashboard
|
<Dashboard
|
||||||
uppy={uppy}
|
uppy={uppy}
|
||||||
proudlyDisplayPoweredByUppy={false}
|
proudlyDisplayPoweredByUppy={false}
|
||||||
|
|||||||
@@ -585,6 +585,16 @@ ul.project-list-filters {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.import-docx-modal-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.beta-icon-wrapper {
|
||||||
|
margin-left: var(--spacing-03);
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* stylelint-disable selector-class-pattern */
|
/* stylelint-disable selector-class-pattern */
|
||||||
.project-list-upload-project-modal-uppy-dashboard .uppy-Root {
|
.project-list-upload-project-modal-uppy-dashboard .uppy-Root {
|
||||||
.uppy-Dashboard-AddFiles-title {
|
.uppy-Dashboard-AddFiles-title {
|
||||||
|
|||||||
@@ -380,6 +380,7 @@
|
|||||||
"choose_from_group_members": "Choose from group members",
|
"choose_from_group_members": "Choose from group members",
|
||||||
"choose_how_you_search_your_references": "Choose how you search your references",
|
"choose_how_you_search_your_references": "Choose how you search your references",
|
||||||
"choose_which_experiments": "Choose which experiments you’d like to try.",
|
"choose_which_experiments": "Choose which experiments you’d like to try.",
|
||||||
|
"choose_word_document": "Choose Word document",
|
||||||
"choose_your_plan": "Choose your plan",
|
"choose_your_plan": "Choose your plan",
|
||||||
"citation": "Citation",
|
"citation": "Citation",
|
||||||
"citation_key_helper": "Unique key for citations, no spaces or special characters",
|
"citation_key_helper": "Unique key for citations, no spaces or special characters",
|
||||||
@@ -1178,6 +1179,7 @@
|
|||||||
"import_idp_metadata": "Import IdP metadata",
|
"import_idp_metadata": "Import IdP metadata",
|
||||||
"import_to_sharelatex": "Import to __appName__",
|
"import_to_sharelatex": "Import to __appName__",
|
||||||
"import_word_document": "Import Word document",
|
"import_word_document": "Import Word document",
|
||||||
|
"import_word_document_description": "Content will be imported from the selected document. Formatting may not be reproduced exactly.",
|
||||||
"important_message": "Important message",
|
"important_message": "Important message",
|
||||||
"imported_from_another_project_at_date": "Imported from <0>Another project</0>/__sourceEntityPathHTML__, at __formattedDate__ __relativeDate__",
|
"imported_from_another_project_at_date": "Imported from <0>Another project</0>/__sourceEntityPathHTML__, at __formattedDate__ __relativeDate__",
|
||||||
"imported_from_external_provider_at_date": "Imported from <0>__shortenedUrlHTML__</0> at __formattedDate__ __relativeDate__",
|
"imported_from_external_provider_at_date": "Imported from <0>__shortenedUrlHTML__</0> 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! 🦆",
|
"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</0>. This means, as someone with edit access, your name and email address will be visible to the project owner and other editors.",
|
"were_making_some_changes_to_project_sharing_this_means_you_will_be_visible": "We’re making some <0>changes to project sharing</0>. 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.",
|
"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</0>",
|
"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.",
|
"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_did_you_find_most_helpful": "What did you find most helpful?",
|
||||||
"what_do_you_need": "What do you need?",
|
"what_do_you_need": "What do you need?",
|
||||||
|
|||||||
Reference in New Issue
Block a user