diff options
| author | 2025-03-10 09:24:37 +0000 | |
|---|---|---|
| committer | 2025-03-10 10:24:37 +0100 | |
| commit | 3db5bfa0f2d7528324c2fd6ae6d49d20da24eecf (patch) | |
| tree | a9d0d3adac68afd93960fcf91f264828b273033f /docs/locales/zh/configuration | |
| parent | [chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc... (diff) | |
| download | gotosocial-3db5bfa0f2d7528324c2fd6ae6d49d20da24eecf.tar.xz | |
[docs/zh] update zh docs: synced to 98c4cae + fix typo (#3884)
* [docs/zh] update zh docs: synced to 98c4cae8
* fix typo
* sync the support matrix in README
* update mkdocs.yml: add new article
Diffstat (limited to 'docs/locales/zh/configuration')
| -rw-r--r-- | docs/locales/zh/configuration/accounts.md | 18 | ||||
| -rw-r--r-- | docs/locales/zh/configuration/instance.md | 11 |
2 files changed, 29 insertions, 0 deletions
diff --git a/docs/locales/zh/configuration/accounts.md b/docs/locales/zh/configuration/accounts.md index 8e80d511b..4c15088e3 100644 --- a/docs/locales/zh/configuration/accounts.md +++ b/docs/locales/zh/configuration/accounts.md @@ -20,6 +20,24 @@ accounts-registration-open: false # 默认: true accounts-reason-required: true +# 整数值。表示24小时内允许的最大已批准注册账号数量,超出此数量将关闭新账号注册。 +# +# 一般情况下,保持默认值相当于将你的实例限制为每天最多新增 10 个账号。 +# +# 将此数值设置为 0 或更低将移除限制。 +# +# 默认:10 +accounts-registration-daily-limit: 10 + +# 整数值。表示待审核队列中允许的最大新账号注册数量,超出此数量将关闭新账号注册。 +# +# 这可以用来对注册队列进行“节流”,从而防止实例管理员不堪重负。 +# +# 将此数值设置为 0 或更低将移除限制。 +# +# 默认:20 +accounts-registration-backlog-limit: 20 + # 布尔值。允许此实例上的账户为其个人资料页面和贴文设置自定义 CSS。 # 启用此设置将允许账户通过 /user 设置页面上传自定义 CSS, # 然后这些 CSS 将在账户的个人资料和贴文的网页视图中呈现。 diff --git a/docs/locales/zh/configuration/instance.md b/docs/locales/zh/configuration/instance.md index e6622cf2e..5faad0fa7 100644 --- a/docs/locales/zh/configuration/instance.md +++ b/docs/locales/zh/configuration/instance.md @@ -155,4 +155,15 @@ instance-subscriptions-process-every: "24h" # 选项: ["", "zero", "serve", "baffle"] # 默认: "" instance-stats-mode: "" + +# 布尔值。此变量控制本地账户是否可以使用 /api/v1/statuses 的 scheduled_at 参数将帖文设为过去的日期。 +# 此变量不影响将在未来定时发布的帖文(目前尚未实现), +# 也无法阻止外站账户为其发布的帖文设置过去的日期。 +# +# 如果设置为 true,所有本站账户都可以新增历史帖文。 +# 如果设置为 false,将禁止新增历史帖文,并在调用相关端点时返回错误。 +# +# 选项: [true, false] +# 默认值: true +instance-allow-backdating-statuses: true ``` |
