diff --git a/src/nginxconfig/i18n/zh-cn/templates/callouts/contribute.js b/src/nginxconfig/i18n/zh-cn/templates/callouts/contribute.js index d3042e3..350f4ec 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/callouts/contribute.js +++ b/src/nginxconfig/i18n/zh-cn/templates/callouts/contribute.js @@ -26,5 +26,5 @@ THE SOFTWARE. export default { wantToContributeChanges: '👋 想要申请新的功能,提出修改意见,或将该工具翻译成新的语言?', - getInvolvedOnGitHub: '在GitHub上参与进来', + getInvolvedOnGitHub: '欢迎在 Github 中参与本项目', }; diff --git a/src/nginxconfig/i18n/zh-cn/templates/callouts/droplet.js b/src/nginxconfig/i18n/zh-cn/templates/callouts/droplet.js index 0dbfb39..3fe745f 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/callouts/droplet.js +++ b/src/nginxconfig/i18n/zh-cn/templates/callouts/droplet.js @@ -26,5 +26,5 @@ THE SOFTWARE. export default { lookingForAPlaceToDeploy: '👋 在寻找部署新配置的地方?', - tryOutDigitalOceansDroplet: '试用用于Nginx的DigitalOcean的LEMP Droplet。', + tryOutDigitalOceansDroplet: '试用已安装 NGINX 的 DigitalOcean LEMP Droplet。', }; diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js index 0652f47..813fa21 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js @@ -32,8 +32,8 @@ export default { enableHttp2Connections: `${common.enable} ${common.http}/2 连接`, http3: `${common.http}/3`, enableHttp3Connections: `${common.enable} ${common.http}/3 连接`, - portReuse: 'Reuseport', // TODO: translate - enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate + portReuse: '端口重用', + enableReuseOfPort: `${common.enable} 重用端口 为每个 NGINX Worker 单独生成一个监听套接字`, forceHttps: `强制 ${common.https}`, hsts: 'HSTS', enableStrictTransportSecurity: `${common.enable}HSTS(强制客户端、浏览器等使用 HTTPS 与服务器创建链接),需要HTTPS连接`, @@ -42,9 +42,9 @@ export default { certificationType: '证书类型', customCertificate: '本地证书', letsEncryptEmail: `${common.letsEncrypt} 邮箱`, - http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate - http3Warning2: 'NGINX QUIC readme ', // TODO: translate - http3Warning3: ' or the ', // TODO: translate - http3Warning4: 'Cloudflare quiche project ', // TODO: translate - http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate + http3Warning1: 'HTTP/3 并不是一个标准的 NGINX 模块, 请查看 ', + http3Warning2: 'NGINX QUIC 使用文档', + http3Warning3: ' 或者 ', + http3Warning4: 'Cloudflare quiche 项目', + http3Warning5: ' 以构建支持 HTTP/3 的 NGINX!', };