mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 02:59:42 +08:00
Fixed several typos. (#15470)
This commit is contained in:
parent
08ba895c2b
commit
662bbed32e
@ -19,7 +19,7 @@ PROJECT_BOARD_BASIC_KANBAN_TYPE = To Do, In Progress, Done
|
||||
PROJECT_BOARD_BUG_TRIAGE_TYPE = Needs Triage, High Priority, Low Priority, Closed
|
||||
|
||||
[repository]
|
||||
; Root path for storing all repository data. It must be an absolute path. By default it is stored in a sub-directory of `APP_DATA_PATH`.
|
||||
; Root path for storing all repository data. It must be an absolute path. By default, it is stored in a sub-directory of `APP_DATA_PATH`.
|
||||
ROOT =
|
||||
; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available.
|
||||
SCRIPT_TYPE = bash
|
||||
@ -48,7 +48,7 @@ PREFERRED_LICENSES = Apache License 2.0,MIT License
|
||||
; Disable the ability to interact with repositories using the HTTP protocol
|
||||
DISABLE_HTTP_GIT = false
|
||||
; Value for Access-Control-Allow-Origin header, default is not to present
|
||||
; WARNING: This maybe harmful to you website if you do not give it a right value.
|
||||
; WARNING: This may be harmful to your website if you do not give it a right value.
|
||||
ACCESS_CONTROL_ALLOW_ORIGIN =
|
||||
; Force ssh:// clone url instead of scp-style uri when default SSH port is used
|
||||
USE_COMPAT_SSH_URI = false
|
||||
@ -134,7 +134,7 @@ ALLOWED_TYPES =
|
||||
SIGNING_KEY = default
|
||||
; If a SIGNING_KEY ID is provided and is not set to default, use the provided Name and Email address as the signer.
|
||||
; These should match a publicized name and email address for the key. (When SIGNING_KEY is default these are set to
|
||||
; the results of git config --get user.name and git config --get user.email respectively and can only be overrided
|
||||
; the results of git config --get user.name and git config --get user.email respectively and can only be overridden
|
||||
; by setting the SIGNING_KEY ID to the correct ID.)
|
||||
SIGNING_NAME =
|
||||
SIGNING_EMAIL =
|
||||
@ -447,7 +447,7 @@ LOG_SQL = true
|
||||
DB_RETRIES = 10
|
||||
; Backoff time per DB retry (time.Duration)
|
||||
DB_RETRY_BACKOFF = 3s
|
||||
; Max idle database connections on connnection pool, default is 2
|
||||
; Max idle database connections on connection pool, default is 2
|
||||
MAX_IDLE_CONNS = 2
|
||||
; Database connection max life time, default is 0 or 3s mysql (See #6804 & #7071 for reasoning)
|
||||
CONN_MAX_LIFETIME = 3s
|
||||
@ -466,7 +466,7 @@ ISSUE_INDEXER_PATH = indexers/issues.bleve
|
||||
; Issue indexer queue, currently support: channel, levelqueue or redis, default is levelqueue
|
||||
ISSUE_INDEXER_QUEUE_TYPE = levelqueue
|
||||
; When ISSUE_INDEXER_QUEUE_TYPE is levelqueue, this will be the path where the queue will be saved.
|
||||
; This can be overriden by `ISSUE_INDEXER_QUEUE_CONN_STR`.
|
||||
; This can be overridden by `ISSUE_INDEXER_QUEUE_CONN_STR`.
|
||||
; default is indexers/issues.queue
|
||||
ISSUE_INDEXER_QUEUE_DIR = indexers/issues.queue
|
||||
; When `ISSUE_INDEXER_QUEUE_TYPE` is `redis`, this will store the redis connection string.
|
||||
@ -514,9 +514,9 @@ BATCH_LENGTH = 20
|
||||
; When `TYPE` is `persistable-channel`, this provides a directory for the underlying leveldb
|
||||
; or additional options of the form `leveldb://path/to/db?option=value&....`, and will override `DATADIR`.
|
||||
CONN_STR = "addrs=127.0.0.1:6379 db=0"
|
||||
; Provides the suffix of the default redis/disk queue name - specific queues can be overriden within in their [queue.name] sections.
|
||||
; Provides the suffix of the default redis/disk queue name - specific queues can be overridden within in their [queue.name] sections.
|
||||
QUEUE_NAME = "_queue"
|
||||
; Provides the suffix of the default redis/disk unique queue set name - specific queues can be overriden within in their [queue.name] sections.
|
||||
; Provides the suffix of the default redis/disk unique queue set name - specific queues can be overridden within in their [queue.name] sections.
|
||||
SET_NAME = "_unique"
|
||||
; If the queue cannot be created at startup - level queues may need a timeout at startup - wrap the queue:
|
||||
WRAP_IF_NECESSARY = true
|
||||
@ -621,7 +621,7 @@ BLACKLISTED_URIS =
|
||||
; Whether a new auto registered oauth2 user needs to confirm their email.
|
||||
; Do not include to use the REGISTER_EMAIL_CONFIRM setting from the `[service]` section.
|
||||
REGISTER_EMAIL_CONFIRM =
|
||||
; Scopes for the openid connect oauth2 provider (seperated by space, the openid scope is implicitly added).
|
||||
; Scopes for the openid connect oauth2 provider (separated by space, the openid scope is implicitly added).
|
||||
; Typical values are profile and email.
|
||||
; For more information about the possible values see https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
|
||||
OPENID_CONNECT_SCOPES =
|
||||
@ -846,7 +846,7 @@ REPOSITORY_AVATAR_FALLBACK_IMAGE = /img/repo_default.png
|
||||
; This is to limit the amount of RAM used when resizing the image.
|
||||
AVATAR_MAX_WIDTH = 4096
|
||||
AVATAR_MAX_HEIGHT = 3072
|
||||
; Maximum alloved file size for uploaded avatars.
|
||||
; Maximum allowed file size for uploaded avatars.
|
||||
; This is to limit the amount of RAM used when resizing the image.
|
||||
AVATAR_MAX_FILE_SIZE = 1048576
|
||||
; Chinese users can choose "duoshuo"
|
||||
|
Loading…
Reference in New Issue
Block a user