diff --git a/src/nginxconfig/i18n/zh-tw/templates/app.js b/src/nginxconfig/i18n/zh-tw/templates/app.js index 6989ca5..b514571 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/app.js +++ b/src/nginxconfig/i18n/zh-tw/templates/app.js @@ -27,13 +27,13 @@ THE SOFTWARE. import common from '../common'; export default { - title: `${common.nginx} 配寘`, - description: `配寘高性能、安全、穩定的${common.nginx}服務器的最簡單方法。`, + title: `${common.nginx} 配置`, + description: `配置高效能、安全、穩定的${common.nginx}伺服器的最簡單方法。`, singleColumnMode: '垂直模式', - splitColumnMode: '水准模式', - perWebsiteConfig: '網站配寘', - addSite: '添加網站', - globalConfig: '全域配寘', - setup: '使用配寘', - configFiles: '配寘檔案', + splitColumnMode: '水平模式', + perWebsiteConfig: '網站配置', + addSite: '新增網站', + globalConfig: '全域配置', + setup: '使用配置', + configFiles: '配置檔案', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js index 2733638..c321e74 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js @@ -34,15 +34,15 @@ export default { enableHttp3Connections: `${common.enable} ${common.http}/3 連接`, forceHttps: `強制 ${common.https}`, hsts: 'HSTS', - enableStrictTransportSecurity: `${common.enable}HSTS(強制用戶端、瀏覽器等使用HTTPS與服務器創建連結),需要HTTPS連接`, + enableStrictTransportSecurity: `${common.enable}HSTS(強制用戶端、瀏覽器等使用HTTPS與伺服器建立連結),需要HTTPS連接`, enableIncludeSubDomains: `${common.enable}includeSubDomains指令,HSTS對所有子域生效`, enablePreload: `${common.enable}preload指令,強制用戶端只可以使用https連接`, certificationType: '證書類型', customCertificate: '本地證書', letsEncryptEmail: `${common.letsEncrypt} 郵箱`, - http3IsANonStandardModule: 'HTTP/3 並不是標準的 NGINX 模塊, 請查看 ', - http3NginxQuicReadme: 'NGINX QUIC 文檔', + http3IsANonStandardModule: 'HTTP/3 並不是標準的 NGINX 模組, 請查看 ', + http3NginxQuicReadme: 'NGINX QUIC 說明', http3OrThe: ' 或者 ', http3CloudflareQuicheProject: 'Cloudflare quiche 項目', - http3ForBuildingNginxWithHttp3: ' 來構建支持 HTTP/3 的 NGINX !', + http3ForBuildingNginxWithHttp3: ' 來構建支援 HTTP/3 的 NGINX !', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js index dbb1106..c42b712 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js @@ -27,7 +27,7 @@ THE SOFTWARE. import common from '../../common'; export default { - phpIsDisabled: `${common.php}已禁用。`, + phpIsDisabled: `${common.php}已停用。`, phpCannotBeEnabledWithReverseProxy: `${common.php}在啟用${common.reverseProxy}時無法啟用。`, phpCannotBeEnabledWithPython: `${common.php}在啟用${common.python}時無法啟用。`, enablePhp: `${common.enable} ${common.php}`, @@ -40,7 +40,7 @@ export default { joomlaRules: `${common.joomla} 規則`, enableJoomlaRules: `${common.enable} ${common.joomla}專屬規則`, phpServer: `${common.php} 服務`, - phpBackupServer: `${common.php}備份服務器`, + phpBackupServer: `${common.php}備份伺服器`, tcp: 'TCP', hhvmSocket: 'HHVM socket', php5Socket: '5.x socket', @@ -51,6 +51,6 @@ export default { php74Socket: '7.4 socket', php80Socket: '8.0 socket', phpSocket: 'PHP socket', - custom: '自定义', - disabled: '禁用', + custom: '自定義', + disabled: '停用', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js index d0ec29c..e12e4d0 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js @@ -26,7 +26,7 @@ THE SOFTWARE. export default { presets: '預設', - itLooksLikeYouCustomisedTheConfig: '看起來您已經為這個網站定制了配寘。選擇新的預設可能會重置或更改一些您已經定制的設定。', + itLooksLikeYouCustomisedTheConfig: '看起來您已經為這個網站定制了配置。選擇新的預設可能會重置或更改一些您已經定制的設定。', frontend: '前端', nodeJs: 'Node.js', singlePageApplication: '單頁面應用', diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js index 4f6ae29..227f515 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js @@ -27,7 +27,7 @@ THE SOFTWARE. import common from '../../common'; export default { - pythonIsDisabled: `${common.python}已禁用。`, + pythonIsDisabled: `${common.python}已停用。`, pythonCannotBeEnabledWithReverseProxy: `${common.python}在啟用${common.reverseProxy}時無法啟用。`, pythonCannotBeEnabledWithPhp: `${common.python}在啟用${common.php}時無法啟用。`, enablePython: `${common.enable} ${common.python}`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/restrict.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/restrict.js index 233e136..73b6c0b 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/restrict.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/restrict.js @@ -25,6 +25,6 @@ THE SOFTWARE. */ export default { - disableForThisDomain: '在此網站上禁用', + disableForThisDomain: '在此網站上停用', responseCode: '響應程式碼', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js index 5fe6dd3..d23d4c2 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js @@ -27,7 +27,7 @@ THE SOFTWARE. import common from '../../common'; export default { - reverseProxyIsDisabled: `${common.reverseProxy}已禁用。`, + reverseProxyIsDisabled: `${common.reverseProxy}已停用。`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy}在啟用${common.php}時無法啟用。`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy}在啟用${common.python}時無法啟用。`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js index 280f8aa..7265da8 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js @@ -34,7 +34,7 @@ export default { dockerfile, dockerCompose: `${docker} 編排服務`, applyDockerTweaks: `應用${docker}調整`, - applyDockerTweaksForNginx: `為使用${docker}運行${common.nginx}進行配寘調整。`, + applyDockerTweaksForNginx: `為使用${docker}運行${common.nginx}進行配置調整。`, applyDockerTweaksExplainer: `將${common.nginx}用戶更新為nginx,將pid更新為/var/run/nginx.pid`, includeDockerfile: `生成${dockerfile}運行${common.nginx}與${docker}`, includeDockerCompose: `生成docker-compose.yaml來運行${common.nginx} docker-compose`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js index 0e7430d..c630841 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js @@ -31,10 +31,10 @@ const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { - sslProfile: `${common.ssl}配寘`, - httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.https}才能配寘全域${common.https}設定。`, - portReuse: '端口複用', - enableReuseOfPort: `${common.enable} 端口複用來為每個worker生成監聽套接字`, + sslProfile: `${common.ssl}配置`, + httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.https}才能配置全域${common.https}設定。`, + portReuse: '連接埠複用', + enableReuseOfPort: `${common.enable} 連接埠複用來為每個worker生成監聽套接字`, ocspDnsResolvers: 'OCSP DNS解析器', cloudflareResolver: 'Cloudflare解析器', googlePublicDns: '穀歌公共DNS', diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js index 25a101c..82979ef 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js @@ -29,7 +29,7 @@ import common from '../../common'; export default { enableFileNotFoundErrorLogging: `${common.enable}“檔案未找到”錯誤日誌:`, logformat: 'log_format', - enableCloudflare: '將Cloudflare請求頭部添加到默認日誌格式', + enableCloudflare: '將Cloudflare請求頭部添加到預設日誌格式', cfRay: 'CF-Ray', cfConnectingIp: 'CF-Connecting-IP', xForwardedFor: 'X-Forwarded-For', diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js index 25a0596..5fabec7 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js @@ -27,6 +27,6 @@ THE SOFTWARE. import common from '../../common'; export default { - nginxConfigDirectory: `${common.nginx}配寘目錄`, + nginxConfigDirectory: `${common.nginx}配置目錄`, mb: 'MB', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js index d20f34b..812a739 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js @@ -31,9 +31,9 @@ export default { enableGzipCompression: `${common.enable}Gzip壓縮`, brotliCompression: 'Brotli 壓縮', enableBrotliCompression: `${common.enable}brotli壓縮`, - brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模塊, 前往 ', + brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模組, 前往 ', brotliGoogleNgxBrotliProject: 'Google ngx_brotli 項目', - brotliForBuildingNginxWithBrotli: ' 構建支持 Brotli 的 NGINX!', + brotliForBuildingNginxWithBrotli: ' 構建支援 Brotli 的 NGINX!', expirationForAssets: '資源有效期', expirationForMedia: '媒體資源有效期', expirationForSvgs: 'SVGs有效期', diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js index cefa7d1..11f4867 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js @@ -28,5 +28,5 @@ import common from '../../common'; export default { pythonServer: `${common.python} 服務`, - pythonMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.python}才能配寘全域${common.python}設定。`, + pythonMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.python}才能配置全域${common.python}設定。`, }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js index ac1f4d7..e6eb4b8 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js @@ -29,7 +29,7 @@ import common from '../../common'; const legacyXForwarded = '傳統 X-Forwarded-* 標頭'; export default { - reverseProxyMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.reverseProxy}才能配寘全域${common.reverseProxy}設定。`, + reverseProxyMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.reverseProxy}才能配置全域${common.reverseProxy}設定。`, seconds: '秒', passOn: `轉發 ${legacyXForwarded} `, remove: `主動刪除 ${legacyXForwarded}`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js index fa50e2b..0c8f257 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js @@ -27,6 +27,6 @@ THE SOFTWARE. import common from '../../common'; export default { - whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `當使用${common.wordPress}時,, script-src 'self' 'unsafe-inline' 'unsafe-eval';經常需要在內容安全策略中,以允許管理面板的功能正確。`, + whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `當使用${common.wordPress}時, script-src 'self' 'unsafe-inline' 'unsafe-eval';經常需要在內容安全策略中,以允許管理面板的功能正確。`, security: '安全', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js index a14c040..6a752c4 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js @@ -32,22 +32,22 @@ export default { symlinkVhost: '符號連結 vhost', enableSymLinksFrom: `${common.enable}符號連結`, to: '到', - shareConfiguration: '分享配寘', - resetConfiguration: '重置配寘', - resetGlobalConfig: '重置全域配寘', + shareConfiguration: '分享配置', + resetConfiguration: '重置配置', + resetGlobalConfig: '重置全域配置', resetAllDomains: '重置所有網站', resetAllDomainsConfig: '重置所有網站', removeAllDomains: '删除所有網站', - resetDomainConfig: '重置網站配寘', + resetDomainConfig: '重置網站配置', removeDomain: '删除網站', yesImSure: '好的', noCancel: '取消', tools: '工具', - resetGlobalConfigBody: '您確定要重置全域配寘部分中的所有配置選項嗎?', - resetAllDomainsConfigBody: '您確定要重置所有網站的配寘嗎?', - removeAllDomainsBody: '您確定要删除所有網站的配寘嗎?', + resetGlobalConfigBody: '您確定要重置全域配置部分中的所有配置選項嗎?', + resetAllDomainsConfigBody: '您確定要重置所有網站的配置嗎?', + removeAllDomainsBody: '您確定要删除所有網站的配置嗎?', areYouSureYouWantToResetAllConfigurationOptionsForThe: '您確定要重置', domain: '網站的所有配置選項嗎?', areYouSureYouWantToRemoveThe: '你確定要删除', - domainConfiguration: '的網站配寘嗎?', + domainConfiguration: '的網站配置嗎?', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup.js b/src/nginxconfig/i18n/zh-tw/templates/setup.js index 18f182f..5c0401d 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup.js @@ -25,6 +25,6 @@ THE SOFTWARE. */ export default { - downloadConfig: '下載配寘', + downloadConfig: '下載配置', copyBase64: '複製Base64', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js index de3b604..fdcac10 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js @@ -29,11 +29,11 @@ import common from '../../common'; const certbot = 'Certbot'; export default { - commentOutSslDirectivesInConfiguration: `注釋掉配寘中的${common.ssl}相關指令:`, - reloadYourNginxServer: `重新加載你的${common.nginx}服務器:`, - obtainSslCertificatesFromLetsEncrypt: `使用${certbot}從${common.letsEncrypt}獲得${common.ssl}證書:`, - uncommentSslDirectivesInConfiguration: `在配寘中取消注釋${common.ssl}相關指令:`, - configureCertbotToReloadNginxOnCertificateRenewal: `配寘${certbot},當${common.nginx}成功更新證書時重新加載:`, - certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot}不需要為您的${common.nginx}配寘進行設定。 `, + commentOutSslDirectivesInConfiguration: `註解掉配置中的${common.ssl}相關指令:`, + reloadYourNginxServer: `重新載入你的${common.nginx}伺服器:`, + obtainSslCertificatesFromLetsEncrypt: `使用${certbot}從${common.letsEncrypt}取得${common.ssl}證書:`, + uncommentSslDirectivesInConfiguration: `在配置中取消註解${common.ssl}相關指令:`, + configureCertbotToReloadNginxOnCertificateRenewal: `配置${certbot},當${common.nginx}成功更新證書時重新載入:`, + certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot}不需要為您的${common.nginx}配置進行設定。 `, certbot, }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js index ba8677d..8359ba0 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js @@ -27,14 +27,14 @@ THE SOFTWARE. import common from '../../common'; export default { - downloadTheGeneratedConfig: '下載 生成的配寘:', - andUploadItToYourServers: '然後上傳到你的服務器的', + downloadTheGeneratedConfig: '下載 產生的配置:', + andUploadItToYourServers: '然後上傳到你的伺服器的', directory: '目錄.', or: '或, ', - copyBase64StringOfCompressedConfig: '複製壓縮配寘的base64字串', - pasteItInYourServersCommandLineAndExecute: ',將其粘貼到服務器的命令列並執行。', - navigateToYourNginxConfigurationDirectoryOnYourServer: `進入你的${common.nginx}服務器上的配寘目錄:`, - createABackupOfYourCurrentNginxConfiguration: `創建當前${common.nginx}配寘的備份:`, - extractTheNewCompressedConfigurationArchiveUsingTar: '使用tar解壓新的壓縮配寘', + copyBase64StringOfCompressedConfig: '複製壓縮配置的base64字串', + pasteItInYourServersCommandLineAndExecute: ',將其粘貼到伺服器的命令列並執行。', + navigateToYourNginxConfigurationDirectoryOnYourServer: `進入你的${common.nginx}伺服器上的配置資料夾:`, + createABackupOfYourCurrentNginxConfiguration: `創建當前${common.nginx}配置的備份:`, + extractTheNewCompressedConfigurationArchiveUsingTar: '使用tar解壓新的壓縮配置', download: '下載', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js index 52d1aff..7a71fbe 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js @@ -28,6 +28,6 @@ import common from '../../common'; export default { letsGoLive: '讓我們開始吧!', - reloadNginxToLoadInYourNewConfiguration: `重新加載${common.nginx}以載入新的配寘:`, + reloadNginxToLoadInYourNewConfiguration: `重新加載${common.nginx}以載入新的配置:`, goLive: '上線!', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js index 83e978a..db2c1d4 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js @@ -27,8 +27,8 @@ THE SOFTWARE. import common from '../../common'; export default { - generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的服務器上運行此命令生成Diffie-Hellman keys:', + generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的伺服器上運行此命令生成Diffie-Hellman keys:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `創建一個通用的ACME-challenge目錄(用於 ${common.letsEncrypt}):`, - noAdditionalStepsAreNeededToSetUpSslForNginx: `無需任何操作,即可為您的${common.nginx}完成${common.ssl}配寘`, + noAdditionalStepsAreNeededToSetUpSslForNginx: `無需任何操作,即可為您的${common.nginx}完成${common.ssl}配置`, sslInit: `${common.ssl} 初始化`, };