Просмотр исходного кода

Merge pull request #24989 from overleaf/mj-ide-redesign-modal-content

[web] Update copy in editor redesign switcher modal

GitOrigin-RevId: 9df3d6d580fec2540d0254e1f3a65b3b059bc63f
David 1 год назад
Родитель
Сommit
584db6c301

+ 6 - 3
services/web/frontend/extracted-translations.json

@@ -347,7 +347,6 @@
   "customize_your_group_subscription": "",
   "customize_your_group_subscription": "",
   "customizing_figures": "",
   "customizing_figures": "",
   "customizing_tables": "",
   "customizing_tables": "",
-  "dark_mode": "",
   "date_and_owner": "",
   "date_and_owner": "",
   "dealing_with_errors": "",
   "dealing_with_errors": "",
   "decrease_indent": "",
   "decrease_indent": "",
@@ -781,6 +780,7 @@
   "imported_from_zotero_at_date": "",
   "imported_from_zotero_at_date": "",
   "importing": "",
   "importing": "",
   "importing_and_merging_changes_in_github": "",
   "importing_and_merging_changes_in_github": "",
+  "improved_dark_mode": "",
   "in_order_to_match_institutional_metadata_2": "",
   "in_order_to_match_institutional_metadata_2": "",
   "in_order_to_match_institutional_metadata_associated": "",
   "in_order_to_match_institutional_metadata_associated": "",
   "include_caption": "",
   "include_caption": "",
@@ -1016,6 +1016,7 @@
   "month_plural": "",
   "month_plural": "",
   "more": "",
   "more": "",
   "more_actions": "",
   "more_actions": "",
+  "more_changes_based_on_your_feedback": "",
   "more_collabs_per_project": "",
   "more_collabs_per_project": "",
   "more_comments": "",
   "more_comments": "",
   "more_compile_time": "",
   "more_compile_time": "",
@@ -1043,7 +1044,10 @@
   "new_file": "",
   "new_file": "",
   "new_folder": "",
   "new_folder": "",
   "new_font_open_dyslexic": "",
   "new_font_open_dyslexic": "",
+  "new_look_and_feel": "",
+  "new_look_and_placement_of_the_settings": "",
   "new_name": "",
   "new_name": "",
+  "new_navigation_introducing_left_hand_side_rail_and_top_menus": "",
   "new_password": "",
   "new_password": "",
   "new_project": "",
   "new_project": "",
   "new_subscription_will_be_billed_immediately": "",
   "new_subscription_will_be_billed_immediately": "",
@@ -1399,7 +1403,7 @@
   "revert_pending_plan_change": "",
   "revert_pending_plan_change": "",
   "review": "",
   "review": "",
   "review_panel": "",
   "review_panel": "",
-  "review_panel_comments_and_track_changes": "",
+  "review_panel_and_error_logs_moved_to_the_left": "",
   "review_your_peers_work": "",
   "review_your_peers_work": "",
   "reviewer": "",
   "reviewer": "",
   "reviewer_dropbox_sync_message": "",
   "reviewer_dropbox_sync_message": "",
@@ -1509,7 +1513,6 @@
   "set_up_single_sign_on": "",
   "set_up_single_sign_on": "",
   "set_up_sso": "",
   "set_up_sso": "",
   "settings": "",
   "settings": "",
-  "settings_for_git_github_and_dropbox_integrations": "",
   "setup_another_account_under_a_personal_email_address": "",
   "setup_another_account_under_a_personal_email_address": "",
   "share": "",
   "share": "",
   "share_project": "",
   "share_project": "",

+ 8 - 5
services/web/frontend/js/features/ide-redesign/components/switcher-modal/modal.tsx

@@ -149,15 +149,18 @@ const SwitcherWhatsNew = () => {
     <div className="ide-redesign-switcher-modal-whats-new">
     <div className="ide-redesign-switcher-modal-whats-new">
       <h4>{t('whats_new')}</h4>
       <h4>{t('whats_new')}</h4>
       <ul>
       <ul>
-        <li>{t('chat')}</li>
-        <li>{t('settings_for_git_github_and_dropbox_integrations')}</li>
-        <li>{t('dark_mode')}</li>
+        <li>{t('new_look_and_feel')}</li>
+        <li>
+          {t('new_navigation_introducing_left_hand_side_rail_and_top_menus')}
+        </li>
+        <li>{t('new_look_and_placement_of_the_settings')}</li>
+        <li>{t('improved_dark_mode')}</li>
+        <li>{t('review_panel_and_error_logs_moved_to_the_left')}</li>
       </ul>
       </ul>
       <hr />
       <hr />
       <h4>{t('whats_next')}</h4>
       <h4>{t('whats_next')}</h4>
       <ul>
       <ul>
-        <li>{t('history')}</li>
-        <li>{t('review_panel_comments_and_track_changes')}</li>
+        <li>{t('more_changes_based_on_your_feedback')}</li>
       </ul>
       </ul>
     </div>
     </div>
   )
   )

+ 4 - 0
services/web/frontend/stylesheets/bootstrap-5/pages/editor/ide-redesign-switcher-modal.scss

@@ -12,6 +12,10 @@
     border: 1px solid var(--border-divider);
     border: 1px solid var(--border-divider);
     padding: var(--spacing-05);
     padding: var(--spacing-05);
     margin: var(--spacing-05) 0;
     margin: var(--spacing-05) 0;
+
+    ul li:not(:last-child) {
+      margin-bottom: var(--spacing-04);
+    }
   }
   }
 
 
   .ide-redesign-switcher-modal-leave-text {
   .ide-redesign-switcher-modal-leave-text {

+ 6 - 2
services/web/locales/en.json

@@ -1008,6 +1008,7 @@
   "imported_from_zotero_at_date": "Imported from Zotero  at __formattedDate__ __relativeDate__",
   "imported_from_zotero_at_date": "Imported from Zotero  at __formattedDate__ __relativeDate__",
   "importing": "Importing",
   "importing": "Importing",
   "importing_and_merging_changes_in_github": "Importing and merging changes in GitHub",
   "importing_and_merging_changes_in_github": "Importing and merging changes in GitHub",
+  "improved_dark_mode": "Improved dark mode",
   "in_order_to_have_a_secure_account_make_sure_your_password": "To help keep your account secure, make sure your new password:",
   "in_order_to_have_a_secure_account_make_sure_your_password": "To help keep your account secure, make sure your new password:",
   "in_order_to_match_institutional_metadata_2": "In order to match your institutional metadata, we’ve linked your account using <0>__email__</0>.",
   "in_order_to_match_institutional_metadata_2": "In order to match your institutional metadata, we’ve linked your account using <0>__email__</0>.",
   "in_order_to_match_institutional_metadata_associated": "In order to match your institutional metadata, your account is associated with the email <b>__email__</b>.",
   "in_order_to_match_institutional_metadata_associated": "In order to match your institutional metadata, your account is associated with the email <b>__email__</b>.",
@@ -1334,6 +1335,7 @@
   "monthly": "Monthly",
   "monthly": "Monthly",
   "more": "More",
   "more": "More",
   "more_actions": "More actions",
   "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_collabs_per_project": "More collaborators per project",
   "more_comments": "More comments",
   "more_comments": "More comments",
   "more_compile_time": "More compile time",
   "more_compile_time": "More compile time",
@@ -1370,7 +1372,10 @@
   "new_file": "New file",
   "new_file": "New file",
   "new_folder": "New folder",
   "new_folder": "New folder",
   "new_font_open_dyslexic": "New font: OpenDyslexic Mono is designed to improve readability for those with dyslexia.",
   "new_font_open_dyslexic": "New font: OpenDyslexic Mono is designed to improve readability for those with dyslexia.",
+  "new_look_and_feel": "New look and feel",
+  "new_look_and_placement_of_the_settings": "New look and placement of the settings",
   "new_name": "New Name",
   "new_name": "New Name",
+  "new_navigation_introducing_left_hand_side_rail_and_top_menus": "New navigation - introducing left-hand side rail and top menus",
   "new_password": "New password",
   "new_password": "New password",
   "new_project": "New Project",
   "new_project": "New Project",
   "new_snippet_project": "Untitled",
   "new_snippet_project": "Untitled",
@@ -1854,7 +1859,7 @@
   "revert_pending_plan_change": "Revert scheduled plan change",
   "revert_pending_plan_change": "Revert scheduled plan change",
   "review": "Review",
   "review": "Review",
   "review_panel": "Review panel",
   "review_panel": "Review panel",
-  "review_panel_comments_and_track_changes": "Review panel – Comments & track changes",
+  "review_panel_and_error_logs_moved_to_the_left": "Review panel and error logs moved to the left",
   "review_your_peers_work": "Review your peers’ work",
   "review_your_peers_work": "Review your peers’ work",
   "reviewer": "Reviewer",
   "reviewer": "Reviewer",
   "reviewer_dropbox_sync_message": "As a reviewer you can sync the current project version to Dropbox, but changes made in Dropbox will <0>not</0> sync back to Overleaf.",
   "reviewer_dropbox_sync_message": "As a reviewer you can sync the current project version to Dropbox, but changes made in Dropbox will <0>not</0> sync back to Overleaf.",
@@ -1981,7 +1986,6 @@
   "set_up_single_sign_on": "Set up single sign-on (SSO)",
   "set_up_single_sign_on": "Set up single sign-on (SSO)",
   "set_up_sso": "Set up SSO",
   "set_up_sso": "Set up SSO",
   "settings": "Settings",
   "settings": "Settings",
-  "settings_for_git_github_and_dropbox_integrations": "Settings for Git, Github & Dropbox integrations",
   "setup_another_account_under_a_personal_email_address": "Set up another Overleaf account under a personal email address.",
   "setup_another_account_under_a_personal_email_address": "Set up another Overleaf account under a personal email address.",
   "share": "Share",
   "share": "Share",
   "share_project": "Share Project",
   "share_project": "Share Project",