From c074e7acf89fdd2d554eb25716dd6c29ec7e7d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Thu, 1 Sep 2022 10:29:10 +0200 Subject: [PATCH] Merge pull request #9432 from overleaf/ta-galileo-bibtex-copy-hint Show Bibtex Copy Hint After Selecting Galileo Suggestion GitOrigin-RevId: 879598d7a949f99c248b6536ca86542b63906be1 --- services/web/frontend/extracted-translations.json | 2 ++ services/web/frontend/stylesheets/app/editor.less | 1 + services/web/locales/en.json | 2 ++ 3 files changed, 5 insertions(+) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 85904f7273..d60e1de15c 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -77,6 +77,8 @@ "continue_github_merge": "", "copy": "", "copy_project": "", + "copy_bibtex": "", + "copy_bibtex_to_paste_in_file": "", "copying": "", "country": "", "create": "", diff --git a/services/web/frontend/stylesheets/app/editor.less b/services/web/frontend/stylesheets/app/editor.less index b93fe5757e..5317e98141 100644 --- a/services/web/frontend/stylesheets/app/editor.less +++ b/services/web/frontend/stylesheets/app/editor.less @@ -588,6 +588,7 @@ CodeMirror } } +.bibtex-hint-banner, .references-search-banner { position: absolute; top: 8px; diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 6c670b7061..e1b565bd9d 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -833,6 +833,8 @@ "ask_proj_owner_to_upgrade_for_references_search": "Please ask the project owner to upgrade to use the References Search feature.", "ask_proj_owner_to_upgrade_for_faster_compiles": "Please ask the project owner to upgrade for faster compiles and to increase the timeout limit.", "search_bib_files": "Search by author, title, year", + "copy_bibtex_to_paste_in_file": "The __citeKey__ cite key has been inserted. Click Copy BibTeX to copy the matching citation information and paste it into your .bib file.", + "copy_bibtex": "Copy BibTeX", "leave_group": "Leave group", "leave_now": "Leave now", "sure_you_want_to_leave_group": "Are you sure you want to leave this group?",