From ec0d3c03f721fd53a1a751d9e1f103573b030a40 Mon Sep 17 00:00:00 2001 From: Mathias Jakobsen Date: Thu, 14 Nov 2024 14:44:02 +0200 Subject: [PATCH] Merge pull request #21662 from overleaf/mj-ref-provider-text [web] Update reference manager linking text GitOrigin-RevId: b3614a7efead8cb2d6fb628dbfe8a750b4c39033 --- services/web/app/src/Features/User/UserPagesController.mjs | 2 ++ services/web/frontend/extracted-translations.json | 2 ++ services/web/locales/en.json | 2 ++ 3 files changed, 6 insertions(+) diff --git a/services/web/app/src/Features/User/UserPagesController.mjs b/services/web/app/src/Features/User/UserPagesController.mjs index 31408c3880..bfc45f5345 100644 --- a/services/web/app/src/Features/User/UserPagesController.mjs +++ b/services/web/app/src/Features/User/UserPagesController.mjs @@ -120,6 +120,8 @@ async function settingsPage(req, res) { // populates splitTestVariants with a value for the split test name and allows // Pug to read it await SplitTestHandler.promises.getAssignment(req, res, 'bootstrap-5') + // Get the users write-and-cite assignment to switch between translation strings + await SplitTestHandler.promises.getAssignment(req, res, 'write-and-cite') res.render('user/settings', { title: 'account_settings', diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index a7a09676c2..284f384e71 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -904,6 +904,7 @@ "maybe_later": "", "members_management": "", "mendeley_cta": "", + "mendeley_dynamic_sync_description": "", "mendeley_groups_loading_error": "", "mendeley_groups_relink": "", "mendeley_integration": "", @@ -1923,6 +1924,7 @@ "zoom_out": "", "zoom_to": "", "zotero_cta": "", + "zotero_dynamic_sync_description": "", "zotero_groups_loading_error": "", "zotero_groups_relink": "", "zotero_integration": "", diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 26a07119ab..0ca8ce96db 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1281,6 +1281,7 @@ "members_management": "Members management", "mendeley": "Mendeley", "mendeley_cta": "Get Mendeley integration", + "mendeley_dynamic_sync_description": "With the Mendeley integration, you can import your references into __appName__. You can either import all your references at once or dynamically search your Mendeley library directly from __appName__.", "mendeley_groups_loading_error": "There was an error loading groups from Mendeley", "mendeley_groups_relink": "There was an error accessing your Mendeley data. This was likely caused by lack of permissions. Please re-link your account and try again.", "mendeley_integration": "Mendeley Integration", @@ -2599,6 +2600,7 @@ "zotero": "Zotero", "zotero_and_mendeley_integrations": "<0>Zotero and <0>Mendeley integrations", "zotero_cta": "Get Zotero integration", + "zotero_dynamic_sync_description": "With the Zotero integration, you can import your references into __appName__. You can either import all your references at once or dynamically search your Zotero library directly from __appName__.", "zotero_groups_loading_error": "There was an error loading groups from Zotero", "zotero_groups_relink": "There was an error accessing your Zotero data. This was likely caused by lack of permissions. Please re-link your account and try again.", "zotero_integration": "Zotero Integration",