From 295fd61317e157b40089a23ec732a6d47e05b74c Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 9 Jul 2021 09:34:35 +0100 Subject: [PATCH] Merge pull request #4299 from overleaf/msm-reword-dropbox-error-modal Reworded Dropbox message for projects with duplicate names GitOrigin-RevId: b9fe6f6ca98308dd502243c49a4bdfc136f02cdf --- services/web/app/views/project/list/notifications.pug | 10 +++++++--- services/web/locales/en.json | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/services/web/app/views/project/list/notifications.pug b/services/web/app/views/project/list/notifications.pug index f81afcd936..472f78bbaa 100644 --- a/services/web/app/views/project/list/notifications.pug +++ b/services/web/app/views/project/list/notifications.pug @@ -108,9 +108,13 @@ include ../../_mixins/reconfirm_affiliation ng-switch-when="notification_dropbox_duplicate_project_names" ) .notification-body - | !{translate("dropbox_duplicate_project_names", {projectName: '{{notification.messageOpts.projectName}}'}, ['strong'])} - |   - a(href="/learn/how-to/Dropbox_Synchronization#Troubleshooting") #{translate("learn_more")} + p() + | !{translate("dropbox_duplicate_project_names", { projectName: '{{notification.messageOpts.projectName}}'}, ['strong'])} + p() + | !{translate("dropbox_duplicate_project_names_suggestion", {}, ['strong'])} + |   + a(href="/learn/how-to/Dropbox_Synchronization#Troubleshooting") #{translate("learn_more")} + |. .notification-close button.btn-sm(ng-click="dismiss(notification)").close.pull-right span(aria-hidden="true") × diff --git a/services/web/locales/en.json b/services/web/locales/en.json index c76de173b2..0514984597 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1396,7 +1396,8 @@ "please_change_primary_to_remove": "Please change your primary email in order to remove", "please_reconfirm_your_affiliation_before_making_this_primary": "Please confirm your affiliation before making this the primary.", "please_link_before_making_primary": "Please confirm your email by linking to your institutional account before making it the primary email.", - "dropbox_duplicate_project_names": "We detected an update from Dropbox to <0>__projectName__, but you have multiple projects with that name. We are unable to process this, so have unlinked your Dropbox account. Please ensure your project names are unique across your active, archived and trashed projects, and then re-link your Dropbox account.", + "dropbox_duplicate_project_names": "Your Dropbox account has been unlinked, because you have more than one project called <0>\"__projectName__\".", + "dropbox_duplicate_project_names_suggestion": "Please make your project names unique across all your <0>active, archived and trashed projects and then re-link your Dropbox account.", "please_reconfirm_institutional_email": "Please take a moment to confirm your institutional email address or <0>remove it from your account.", "need_to_add_new_primary_before_remove": "You'll need to add a new primary email address before you can remove this one.", "are_you_still_at": "Are you still at <0>__institutionName__?",