From dd423eb0ba179fc471f93896159494bdddcd042d Mon Sep 17 00:00:00 2001 From: SiderealArt Date: Mon, 13 Jun 2022 10:58:04 +0800 Subject: [PATCH] commit --- src/nginxconfig/i18n/zh-tw/common.js | 8 ++-- src/nginxconfig/i18n/zh-tw/templates/app.js | 16 ++++---- .../zh-tw/templates/callouts/contribute.js | 4 +- .../i18n/zh-tw/templates/callouts/droplet.js | 4 +- .../zh-tw/templates/domain_sections/https.js | 18 ++++----- .../templates/domain_sections/logging.js | 4 +- .../zh-tw/templates/domain_sections/onion.js | 8 ++-- .../zh-tw/templates/domain_sections/php.js | 38 +++++++++---------- .../templates/domain_sections/presets.js | 2 +- .../zh-tw/templates/domain_sections/python.js | 8 ++-- .../domain_sections/reverse_proxy.js | 8 ++-- .../templates/domain_sections/routing.js | 6 +-- .../zh-tw/templates/domain_sections/server.js | 2 +- .../i18n/zh-tw/templates/footer.js | 14 +++---- .../zh-tw/templates/global_sections/docker.js | 4 +- .../zh-tw/templates/global_sections/https.js | 6 +-- .../templates/global_sections/logging.js | 2 +- .../zh-tw/templates/global_sections/nginx.js | 2 +- .../templates/global_sections/performance.js | 4 +- .../global_sections/reverse_proxy.js | 6 +-- .../zh-tw/templates/global_sections/tools.js | 2 +- src/nginxconfig/i18n/zh-tw/templates/setup.js | 2 +- .../zh-tw/templates/setup_sections/certbot.js | 2 +- .../templates/setup_sections/download.js | 8 ++-- .../zh-tw/templates/setup_sections/go_live.js | 4 +- 25 files changed, 91 insertions(+), 91 deletions(-) diff --git a/src/nginxconfig/i18n/zh-tw/common.js b/src/nginxconfig/i18n/zh-tw/common.js index 808cc8f..1a8653c 100644 --- a/src/nginxconfig/i18n/zh-tw/common.js +++ b/src/nginxconfig/i18n/zh-tw/common.js @@ -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..124979d 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}伺服器的最簡單方法。`, - singleColumnMode: '垂直模式', - splitColumnMode: '水平模式', - perWebsiteConfig: '網站配置', + title: `${common.nginx} 設定`, + 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..fbcc27e 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js +++ b/src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js @@ -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..26e46f8 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js +++ b/src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js @@ -25,6 +25,6 @@ THE SOFTWARE. */ export default { - lookingForAPlaceToDeploy: '👋 在尋找部署新配置的地方?', - tryOutDigitalOceansDroplet: '試用用於Nginx的DigitalOcean的LEMP Droplet。', + lookingForAPlaceToDeploy: '👋 在尋找部署新設定的地方?', + tryOutDigitalOceansDroplet: '試試用於 Nginx 的 DigitalOcean 的 LEMP Droplet。', }; 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..194dc28 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js @@ -27,19 +27,19 @@ 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連接`, + enableStrictTransportSecurity: `${common.enable}HSTS(強制用戶端、瀏覽器等使用HTTPS與伺服器建立連結),需要HTTPS連線`, enableIncludeSubDomains: `${common.enable}includeSubDomains指令,HSTS對所有子域生效`, - enablePreload: `${common.enable}preload指令,強制用戶端只可以使用https連接`, - certificationType: '證書類型', - customCertificate: '本地證書', - letsEncryptEmail: `${common.letsEncrypt} 郵箱`, + enablePreload: `${common.enable}preload指令,強制用戶端只可以使用https連線`, + certificationType: '憑證類型', + customCertificate: '自訂憑證', + letsEncryptEmail: `${common.letsEncrypt} 電子郵件地址`, http3IsANonStandardModule: 'HTTP/3 並不是標準的 NGINX 模組, 請查看 ', http3NginxQuicReadme: 'NGINX QUIC 說明', http3OrThe: ' 或者 ', 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..a2a10c2 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js @@ -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..827d67f 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js @@ -29,8 +29,8 @@ const onion = '洋蔥'; export default { onion, onionLocation: `${onion}位置`, - provideAnOnionLocationToSetOnionLocationHeader: '提供一個洋蔥位置地址,為您的網站設定洋葱協定頭。', - letsVisitorsKnownOnionServicesIsAvailable: '這可以讓訪問者知道你的網站的洋蔥服務版本可用於Tor瀏覽器。', - learnMoreAboutOnionServices: '瞭解有關洋葱服務的更多資訊', - onionLocationExpectedToEndWithOnion: '洋蔥位置地址通常以.onion結尾。', + provideAnOnionLocationToSetOnionLocationHeader: '提供一個洋蔥位置地址,為您的網站設定洋蔥協定頭。', + 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..af788b9 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}專屬規則`, + enableJoomlaRules: `${common.enable} ${common.joomla} 專屬規則`, phpServer: `${common.php} 服務`, - phpBackupServer: `${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..3bd18bf 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js @@ -29,5 +29,5 @@ export default { 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..7063c42 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js @@ -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/reverse_proxy.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js index d23d4c2..e818322 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,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..366cf8d 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js @@ -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..9dc3b78 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js @@ -27,7 +27,7 @@ THE SOFTWARE. export default { domain: '網站', documentRoot: '運行目錄', - oneOrMoreOtherDomainsAreAlsoNamed: '發現了重復的域名', + oneOrMoreOtherDomainsAreAlsoNamed: '發現了重複的域名', thisWillCauseIssuesWithConfigGeneration: '這將導致生成配置出現問題。', wwwSubdomain: 'www 子域名', cdnSubdomain: 'CDN 子域名', diff --git a/src/nginxconfig/i18n/zh-tw/templates/footer.js b/src/nginxconfig/i18n/zh-tw/templates/footer.js index 4501b1a..4682b1f 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/footer.js +++ b/src/nginxconfig/i18n/zh-tw/templates/footer.js @@ -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..a75512b 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js @@ -33,8 +33,8 @@ export default { docker, dockerfile, dockerCompose: `${docker} 編排服務`, - applyDockerTweaks: `應用${docker}調整`, - applyDockerTweaksForNginx: `為使用${docker}運行${common.nginx}進行配置調整。`, + 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`, 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..4e2f0aa 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js @@ -31,18 +31,18 @@ const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { - sslProfile: `${common.ssl}配置`, + sslProfile: `${common.ssl} 配置`, httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.https}才能配置全域${common.https}設定。`, portReuse: '連接埠複用', enableReuseOfPort: `${common.enable} 連接埠複用來為每個worker生成監聽套接字`, ocspDnsResolvers: 'OCSP DNS解析器', cloudflareResolver: 'Cloudflare解析器', - googlePublicDns: '穀歌公共DNS', + googlePublicDns: 'Google 公共 DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} Web根目錄`, - letsEncryptCertRoot: `${common.letsEncrypt}證書目錄`, + letsEncryptCertRoot: `${common.letsEncrypt} 憑證目錄`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, 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..81aa4e6 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 5fabec7..0d821c7 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 812a739..c7ddf5b 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js @@ -28,9 +28,9 @@ import common from '../../common'; export default { gzipCompression: 'Gzip 壓縮', - enableGzipCompression: `${common.enable}Gzip壓縮`, + enableGzipCompression: `${common.enable} Gzip 壓縮`, brotliCompression: 'Brotli 壓縮', - enableBrotliCompression: `${common.enable}brotli壓縮`, + enableBrotliCompression: `${common.enable} brotli 壓縮`, brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模組, 前往 ', brotliGoogleNgxBrotliProject: 'Google ngx_brotli 項目', brotliForBuildingNginxWithBrotli: ' 構建支援 Brotli 的 NGINX!', 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..7243215 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,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/tools.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js index 6a752c4..2ddc2d6 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js @@ -48,6 +48,6 @@ export default { removeAllDomainsBody: '您確定要删除所有網站的配置嗎?', areYouSureYouWantToResetAllConfigurationOptionsForThe: '您確定要重置', domain: '網站的所有配置選項嗎?', - areYouSureYouWantToRemoveThe: '你確定要删除', + areYouSureYouWantToRemoveThe: '您確定要删除', domainConfiguration: '的網站配置嗎?', }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup.js b/src/nginxconfig/i18n/zh-tw/templates/setup.js index 5c0401d..c26901d 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup.js @@ -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..5cf8f39 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js @@ -30,7 +30,7 @@ const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `註解掉配置中的${common.ssl}相關指令:`, - reloadYourNginxServer: `重新載入你的${common.nginx}伺服器:`, + reloadYourNginxServer: `重新載入您的${common.nginx}伺服器:`, obtainSslCertificatesFromLetsEncrypt: `使用${certbot}從${common.letsEncrypt}取得${common.ssl}證書:`, uncommentSslDirectivesInConfiguration: `在配置中取消註解${common.ssl}相關指令:`, configureCertbotToReloadNginxOnCertificateRenewal: `配置${certbot},當${common.nginx}成功更新證書時重新載入:`, 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..f50c680 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js @@ -28,12 +28,12 @@ import common from '../../common'; export default { downloadTheGeneratedConfig: '下載 產生的配置:', - andUploadItToYourServers: '然後上傳到你的伺服器的', - directory: '目錄.', - or: '或, ', + andUploadItToYourServers: '然後上傳到您的伺服器的', + directory: '目錄。', + or: '或', copyBase64StringOfCompressedConfig: '複製壓縮配置的base64字串', pasteItInYourServersCommandLineAndExecute: ',將其粘貼到伺服器的命令列並執行。', - navigateToYourNginxConfigurationDirectoryOnYourServer: `進入你的${common.nginx}伺服器上的配置資料夾:`, + 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..efc16f1 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 @@ -27,7 +27,7 @@ THE SOFTWARE. import common from '../../common'; export default { - letsGoLive: '讓我們開始吧!', - reloadNginxToLoadInYourNewConfiguration: `重新加載${common.nginx}以載入新的配置:`, + letsGoLive: '好戲上場!', + reloadNginxToLoadInYourNewConfiguration: `重新載入 ${common.nginx} 以套用新設定:`, goLive: '上線!', };