Compare commits

..

2 Commits

7 changed files with 128 additions and 43 deletions

@ -1,6 +1,6 @@
{
"name": "zzz-signal-search-export",
"version": "1.1.6",
"version": "1.1.7",
"autoUpdateActive": true,
"autoUpdateFrom": "1.1.0",
"main": "./dist/electron/main/main.js",

@ -57,6 +57,7 @@
"ui.setting.fetchFullHistoryHint": "When this option is enabled, click the \"Update Data\" button to get all the card draw records within 6 months. When there are incorrect data within 6 months, this function can be used to repair.",
"ui.setting.closeProxy": "Disable system proxy",
"ui.setting.closeProxyHint": "When you choose proxy mode, if the program crashes it can cause unwanted results that may affect your system. You can click this button to clear the system proxy settings.",
"ui.setting.idVersion": "ID database version",
"ui.about.title": "About",
"ui.about.license": "This software is opensource using MIT license.",
"ui.urlDialog.title": "Input URL manually",

@ -56,6 +56,7 @@
"ui.setting.fetchFullHistoryHint": "开启时点击“更新数据”按钮会完整获取6个月内所有的抽卡记录当记录里有6个月范围以内的错误数据时可以通过这个功能修复。",
"ui.setting.closeProxy": "关闭系统代理",
"ui.setting.closeProxyHint": "如果使用过代理模式时工具非正常关闭,可能导致系统代理设置没能清除,可以通过这个按钮来清除设置过的系统代理。",
"ui.setting.idVersion": "ID 数据库版本",
"ui.about.title": "关于",
"ui.about.license": "本工具为开源软件,源代码使用 MIT 协议授权",
"ui.urlDialog.title": "手动输入URL",

@ -55,6 +55,7 @@
"ui.setting.fetchFullHistoryHint": "開啟時點擊「更新數據」按鈕會完整獲取6個月內所有的抽卡記錄當記錄裏有6個月範圍以內的錯誤數據時可以通過這個功能修復。",
"ui.setting.closeProxy": "關閉系統代理",
"ui.setting.closeProxyHint": "如果使用過代理模式時工具非正常關閉,可能導致系統代理設置沒能清除,可以通過這個按鈕來清除設置過的系統代理。",
"ui.setting.idVersion": "ID 數據庫版本",
"ui.about.title": "關於",
"ui.about.license": "本工具為開源軟件,源代碼使用 MIT 協議授權",
"ui.urlDialog.title": "手動輸入URL",

@ -15,6 +15,11 @@
"item_type": "音擎",
"rank_type": 2
},
"14107": {
"name": "奔袭獠牙",
"item_type": "音擎",
"rank_type": 4
},
"13103": {
"name": "聚宝箱",
"item_type": "音擎",
@ -110,6 +115,11 @@
"item_type": "音擎",
"rank_type": 4
},
"14117": {
"name": "灼心摇壶",
"item_type": "音擎",
"rank_type": 4
},
"14124": {
"name": "防暴者Ⅵ型",
"item_type": "音擎",
@ -181,7 +191,7 @@
"rank_type": 3
},
"13013": {
"name": "鸢尾秘藏",
"name": "鎏金花信",
"item_type": "音擎",
"rank_type": 3
},
@ -291,9 +301,9 @@
"rank_type": 3
},
"1071": {
"name": "...",
"name": "凯撒",
"item_type": "代理人",
"rank_type": null
"rank_type": 4
},
"2021": {
"name": "铃",
@ -376,9 +386,9 @@
"rank_type": 3
},
"1171": {
"name": "...",
"name": "柏妮思",
"item_type": "代理人",
"rank_type": null
"rank_type": 4
},
"1191": {
"name": "艾莲",
@ -494,6 +504,11 @@
"name": "艾米莉安",
"item_type": "邦布",
"rank_type": 4
},
"54011": {
"name": "赤红莫库斯",
"item_type": "邦布",
"rank_type": 4
}
},
"zh-tw": {
@ -512,6 +527,11 @@
"item_type": "音擎",
"rank_type": 2
},
"14107": {
"name": "奔襲獠牙",
"item_type": "音擎",
"rank_type": 4
},
"13103": {
"name": "聚寶箱",
"item_type": "音擎",
@ -607,6 +627,11 @@
"item_type": "音擎",
"rank_type": 4
},
"14117": {
"name": "灼心搖壺",
"item_type": "音擎",
"rank_type": 4
},
"14124": {
"name": "防暴者Ⅵ型",
"item_type": "音擎",
@ -678,7 +703,7 @@
"rank_type": 3
},
"13013": {
"name": "鳶尾祕藏",
"name": "鎏金花信",
"item_type": "音擎",
"rank_type": 3
},
@ -788,9 +813,9 @@
"rank_type": 3
},
"1071": {
"name": "...",
"name": "凱撒",
"item_type": "代理人",
"rank_type": null
"rank_type": 4
},
"2021": {
"name": "鈴",
@ -873,9 +898,9 @@
"rank_type": 3
},
"1171": {
"name": "...",
"name": "柏妮思",
"item_type": "代理人",
"rank_type": null
"rank_type": 4
},
"1191": {
"name": "艾蓮",
@ -991,6 +1016,11 @@
"name": "艾米莉安",
"item_type": "邦布",
"rank_type": 4
},
"54011": {
"name": "赤紅莫庫斯",
"item_type": "邦布",
"rank_type": 4
}
},
"en-us": {
@ -1009,6 +1039,11 @@
"item_type": "W-Engines",
"rank_type": 2
},
"14107": {
"name": "Item_Weapon_S_1071_Name",
"item_type": "W-Engines",
"rank_type": 4
},
"13103": {
"name": "The Vault",
"item_type": "W-Engines",
@ -1104,6 +1139,11 @@
"item_type": "W-Engines",
"rank_type": 4
},
"14117": {
"name": "Item_Weapon_S_1171_Name",
"item_type": "W-Engines",
"rank_type": 4
},
"14124": {
"name": "Riot Suppressor Mark VI",
"item_type": "W-Engines",
@ -1145,7 +1185,7 @@
"rank_type": 3
},
"13127": {
"name": "Item_Weapon_A_1271_Name",
"name": "Peacekeeper - Specialized",
"item_type": "W-Engines",
"rank_type": 3
},
@ -1175,7 +1215,7 @@
"rank_type": 3
},
"13013": {
"name": "...",
"name": "Gilded Blossom",
"item_type": "W-Engines",
"rank_type": 3
},
@ -1185,7 +1225,7 @@
"rank_type": 2
},
"14126": {
"name": "Item_Weapon_S_1261_Name",
"name": "Sharpened Stinger",
"item_type": "W-Engines",
"rank_type": 4
},
@ -1210,7 +1250,7 @@
"rank_type": 3
},
"14125": {
"name": "Item_Weapon_S_1251_Name",
"name": "Ice-Jade Teapot",
"item_type": "W-Engines",
"rank_type": 4
},
@ -1250,7 +1290,7 @@
"rank_type": 4
},
"1261": {
"name": "...",
"name": "Jane",
"item_type": "Agents",
"rank_type": 4
},
@ -1285,9 +1325,9 @@
"rank_type": 3
},
"1071": {
"name": "...",
"name": "Caesar",
"item_type": "Agents",
"rank_type": null
"rank_type": 4
},
"2021": {
"name": "Belle",
@ -1370,9 +1410,9 @@
"rank_type": 3
},
"1171": {
"name": "...",
"name": "Burnice",
"item_type": "Agents",
"rank_type": null
"rank_type": 4
},
"1191": {
"name": "Ellen",
@ -1450,7 +1490,7 @@
"rank_type": 3
},
"54012": {
"name": "...",
"name": "Officer Cui",
"item_type": "Bangboo",
"rank_type": 4
},
@ -1488,6 +1528,11 @@
"name": "Amillion",
"item_type": "Bangboo",
"rank_type": 4
},
"54011": {
"name": "Bangboo_Name_54011",
"item_type": "Bangboo",
"rank_type": 4
}
},
"ja-jp": {
@ -1506,6 +1551,11 @@
"item_type": "音動機",
"rank_type": 2
},
"14107": {
"name": "Item_Weapon_S_1071_Name",
"item_type": "音動機",
"rank_type": 4
},
"13103": {
"name": "ザ・ボールト",
"item_type": "音動機",
@ -1601,6 +1651,11 @@
"item_type": "音動機",
"rank_type": 4
},
"14117": {
"name": "Item_Weapon_S_1171_Name",
"item_type": "音動機",
"rank_type": 4
},
"14124": {
"name": "サプレッサーⅥ型",
"item_type": "音動機",
@ -1642,7 +1697,7 @@
"rank_type": 3
},
"13127": {
"name": "Item_Weapon_A_1271_Name",
"name": "秩序の守り手・特化型",
"item_type": "音動機",
"rank_type": 3
},
@ -1672,7 +1727,7 @@
"rank_type": 3
},
"13013": {
"name": "...",
"name": "金メッキの花信",
"item_type": "音動機",
"rank_type": 3
},
@ -1682,7 +1737,7 @@
"rank_type": 2
},
"14126": {
"name": "Item_Weapon_S_1261_Name",
"name": "磨き抜かれた切っ先",
"item_type": "音動機",
"rank_type": 4
},
@ -1707,7 +1762,7 @@
"rank_type": 3
},
"14125": {
"name": "Item_Weapon_S_1251_Name",
"name": "玉壺青氷",
"item_type": "音動機",
"rank_type": 4
},
@ -1747,7 +1802,7 @@
"rank_type": 4
},
"1261": {
"name": "...",
"name": "ジェーン",
"item_type": "エージェント",
"rank_type": 4
},
@ -1782,9 +1837,9 @@
"rank_type": 3
},
"1071": {
"name": "...",
"name": "シーザー",
"item_type": "エージェント",
"rank_type": null
"rank_type": 4
},
"2021": {
"name": "リン",
@ -1867,9 +1922,9 @@
"rank_type": 3
},
"1171": {
"name": "...",
"name": "バーニス",
"item_type": "エージェント",
"rank_type": null
"rank_type": 4
},
"1191": {
"name": "エレン",
@ -1947,7 +2002,7 @@
"rank_type": 3
},
"54012": {
"name": "...",
"name": "ツェイ巡査",
"item_type": "ボンプ",
"rank_type": 4
},
@ -1985,6 +2040,11 @@
"name": "アミリオン",
"item_type": "ボンプ",
"rank_type": 4
},
"54011": {
"name": "Bangboo_Name_54011",
"item_type": "ボンプ",
"rank_type": 4
}
},
"ko-kr": {
@ -2003,6 +2063,11 @@
"item_type": "W-엔진",
"rank_type": 2
},
"14107": {
"name": "Item_Weapon_S_1071_Name",
"item_type": "W-엔진",
"rank_type": 4
},
"13103": {
"name": "보물함",
"item_type": "W-엔진",
@ -2098,6 +2163,11 @@
"item_type": "W-엔진",
"rank_type": 4
},
"14117": {
"name": "Item_Weapon_S_1171_Name",
"item_type": "W-엔진",
"rank_type": 4
},
"14124": {
"name": "서프레서 Ⅵ형",
"item_type": "W-엔진",
@ -2139,7 +2209,7 @@
"rank_type": 3
},
"13127": {
"name": "Item_Weapon_A_1271_Name",
"name": "평화 수호자-특화형",
"item_type": "W-엔진",
"rank_type": 3
},
@ -2159,7 +2229,7 @@
"rank_type": 2
},
"13115": {
"name": "용맹한 꽝꽝이",
"name": "호전적인 꽝꽝이",
"item_type": "W-엔진",
"rank_type": 3
},
@ -2169,7 +2239,7 @@
"rank_type": 3
},
"13013": {
"name": "...",
"name": "도금된 화신풍",
"item_type": "W-엔진",
"rank_type": 3
},
@ -2179,7 +2249,7 @@
"rank_type": 2
},
"14126": {
"name": "Item_Weapon_S_1261_Name",
"name": "예리한 집게칼",
"item_type": "W-엔진",
"rank_type": 4
},
@ -2204,7 +2274,7 @@
"rank_type": 3
},
"14125": {
"name": "Item_Weapon_S_1251_Name",
"name": "맑은 옥주전자",
"item_type": "W-엔진",
"rank_type": 4
},
@ -2244,7 +2314,7 @@
"rank_type": 4
},
"1261": {
"name": "...",
"name": "제인",
"item_type": "에이전트",
"rank_type": 4
},
@ -2279,9 +2349,9 @@
"rank_type": 3
},
"1071": {
"name": "...",
"name": "카이사르",
"item_type": "에이전트",
"rank_type": null
"rank_type": 4
},
"2021": {
"name": "벨",
@ -2364,9 +2434,9 @@
"rank_type": 3
},
"1171": {
"name": "...",
"name": "버니스",
"item_type": "에이전트",
"rank_type": null
"rank_type": 4
},
"1191": {
"name": "엘렌",
@ -2444,7 +2514,7 @@
"rank_type": 3
},
"54012": {
"name": "...",
"name": "최 순찰대원",
"item_type": "「Bangboo」",
"rank_type": 4
},
@ -2482,6 +2552,12 @@
"name": "에밀리온",
"item_type": "「Bangboo」",
"rank_type": 4
},
"54011": {
"name": "Bangboo_Name_54011",
"item_type": "「Bangboo」",
"rank_type": 4
}
}
},
"version": "1.2.1"
}

@ -47,6 +47,7 @@
</el-form-item>
</el-form>
<h3 class="text-lg my-4">{{about.title}}</h3>
<p class="text-gray-600 text-xs mt-1">{{text.idVersion}} {{idJson.version}}</p>
<p class="text-gray-600 text-xs mt-1">{{about.license}}</p>
<p class="text-gray-600 text-xs mt-1">GitHub: <a @click="openGithub" class="cursor-pointer text-blue-400">https://github.com/earthjasonlin/zzz-signal-search-export</a></p>
<p class="text-gray-600 text-xs mt-1 pb-6">UIGF: <a @click="openUIGF" class="cursor-pointer text-blue-400">https://uigf.org/</a></p>
@ -82,6 +83,7 @@
<script setup>
const { ipcRenderer, shell } = require('electron')
import idJson from '../../idJson.json'
import { reactive, onMounted, computed } from 'vue'
const emit = defineEmits(['close', 'changeLang', 'refreshData'])

@ -12,6 +12,7 @@ cc = OpenCC('s2t')
weapon_url = 'https://api.hakush.in/zzz/data/weapon.json'
character_url = 'https://api.hakush.in/zzz/data/character.json'
bangboo_url = 'https://api.hakush.in/zzz/data/bangboo.json'
version_url = 'https://api.hakush.in/zzz/new.json'
# 语言映射配置
language_map = {
@ -53,9 +54,12 @@ def main():
weapon_data = fetch_json(weapon_url)
character_data = fetch_json(character_url)
bangboo_data = fetch_json(bangboo_url)
version_data = fetch_json(version_url)
transformed_data = {lang: {} for lang in language_map.keys()}
transformed_data["version"] = version_data["version"]
weapon_transformed = transform_data(weapon_data, "weapon")
character_transformed = transform_data(character_data, "character")
bangboo_transformed = transform_data(bangboo_data, "bangboo")