diff --git a/README.zh-Hant.md b/README.zh-Hant.md index 80f7108..5bddedc 100644 --- a/README.zh-Hant.md +++ b/README.zh-Hant.md @@ -1,5 +1,5 @@

- + LinuxMirrors @@ -127,7 +127,7 @@

- 官方網站    使用方法    軟體源列表    Docker 安裝(額外腳本)    社群    贊助 + 官方網站    使用方法    軟體源列表    Docker 安裝(額外腳本)    社群    贊助

@@ -135,7 +135,7 @@ ## 快速開始 -> 項目官方網站整合了 AI 聊天與搜索,更多使用方法詳見 [**linuxmirrors.cn**](https://linuxmirrors.cn/zh-hant/use) +> 項目官方網站整合了 AI 聊天與搜索,更多使用方法詳見 [**linuxmirrors.cn**](https://linuxmirrors.cn/zh-Hant/use) - ### GNU/Linux 更換系統軟體源 diff --git a/docs/assets/js/components/mirrors-table/data.js b/docs/assets/js/components/mirrors-table/data.js index 3d1be04..5fa4be8 100644 --- a/docs/assets/js/components/mirrors-table/data.js +++ b/docs/assets/js/components/mirrors-table/data.js @@ -384,7 +384,7 @@ const mirrorsTableData = [ const mirrorsTableColumns = [ { colKey: 'name', - title: !window.location.pathname.includes('/zh-hant') ? '镜像站' : '鏡像站', + title: !window.location.pathname.includes('/zh-Hant') ? '镜像站' : '鏡像站', align: 'left', width: '180', fixed: 'left', @@ -400,7 +400,7 @@ const mirrorsTableColumns = [ title: 'EPEL', align: 'center', width: '90', - tooltip: !window.location.pathname.includes('/zh-hant') ? 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版' : 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 組織維護的一個附加軟體包倉庫,它主要適用於除 Fedora 作業系統以外的紅帽系 Linux 發行版', + tooltip: !window.location.pathname.includes('/zh-Hant') ? 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版' : 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 組織維護的一個附加軟體包倉庫,它主要適用於除 Fedora 作業系統以外的紅帽系 Linux 發行版', }, { colKey: 'archlinux', diff --git a/docs/assets/js/components/orama-ui/config.js b/docs/assets/js/components/orama-ui/config.js index e77abf8..dc3a39d 100644 --- a/docs/assets/js/components/orama-ui/config.js +++ b/docs/assets/js/components/orama-ui/config.js @@ -1,6 +1,6 @@ // get search box config function getOramaSearchBoxConfig() { - const isDefaultLang = window.location.pathname.includes('/zh-hant') ? false : true + const isDefaultLang = window.location.pathname.includes('/zh-Hant') ? false : true return { themeConfig: { // colors: { @@ -62,7 +62,7 @@ function getOramaSearchBoxConfig() { // localization search box component function localizationOramaSearchBox(searchBox) { if (!searchBox) return - const isDefaultLang = window.location.pathname.includes('/zh-hant') ? false : true + const isDefaultLang = window.location.pathname.includes('/zh-Hant') ? false : true const askAiText = isDefaultLang ? '询问 AI' : '詢問 AI' const searchText = isDefaultLang ? '搜索' : '搜尋' const observer = new MutationObserver((mutations, obs) => { diff --git a/docs/sponsor/main.html b/docs/sponsor/main.html index 64bc84e..24a0a82 100644 --- a/docs/sponsor/main.html +++ b/docs/sponsor/main.html @@ -71,7 +71,7 @@ .sponsor-text-3::after { content: "本项目已加入 JetBrains & Netlify 开源项目计划"; } /* 繁体中文 */ - [lang="zh-hant"] .sponsor-text-1::after { content: "贊助商"; } - [lang="zh-hant"] .sponsor-text-2::after { content: "特別感謝"; } - [lang="zh-hant"] .sponsor-text-3::after { content: "本項目已加入 JetBrains & Netlify 開源項目計劃"; } + [lang="zh-Hant"] .sponsor-text-1::after { content: "贊助商"; } + [lang="zh-Hant"] .sponsor-text-2::after { content: "特別感謝"; } + [lang="zh-Hant"] .sponsor-text-3::after { content: "本項目已加入 JetBrains & Netlify 開源項目計劃"; } diff --git a/docs/theme/main.html b/docs/theme/main.html index e6fe394..e061943 100644 --- a/docs/theme/main.html +++ b/docs/theme/main.html @@ -8,7 +8,7 @@ {% block announce %} {{ - '如果您覺得這個項目不錯對您有幫助的話,請點擊倉庫右上角的 Star 並分享給更多的朋友' if i18n_page_locale == 'zh-hant' else '如果觉得这个项目不错对您有所帮助的话,请点击仓库右上角的 Star 并分享给更多的朋友' + '如果您覺得這個項目不錯對您有幫助的話,請點擊倉庫右上角的 Star 並分享給更多的朋友' if i18n_page_locale == 'zh-Hant' else '如果觉得这个项目不错对您有所帮助的话,请点击仓库右上角的 Star 并分享给更多的朋友' }}    {% endblock %} diff --git a/docs/theme/partials/comments.html b/docs/theme/partials/comments.html index b04e60e..d9ca238 100644 --- a/docs/theme/partials/comments.html +++ b/docs/theme/partials/comments.html @@ -14,7 +14,7 @@ data-emit-metadata="0" data-input-position="top" data-theme="preferred_color_scheme" - data-lang="{{'zh-Hant' if i18n_page_locale == 'zh-hant' else 'zh-CN'}}" + data-lang="{{'zh-Hant' if i18n_page_locale == 'zh-Hant' else 'zh-CN'}}" data-loading="lazy" crossorigin="anonymous" async diff --git a/docs/theme/partials/search.html b/docs/theme/partials/search.html index 853e952..3dcaa41 100644 --- a/docs/theme/partials/search.html +++ b/docs/theme/partials/search.html @@ -1,4 +1,4 @@ - +
diff --git a/docs/theme/partials/toc.html b/docs/theme/partials/toc.html index 77ff215..ab448b2 100644 --- a/docs/theme/partials/toc.html +++ b/docs/theme/partials/toc.html @@ -11,7 +11,7 @@