1
0
Fork 0
forked from forgejo/forgejo

Add error info if no user can fork the repo (#25820)

Before: (Owner list is empty)

![image](dbe87bfe-14ed-4997-8cb2-5c1308232a70)

After: (Disable the button and show the error info)

![image](a7e4c315-67ab-408b-88f2-c554076ce87a)
This commit is contained in:
yp05327 2023-07-14 16:56:20 +09:00 committed by GitHub
parent 61c9268c56
commit 52f46919dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -935,6 +935,7 @@ fork_from = Fork From
already_forked = You've already forked %s
fork_to_different_account = Fork to a different account
fork_visibility_helper = The visibility of a forked repository cannot be changed.
fork_no_valid_owners = This repository can not be forked because there are no valid owners.
use_template = Use this template
clone_in_vsc = Clone in VS Code
download_zip = Download ZIP