Browse Source

增加一点中文

tags/v26.1
枫谷剑仙 3 years ago
parent
commit
cd8a9ca696
5 changed files with 12 additions and 10 deletions
  1. +1
    -1
      monsters-info/custom/chs.json
  2. +1
    -1
      monsters-info/custom/cht.json
  3. +3
    -1
      monsters-info/extract_CHT.js
  4. +6
    -6
      script.js
  5. +1
    -1
      service-worker.js

+ 1
- 1
monsters-info/custom/chs.json
File diff suppressed because it is too large
View File


+ 1
- 1
monsters-info/custom/cht.json
File diff suppressed because it is too large
View File


+ 3
- 1
monsters-info/extract_CHT.js View File

@@ -54,8 +54,10 @@ const tsConverter = OpenCC.CustomConverter([
['超人尼奥/超人雷欧', '雷欧奥特曼'],
['阿尔法锋刃', '阿尔法利刃'],
['德尔塔升华钩爪', '德尔塔升爪'],
//海贼王
['ONE PIECE FILM RED', '海贼王'],
['骗人布', '乌索普'],
['香吉士', '山治'],
]);
const sourceFolder = "Download-pad.skyozora.com/pad.skyozora.com"; //战友网数据的存储问文件夹


+ 6
- 6
script.js View File

@@ -2585,13 +2585,13 @@ function initialize(event) {
this.classList.add(className_displayNone);
formationBox.classList.remove("blur-bg");
controlBox.classList.remove("blur-bg");
// if (isGuideMod) {
// const url = new URL(location);
// url.searchParams.delete("guide");
// url.searchParams.delete("id");
// history.replaceState(null,null,url);
// }
//删除编辑模式
if (isGuideMod) {
const url = new URL(location);
url.searchParams.delete("guide");
url.searchParams.delete("id");
history.replaceState(null,null,url);
}
sessionStorage.removeItem('editing');
};



+ 1
- 1
service-worker.js View File

@@ -6411,7 +6411,7 @@ const cachesMap = new Map([
],
[
"script.js",
"ff972fdfe3d07765227a548ead4c232a"
"dc10d964f5356ee5d6cdddcdd411ce7f"
],
[
"solo.html",


Loading…
Cancel
Save