Skip to content

Commit

Permalink
Update Simplified Chinese translation (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
sve1r authored Dec 6, 2023
1 parent 648d0b8 commit 05ab17d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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: '记录重定向',
};
4 changes: 2 additions & 2 deletions src/nginxconfig/i18n/zh-cn/templates/footer.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -28,7 +28,7 @@ export default {
backToTop: '返回顶部',
thisToolIs: '这个工具',
openSourceOnGitHub: '开源在GitHub上',
underThe: '',
underThe: '基于',
mit: 'MIT',
license: '许可!',
weWelcomeFeedbackAndContributions: '我们欢迎您提供反馈和意见。',
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const certbot = 'Certbot';

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

1 comment on commit 05ab17d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been deployed to DigitalOcean Spaces for easy reviewing.

nginxconfig (Build Analysis Report)

Please sign in to comment.