Răsfoiți Sursa

Merge pull request #21662 from overleaf/mj-ref-provider-text

[web] Update reference manager linking text

GitOrigin-RevId: b3614a7efead8cb2d6fb628dbfe8a750b4c39033
Mathias Jakobsen 1 an în urmă
părinte
comite
ec0d3c03f7

+ 2 - 0
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
   // populates splitTestVariants with a value for the split test name and allows
   // Pug to read it
   // Pug to read it
   await SplitTestHandler.promises.getAssignment(req, res, 'bootstrap-5')
   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', {
   res.render('user/settings', {
     title: 'account_settings',
     title: 'account_settings',

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

@@ -904,6 +904,7 @@
   "maybe_later": "",
   "maybe_later": "",
   "members_management": "",
   "members_management": "",
   "mendeley_cta": "",
   "mendeley_cta": "",
+  "mendeley_dynamic_sync_description": "",
   "mendeley_groups_loading_error": "",
   "mendeley_groups_loading_error": "",
   "mendeley_groups_relink": "",
   "mendeley_groups_relink": "",
   "mendeley_integration": "",
   "mendeley_integration": "",
@@ -1923,6 +1924,7 @@
   "zoom_out": "",
   "zoom_out": "",
   "zoom_to": "",
   "zoom_to": "",
   "zotero_cta": "",
   "zotero_cta": "",
+  "zotero_dynamic_sync_description": "",
   "zotero_groups_loading_error": "",
   "zotero_groups_loading_error": "",
   "zotero_groups_relink": "",
   "zotero_groups_relink": "",
   "zotero_integration": "",
   "zotero_integration": "",

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

@@ -1281,6 +1281,7 @@
   "members_management": "Members management",
   "members_management": "Members management",
   "mendeley": "Mendeley",
   "mendeley": "Mendeley",
   "mendeley_cta": "Get Mendeley integration",
   "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_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_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",
   "mendeley_integration": "Mendeley Integration",
@@ -2599,6 +2600,7 @@
   "zotero": "Zotero",
   "zotero": "Zotero",
   "zotero_and_mendeley_integrations": "<0>Zotero</0> and <0>Mendeley</0> integrations",
   "zotero_and_mendeley_integrations": "<0>Zotero</0> and <0>Mendeley</0> integrations",
   "zotero_cta": "Get Zotero integration",
   "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_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_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",
   "zotero_integration": "Zotero Integration",