Skip to content

Commit

Permalink
Update Traditional Chinese translation (digitalocean#367)
Browse files Browse the repository at this point in the history
* commit

* complete

* revert to original title

* 2022

* space
  • Loading branch information
5idereal authored Jun 14, 2022
1 parent 2eac584 commit 2b638c2
Show file tree
Hide file tree
Showing 29 changed files with 177 additions and 177 deletions.
10 changes: 5 additions & 5 deletions src/nginxconfig/i18n/zh-tw/common.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -26,7 +26,7 @@ THE SOFTWARE.

export default {
back: '返回',
next: '下一個',
next: '下一步',
enable: '啟用',
php: 'PHP',
ssl: 'SSL',
Expand All @@ -40,9 +40,9 @@ export default {
magento: 'Magento',
joomla: 'Joomla',
django: 'Django',
logging: '日誌記錄',
reverseProxy: '反向代理',
reverseProxyLower: '反向代理',
logging: '日誌',
reverseProxy: '反向 Proxy',
reverseProxyLower: '反向 Proxy',
restrict: '限制',
path: '路徑',
};
18 changes: 9 additions & 9 deletions src/nginxconfig/i18n/zh-tw/templates/app.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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: '設定檔',
};
6 changes: 3 additions & 3 deletions src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -25,6 +25,6 @@ THE SOFTWARE.
*/

export default {
wantToContributeChanges: '👋 想要申請新的功能,提出修改意見,或將該工具翻譯成新的語言?',
getInvolvedOnGitHub: '在GitHub上參與進來',
wantToContributeChanges: '👋 想要請求新功能,貢獻更動,或將本工具翻譯成新的語言嗎?',
getInvolvedOnGitHub: '在 GitHub 上共襄盛舉',
};
6 changes: 3 additions & 3 deletions src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -25,6 +25,6 @@ THE SOFTWARE.
*/

export default {
lookingForAPlaceToDeploy: '👋 在尋找部署新配置的地方?',
tryOutDigitalOceansDroplet: '試用用於Nginx的DigitalOcean的LEMP Droplet。',
lookingForAPlaceToDeploy: '👋 在尋找部署新設定的地方?',
tryOutDigitalOceansDroplet: '試試 DigitalOcean 推出的 LEMP Droplet,適用於 NGINX。',
};
28 changes: 14 additions & 14 deletions src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 !',
};
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -27,6 +27,6 @@ THE SOFTWARE.
import common from '../../common';

export default {
byDomain: '在此網站',
enableForThisDomain: `為此網站${common.enable}`,
byDomain: '在此網域',
enableForThisDomain: `為此網域${common.enable}`,
};
10 changes: 5 additions & 5 deletions src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 結尾。',
};
40 changes: 20 additions & 20 deletions src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '停用',
};
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -26,8 +26,8 @@ THE SOFTWARE.

export default {
presets: '預設',
itLooksLikeYouCustomisedTheConfig: '看起來您已經為這個網站定制了配置。選擇新的預設可能會重置或更改一些您已經定制的設定。',
itLooksLikeYouCustomisedTheConfig: '您似乎調整過此網域的設定。選擇新的預設可能會重置或更改一些您自訂的設定。',
frontend: '前端',
nodeJs: 'Node.js',
singlePageApplication: '單頁面應用',
singlePageApplication: 'SPA',
};
10 changes: 5 additions & 5 deletions src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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} 專屬規則`,
};
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}`,
};
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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: '路由設定',
};
16 changes: 8 additions & 8 deletions src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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: '監聽',
};
16 changes: 8 additions & 8 deletions src/nginxconfig/i18n/zh-tw/templates/footer.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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',
Expand Down
14 changes: 7 additions & 7 deletions src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -32,10 +32,10 @@ const dockerfile = 'Dockerfile';
export default {
docker,
dockerfile,
dockerCompose: `${docker} 編排服務`,
applyDockerTweaks: `應用${docker}調整`,
applyDockerTweaksForNginx: `為使用${docker}運行${common.nginx}進行配置調整。`,
applyDockerTweaksExplainer: `將${common.nginx}用戶更新為<code class="slim">nginx</code>,將pid更新為<code class="slim">/var/run/nginx.pid</code>`,
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} 使用者設為 <code class="slim">nginx</code>,將 pid 設為<code class="slim">/var/run/nginx.pid</code>`,
includeDockerfile: `產生 ${dockerfile} 以使用 ${docker} 來執行 ${common.nginx}`,
includeDockerCompose: `產生 docker-compose 以使用 docker-compose 來執行 ${common.nginx}`,
};
Loading

0 comments on commit 2b638c2

Please sign in to comment.