mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-03 07:50:28 +08:00
更新文档
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user