Skip to content

Commit 05ab17d

Browse files
authored
Update Simplified Chinese translation (#457)
1 parent 648d0b8 commit 05ab17d

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2022 DigitalOcean
2+
Copyright 2023 DigitalOcean
33
44
This code is licensed under the MIT License.
55
You may obtain a copy of the License at
@@ -29,7 +29,7 @@ import common from '../../common';
2929
export default {
3030
byDomain: '在此站点',
3131
enableForThisDomain: `为此站点${common.enable}`,
32-
arguments: 'arguments', // TODO: translate
33-
level: 'logging level', // TODO: translate
34-
forRedirects: 'for redirects', // TODO: translate
32+
arguments: '参数',
33+
level: '日志记录级别',
34+
forRedirects: '记录重定向',
3535
};

src/nginxconfig/i18n/zh-cn/templates/footer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2020 DigitalOcean
2+
Copyright 2023 DigitalOcean
33
44
This code is licensed under the MIT License.
55
You may obtain a copy of the License at
@@ -28,7 +28,7 @@ export default {
2828
backToTop: '返回顶部',
2929
thisToolIs: '这个工具',
3030
openSourceOnGitHub: '开源在GitHub上',
31-
underThe: '',
31+
underThe: '基于',
3232
mit: 'MIT',
3333
license: '许可!',
3434
weWelcomeFeedbackAndContributions: '我们欢迎您提供反馈和意见。',

src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2022 DigitalOcean
2+
Copyright 2023 DigitalOcean
33
44
This code is licensed under the MIT License.
55
You may obtain a copy of the License at
@@ -29,7 +29,7 @@ import common from '../../common';
2929
export default {
3030
enableFileNotFoundErrorLogging: `${common.enable}“文件未找到”错误日志:`,
3131
logformat: 'log_format',
32-
level: 'logging level', // TODO: translate
32+
level: '日志记录级别',
3333
enableCloudflare: '将Cloudflare请求头部添加到默认日志格式',
3434
cfRay: 'CF-Ray',
3535
cfConnectingIp: 'CF-Connecting-IP',

src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const certbot = 'Certbot';
3030

3131
export default {
3232
commentOutSslDirectivesInConfiguration: `注释掉配置中的${common.ssl}相关指令:`,
33-
sslOffDeprecationWarning: `This command will add a temporary <code class="slim">ssl off</code> 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
33+
sslOffDeprecationWarning: `此命令将添加一个临时的 <code class="slim">ssl off</code> 指令,以确保 ${common.ssl} 命令处于未启用状态。这可能会导致 ${common.nginx} 发出警告,但您可以忽略。一旦配置了 ${certbot},该命令将被移除。`,
3434
reloadYourNginxServer: `重新加载你的${common.nginx}服务器:`,
3535
obtainSslCertificatesFromLetsEncrypt: `使用${certbot}${common.letsEncrypt} 获得${common.ssl}证书:`,
3636
uncommentSslDirectivesInConfiguration: `在配置中取消注释${common.ssl}相关指令:`,

0 commit comments

Comments
 (0)