doc: translation

This commit is contained in:
hamster1963 2024-09-26 10:36:44 +08:00
parent 01f1646fe9
commit 3234f325e1
4 changed files with 20 additions and 21 deletions

View File

@ -3,12 +3,12 @@
"p_816-881_Totalservers": "サーバーの総数", "p_816-881_Totalservers": "サーバーの総数",
"p_1610-1676_Onlineservers": "オンラインサーバー", "p_1610-1676_Onlineservers": "オンラインサーバー",
"p_2532-2599_Offlineservers": "オフラインサーバー", "p_2532-2599_Offlineservers": "オフラインサーバー",
"p_3463-3530_Totalbandwidth": "合計帯域幅" "p_3463-3530_Totalbandwidth": "総流量"
}, },
"Footer": { "Footer": {
"p_146-598_Findthecodeon": "でコードを見つけます", "p_146-598_Findthecodeon": "コードのオープンソース",
"a_303-585_GitHub": "GitHub", "a_303-585_GitHub": "GitHub",
"section_607-869_2020": "© 2020〜", "section_607-869_2020": "© 2020〜",
"a_800-850_Hamster1963": "@Hamster1963" "a_800-850_Hamster1963": "@Hamster1963"
}, },
"Header": { "Header": {
@ -16,11 +16,11 @@
}, },
"Overview": { "Overview": {
"p_2277-2331_Overview": "👋 概要", "p_2277-2331_Overview": "👋 概要",
"p_2390-2457_wherethetimeis": "時間はどこにあるのか" "p_2390-2457_wherethetimeis": "現在の時間"
}, },
"NotFoundPage": { "NotFoundPage": {
"h1_490-590_404NotFound": "404 見つかりませんでした", "h1_490-590_404NotFound": "404 見つかりませんでした",
"p_601-665_TARDISERROR": "ターディスエラー!", "p_601-665_TARDISERROR": "ターディスエラー!",
"Link_676-775_Doctor": "医者。" "Link_676-775_Doctor": "Doctor?"
} }
} }

View File

@ -3,24 +3,24 @@
"p_816-881_Totalservers": "伺服器總數", "p_816-881_Totalservers": "伺服器總數",
"p_1610-1676_Onlineservers": "在線伺服器", "p_1610-1676_Onlineservers": "在線伺服器",
"p_2532-2599_Offlineservers": "離線伺服器", "p_2532-2599_Offlineservers": "離線伺服器",
"p_3463-3530_Totalbandwidth": "總頻寬" "p_3463-3530_Totalbandwidth": "總流量"
}, },
"Footer": { "Footer": {
"p_146-598_Findthecodeon": "查找代碼", "p_146-598_Findthecodeon": "程式碼開源",
"a_303-585_GitHub": "GitHub", "a_303-585_GitHub": "GitHub",
"section_607-869_2020": "© 2020-", "section_607-869_2020": "© 2020-",
"a_800-850_Hamster1963": "@Hamster1963" "a_800-850_Hamster1963": "@Hamster1963"
}, },
"Header": { "Header": {
"p_1079-1199_Simpleandbeautifuldashbo": "簡單美觀的儀錶板" "p_1079-1199_Simpleandbeautifuldashbo": "簡單美觀的儀錶板"
}, },
"Overview": { "Overview": {
"p_2277-2331_Overview": "👋 概", "p_2277-2331_Overview": "👋 概",
"p_2390-2457_wherethetimeis": "時間在哪裡" "p_2390-2457_wherethetimeis": "當前時間"
}, },
"NotFoundPage": { "NotFoundPage": {
"h1_490-590_404NotFound": "404 未找到", "h1_490-590_404NotFound": "404 未找到",
"p_601-665_TARDISERROR": "TARDIS 錯誤!", "p_601-665_TARDISERROR": "TARDIS 錯誤!",
"Link_676-775_Doctor": "醫生" "Link_676-775_Doctor": "Doctor"
} }
} }

View File

@ -3,24 +3,24 @@
"p_816-881_Totalservers": "服务器总数", "p_816-881_Totalservers": "服务器总数",
"p_1610-1676_Onlineservers": "在线服务器", "p_1610-1676_Onlineservers": "在线服务器",
"p_2532-2599_Offlineservers": "离线服务器", "p_2532-2599_Offlineservers": "离线服务器",
"p_3463-3530_Totalbandwidth": "总带宽" "p_3463-3530_Totalbandwidth": "总流量"
}, },
"Footer": { "Footer": {
"p_146-598_Findthecodeon": "查找代码", "p_146-598_Findthecodeon": "代码开源在",
"a_303-585_GitHub": "GitHub", "a_303-585_GitHub": "GitHub",
"section_607-869_2020": "© 2020-", "section_607-869_2020": "© 2020-",
"a_800-850_Hamster1963": "@Hamster1963" "a_800-850_Hamster1963": "@Hamster1963"
}, },
"Header": { "Header": {
"p_1079-1199_Simpleandbeautifuldashbo": "简单美观的仪表板" "p_1079-1199_Simpleandbeautifuldashbo": "简单美观的仪表板"
}, },
"Overview": { "Overview": {
"p_2277-2331_Overview": "👋 概", "p_2277-2331_Overview": "👋 概",
"p_2390-2457_wherethetimeis": "时间在哪里" "p_2390-2457_wherethetimeis": "当前时间"
}, },
"NotFoundPage": { "NotFoundPage": {
"h1_490-590_404NotFound": "404 未找到", "h1_490-590_404NotFound": "404 未找到",
"p_601-665_TARDISERROR": "TARDIS 错误!", "p_601-665_TARDISERROR": "TARDIS 错误!",
"Link_676-775_Doctor": "医生" "Link_676-775_Doctor": "Doctor"
} }
} }

View File

@ -1 +0,0 @@
self.onmessage=async e=>{switch(e.data.type){case"__START_URL_CACHE__":{let t=e.data.url,a=await fetch(t);if(!a.redirected)return(await caches.open("start-url")).put(t,a);return Promise.resolve()}case"__FRONTEND_NAV_CACHE__":{let t=e.data.url,a=await caches.open("pages");if(await a.match(t,{ignoreSearch:!0}))return;let s=await fetch(t);if(!s.ok)return;if(a.put(t,s.clone()),e.data.shouldCacheAggressively&&s.headers.get("Content-Type")?.includes("text/html"))try{let e=await s.text(),t=[],a=await caches.open("static-style-assets"),r=await caches.open("next-static-js-assets"),c=await caches.open("static-js-assets");for(let[s,r]of e.matchAll(/<link.*?href=['"](.*?)['"].*?>/g))/rel=['"]stylesheet['"]/.test(s)&&t.push(a.match(r).then(e=>e?Promise.resolve():a.add(r)));for(let[,a]of e.matchAll(/<script.*?src=['"](.*?)['"].*?>/g)){let e=/\/_next\/static.+\.js$/i.test(a)?r:c;t.push(e.match(a).then(t=>t?Promise.resolve():e.add(a)))}return await Promise.all(t)}catch{}return Promise.resolve()}default:return Promise.resolve()}};