diff --git a/src/nginxconfig/i18n/zh-tw/common.js b/src/nginxconfig/i18n/zh-tw/common.js index 808cc8f..3022866 100644 --- a/src/nginxconfig/i18n/zh-tw/common.js +++ b/src/nginxconfig/i18n/zh-tw/common.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,7 +26,7 @@ THE SOFTWARE. export default { back: '返回', - next: '下一個', + next: '下一步', enable: '啟用', php: 'PHP', ssl: 'SSL', @@ -40,9 +40,9 @@ export default { magento: 'Magento', joomla: 'Joomla', django: 'Django', - logging: '日誌記錄', - reverseProxy: '反向代理', - reverseProxyLower: '反向代理', + logging: '日誌', + reverseProxy: '反向 Proxy', + reverseProxyLower: '反向 Proxy', restrict: '限制', path: '路徑', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/app.js b/src/nginxconfig/i18n/zh-tw/templates/app.js index b514571..caa0c94 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/app.js +++ b/src/nginxconfig/i18n/zh-tw/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,13 +27,13 @@ THE SOFTWARE. import common from '../common'; export default { - title: `${common.nginx} 配置`, - description: `配置高效能、安全、穩定的${common.nginx}伺服器的最簡單方法。`, - singleColumnMode: '垂直模式', - splitColumnMode: '水平模式', - perWebsiteConfig: '網站配置', + title: `${common.nginx}Config`, + description: `設定高效能、安全、穩定的 ${common.nginx} 伺服器最簡單的方法。`, + singleColumnMode: '單欄模式', + splitColumnMode: '雙欄模式', + perWebsiteConfig: '網站設定', addSite: '新增網站', - globalConfig: '全域配置', - setup: '使用配置', - configFiles: '配置檔案', + globalConfig: '全域設定', + setup: '使用設定', + configFiles: '設定檔', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js b/src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js index a7cca39..67f4d51 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js +++ b/src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -25,6 +25,6 @@ THE SOFTWARE. */ export default { - wantToContributeChanges: '👋 想要申請新的功能,提出修改意見,或將該工具翻譯成新的語言?', - getInvolvedOnGitHub: '在GitHub上參與進來', + wantToContributeChanges: '👋 想要請求新功能,貢獻更動,或將本工具翻譯成新的語言嗎?', + getInvolvedOnGitHub: '在 GitHub 上共襄盛舉', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js b/src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js index 1a6c92b..6815096 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js +++ b/src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -25,6 +25,6 @@ THE SOFTWARE. */ export default { - lookingForAPlaceToDeploy: '👋 在尋找部署新配置的地方?', - tryOutDigitalOceansDroplet: '試用用於Nginx的DigitalOcean的LEMP Droplet。', + lookingForAPlaceToDeploy: '👋 在尋找部署新設定的地方?', + tryOutDigitalOceansDroplet: '試試 DigitalOcean 推出的 LEMP Droplet,適用於 NGINX。', }; 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 c321e74..0f12e94 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,22 +27,22 @@ THE SOFTWARE. import common from '../../common'; export default { - enableEncryptedSslConnection: `${common.enable}加密的${common.ssl}連接`, + enableEncryptedSslConnection: `${common.enable}加密的 ${common.ssl} 連線`, http2: `${common.http}/2`, - enableHttp2Connections: `${common.enable} ${common.http}/2 連接`, + enableHttp2Connections: `${common.enable} ${common.http}/2 連線`, http3: `${common.http}/3`, - enableHttp3Connections: `${common.enable} ${common.http}/3 連接`, - forceHttps: `強制 ${common.https}`, + enableHttp3Connections: `${common.enable} ${common.http}/3 連線`, + forceHttps: `強制使用 ${common.https}`, hsts: 'HSTS', - 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 模組, 請查看 ', + enableStrictTransportSecurity: `${common.enable} HSTS(強制安全傳輸),需要 HTTPS 連線`, + enableIncludeSubDomains: `${common.enable} includeSubDomains 指令,所有子網域須啟用 HTTPS 連線`, + enablePreload: `${common.enable} preload 指令,強制瀏覽器使用 HTTPS 連線`, + certificationType: '憑證類型', + customCertificate: '自訂憑證', + letsEncryptEmail: `${common.letsEncrypt} 電子郵件地址`, + http3IsANonStandardModule: 'HTTP/3 並不是標準的 NGINX 模組,請查閱 ', http3NginxQuicReadme: 'NGINX QUIC 說明', http3OrThe: ' 或者 ', - http3CloudflareQuicheProject: 'Cloudflare quiche 項目', - http3ForBuildingNginxWithHttp3: ' 來構建支援 HTTP/3 的 NGINX !', + http3CloudflareQuicheProject: 'Cloudflare quiche 專案', + http3ForBuildingNginxWithHttp3: '以了解如何建置支援 HTTP/3 的 NGINX !', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js index 69a45fa..20c9c93 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,6 +27,6 @@ THE SOFTWARE. import common from '../../common'; export default { - byDomain: '在此網站', - enableForThisDomain: `為此網站${common.enable}`, + byDomain: '在此網域', + enableForThisDomain: `為此網域${common.enable}`, }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js index cb07e47..ad1a925 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -29,8 +29,8 @@ const onion = '洋蔥'; export default { onion, onionLocation: `${onion}位置`, - provideAnOnionLocationToSetOnionLocationHeader: '提供一個洋蔥位置地址,為您的網站設定洋葱協定頭。', - letsVisitorsKnownOnionServicesIsAvailable: '這可以讓訪問者知道你的網站的洋蔥服務版本可用於Tor瀏覽器。', - learnMoreAboutOnionServices: '瞭解有關洋葱服務的更多資訊', - onionLocationExpectedToEndWithOnion: '洋蔥位置地址通常以.onion結尾。', + provideAnOnionLocationToSetOnionLocationHeader: '提供一個洋蔥位址,來為您的網站設定 Onion-Location 標頭。', + letsVisitorsKnownOnionServicesIsAvailable: '這可以讓訪客知道您的網站有可用於 Tor 瀏覽器的洋蔥服務版本。', + learnMoreAboutOnionServices: '瞭解有關洋蔥服務的更多資訊', + onionLocationExpectedToEndWithOnion: '洋蔥位址通常以 .onion 結尾。', }; 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 e26fb45..4c80e89 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js @@ -27,31 +27,31 @@ THE SOFTWARE. import common from '../../common'; export default { - phpIsDisabled: `${common.php}已停用。`, - phpCannotBeEnabledWithReverseProxy: `${common.php}在啟用${common.reverseProxy}時無法啟用。`, - phpCannotBeEnabledWithPython: `${common.php}在啟用${common.python}時無法啟用。`, + phpIsDisabled: `${common.php} 已停用。`, + phpCannotBeEnabledWithReverseProxy: `${common.php} 無法與${common.reverseProxy} 同時啟用。`, + phpCannotBeEnabledWithPython: `${common.php} 無法與 ${common.python} 同時啟用。`, enablePhp: `${common.enable} ${common.php}`, wordPressRules: `${common.wordPress} 規則`, - enableWordPressRules: `${common.enable} ${common.wordPress}專屬規則`, + enableWordPressRules: `${common.enable} ${common.wordPress} 專屬規則`, drupalRules: `${common.drupal} 規則`, - enableDrupalRules: `${common.enable} ${common.drupal}專屬規則`, + enableDrupalRules: `${common.enable} ${common.drupal} 專屬規則`, magentoRules: `${common.magento} 規則`, - enableMagentoRules: `${common.enable} ${common.magento}專屬規則`, + enableMagentoRules: `${common.enable} ${common.magento} 專屬規則`, joomlaRules: `${common.joomla} 規則`, - enableJoomlaRules: `${common.enable} ${common.joomla}專屬規則`, - phpServer: `${common.php} 服務`, - phpBackupServer: `${common.php}備份伺服器`, + enableJoomlaRules: `${common.enable} ${common.joomla} 專屬規則`, + phpServer: `${common.php} 伺服器`, + phpBackupServer: `${common.php} 備份伺服器`, tcp: 'TCP', - hhvmSocket: 'HHVM socket', - php5Socket: '5.x socket', - php70Socket: '7.0 socket', - php71Socket: '7.1 socket', - php72Socket: '7.2 socket', - php73Socket: '7.3 socket', - php74Socket: '7.4 socket', - php80Socket: '8.0 socket', - php81Socket: '8.1 socket', - phpSocket: 'PHP socket', - custom: '自定義', + hhvmSocket: 'HHVM 通訊端', + php5Socket: '5.x 通訊端', + php70Socket: '7.0 通訊端', + php71Socket: '7.1 通訊端', + php72Socket: '7.2 通訊端', + php73Socket: '7.3 通訊端', + php74Socket: '7.4 通訊端', + php80Socket: '8.0 通訊端', + php81Socket: '8.1 通訊端', + phpSocket: 'PHP 通訊端', + 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 e12e4d0..b664efa 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,8 +26,8 @@ THE SOFTWARE. export default { presets: '預設', - itLooksLikeYouCustomisedTheConfig: '看起來您已經為這個網站定制了配置。選擇新的預設可能會重置或更改一些您已經定制的設定。', + itLooksLikeYouCustomisedTheConfig: '您似乎調整過此網域的設定。選擇新的預設可能會重置或更改一些您自訂的設定。', frontend: '前端', nodeJs: 'Node.js', - singlePageApplication: '單頁面應用', + singlePageApplication: 'SPA', }; 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 227f515..ce0c319 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,10 +27,10 @@ THE SOFTWARE. import common from '../../common'; export default { - pythonIsDisabled: `${common.python}已停用。`, - pythonCannotBeEnabledWithReverseProxy: `${common.python}在啟用${common.reverseProxy}時無法啟用。`, - pythonCannotBeEnabledWithPhp: `${common.python}在啟用${common.php}時無法啟用。`, + pythonIsDisabled: `${common.python} 已停用。`, + pythonCannotBeEnabledWithReverseProxy: `${common.python} 無法與${common.reverseProxy} 同時啟用。`, + pythonCannotBeEnabledWithPhp: `${common.python} 無法與 ${common.php} 同時啟用。`, enablePython: `${common.enable} ${common.python}`, djangoRules: `${common.django} 規則`, - enableDjangoRules: `${common.enable} ${common.django}專屬規則`, + enableDjangoRules: `${common.enable} ${common.django} 專屬規則`, }; 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 73b6c0b..80f0e54 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/restrict.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/restrict.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at 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 d23d4c2..41a8da2 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 @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,8 +27,8 @@ THE SOFTWARE. import common from '../../common'; export default { - reverseProxyIsDisabled: `${common.reverseProxy}已停用。`, - reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy}在啟用${common.php}時無法啟用。`, - reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy}在啟用${common.python}時無法啟用。`, - enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, + 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/domain_sections/routing.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js index 0b773e9..3e9fa74 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,9 +27,9 @@ THE SOFTWARE. import common from '../../common'; export default { - fallbackRouting: '回調路由', - fallbackRoutingPhpPath: `回調路由${common.php}路徑`, - legacyPhpRouting: `傳統${common.php}路由`, + fallbackRouting: '後援路由', + fallbackRoutingPhpPath: `後援路由 ${common.php} 路徑`, + legacyPhpRouting: `傳統 ${common.php} 路由`, enableLegacyRouting: `${common.enable}傳統路由`, routing: '路由設定', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js index 61d28b4..ae32eec 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -25,13 +25,13 @@ THE SOFTWARE. */ export default { - domain: '網站', - documentRoot: '運行目錄', - oneOrMoreOtherDomainsAreAlsoNamed: '發現了重復的域名', - thisWillCauseIssuesWithConfigGeneration: '這將導致生成配置出現問題。', - wwwSubdomain: 'www 子域名', - cdnSubdomain: 'CDN 子域名', - redirectSubdomains: '子域名重定向', + domain: '網域', + documentRoot: '檔案根目錄', + oneOrMoreOtherDomainsAreAlsoNamed: '發現了重複的網域', + thisWillCauseIssuesWithConfigGeneration: '產生設定時將發生錯誤。', + wwwSubdomain: 'www 子網域', + cdnSubdomain: 'CDN 子網域', + redirectSubdomains: '重新導向子網域', server: '服務', listen: '監聽', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/footer.js b/src/nginxconfig/i18n/zh-tw/templates/footer.js index 4501b1a..4efcaf9 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/footer.js +++ b/src/nginxconfig/i18n/zh-tw/templates/footer.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -25,14 +25,14 @@ THE SOFTWARE. */ export default { - backToTop: '返回頂部', - thisToolIs: '這個工具', - openSourceOnGitHub: '開源在GitHub上', - underThe: '是', + backToTop: '返回頁首', + thisToolIs: '本工具', + openSourceOnGitHub: '於 GitHub 上開源', + underThe: '並採用', mit: 'MIT', - license: '許可!', - weWelcomeFeedbackAndContributions: '我們歡迎您提供迴響和意見。', - originallyCreatedBy: '最初創建者', + license: '授權條款!', + weWelcomeFeedbackAndContributions: '我們歡迎您提供回饋和貢獻。', + originallyCreatedBy: '初始作者', balintSzekeres: 'Bálint Szekeres', maintainedBy: '維護者', digitalOcean: 'DigitalOcean', 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 7265da8..c41c9a2 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -32,10 +32,10 @@ const dockerfile = 'Dockerfile'; export default { docker, dockerfile, - dockerCompose: `${docker} 編排服務`, - applyDockerTweaks: `應用${docker}調整`, - 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`, + dockerCompose: `${docker} Compose`, + applyDockerTweaks: `套用 ${docker} 調校`, + applyDockerTweaksForNginx: `套用在 ${docker} 中執行 ${common.nginx} 所需的設定調校`, + applyDockerTweaksExplainer: `將 ${common.nginx} 使用者設為 nginx,將 pid 設為/var/run/nginx.pid`, + includeDockerfile: `產生 ${dockerfile} 以使用 ${docker} 來執行 ${common.nginx}`, + includeDockerCompose: `產生 docker-compose 以使用 docker-compose 來執行 ${common.nginx}`, }; 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 c630841..fa4a043 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -31,22 +31,22 @@ const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { - sslProfile: `${common.ssl}配置`, - httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.https}才能配置全域${common.https}設定。`, + sslProfile: `${common.ssl} 設定檔`, + httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用 ${common.https} 才能調整全域 ${common.https} 設定。`, portReuse: '連接埠複用', - enableReuseOfPort: `${common.enable} 連接埠複用來為每個worker生成監聽套接字`, - ocspDnsResolvers: 'OCSP DNS解析器', - cloudflareResolver: 'Cloudflare解析器', - googlePublicDns: '穀歌公共DNS', + enableReuseOfPort: `${common.enable}連接埠複用來為每個 worker 產生監聽通訊端`, + ocspDnsResolvers: 'OCSP DNS 解析器', + cloudflareResolver: 'Cloudflare 解析器', + googlePublicDns: 'Google 公共 DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', - letsEncryptWebroot: `${common.letsEncrypt} Web根目錄`, - letsEncryptCertRoot: `${common.letsEncrypt}證書目錄`, + letsEncryptWebroot: `${common.letsEncrypt} Web 根目錄`, + letsEncryptCertRoot: `${common.letsEncrypt} 憑證目錄`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, - ipv4Only: `${ipv4}`, - ipv6Only: `${ipv6}`, + ipv4Only: `僅 ${ipv4}`, + ipv6Only: `僅 ${ipv6}`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; 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 82979ef..a05d022 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,9 +27,9 @@ THE SOFTWARE. import common from '../../common'; export default { - enableFileNotFoundErrorLogging: `${common.enable}“檔案未找到”錯誤日誌:`, + 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 5fabec7..d21e4cb 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -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 812a739..024d204 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -28,15 +28,15 @@ import common from '../../common'; export default { gzipCompression: 'Gzip 壓縮', - enableGzipCompression: `${common.enable}Gzip壓縮`, + enableGzipCompression: `${common.enable} Gzip 壓縮`, brotliCompression: 'Brotli 壓縮', - enableBrotliCompression: `${common.enable}brotli壓縮`, - brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模組, 前往 ', - brotliGoogleNgxBrotliProject: 'Google ngx_brotli 項目', - brotliForBuildingNginxWithBrotli: ' 構建支援 Brotli 的 NGINX!', + enableBrotliCompression: `${common.enable} brotli 壓縮`, + brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模組,請參考 ', + brotliGoogleNgxBrotliProject: 'Google 的 ngx_brotli 專案', + brotliForBuildingNginxWithBrotli: ' 來了解如何建置支援 Brotli 的 NGINX!', expirationForAssets: '資源有效期', expirationForMedia: '媒體資源有效期', - expirationForSvgs: 'SVGs有效期', + expirationForSvgs: 'SVG 有效期', expirationForFonts: '字體有效期', performance: '效能', }; 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 11f4867..8c683f5 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -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 e6eb4b8..ed49c8d 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 @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -29,8 +29,8 @@ 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}`, + 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 0c8f257..5a1df08 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,6 +27,6 @@ THE SOFTWARE. import common from '../../common'; export default { - whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `當使用${common.wordPress}時, script-src 'self' 'unsafe-inline' 'unsafe-eval';經常需要在內容安全策略中,以允許管理面板的功能正確。`, - security: '安全', + whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `使用 ${common.wordPress} 時,通常需在 CSP 中加入 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 6a752c4..e581305 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -32,22 +32,22 @@ export default { symlinkVhost: '符號連結 vhost', enableSymLinksFrom: `${common.enable}符號連結`, to: '到', - shareConfiguration: '分享配置', - resetConfiguration: '重置配置', - resetGlobalConfig: '重置全域配置', - resetAllDomains: '重置所有網站', - resetAllDomainsConfig: '重置所有網站', - removeAllDomains: '删除所有網站', - resetDomainConfig: '重置網站配置', - removeDomain: '删除網站', - yesImSure: '好的', + shareConfiguration: '分享設定', + resetConfiguration: '重置設定', + resetGlobalConfig: '重置全域設定', + resetAllDomains: '重置所有網域', + removeAllDomains: '移除所有網域', + resetAllDomainsConfig: '重置所有網域', + resetDomainConfig: '重置網域設定', + removeDomain: '移除網域', + yesImSure: '是,我確定', noCancel: '取消', tools: '工具', - resetGlobalConfigBody: '您確定要重置全域配置部分中的所有配置選項嗎?', - resetAllDomainsConfigBody: '您確定要重置所有網站的配置嗎?', - removeAllDomainsBody: '您確定要删除所有網站的配置嗎?', + resetGlobalConfigBody: '您確定要重置全域設定中的所有設定嗎?', + resetAllDomainsConfigBody: '您確定要重置所有網域的設定嗎?', + removeAllDomainsBody: '您確定要移除所有網域的設定嗎?', areYouSureYouWantToResetAllConfigurationOptionsForThe: '您確定要重置', - domain: '網站的所有配置選項嗎?', - areYouSureYouWantToRemoveThe: '你確定要删除', - domainConfiguration: '的網站配置嗎?', + domain: '網域的所有設定嗎?', + areYouSureYouWantToRemoveThe: '您確定要移除', + domainConfiguration: '的網域設定嗎?', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup.js b/src/nginxconfig/i18n/zh-tw/templates/setup.js index 5c0401d..351693e 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,5 +26,5 @@ THE SOFTWARE. export default { downloadConfig: '下載配置', - copyBase64: '複製Base64', + 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 fdcac10..8e62d32 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -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} 無須設定。`, 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 8359ba0..e726f8e 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,14 +27,14 @@ THE SOFTWARE. import common from '../../common'; export default { - downloadTheGeneratedConfig: '下載 產生的配置:', - andUploadItToYourServers: '然後上傳到你的伺服器的', - directory: '目錄.', - or: '或, ', - copyBase64StringOfCompressedConfig: '複製壓縮配置的base64字串', - pasteItInYourServersCommandLineAndExecute: ',將其粘貼到伺服器的命令列並執行。', - navigateToYourNginxConfigurationDirectoryOnYourServer: `進入你的${common.nginx}伺服器上的配置資料夾:`, - createABackupOfYourCurrentNginxConfiguration: `創建當前${common.nginx}配置的備份:`, - extractTheNewCompressedConfigurationArchiveUsingTar: '使用tar解壓新的壓縮配置', + downloadTheGeneratedConfig: '下載產生的設定:', + andUploadItToYourServers: '然後上傳到您的伺服器的', + directory: '目錄。', + or: '或', + 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 7a71fbe..f4efdde 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 @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,7 +27,7 @@ THE SOFTWARE. import common from '../../common'; export default { - letsGoLive: '讓我們開始吧!', - reloadNginxToLoadInYourNewConfiguration: `重新加載${common.nginx}以載入新的配置:`, + letsGoLive: '好戲上場!', + 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 db2c1d4..bf7d448 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,8 +27,8 @@ THE SOFTWARE. import common from '../../common'; export default { - generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的伺服器上運行此命令生成Diffie-Hellman keys:', - createACommonAcmeChallengeDirectoryForLetsEncrypt: `創建一個通用的ACME-challenge目錄(用於 ${common.letsEncrypt}):`, - noAdditionalStepsAreNeededToSetUpSslForNginx: `無需任何操作,即可為您的${common.nginx}完成${common.ssl}配置`, + generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的伺服器上執行此命令來產生迪菲-赫爾曼密鑰:', + createACommonAcmeChallengeDirectoryForLetsEncrypt: `建立一個通用的 ACME-challenge 目錄(用於 ${common.letsEncrypt}):`, + noAdditionalStepsAreNeededToSetUpSslForNginx: `您的 ${common.nginx} 設定已完成 ${common.ssl} 設定,無須任何操作。`, sslInit: `${common.ssl} 初始化`, };