Merge pull request #25354 from overleaf/dp-editor-redesign-modal

Update editor switcher modal contents

GitOrigin-RevId: 98772328004303c43ff3f9f0edbf8b0725041c60
This commit is contained in:
David
2025-05-07 10:59:21 +01:00
committed by Copybot
parent efb66b4d2f
commit 4d93187e58
4 changed files with 26 additions and 14 deletions

View File

@@ -428,6 +428,7 @@
"done": "",
"dont_forget_you_currently_have": "",
"dont_reload_or_close_this_tab": "",
"double_clicking_on_the_pdf_shows": "",
"download": "",
"download_all": "",
"download_as_pdf": "",
@@ -883,6 +884,7 @@
"last_used": "",
"latam_discount_modal_info": "",
"latam_discount_modal_title": "",
"latest_updates": "",
"latex_in_thirty_minutes": "",
"latex_places_figures_according_to_a_special_algorithm": "",
"latex_places_tables_according_to_a_special_algorithm": "",
@@ -1023,7 +1025,6 @@
"month_plural": "",
"more": "",
"more_actions": "",
"more_changes_based_on_your_feedback": "",
"more_collabs_per_project": "",
"more_comments": "",
"more_compile_time": "",
@@ -2048,8 +2049,7 @@
"what_does_this_mean_for_you": "",
"what_happens_when_sso_is_enabled": "",
"what_should_we_call_you": "",
"whats_new": "",
"whats_next": "",
"whats_different_in_the_new_editor": "",
"when_you_tick_the_include_caption_box": "",
"why_latex": "",
"why_might_this_happen": "",

View File

@@ -147,7 +147,12 @@ const SwitcherWhatsNew = () => {
const { t } = useTranslation()
return (
<div className="ide-redesign-switcher-modal-whats-new">
<h4>{t('whats_new')}</h4>
<h4>{t('latest_updates')}</h4>
<ul>
<li>{t('double_clicking_on_the_pdf_shows')}</li>
</ul>
<hr />
<h4>{t('whats_different_in_the_new_editor')}</h4>
<ul>
<li>{t('new_look_and_feel')}</li>
<li>
@@ -157,11 +162,6 @@ const SwitcherWhatsNew = () => {
<li>{t('improved_dark_mode')}</li>
<li>{t('review_panel_and_error_logs_moved_to_the_left')}</li>
</ul>
<hr />
<h4>{t('whats_next')}</h4>
<ul>
<li>{t('more_changes_based_on_your_feedback')}</li>
</ul>
</div>
)
}

View File

@@ -13,8 +13,20 @@
padding: var(--spacing-05);
margin: var(--spacing-05) 0;
ul li:not(:last-child) {
margin-bottom: var(--spacing-04);
hr {
margin: var(--spacing-04) 0;
}
h4 {
margin-top: 0;
}
ul {
margin-bottom: 0;
li:not(:last-child) {
margin-bottom: var(--spacing-04);
}
}
}

View File

@@ -557,6 +557,7 @@
"dont_forget_you_currently_have": "Dont forget, you currently have:",
"dont_have_account": "Dont have an account?",
"dont_reload_or_close_this_tab": "Dont reload or close this tab.",
"double_clicking_on_the_pdf_shows": "Double clicking on the PDF shows the corresponding location in code. Added word count (7 May 2025)",
"download": "Download",
"download_all": "Download all",
"download_as_pdf": "Download as PDF",
@@ -1152,6 +1153,7 @@
"latam_discount_modal_info": "Unlock the full potential of Overleaf with a __discount__% discount on premium subscriptions paid in __currencyName__. Get a longer compile timeout, full document history, track changes, additional collaborators, and more.",
"latam_discount_modal_title": "Premium subscription discount",
"latam_discount_offer_plans_page_banner": "__flag__ Weve applied a __discount__ discount to premium plans on this page for our users in __country__. Check out the new lower prices (in __currency__).",
"latest_updates": "Latest updates",
"latex_articles_page_title": "Articles - Papers, Presentations, Reports and more",
"latex_examples": "LaTeX examples",
"latex_examples_page_title": "Examples - Equations, Formatting, TikZ, Packages and More",
@@ -1342,7 +1344,6 @@
"monthly": "Monthly",
"more": "More",
"more_actions": "More actions",
"more_changes_based_on_your_feedback": "More changes based on your feedback!",
"more_collabs_per_project": "More collaborators per project",
"more_comments": "More comments",
"more_compile_time": "More compile time",
@@ -2597,8 +2598,7 @@
"what_does_this_mean_for_you": "This means:",
"what_happens_when_sso_is_enabled": "What happens when SSO is enabled?",
"what_should_we_call_you": "What should we call you?",
"whats_new": "Whats new?",
"whats_next": "Whats next?",
"whats_different_in_the_new_editor": "Whats different in the new editor?",
"when_you_join_labs": "When you join Labs, you can choose which experiments you want to be part of. Once youve done that, you can use Overleaf as normal, but youll see any labs features marked with this badge:",
"when_you_tick_the_include_caption_box": "When you tick the box “Include caption” the image will be inserted into your document with a placeholder caption. To edit it, you simply select the placeholder text and type to replace it with your own.",
"why_latex": "Why LaTeX?",