aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-07-14 16:56:20 +0900
committerGitHub <noreply@github.com>2023-07-14 15:56:20 +0800
commit52f46919dc8f4e67a6e24869841634a28b3426aa (patch)
tree1c6964dfacafd736ef9f51f6f93fdb3680b015e0 /options
parent61c9268c56bce5da47bbf87c790c2694a593b763 (diff)
downloadgitea-52f46919dc8f4e67a6e24869841634a28b3426aa.tar.gz
gitea-52f46919dc8f4e67a6e24869841634a28b3426aa.zip
Add error info if no user can fork the repo (#25820)
Before: (Owner list is empty) ![image](https://github.com/go-gitea/gitea/assets/18380374/dbe87bfe-14ed-4997-8cb2-5c1308232a70) After: (Disable the button and show the error info) ![image](https://github.com/go-gitea/gitea/assets/18380374/a7e4c315-67ab-408b-88f2-c554076ce87a)
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index c4c9d32e1d..8c7990e0d4 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -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