Improve error message when users try to import empty github repo (#13334)

* Improve error message when a user is trying to import an empty repo with github

* Only show GitHub organization footer link after the user is successfully connected to github

This link should only be shown for users that have some of their repos missing because of their organization's access restriction

See this ticket for more detail: https://github.com/overleaf/web-internal/pull/1591

GitOrigin-RevId: 3235d63b94b952b93f7a1cfe0d551d38a2783eb3
This commit is contained in:
M Fahru 2023-06-15 08:46:03 -07:00 committed by Copybot
parent 1f71e339fb
commit 0a22412d31
2 changed files with 2 additions and 0 deletions

View file

@ -360,6 +360,7 @@
"git_integration_info": "",
"github_commit_message_placeholder": "",
"github_credentials_expired": "",
"github_empty_repository_error": "",
"github_file_name_error": "",
"github_for_link_shared_projects": "",
"github_git_folder_error": "",

View file

@ -614,6 +614,7 @@
"git_integration_lowercase_info": "You can clone your Overleaf project to a local repository, treating your Overleaf project as a remote repository that changes can be pushed to and pulled from.",
"github_commit_message_placeholder": "Commit message for changes made in __appName__...",
"github_credentials_expired": "Your GitHub authorization credentials have expired",
"github_empty_repository_error": "It looks like your GitHub repository is empty or not yet available. Create a new file on GitHub.com then try again.",
"github_file_name_error": "This repository cannot be imported, because it contains file(s) with an invalid filename:",
"github_for_link_shared_projects": "This project was accessed via link-sharing and wont be synchronised with your GitHub unless you are invited via e-mail by the project owner.",
"github_git_and_dropbox_integrations": "<0>Github</0>, <0>Git</0> and <0>Dropbox</0> integrations",