Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Simplified Chinese translation #457

Merged
merged 3 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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