diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js
index 1e69b69..c0818d6 100644
--- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js
+++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2023 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -29,7 +29,7 @@ import common from '../../common';
export default {
byDomain: '在此站点',
enableForThisDomain: `为此站点${common.enable}`,
- arguments: 'arguments', // TODO: translate
- level: 'logging level', // TODO: translate
- forRedirects: 'for redirects', // TODO: translate
+ arguments: '参数',
+ level: '日志记录级别',
+ forRedirects: '记录重定向',
};
diff --git a/src/nginxconfig/i18n/zh-cn/templates/footer.js b/src/nginxconfig/i18n/zh-cn/templates/footer.js
index d6a8b94..e83d762 100644
--- a/src/nginxconfig/i18n/zh-cn/templates/footer.js
+++ b/src/nginxconfig/i18n/zh-cn/templates/footer.js
@@ -1,5 +1,5 @@
/*
-Copyright 2020 DigitalOcean
+Copyright 2023 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -28,7 +28,7 @@ export default {
backToTop: '返回顶部',
thisToolIs: '这个工具',
openSourceOnGitHub: '开源在GitHub上',
- underThe: '是',
+ underThe: '基于',
mit: 'MIT',
license: '许可!',
weWelcomeFeedbackAndContributions: '我们欢迎您提供反馈和意见。',
diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js
index 019dea7..74f1dba 100644
--- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js
+++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2023 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -29,7 +29,7 @@ import common from '../../common';
export default {
enableFileNotFoundErrorLogging: `${common.enable}“文件未找到”错误日志:`,
logformat: 'log_format',
- level: 'logging level', // TODO: translate
+ level: '日志记录级别',
enableCloudflare: '将Cloudflare请求头部添加到默认日志格式',
cfRay: 'CF-Ray',
cfConnectingIp: 'CF-Connecting-IP',
diff --git a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js
index f6d3392..530cd2e 100644
--- a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js
+++ b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js
@@ -30,7 +30,7 @@ const certbot = 'Certbot';
export default {
commentOutSslDirectivesInConfiguration: `注释掉配置中的${common.ssl}相关指令:`,
- sslOffDeprecationWarning: `This command will add a temporary ssl off
directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate
+ sslOffDeprecationWarning: `此命令将添加一个临时的 ssl off
指令,以确保 ${common.ssl} 命令处于未启用状态。这可能会导致 ${common.nginx} 发出警告,但您可以忽略。一旦配置了 ${certbot},该命令将被移除。`,
reloadYourNginxServer: `重新加载你的${common.nginx}服务器:`,
obtainSslCertificatesFromLetsEncrypt: `使用${certbot}从 ${common.letsEncrypt} 获得${common.ssl}证书:`,
uncommentSslDirectivesInConfiguration: `在配置中取消注释${common.ssl}相关指令:`,