mirror of
				https://github.com/digitalocean/nginxconfig.io.git
				synced 2025-10-31 06:29:22 +08:00 
			
		
		
		
	Update Chinese translations (#279)
* Add performance translation for Simplified Chinese * Add reverse_proxy translation for Simplified Chinese * Add security translation for Simplified Chinese * Add https translation for Traditionnal Chinese * Add performance translation for Traditionnal Chinese * Add reverse_proxy translation for Traditionnal Chinese * Add security translation for Simplified Chinese
This commit is contained in:
		| @@ -30,10 +30,10 @@ export default { | |||||||
|     gzipCompression: 'Gzip 压缩', |     gzipCompression: 'Gzip 压缩', | ||||||
|     enableGzipCompression: `${common.enable}Gzip压缩`, |     enableGzipCompression: `${common.enable}Gzip压缩`, | ||||||
|     brotliCompression: 'Brotli 压缩', |     brotliCompression: 'Brotli 压缩', | ||||||
|     enableBrotliCompression: `${common.enable}brotli压缩`, |     enableBrotliCompression: `${common.enable} Brotli 压缩`, | ||||||
|     brotliIsANonStandardModule: 'Brotli isn\'t a standard NGINX module, check the ', // TODO: translate |     brotliIsANonStandardModule: 'Brotli 并不是一个 standard NGINX 模块, 请查看 ', | ||||||
|     brotliGoogleNgxBrotliProject: 'Google ngx_brotli project', // TODO: translate |     brotliGoogleNgxBrotliProject: 'Google ngx_brotli 项目', | ||||||
|     brotliForBuildingNginxWithBrotli: ' for how to build NGINX with Brotli!', // TODO: translate |     brotliForBuildingNginxWithBrotli: ' 以构建支持 Brotli 的 NGINX!', | ||||||
|     expirationForAssets: '资源有效期', |     expirationForAssets: '资源有效期', | ||||||
|     expirationForMedia: '媒体资源有效期', |     expirationForMedia: '媒体资源有效期', | ||||||
|     expirationForSvgs: 'SVGs有效期', |     expirationForSvgs: 'SVGs有效期', | ||||||
|   | |||||||
| @@ -26,11 +26,11 @@ THE SOFTWARE. | |||||||
|  |  | ||||||
| import common from '../../common'; | import common from '../../common'; | ||||||
|  |  | ||||||
| const legacyXForwarded = 'Legacy X-Forwarded-* headers'; // TODO: translate | const legacyXForwarded = '传统 X-Forwarded-* 请求头'; | ||||||
|  |  | ||||||
| export default { | export default { | ||||||
|     reverseProxyMustBeEnabledOnOneSite: `必须在至少一个站点上启用${common.reverseProxy}才能配置全局${common.reverseProxy}设置。`, |     reverseProxyMustBeEnabledOnOneSite: `必须在至少一个站点上启用${common.reverseProxy}才能配置全局${common.reverseProxy}设置。`, | ||||||
|     seconds: '秒', |     seconds: '秒', | ||||||
|     passOn: `${legacyXForwarded} passed on`, // TODO: translate |     passOn: `转发 ${legacyXForwarded}`, | ||||||
|     remove: `${legacyXForwarded} actively removed`, // TODO: translate |     remove: `自动删除 ${legacyXForwarded}`, | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -27,6 +27,6 @@ THE SOFTWARE. | |||||||
| import common from '../../common'; | import common from '../../common'; | ||||||
|  |  | ||||||
| export default { | export default { | ||||||
|     whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `当使用${common.wordPress}时,, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code>经常需要在内容安全策略中,以允许管理面板的功能正确。`, |     whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `当使用${common.wordPress}时,<code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> 通常需要置于内容安全策略中,以确保管理面板的正常运行。`, | ||||||
|     security: '安全', |     security: '安全', | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -32,8 +32,8 @@ export default { | |||||||
|     enableHttp2Connections: `${common.enable} ${common.http}/2 連接`, |     enableHttp2Connections: `${common.enable} ${common.http}/2 連接`, | ||||||
|     http3: `${common.http}/3`, |     http3: `${common.http}/3`, | ||||||
|     enableHttp3Connections: `${common.enable} ${common.http}/3 連接`, |     enableHttp3Connections: `${common.enable} ${common.http}/3 連接`, | ||||||
|     portReuse: 'Reuseport', // TODO: translate |     portReuse: '端口複用', | ||||||
|     enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate |     enableReuseOfPort: `${common.enable} 端口複用來為每個worker生成監聽套接字`, | ||||||
|     forceHttps: `強制 ${common.https}`, |     forceHttps: `強制 ${common.https}`, | ||||||
|     hsts: 'HSTS', |     hsts: 'HSTS', | ||||||
|     enableStrictTransportSecurity: `${common.enable}HSTS(強制用戶端、瀏覽器等使用HTTPS與服務器創建連結),需要HTTPS連接`, |     enableStrictTransportSecurity: `${common.enable}HSTS(強制用戶端、瀏覽器等使用HTTPS與服務器創建連結),需要HTTPS連接`, | ||||||
| @@ -42,9 +42,9 @@ export default { | |||||||
|     certificationType: '證書類型', |     certificationType: '證書類型', | ||||||
|     customCertificate: '本地證書', |     customCertificate: '本地證書', | ||||||
|     letsEncryptEmail: `${common.letsEncrypt} 郵箱`, |     letsEncryptEmail: `${common.letsEncrypt} 郵箱`, | ||||||
|     http3IsANonStandardModule: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate |     http3IsANonStandardModule: 'HTTP/3 並不是標準的 NGINX 模塊, 請查看 ', | ||||||
|     http3NginxQuicReadme: 'NGINX QUIC readme', // TODO: translate |     http3NginxQuicReadme: 'NGINX QUIC 文檔', | ||||||
|     http3OrThe: ' or the ', // TODO: translate |     http3OrThe: ' 或者 ',  | ||||||
|     http3CloudflareQuicheProject: 'Cloudflare quiche project', // TODO: translate |     http3CloudflareQuicheProject: 'Cloudflare quiche 項目', | ||||||
|     http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', // TODO: translate |     http3ForBuildingNginxWithHttp3: ' 來構建支持 HTTP/3 的 NGINX !', | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -31,9 +31,9 @@ export default { | |||||||
|     enableGzipCompression: `${common.enable}Gzip壓縮`, |     enableGzipCompression: `${common.enable}Gzip壓縮`, | ||||||
|     brotliCompression: 'Brotli 壓縮', |     brotliCompression: 'Brotli 壓縮', | ||||||
|     enableBrotliCompression: `${common.enable}brotli壓縮`, |     enableBrotliCompression: `${common.enable}brotli壓縮`, | ||||||
|     brotliIsANonStandardModule: 'Brotli isn\'t a standard NGINX module, check the ', // TODO: translate |     brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模塊, 前往 ', | ||||||
|     brotliGoogleNgxBrotliProject: 'Google ngx_brotli project', // TODO: translate |     brotliGoogleNgxBrotliProject: 'Google ngx_brotli 項目', | ||||||
|     brotliForBuildingNginxWithBrotli: ' for how to build NGINX with Brotli!', // TODO: translate |     brotliForBuildingNginxWithBrotli: ' 構建支持 Brotli 的 NGINX!', | ||||||
|     expirationForAssets: '資源有效期', |     expirationForAssets: '資源有效期', | ||||||
|     expirationForMedia: '媒體資源有效期', |     expirationForMedia: '媒體資源有效期', | ||||||
|     expirationForSvgs: 'SVGs有效期', |     expirationForSvgs: 'SVGs有效期', | ||||||
|   | |||||||
| @@ -26,11 +26,11 @@ THE SOFTWARE. | |||||||
|  |  | ||||||
| import common from '../../common'; | import common from '../../common'; | ||||||
|  |  | ||||||
| const legacyXForwarded = 'Legacy X-Forwarded-* headers'; // TODO: translate | const legacyXForwarded = '傳統 X-Forwarded-* 標頭'; | ||||||
|  |  | ||||||
| export default { | export default { | ||||||
|     reverseProxyMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.reverseProxy}才能配寘全域${common.reverseProxy}設定。`, |     reverseProxyMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.reverseProxy}才能配寘全域${common.reverseProxy}設定。`, | ||||||
|     seconds: '秒', |     seconds: '秒', | ||||||
|     passOn: `${legacyXForwarded} passed on`, // TODO: translate |     passOn: `轉發 ${legacyXForwarded} `, | ||||||
|     remove: `${legacyXForwarded} actively removed`, // TODO: translate |     remove: `主動刪除 ${legacyXForwarded}`, | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user