aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-03-01 03:21:13 +0800
committerᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-03-01 03:21:13 +0800
commit18e45aab98bf9a74834a75877b7f80f508508dba (patch)
treed8499338a79a28bd0890bc4cf1476cc34ef1fea8 /conf
parent344b784d6943ac033d2ce755b6eee34ffc0401e4 (diff)
template: improve admin config page
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini2
-rw-r--r--conf/locale/locale_en-US.ini71
2 files changed, 43 insertions, 30 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 5c25b1a4..6106b466 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -325,8 +325,6 @@ DISABLE_REGULAR_ORG_CREATION = false
[webhook]
; Types are enabled for users to use, can be "gogs", "slack", "discord", "dingtalk"
TYPES = gogs, slack, discord, dingtalk
-; Hook task queue length, increase if webhook shooting starts hanging
-QUEUE_LENGTH = 1000
; Deliver timeout in seconds
DELIVER_TIMEOUT = 15
; Allow insecure certification
diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini
index dacb676f..b3728843 100644
--- a/conf/locale/locale_en-US.ini
+++ b/conf/locale/locale_en-US.ini
@@ -1284,34 +1284,48 @@ config.cache.host = Host
config.http_config = HTTP configuration
config.http.access_control_allow_origin = Access control allow origin
-config.log_file_root_path = Log File Root Path
-
-config.webhook_config = Webhook Configuration
-config.queue_length = Queue Length
-config.deliver_timeout = Deliver Timeout
-config.skip_tls_verify = Skip TLS Verify
-
-config.oauth_config = OAuth Configuration
-config.oauth_enabled = Enabled
-
-config.picture_config = Picture Configuration
-config.picture_service = Picture Service
-config.disable_gravatar = Disable Gravatar
-config.enable_federated_avatar = Enable Federated Avatars
-
-config.git_config = Git Configuration
-config.git_disable_diff_highlight = Disable Diff Syntax Highlight
-config.git_max_diff_lines = Max Diff Lines (for a single file)
-config.git_max_diff_line_characters = Max Diff Characters (for a single line)
-config.git_max_diff_files = Max Diff Files (to be shown)
-config.git_gc_args = GC Arguments
-config.git_migrate_timeout = Migration Timeout
-config.git_mirror_timeout = Mirror Update Timeout
-config.git_clone_timeout = Clone Operation Timeout
-config.git_pull_timeout = Pull Operation Timeout
-config.git_gc_timeout = GC Operation Timeout
-
-config.log_config = Log Configuration
+config.attachment_config = Attachment configuration
+config.attachment.enabled = Enabled
+config.attachment.path = Path
+config.attachment.allowed_types = Allowed types
+config.attachment.max_size = Size limit
+config.attachment.max_files = Files limit
+
+config.release_config = Release configuration
+config.release.attachment.enabled = Attachment enabled
+config.release.attachment.allowed_types = Attachment allowed types
+config.release.attachment.max_size = Attachment size limit
+config.release.attachment.max_files = Attachment files limit
+
+config.picture_config = Picture configuration
+config.picture.avatar_upload_path = User avatar upload path
+config.picture.repo_avatar_upload_path = Repository avatar upload path
+config.picture.gravatar_source = Gravatar source
+config.picture.disable_gravatar = Disable Gravatar
+config.picture.enable_federated_avatar = Enable federated avatars
+
+config.mirror_config = Mirror configuration
+config.mirror.default_interval = Default interval
+
+config.webhook_config = Webhook configuration
+config.webhook.types = Types
+config.webhook.deliver_timeout = Deliver timeout
+config.webhook.skip_tls_verify = Skip TLS verify
+
+config.git_config = Git configuration
+config.git.disable_diff_highlight = Disable diff syntax highlight
+config.git.max_diff_lines = Diff lines limit (for a single file)
+config.git.max_diff_line_characters = Diff characters limit (for a single line)
+config.git.max_diff_files = Diff files limit (for a single diff)
+config.git.gc_args = GC arguments
+config.git.migrate_timeout = Migration timeout
+config.git.mirror_timeout = Mirror fetch timeout
+config.git.clone_timeout = Clone timeout
+config.git.pull_timeout = Pull timeout
+config.git.gc_timeout = GC timeout
+
+config.log_config = Log configuration
+config.log_file_root_path = Log file root path
config.log_mode = Mode
config.log_options = Options
@@ -1383,6 +1397,7 @@ months = %d months %s
years = %d years %s
raw_seconds = seconds
raw_minutes = minutes
+raw_hours = hours
[dropzone]
default_message = Drop files here or click to upload.