Browse Source

[cm6+rt] Decorate preamble and \end{document} (#11598)

* [cm6+rt] Add preamble decoration

* [cm6+rt] Add end document decoration

* [cm6+rt] Move preamble margin to wrapper padding

* [cm6+rt] Remove info icon from end document decoration

GitOrigin-RevId: 87c08e0c61adfd1cbed36e25fdb97d35ebab9081
Mathias Jakobsen 3 years ago
parent
commit
9370803f44
2 changed files with 6 additions and 0 deletions
  1. 3 0
      services/web/frontend/extracted-translations.json
  2. 3 0
      services/web/locales/en.json

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

@@ -196,6 +196,7 @@
   "emails_and_affiliations_explanation": "",
   "emails_and_affiliations_title": "",
   "empower_your_organization_to_work_in_overleaf": "",
+  "end_of_document": "",
   "error": "",
   "error_performing_request": "",
   "example_project": "",
@@ -300,6 +301,7 @@
   "have_an_extra_backup": "",
   "headers": "",
   "help": "",
+  "hide_document_preamble": "",
   "hide_outline": "",
   "history": "",
   "hotkey_add_a_comment": "",
@@ -638,6 +640,7 @@
   "sharelatex_beta_program": "",
   "show_all_projects": "",
   "show_all_uppercase": "",
+  "show_document_preamble": "",
   "show_hotkeys": "",
   "show_in_code": "",
   "show_in_pdf": "",

+ 3 - 0
services/web/locales/en.json

@@ -412,6 +412,7 @@
   "empower_your_organization_to_work_in_overleaf": "Empower your organization to work in __appName__! Get a group or organizational plan.",
   "empty_zip_file": "Zip doesn’t contain any file",
   "en": "English",
+  "end_of_document": "End of document",
   "enter_institution_email_to_log_in": "Enter your institutional email to log in through your institution.",
   "enter_your_email_address": "Enter your email address",
   "enter_your_email_address_below_and_we_will_send_you_a_link_to_reset_your_password": "Enter your email address below, and we will send you a link to reset your password",
@@ -637,6 +638,7 @@
   "help_articles_matching": "Help articles matching your subject",
   "help_improve_overleaf_fill_out_this_survey": "If you would like to help us improve Overleaf, please take a moment to fill out <0>this survey</0>.",
   "help_us_spread_word": "Help us spread the word about __appName__",
+  "hide_document_preamble": "Hide document preamble",
   "hide_outline": "Hide File outline",
   "history": "History",
   "history_add_label": "Add label",
@@ -1316,6 +1318,7 @@
   "show_all": "show all",
   "show_all_projects": "Show all projects",
   "show_all_uppercase": "Show all",
+  "show_document_preamble": "Show document preamble",
   "show_hotkeys": "Show Hotkeys",
   "show_in_code": "Show in code",
   "show_in_pdf": "Show in PDF",