summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-10-25 04:26:26 -0400
committerUnknwon <u@gogs.io>2015-10-25 04:26:26 -0400
commit022820103d622dda74aa1c619ca46838a14b762a (patch)
tree2de093f709bb04c366cee4ebb73dcc3230f7019a /conf
parentd5fab7f1b993ac389d751bfb87774549c4f3f4c2 (diff)
downloadgitea-022820103d622dda74aa1c619ca46838a14b762a.tar.gz
gitea-022820103d622dda74aa1c619ca46838a14b762a.zip
#1657 allow forcing all private repos
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini6
-rw-r--r--conf/locale/locale_en-US.ini1
-rwxr-xr-xconf/locale/locale_zh-CN.ini1
3 files changed, 7 insertions, 1 deletions
diff --git a/conf/app.ini b/conf/app.ini
index a5f7a0b7ca..2a1a568d8e 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -11,7 +11,11 @@ RUN_MODE = dev
[repository]
ROOT =
SCRIPT_TYPE = bash
-; Patch test queue length, make it as large as possible.
+; Default ANSI charset
+ANSI_CHARSET =
+; Force every new repository to be private
+FORCE_PRIVATE = false
+; Patch test queue length, make it as large as possible
PULL_REQUEST_QUEUE_LENGTH = 10000
[ui]
diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini
index df5f3c148b..eebe89332e 100644
--- a/conf/locale/locale_en-US.ini
+++ b/conf/locale/locale_en-US.ini
@@ -334,6 +334,7 @@ repo_name = Repository Name
repo_name_helper = A good repository name is usually composed of short, memorable and unique keywords.
visibility = Visibility
visiblity_helper = This repository is <span class="ui red text">Private</span>
+visiblity_helper_forced = Site admin has forced all new repositories to be <span class="ui red text">Private</span>
visiblity_fork_helper = (Change of this value will affect all forks)
fork_repo = Fork Repository
fork_from = Fork From
diff --git a/conf/locale/locale_zh-CN.ini b/conf/locale/locale_zh-CN.ini
index 339b59d81b..8abd9fcaff 100755
--- a/conf/locale/locale_zh-CN.ini
+++ b/conf/locale/locale_zh-CN.ini
@@ -334,6 +334,7 @@ repo_name=仓库名称
repo_name_helper=伟大的仓库名称一般都较短、令人深刻并且 <strong>独一无二</strong> 的。
visibility=可见性
visiblity_helper=该仓库为 <span class="ui red text">私有的</span>
+visiblity_helper_forced=网站管理员已强制要求所有新建仓库必须为 <span class="ui red text">私有的</span>
visiblity_fork_helper=(修改该值将会影响到所有派生仓库)
fork_repo=派生仓库
fork_from=派生自