mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
[third-party-datastore] improve error handling (#26881)
* [third-party-datastore] use generic serializer for dropboxError The `err` serializer will not pick up all the dropbox fields. Co-authored-by: Thomas Mees <thomas.mees@overleaf.com> * [third-party-datastore] handle user_suspended like insufficient_space Unlink dropbox and display a notification (same key to clear later). Co-authored-by: Thomas Mees <thomas.mees@overleaf.com> * [third-party-datastore] skip retries when rejected with disallowed_name Co-authored-by: Thomas Mees <thomas.mees@overleaf.com> * [web] sort translations * [web] update copy for dropbox_unlinked_because_suspended Co-authored-by: Kamal Arkinstall <kamal.arkinstall@overleaf.com> --------- Co-authored-by: Thomas Mees <thomas.mees@overleaf.com> Co-authored-by: Kamal Arkinstall <kamal.arkinstall@overleaf.com> GitOrigin-RevId: 8fbb9074d1d6eb879e904d79dd4b2a2c952ff902
This commit is contained in:
@@ -615,6 +615,7 @@
|
||||
"dropbox_synced": "Overleaf and Dropbox have processed all updates. Note that your local Dropbox might still be synchronizing",
|
||||
"dropbox_unlinked_because_access_denied": "Your Dropbox account has been unlinked because the Dropbox service rejected your stored credentials. Please relink your Dropbox account to continue using it with Overleaf.",
|
||||
"dropbox_unlinked_because_full": "Your Dropbox account has been unlinked because it is full, and we can no longer send updates to it. Please free up some space and relink your Dropbox account to continue using it with Overleaf.",
|
||||
"dropbox_unlinked_because_suspended": "We’ve unlinked your Dropbox account because it’s been suspended by Dropbox. You’ll be able to relink once you’ve resolved the issue with Dropbox.",
|
||||
"dropbox_unlinked_premium_feature": "<0>Your Dropbox account has been unlinked</0> because Dropbox Sync is a premium feature that you had through an institutional license.",
|
||||
"due_date": "Due __date__",
|
||||
"due_today": "Due today",
|
||||
|
||||
@@ -74,6 +74,7 @@ async function main() {
|
||||
'dropbox_email_not_verified',
|
||||
'dropbox_unlinked_because_access_denied',
|
||||
'dropbox_unlinked_because_full',
|
||||
'dropbox_unlinked_because_suspended',
|
||||
|
||||
// Actually used without the spurious space.
|
||||
// TODO: fix the space and upload the changed locales
|
||||
|
||||
Reference in New Issue
Block a user