From 3234f325e16dbd29c5ba8b35e994ff55838a8a1d Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Thu, 26 Sep 2024 10:36:44 +0800 Subject: [PATCH] doc: translation --- messages/ja.json | 12 ++++++------ messages/zh-t.json | 14 +++++++------- messages/zh.json | 14 +++++++------- public/swe-worker-5c72df51bb1f6ee0.js | 1 - 4 files changed, 20 insertions(+), 21 deletions(-) delete mode 100644 public/swe-worker-5c72df51bb1f6ee0.js diff --git a/messages/ja.json b/messages/ja.json index fe6a58a..7b36885 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -3,12 +3,12 @@ "p_816-881_Totalservers": "サーバーの総数", "p_1610-1676_Onlineservers": "オンラインサーバー", "p_2532-2599_Offlineservers": "オフラインサーバー", - "p_3463-3530_Totalbandwidth": "合計帯域幅" + "p_3463-3530_Totalbandwidth": "総流量" }, "Footer": { - "p_146-598_Findthecodeon": "でコードを見つけます", - "a_303-585_GitHub": "GitHubの", - "section_607-869_2020": "© 2020年〜", + "p_146-598_Findthecodeon": "コードのオープンソース", + "a_303-585_GitHub": "GitHub", + "section_607-869_2020": "© 2020〜", "a_800-850_Hamster1963": "@Hamster1963" }, "Header": { @@ -16,11 +16,11 @@ }, "Overview": { "p_2277-2331_Overview": "👋 概要", - "p_2390-2457_wherethetimeis": "時間はどこにあるのか" + "p_2390-2457_wherethetimeis": "現在の時間" }, "NotFoundPage": { "h1_490-590_404NotFound": "404 見つかりませんでした", "p_601-665_TARDISERROR": "ターディスエラー!", - "Link_676-775_Doctor": "医者。" + "Link_676-775_Doctor": "Doctor?" } } \ No newline at end of file diff --git a/messages/zh-t.json b/messages/zh-t.json index 2df3f04..2652cf0 100644 --- a/messages/zh-t.json +++ b/messages/zh-t.json @@ -3,24 +3,24 @@ "p_816-881_Totalservers": "伺服器總數", "p_1610-1676_Onlineservers": "在線伺服器", "p_2532-2599_Offlineservers": "離線伺服器", - "p_3463-3530_Totalbandwidth": "總頻寬" + "p_3463-3530_Totalbandwidth": "總流量" }, "Footer": { - "p_146-598_Findthecodeon": "查找代碼", - "a_303-585_GitHub": "GitHub的", - "section_607-869_2020": "© 2020 年-", + "p_146-598_Findthecodeon": "程式碼開源", + "a_303-585_GitHub": "GitHub", + "section_607-869_2020": "© 2020-", "a_800-850_Hamster1963": "@Hamster1963" }, "Header": { "p_1079-1199_Simpleandbeautifuldashbo": "簡單美觀的儀錶板" }, "Overview": { - "p_2277-2331_Overview": "👋 概述", - "p_2390-2457_wherethetimeis": "時間在哪裡" + "p_2277-2331_Overview": "👋 概覽", + "p_2390-2457_wherethetimeis": "當前時間" }, "NotFoundPage": { "h1_490-590_404NotFound": "404 未找到", "p_601-665_TARDISERROR": "TARDIS 錯誤!", - "Link_676-775_Doctor": "醫生?" + "Link_676-775_Doctor": "Doctor?" } } \ No newline at end of file diff --git a/messages/zh.json b/messages/zh.json index 18d8f88..55c8a19 100644 --- a/messages/zh.json +++ b/messages/zh.json @@ -3,24 +3,24 @@ "p_816-881_Totalservers": "服务器总数", "p_1610-1676_Onlineservers": "在线服务器", "p_2532-2599_Offlineservers": "离线服务器", - "p_3463-3530_Totalbandwidth": "总带宽" + "p_3463-3530_Totalbandwidth": "总流量" }, "Footer": { - "p_146-598_Findthecodeon": "查找代码", - "a_303-585_GitHub": "GitHub的", - "section_607-869_2020": "© 2020 年-", + "p_146-598_Findthecodeon": "代码开源在", + "a_303-585_GitHub": "GitHub", + "section_607-869_2020": "© 2020-", "a_800-850_Hamster1963": "@Hamster1963" }, "Header": { "p_1079-1199_Simpleandbeautifuldashbo": "简单美观的仪表板" }, "Overview": { - "p_2277-2331_Overview": "👋 概述", - "p_2390-2457_wherethetimeis": "时间在哪里" + "p_2277-2331_Overview": "👋 概览", + "p_2390-2457_wherethetimeis": "当前时间" }, "NotFoundPage": { "h1_490-590_404NotFound": "404 未找到", "p_601-665_TARDISERROR": "TARDIS 错误!", - "Link_676-775_Doctor": "医生?" + "Link_676-775_Doctor": "Doctor?" } } \ No newline at end of file diff --git a/public/swe-worker-5c72df51bb1f6ee0.js b/public/swe-worker-5c72df51bb1f6ee0.js deleted file mode 100644 index 36e6e59..0000000 --- a/public/swe-worker-5c72df51bb1f6ee0.js +++ /dev/null @@ -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(//g))/rel=['"]stylesheet['"]/.test(s)&&t.push(a.match(r).then(e=>e?Promise.resolve():a.add(r)));for(let[,a]of e.matchAll(//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()}}; \ No newline at end of file