diff --git a/.gitmodules b/.gitmodules index 973e4787..5df6ef92 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,13 +3,10 @@ url = https://github.com/microsoft/wil.git [submodule "plugins/libs/tinymp3"] path = plugins/libs/tinymp3 - url = https://github.com/HIllya51/tinymp3 + url = https://github.com/cpuimage/tinymp3 [submodule "plugins/libs/miniaudio"] path = plugins/libs/miniaudio - url = https://github.com/HIllya51/miniaudio + url = https://github.com/mackron/miniaudio [submodule "plugins/libs/rapidfuzz-cpp"] path = plugins/libs/rapidfuzz-cpp url = https://github.com/rapidfuzz/rapidfuzz-cpp -[submodule "docs/images"] - path = docs/images - url = https://github.com/HIllya51/images diff --git a/LunaTranslator/LunaTranslator/gui/setting_display_text.py b/LunaTranslator/LunaTranslator/gui/setting_display_text.py index b273ed54..069c284a 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_display_text.py +++ b/LunaTranslator/LunaTranslator/gui/setting_display_text.py @@ -209,8 +209,8 @@ def on_not_find_qweb(self): def _okcallback(): link = [ - "https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x86.zip", - "https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x64.zip", + "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x86.zip", + "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x64.zip", ][platform.architecture()[0] == "64bit"] os.startfile(link) installqwebdialog(self, link) diff --git a/LunaTranslator/files/defaultconfig/_.json b/LunaTranslator/files/defaultconfig/_.json new file mode 100644 index 00000000..33069aef --- /dev/null +++ b/LunaTranslator/files/defaultconfig/_.json @@ -0,0 +1,1767 @@ +{ + "themes": { + "dark": [ + { + "file": "PyQtDarkTheme/dark.py", + "name": "PyQtDarkTheme" + }, + { + "file": "QDarkStyleSheet/dark.py", + "name": "QDarkStyleSheet" + }, + { + "file": "QTWin11/dark.py", + "name": "QTWin11" + }, + { + "file": "QtVSCodeStyle/dark.py", + "name": "QtVSCodeStyle Dark" + }, + { + "file": "qt_material/dark.py", + "name": "qt-material" + } + ], + "light": [ + { + "file": "PyQtDarkTheme/light.py", + "name": "PyQtDarkTheme" + }, + { + "file": "QDarkStyleSheet/light.py", + "name": "QDarkStyleSheet" + }, + { + "file": "QTWin11/light.py", + "name": "QTWin11" + }, + { + "file": "QtVSCodeStyle/light.py", + "name": "QtVSCodeStyle Light" + }, + { + "file": "qt_material/light.py", + "name": "qt-material" + } + ] + }, + "language_list_show": [ + "简体中文", + "日本語", + "English", + "Русский язык", + "Español", + "한국어", + "Français", + "繁體中文", + "Tiếng Việt", + "Türkçe", + "Polski", + "Українська Мова", + "Italiano", + "اللغة العربية", + "ภาษาไทย", + "བོད་སྐད།" + ], + "language_list_translator": [ + "简体中文", + "日文", + "英文", + "俄语", + "西班牙语", + "韩语", + "法语", + "繁体中文", + "越南语", + "土耳其语", + "波兰语", + "乌克兰语", + "意大利语", + "阿拉伯语", + "泰语", + "藏语" + ], + "language_list_translator_inner": [ + "zh", + "ja", + "en", + "ru", + "es", + "ko", + "fr", + "cht", + "vi", + "tr", + "pl", + "uk", + "it", + "ar", + "th", + "bo" + ], + "codepage_display": [ + "日语(CP932,SHIFT-JIS)", + "UTF8(CP65001)", + "简体中文(CP936,GBK)", + "繁体中文(CP950,BIG5)", + "韩语(CP949,EUC-KR)", + "越南语(CP1258)", + "泰语(CP874)", + "阿拉伯语(CP1256)", + "希伯来语(CP1255)", + "土耳其语(CP1254)", + "希腊语(CP1253)", + "北欧(CP1257)", + "中东欧(CP1250)", + "西里尔(CP1251)", + "拉丁(CP1252)", + "英语(CP437)" + ], + "codepage_real": [ + 932, + 65001, + 936, + 950, + 949, + 1258, + 874, + 1256, + 1255, + 1254, + 1253, + 1257, + 1250, + 1251, + 1252, + 437 + ], + "allkata": "ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶヽヾ", + "allhira": "ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんゔゕゖゝゞ", + "hira": [ + "あ", + "い", + "う", + "え", + "お", + "か", + "き", + "く", + "け", + "こ", + "さ", + "し", + "す", + "せ", + "そ", + "た", + "ち", + "つ", + "て", + "と", + "な", + "に", + "ぬ", + "ね", + "の", + "は", + "ひ", + "ふ", + "へ", + "ほ", + "ま", + "み", + "む", + "め", + "も", + "や", + "ゆ", + "よ", + "ら", + "り", + "る", + "れ", + "ろ", + "わ", + "を", + "ん", + "が", + "ぎ", + "ぐ", + "げ", + "ご", + "ざ", + "じ", + "ず", + "ぜ", + "ぞ", + "だ", + "ぢ", + "づ", + "で", + "ど", + "ば", + "び", + "ぶ", + "べ", + "ぼ", + "ぱ", + "ぴ", + "ぷ", + "ぺ", + "ぽ", + "きゃ", + "きぃ", + "きゅ", + "きぇ", + "きょ", + "しゃ", + "しぃ", + "しゅ", + "しぇ", + "しょ", + "ちゃ", + "ちぃ", + "ちゅ", + "ちぇ", + "ちょ", + "にゃ", + "にぃ", + "にゅ", + "にぇ", + "にょ", + "ひゃ", + "ひぃ", + "ひゅ", + "ひぇ", + "ひょ", + "みゃ", + "みぃ", + "みゅ", + "みぇ", + "みょ", + "りゃ", + "りぃ", + "りゅ", + "りぇ", + "りょ", + "ぎゃ", + "ぎぃ", + "ぎゅ", + "ぎぇ", + "ぎょ", + "じゃ", + "じぃ", + "じゅ", + "じぇ", + "じょ", + "ぢゃ", + "ぢぃ", + "ぢゅ", + "ぢぇ", + "ぢょ", + "びゃ", + "びぃ", + "びゅ", + "びぇ", + "びょ", + "ぴゃ", + "ぴぃ", + "ぴゅ", + "ぴぇ", + "ぴょ", + "ぐぁ", + "ぐぃ", + "ぐぅ", + "ぐぇ", + "ぐぉ", + "つぁ", + "つぃ", + "つぇ", + "つぉ", + "ふぁ", + "ふぃ", + "ふぇ", + "ふぉ", + "うぁ", + "うぃ", + "うぅ", + "うぇ", + "うぉ", + "ヴぁ", + "ヴぃ", + "ヴ", + "ヴぇ", + "ヴぉ", + "でゃ", + "でぃ", + "でゅ", + "でぇ", + "でょ", + "てゃ", + "てぃ", + "てゅ", + "てぇ", + "てょ" + ], + "kata": [ + "ア", + "イ", + "ウ", + "エ", + "オ", + "カ", + "キ", + "ク", + "ケ", + "コ", + "サ", + "シ", + "ス", + "セ", + "ソ", + "タ", + "チ", + "ツ", + "テ", + "ト", + "ナ", + "ニ", + "ヌ", + "ネ", + "ノ", + "ハ", + "ヒ", + "フ", + "ヘ", + "ホ", + "マ", + "ミ", + "ム", + "メ", + "モ", + "ヤ", + "ユ", + "ヨ", + "ラ", + "リ", + "ル", + "レ", + "ロ", + "ワ", + "ヲ", + "ン", + "ガ", + "ギ", + "グ", + "ゲ", + "ゴ", + "ザ", + "ジ", + "ズ", + "ゼ", + "ゾ", + "ダ", + "ヂ", + "ヅ", + "デ", + "ド", + "バ", + "ビ", + "ブ", + "ベ", + "ボ", + "パ", + "ピ", + "プ", + "ペ", + "ポ", + "キャ", + "キィ", + "キュ", + "キェ", + "キョ", + "シャ", + "シィ", + "シュ", + "シェ", + "ショ", + "チャ", + "チィ", + "チュ", + "チェ", + "チョ", + "ニャ", + "ニィ", + "ニュ", + "ニェ", + "ニョ", + "ヒャ", + "ヒィ", + "ヒュ", + "ヒェ", + "ヒョ", + "ミャ", + "ミィ", + "ミュ", + "ミェ", + "ミョ", + "リャ", + "リィ", + "リュ", + "リェ", + "リョ", + "ギャ", + "ギィ", + "ギュ", + "ギェ", + "ギョ", + "ジャ", + "ジィ", + "ジュ", + "ジェ", + "ジョ", + "ヂャ", + "ヂィ", + "ヂュ", + "ヂェ", + "ヂョ", + "ビャ", + "ビィ", + "ビュ", + "ビェ", + "ビョ", + "ピャ", + "ピィ", + "ピュ", + "ピェ", + "ピョ", + "グァ", + "グィ", + "グゥ", + "グェ", + "グォ", + "ツァ", + "ツィ", + "ツェ", + "ツォ", + "ファ", + "フィ", + "フェ", + "フォ", + "ウァ", + "ウィ", + "ウゥ", + "ウェ", + "ウォ", + "ヴァ", + "ヴィ", + "ヴ", + "ヴェ", + "ヴォ", + "デャ", + "ディ", + "デュ", + "デェ", + "デョ", + "テャ", + "ティ", + "テュ", + "テェ", + "テョ" + ], + "roma": [ + "a", + "i", + "u", + "e", + "o", + "ka", + "ki", + "ku", + "ke", + "ko", + "sa", + "shi", + "su", + "se", + "so", + "ta", + "chi", + "tsu", + "te", + "to", + "na", + "ni", + "nu", + "ne", + "no", + "ha", + "hi", + "hu", + "he", + "ho", + "ma", + "mi", + "mu", + "me", + "mo", + "ya", + "yu", + "yo", + "ra", + "ri", + "ru", + "re", + "ro", + "wa", + "wo", + "n", + "ga", + "gi", + "gu", + "ge", + "go", + "za", + "ji", + "zu", + "ze", + "zo", + "da", + "ji", + "du", + "de", + "do", + "ba", + "bi", + "bu", + "be", + "bo", + "pa", + "pi", + "pu", + "pe", + "po", + "kya", + "kyi", + "kyu", + "kye", + "kyo", + "sha", + "syi", + "shu", + "she", + "sho", + "cha", + "cyi", + "chu", + "che", + "cho", + "nya", + "nyi", + "nyu", + "nye", + "nyo", + "hya", + "hyi", + "hyu", + "hye", + "hyo", + "mya", + "myi", + "myu", + "mye", + "myo", + "rya", + "ryi", + "ryu", + "rye", + "ryo", + "gya", + "gyi", + "gyu", + "gye", + "gyo", + "ja", + "ji", + "ju", + "je", + "jo", + "dya", + "dyi", + "dyu", + "dye", + "dyo", + "bya", + "byi", + "byu", + "bye", + "byo", + "pya", + "pyi", + "pyu", + "pye", + "pyo", + "gwa", + "gwi", + "gwu", + "gwe", + "gwo", + "tsa", + "tsi", + "tse", + "tso", + "fa", + "fi", + "fe", + "fo", + "wha", + "whi", + "whu", + "whe", + "who", + "va", + "vi", + "vu", + "ve", + "vo", + "dha", + "dhi", + "dhu", + "dhe", + "dho", + "tha", + "thi", + "thu", + "the", + "tho" + ], + "charsetmap": [ + 0, + 1, + 128, + 134, + 136, + 129, + 163, + 122, + 161, + 178, + 177, + 162, + 238, + 186, + 204 + ], + "charsetmapshow": [ + "自动", + "系统默认", + "日语", + "简体中文", + "繁体中文", + "韩语", + "越南语", + "泰语", + "希腊语", + "阿拉伯语", + "希伯来语", + "土耳其语", + "中东欧", + "北欧", + "西里尔" + ], + "hcodeintroduction": "Enter read code\nR{S|Q|V|M}[null_length<][codepage#]@addr\nOR\nEnter hook code\nH{A|B|W|H|S|Q|V|M}[F][null_length<][N][codepage#][padding+]data_offset[*deref_offset][:split_offset[*deref_offset]]@addr[:module[:func]]\nAll numbers except codepage/null_length in hexadecimal\nDefault codepage is 932 (Shift-JIS) but this can be changed in settings\nA/B: codepage char little/big endian\nW: UTF-16 char\nH: Two hex bytes\nS/Q/V/M: codepage/UTF-16/UTF-8/hex string\nF: treat strings as full lines of text\nN: don't use context\nnull_length: length of null terminator used for string\npadding: length of padding data before string (C struct { int64_t size; char string[500]; } needs padding = 8)\nNegatives for data_offset/split_offset refer to registers\n-4 for EAX, -8 for ECX, -C for EDX, -10 for EBX, -14 for ESP, -18 for EBP, -1C for ESI, -20 for EDI\n-C for RAX, -14 for RBX, -1C for RCX, -24 for RDX, and so on for RSP, RBP, RSI, RDI, R8-R15\n* means dereference pointer+deref_offset", + "aboutsource": [ + { + "name": "离线翻译", + "sources": [ + { + "name": "J北京7", + "type": "group", + "links": [ + { + "name": "J北京7", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/JBeijing7.zip" + }, + { + "name": "用户词典", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/JBeijing7UserDict.zip" + } + ] + }, + { + "name": "金山快译", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/FastAIT09_Setup.25269.4101.zip" + }, + { + "name": "快译通", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/DR.eye.zip" + }, + { + "name": "MT5", + "link": "https://github.com/chaihahaha/OrtMT5/releases/tag/v0.1.0" + }, + { + "name": "Sugoi", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/Sugoi_Translator_V8.7z" + }, + { + "name": "Sakura大模型", + "link": "https://github.com/SakuraLLM/Sakura-13B-Galgame" + }, + { + "name": "TGW懒人包", + "link": "https://pan.baidu.com/s/1fe7iiHIAtoXW80Twsrv8Nw?pwd=pato" + } + ] + }, + { + "name": "OCR", + "sources": [ + { + "name": "本地OCR_语言包", + "type": "group", + "links": [ + { + "name": "日语", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ja.zip" + }, + { + "name": "英文", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/en.zip" + }, + { + "name": "简体中文", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/zh.zip" + }, + { + "name": "繁体中文", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/cht.zip" + }, + { + "name": "韩语", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ko.zip" + }, + { + "name": "俄语", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ru.zip" + } + ] + }, + { + "name": "mangaocr", + "type": "group", + "links": [ + { + "name": "项目仓库", + "link": "https://github.com/kha-white/manga-ocr" + }, + { + "name": "整合包_CPU", + "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip" + }, + { + "name": "整合包_GPU", + "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_gpu_v0.1.11.7z" + } + ] + } + ] + }, + { + "name": "辞书", + "sources": [ + { + "name": "MeCab", + "type": "group", + "links": [ + { + "name": "MeCab", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/Mecab.zip" + }, + { + "name": "Unidic", + "link": "https://clrd.ninjal.ac.jp/unidic/" + } + ] + }, + { + "name": "小学馆", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/xiaoxueguan.db" + }, + { + "name": "EDICT", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/edict.db" + }, + { + "name": "EDICT2", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/edict2" + }, + { + "name": "灵格斯词典", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/Lingoes.zip" + }, + { + "name": "MDict", + "type": "group", + "links": [ + { + "name": "论坛", + "link": "https://forum.freemdict.com/" + }, + { + "name": "freemdict", + "link": "https://search.freemdict.com/" + } + ] + } + ] + }, + { + "name": "语音合成", + "sources": [ + { + "name": "NeoSpeech", + "type": "group", + "links": [ + { + "name": "Misaki", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/NeoSpeech.Japanese.Misaki.zip" + }, + { + "name": "Show", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/NeoSpeech.TTS.NeoSpeech.Japanese.Show_v3.10.0.0.zip" + } + ] + }, + { + "name": "VOICEVOX", + "link": "https://github.com/VOICEVOX/voicevox/releases" + }, + { + "name": "vits-simple-api", + "type": "group", + "links": [ + { + "name": "Github仓库", + "link": "https://github.com/Artrajz/vits-simple-api/releases" + }, + { + "name": "整合包_CPU", + "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-cpu-v0.6.9_vits-uma-genshin-honkai.rar" + }, + { + "name": "整合包_GPU", + "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-gpu-v0.6.9_vits-uma-genshin-honkai.7z" + } + ] + }, + { + "name": "VoiceRoid+_東北ずん子/东北俊子", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/voiceroid_plus/VOICEROID+zunko.7z" + }, + { + "name": "VoiceRoid2", + "type": "group", + "links": [ + { + "name": "SFE_結月ゆかり/结月缘", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/Yukari2.zip" + }, + { + "name": "結月ゆかり/结月缘", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Yuzuki_Yukari.zip" + }, + { + "name": "紲星あかり/绁星灯", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Kizuna_Akari.zip" + }, + { + "name": "琴葉 茜・葵", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Kotonoha_Akane_Aoi.zip" + }, + { + "name": "伊織弓鶴", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Iori_Yuzuru.zip" + }, + { + "name": "ついなちゃん", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_tsuina-chan_dl_e.zip" + }, + { + "name": "東北イタコ/东北伊达子", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Tohoku_Itako.zip" + }, + { + "name": "附加音源_結月ゆかり", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yukari_emo_44.zip" + }, + { + "name": "附加音源_紲星あかり", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/akari_44.zip" + }, + { + "name": "附加音源_東北きりたん", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/kiritan_44.zip" + }, + { + "name": "附加音源_東北イタコ", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/itako_emo_44.zip" + }, + { + "name": "附加音源_東北ずん子", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/zunko_44.zip" + }, + { + "name": "附加音源_伊織弓鶴", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yuzuru_emo_44.zip" + }, + { + "name": "附加音源_ついなちゃん", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tsuina_44.zip" + }, + { + "name": "附加音源_ついなちゃん(関西弁)", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tsuina_west_44.zip" + }, + { + "name": "附加音源_琴葉茜", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/akane_west_emo_44.zip" + }, + { + "name": "附加音源_琴葉葵", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/aoi_emo_44.zip" + }, + { + "name": "附加音源_水奈瀬コウ", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/kou_44.zip" + }, + { + "name": "附加音源_桜乃そら", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/sora_44.zip" + }, + { + "name": "附加音源_民安ともえ", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tamiyasu_44.zip" + }, + { + "name": "附加音源_月読アイ", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/ai_44.zip" + }, + { + "name": "附加音源_月読ショウタ", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/shouta_44.zip" + }, + { + "name": "附加音源_京町セイカ", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/seika_44.zip" + }, + { + "name": "附加音源_音街ウナ", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/una_44.zip" + }, + { + "name": "附加音源_鷹の爪吉田", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yoshidakun_44.zip" + }, + { + "name": "附加音源_ギャラ子", + "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/galaco_44.zip" + } + ] + } + ] + }, + { + "name": "转区", + "sources": [ + { + "name": "Locale-Emulator", + "link": "https://github.com/xupefei/Locale-Emulator/releases/download/v2.5.0.1/Locale.Emulator.2.5.0.1.zip" + }, + { + "name": "Locale_Remulator", + "link": "https://github.com/InWILL/Locale_Remulator/releases/download/v1.5.3-beta.1/Locale_Remulator.1.5.3-beta.1.zip" + }, + { + "name": "Ntleas", + "link": "https://github.com/zxyacb/ntlea/releases/download/0.46/ntleas046_x64.7z" + } + ] + }, + { + "name": "其他", + "sources": [ + { + "name": "Magpie", + "type": "group", + "links": [ + { + "name": "Github仓库", + "link": "https://github.com/Blinue/Magpie/releases" + }, + { + "name": "win7适配版", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/Release.zip" + } + ] + }, + { + "name": "QWebEngine", + "type": "group", + "links": [ + { + "name": "x86", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x86.zip" + }, + { + "name": "x64", + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x64.zip" + } + ] + } + ] + } + ], + "mod_map": { + "CTRL": 2, + "SHIFT": 4, + "WIN": 8, + "ALT": 1 + }, + "vkcode_map": { + "F1": 112, + "F2": 113, + "F3": 114, + "F4": 115, + "F5": 116, + "F6": 117, + "F7": 118, + "F8": 119, + "F9": 120, + "F10": 121, + "F11": 122, + "F12": 123, + "A": 65, + "B": 66, + "C": 67, + "D": 68, + "E": 69, + "F": 70, + "G": 71, + "H": 72, + "I": 73, + "J": 74, + "K": 75, + "L": 76, + "M": 77, + "N": 78, + "O": 79, + "P": 80, + "Q": 81, + "R": 82, + "S": 83, + "T": 84, + "U": 85, + "V": 86, + "W": 87, + "X": 88, + "Y": 89, + "Z": 90, + "0": 48, + "1": 49, + "2": 50, + "3": 51, + "4": 52, + "5": 53, + "6": 54, + "7": 55, + "8": 56, + "9": 57, + "UP": 38, + "DOWN": 40, + "LEFT": 37, + "RIGHT": 39, + "PRIOR": 33, + "NEXT": 34, + "HOME": 36, + "END": 35, + "INSERT": 45, + "RETURN": 13, + "TAB": 9, + "SPACE": 32, + "BACKSPACE": 8, + "DELETE": 46, + "ESC": 27, + "PAUSE": 19, + "MULTIPLY": 106, + "ADD": 107, + "SEPARATOR": 108, + "SUBTRACT": 109, + "-": 189, + "=": 187, + ",": 188, + ".": 190, + "/": 191, + "`": 192, + ";": 186, + "[": 219, + "\\": 220, + "]": 221, + "'": 222, + "DECIMAL": 110, + "DIVIDE": 111, + "NUMPAD0": 96, + "NUMPAD1": 97, + "NUMPAD2": 98, + "NUMPAD3": 99, + "NUMPAD4": 100, + "NUMPAD5": 101, + "NUMPAD6": 102, + "NUMPAD7": 103, + "NUMPAD8": 104, + "NUMPAD9": 105, + "F13": 124, + "F14": 125, + "F15": 126, + "F16": 127, + "F17": 128, + "F18": 129, + "F19": 130, + "F20": 131, + "F21": 132, + "F22": 133, + "F23": 134, + "F24": 135, + "CLEAR": 12, + "ENTER": 13, + "SHIFT": 16, + "CTRL": 17, + "ALT": 18, + "CAPS_LOCK": 20, + "SPACEBAR": 32, + "PAGE_UP": 33, + "PAGE_DOWN": 34, + "LEFT_ARROW": 37, + "UP_ARROW": 38, + "RIGHT_ARROW": 39, + "DOWN_ARROW": 40, + "SELECT": 41, + "PRINT": 42, + "EXECUTE": 43, + "PRINT_SCREEN": 44, + "INS": 45, + "DEL": 46, + "HELP": 47, + "NUMPAD_0": 96, + "NUMPAD_1": 97, + "NUMPAD_2": 98, + "NUMPAD_3": 99, + "NUMPAD_4": 100, + "NUMPAD_5": 101, + "NUMPAD_6": 102, + "NUMPAD_7": 103, + "NUMPAD_8": 104, + "NUMPAD_9": 105, + "MULTIPLY_KEY": 106, + "ADD_KEY": 107, + "SEPARATOR_KEY": 108, + "SUBTRACT_KEY": 109, + "DECIMAL_KEY": 110, + "DIVIDE_KEY": 111, + "NUM_LOCK": 144, + "SCROLL_LOCK": 145, + "LEFT_SHIFT": 160, + "RIGHT_SHIFT ": 161, + "LEFT_CONTROL": 162, + "RIGHT_CONTROL": 163, + "LEFT_MENU": 164, + "RIGHT_MENU": 165, + "BROWSER_BACK": 166, + "BROWSER_FORWARD": 167, + "BROWSER_REFRESH": 168, + "BROWSER_STOP": 169, + "BROWSER_SEARCH": 170, + "BROWSER_FAVORITES": 171, + "BROWSER_START_AND_HOME": 172, + "VOLUME_MUTE": 173, + "VOLUME_DOWN": 174, + "VOLUME_UP": 175, + "NEXT_TRACK": 176, + "PREVIOUS_TRACK": 177, + "STOP_MEDIA": 178, + "PLAY/PAUSE_MEDIA": 179, + "START_MAIL": 180, + "SELECT_MEDIA": 181, + "START_APPLICATION_1": 182, + "START_APPLICATION_2": 183, + "ATTN_KEY": 246, + "CRSEL_KEY": 247, + "EXSEL_KEY": 248, + "PLAY_KEY": 250, + "ZOOM_KEY": 251, + "CLEAR_KEY": 254, + "+": 187 + }, + "kanjichs2ja": { + "谈": "談", + "挂": "掛", + "临": "臨", + "线": "線", + "纸": "紙", + "话": "話", + "铣": "銑", + "扬": "揚", + "绿": "緑", + "渔": "漁", + "讲": "講", + "贞": "貞", + "胀": "脹", + "视": "視", + "录": "録", + "后": "後", + "缔": "締", + "胜": "勝", + "离": "離", + "胁": "脅", + "场": "場", + "轴": "軸", + "节": "節", + "构": "構", + "伟": "偉", + "纪": "紀", + "术": "術", + "汉": "漢", + "几": "幾", + "绪": "緒", + "导": "導", + "辉": "輝", + "咏": "詠", + "库": "庫", + "邮": "郵", + "沟": "溝", + "伞": "傘", + "浊": "濁", + "结": "結", + "诱": "誘", + "标": "標", + "冢": "塚", + "缩": "縮", + "悬": "懸", + "贵": "貴", + "识": "識", + "筑": "築", + "连": "連", + "扫": "掃", + "叶": "葉", + "驻": "駐", + "吃": "喫", + "骑": "騎", + "务": "務", + "锤": "錘", + "馆": "館", + "制": "製", + "绩": "績", + "寻": "尋", + "辈": "輩", + "册": "冊", + "昙": "曇", + "负": "負", + "圣": "聖", + "记": "記", + "肠": "腸", + "义": "義", + "顽": "頑", + "东": "東", + "级": "級", + "违": "違", + "系": "係", + "宪": "憲", + "玺": "璽", + "诊": "診", + "类": "類", + "笔": "筆", + "过": "過", + "忧": "憂", + "暂": "暫", + "誊": "謄", + "谱": "譜", + "亲": "親", + "协": "協", + "远": "遠", + "说": "説", + "极": "極", + "帐": "帳", + "诉": "訴", + "华": "華", + "托": "託", + "频": "頻", + "惯": "慣", + "买": "買", + "叹": "嘆", + "鱼": "魚", + "贝": "貝", + "宾": "賓", + "网": "網", + "诞": "誕", + "喷": "噴", + "阶": "階", + "债": "債", + "杀": "殺", + "响": "響", + "进": "進", + "坠": "墜", + "范": "範", + "钢": "鋼", + "紧": "緊", + "仆": "僕", + "诈": "詐", + "彻": "徹", + "雾": "霧", + "饿": "餓", + "钓": "釣", + "谘": "諮", + "训": "訓", + "贮": "貯", + "强": "強", + "见": "見", + "周": "週", + "语": "語", + "调": "調", + "吓": "嚇", + "穷": "窮", + "态": "態", + "业": "業", + "冻": "凍", + "跃": "躍", + "雕": "彫", + "诗": "詩", + "顶": "頂", + "纺": "紡", + "奋": "奮", + "烦": "煩", + "门": "門", + "软": "軟", + "养": "養", + "审": "審", + "舰": "艦", + "证": "証", + "种": "種", + "罢": "罷", + "饭": "飯", + "复": "復", + "鸣": "鳴", + "较": "較", + "优": "優", + "袭": "襲", + "纹": "紋", + "资": "資", + "犹": "猶", + "贯": "貫", + "难": "難", + "减": "減", + "还": "還", + "长": "長", + "纷": "紛", + "势": "勢", + "拟": "擬", + "洁": "潔", + "赁": "賃", + "脉": "脈", + "诚": "誠", + "只": "隻", + "恳": "懇", + "愈": "癒", + "锐": "鋭", + "夸": "誇", + "倾": "傾", + "绍": "紹", + "误": "誤", + "祸": "禍", + "闻": "聞", + "灾": "災", + "谁": "誰", + "众": "衆", + "红": "紅", + "贫": "貧", + "评": "評", + "风": "風", + "损": "損", + "绢": "絹", + "项": "項", + "迁": "遷", + "拥": "擁", + "涂": "塗", + "辖": "轄", + "纠": "糾", + "垦": "墾", + "动": "動", + "购": "購", + "议": "議", + "饥": "飢", + "灭": "滅", + "张": "張", + "杰": "傑", + "并": "併", + "顺": "順", + "桥": "橋", + "规": "規", + "惊": "驚", + "诘": "詰", + "谨": "謹", + "伪": "偽", + "机": "機", + "亿": "億", + "铃": "鈴", + "员": "員", + "坚": "堅", + "统": "統", + "换": "換", + "仿": "倣", + "妆": "粧", + "错": "錯", + "鸟": "鳥", + "贩": "販", + "虏": "虜", + "问": "問", + "饱": "飽", + "维": "維", + "质": "質", + "个": "個", + "获": "獲", + "饰": "飾", + "绵": "綿", + "阅": "閲", + "领": "領", + "舍": "捨", + "树": "樹", + "梦": "夢", + "讼": "訟", + "际": "際", + "浓": "濃", + "仪": "儀", + "师": "師", + "纳": "納", + "职": "職", + "仓": "倉", + "锻": "鍛", + "窑": "窯", + "饲": "飼", + "颜": "顔", + "别": "別", + "启": "啓", + "测": "測", + "达": "達", + "终": "終", + "遗": "遺", + "盘": "盤", + "唤": "喚", + "详": "詳", + "轩": "軒", + "适": "適", + "妇": "婦", + "输": "輸", + "额": "額", + "亩": "畝", + "铅": "鉛", + "赔": "賠", + "轨": "軌", + "备": "備", + "谕": "諭", + "贿": "賄", + "绞": "絞", + "卫": "衛", + "产": "産", + "缲": "繰", + "贤": "賢", + "织": "織", + "试": "試", + "鲸": "鯨", + "表": "俵", + "壳": "殻", + "锁": "鎖", + "热": "熱", + "缝": "縫", + "组": "組", + "挥": "揮", + "丧": "喪", + "润": "潤", + "络": "絡", + "时": "時", + "载": "載", + "刚": "剛", + "报": "報", + "侧": "側", + "谦": "謙", + "环": "環", + "访": "訪", + "赐": "賜", + "绝": "絶", + "夺": "奪", + "剧": "劇", + "园": "園", + "缓": "緩", + "干": "幹", + "榨": "搾", + "炮": "砲", + "纲": "綱", + "丽": "麗", + "块": "塊", + "飞": "飛", + "无": "無", + "阀": "閥", + "渐": "漸", + "伦": "倫", + "车": "車", + "闭": "閉", + "鲜": "鮮", + "肤": "膚", + "侦": "偵", + "锭": "錠", + "设": "設", + "忆": "憶", + "课": "課", + "云": "雲", + "谒": "謁", + "疗": "療", + "愤": "憤", + "头": "頭", + "贼": "賊", + "敌": "敵", + "书": "書", + "矫": "矯", + "铭": "銘", + "阁": "閣", + "庆": "慶", + "丑": "醜", + "则": "則", + "货": "貨", + "讨": "討", + "兴": "興", + "细": "細", + "运": "運", + "竞": "競", + "缚": "縛", + "银": "銀", + "纯": "純", + "阴": "陰", + "谷": "穀", + "词": "詞", + "滥": "濫", + "罚": "罰", + "础": "礎", + "马": "馬", + "铳": "銃", + "韵": "韻", + "针": "針", + "栋": "棟", + "岛": "島", + "队": "隊", + "谣": "謡", + "订": "訂", + "费": "費", + "耻": "恥", + "准": "準", + "执": "執", + "颁": "頒", + "军": "軍", + "伤": "傷", + "贸": "貿", + "为": "為", + "绅": "紳", + "约": "約", + "请": "請", + "帅": "帥", + "责": "責", + "茧": "繭", + "粮": "糧", + "阵": "陣", + "升": "昇", + "坟": "墳", + "偿": "償", + "宁": "寧", + "钟": "鐘", + "计": "計", + "缮": "繕", + "贺": "賀", + "练": "練", + "陈": "陳", + "汤": "湯", + "迹": "跡", + "创": "創", + "败": "敗", + "阳": "陽", + "冲": "衝", + "电": "電", + "吊": "弔", + "宫": "宮", + "钵": "鉢", + "采": "採", + "荐": "薦", + "给": "給", + "狱": "獄", + "简": "簡", + "弃": "棄", + "农": "農", + "爱": "愛", + "现": "現", + "赏": "賞", + "扑": "撲", + "护": "護", + "监": "監", + "间": "間", + "异": "異", + "顾": "顧", + "涡": "渦", + "凉": "涼", + "该": "該", + "饮": "飲", + "鉴": "鑑", + "腾": "騰", + "谋": "謀", + "题": "題", + "贡": "貢", + "纬": "緯", + "论": "論", + "诺": "諾", + "决": "決", + "诏": "詔", + "志": "誌", + "游": "遊", + "赠": "贈", + "惩": "懲", + "确": "確", + "选": "選", + "渍": "漬", + "认": "認", + "赋": "賦", + "罗": "羅", + "编": "編", + "财": "財", + "况": "況", + "烟": "煙", + "习": "習", + "预": "預", + "栏": "欄", + "轮": "輪", + "绀": "紺", + "孙": "孫", + "铜": "銅", + "闲": "閑", + "开": "開", + "钝": "鈍", + "谢": "謝", + "层": "層", + "陆": "陸", + "镜": "鏡", + "积": "積", + "币": "幣", + "笃": "篤", + "贷": "貸", + "许": "許", + "愿": "願", + "镇": "鎮", + "虑": "慮", + "坛": "壇", + "补": "補", + "诸": "諸" + }, + "checkintegrity": { + "shared": [ + "./files/plugins/shareddllproxy32.exe", + "./files/plugins/shareddllproxy64.exe", + "./files/plugins/LunaHook/LunaHook32.dll", + "./files/plugins/LunaHook/LunaHook64.dll", + "./files/plugins/LunaHook/LunaHost64.dll", + "./files/plugins/LunaHook/LunaHost32.dll", + "./files/plugins/LoaderDll.dll", + "./files/plugins/LocaleEmulator.dll", + "./files/plugins/hookmagpie.dll" + ], + "64": [ + "./files/plugins/DLL64/winsharedutils64.dll", + "./files/plugins/DLL64/winrtutils64.dll", + "./files/plugins/DLL64/LunaOCR64.dll", + "./files/plugins/DLL64/libmecab.dll", + "./files/plugins/DLL64/libcurl-x64.dll" + ], + "32": [ + "./files/plugins/DLL32/winsharedutils32.dll", + "./files/plugins/DLL32/winrtutils32.dll", + "./files/plugins/DLL32/LunaOCR32.dll", + "./files/plugins/DLL32/libmecab.dll", + "./files/plugins/DLL32/libcurl.dll" + ] + }, + "scalemethods": [ + "magpie_builtin", + "alt_enter", + "SW_SHOWMAXIMIZED", + "external_magpie" + ], + "scalemethods_vis": [ + "Magpie", + "ALT+ENTER", + "SW_SHOWMAXIMIZED", + "Magpie_External" + ], + "transoptimi": [ + { + "name": "noundict", + "visname": "使用专有名词翻译" + }, + { + "name": "transerrorfix", + "visname": "使用翻译结果修正" + }, + { + "name": "gongxiangcishu", + "visname": "使用VNR共享辞书" + }, + { + "name": "vndbnamemap", + "visname": "使用VNDB数据替换人名", + "languageuse": "en" + }, + { + "name": "myprocess", + "visname": "使用自定义优化" + }, + { + "name": "arabic_reshaper", + "visname": "arabic reshaper", + "languageuse": "ar" + } + ], + "model_fileds": [ + "word", + "remarks", + "example_sentence", + "image", + "audio", + "audio_sentence", + "rubytext", + "explain" + ], + "textrender": { + "textbrowser": [ + "normal", + "yinying", + "miaobian0", + "miaobian1" + ], + "webview": [ + "normal", + "yinying", + "miaobian0", + "miaobian1" + ] + }, + "audioengine": [ + "mci", + "miniaudio" + ], + "audioengine_vis": [ + "Windows MCI", + "miniaudio" + ] +} \ No newline at end of file diff --git a/LunaTranslator/files/defaultconfig/config.json b/LunaTranslator/files/defaultconfig/config.json index d1d453b9..ff0b1442 100644 --- a/LunaTranslator/files/defaultconfig/config.json +++ b/LunaTranslator/files/defaultconfig/config.json @@ -285,10 +285,7 @@ } }, "relationlinks": [ - [ - "LunaTranslator", - "https://github.com/HIllya51/LunaTranslator" - ], + [ "vndb", "https://vndb.org/" diff --git a/LunaTranslator/files/defaultconfig/ocrsetting.json b/LunaTranslator/files/defaultconfig/ocrsetting.json index 1bb394b2..6d16d7e0 100644 --- a/LunaTranslator/files/defaultconfig/ocrsetting.json +++ b/LunaTranslator/files/defaultconfig/ocrsetting.json @@ -246,8 +246,8 @@ "mangaocr": { "args": { "项目仓库": "https://github.com/kha-white/manga-ocr", - "整合包_CPU": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_cpu_v0.1.11.zip", - "整合包_GPU": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_gpu_v0.1.11.7z", + "整合包_CPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip", + "整合包_GPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-gpu-v0.6.9_vits-uma-genshin-honkai.7z", "Port": 5665 }, "argstype": { diff --git a/LunaTranslator/files/defaultconfig/static_data.json b/LunaTranslator/files/defaultconfig/static_data.json index 3f2a6059..b75bb77a 100644 --- a/LunaTranslator/files/defaultconfig/static_data.json +++ b/LunaTranslator/files/defaultconfig/static_data.json @@ -674,36 +674,10 @@ { "name": "离线翻译", "sources": [ - { - "name": "J北京7", - "type": "group", - "links": [ - { - "name": "J北京7", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/JBeijing7.zip" - }, - { - "name": "用户词典", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/JBeijing7UserDict.zip" - } - ] - }, - { - "name": "金山快译", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/FastAIT09_Setup.25269.4101.zip" - }, - { - "name": "快译通", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/DR.eye.zip" - }, { "name": "MT5", "link": "https://github.com/chaihahaha/OrtMT5/releases/tag/v0.1.0" }, - { - "name": "Sugoi", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/Sugoi_Translator_V8.7z" - }, { "name": "Sakura大模型", "link": "https://github.com/SakuraLLM/Sakura-13B-Galgame" @@ -723,27 +697,27 @@ "links": [ { "name": "日语", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/ja.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ja.zip" }, { "name": "英文", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/en.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/en.zip" }, { "name": "简体中文", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/zh.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/zh.zip" }, { "name": "繁体中文", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/cht.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/cht.zip" }, { "name": "韩语", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/ko.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ko.zip" }, { "name": "俄语", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/ru.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ru.zip" } ] }, @@ -757,11 +731,11 @@ }, { "name": "整合包_CPU", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_cpu_v0.1.11.zip" + "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip" }, { "name": "整合包_GPU", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_gpu_v0.1.11.7z" + "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_gpu_v0.1.11.7z" } ] } @@ -776,7 +750,7 @@ "links": [ { "name": "MeCab", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/Mecab.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/Mecab.zip" }, { "name": "Unidic", @@ -786,19 +760,19 @@ }, { "name": "小学馆", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/xiaoxueguan.db" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/xiaoxueguan.db" }, { "name": "EDICT", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/edict.db" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/edict.db" }, { "name": "EDICT2", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/edict2" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/edict2" }, { "name": "灵格斯词典", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/Lingoes.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/Lingoes.zip" }, { "name": "MDict", @@ -819,20 +793,6 @@ { "name": "语音合成", "sources": [ - { - "name": "NeoSpeech", - "type": "group", - "links": [ - { - "name": "Misaki", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/NeoSpeech.Japanese.Misaki.zip" - }, - { - "name": "Show", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/NeoSpeech.TTS.NeoSpeech.Japanese.Show_v3.10.0.0.zip" - } - ] - }, { "name": "VOICEVOX", "link": "https://github.com/VOICEVOX/voicevox/releases" @@ -854,120 +814,6 @@ "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-gpu-v0.6.9_vits-uma-genshin-honkai.7z" } ] - }, - { - "name": "VoiceRoid+_東北ずん子/东北俊子", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/voiceroid_plus/VOICEROID+zunko.7z" - }, - { - "name": "VoiceRoid2", - "type": "group", - "links": [ - { - "name": "SFE_結月ゆかり/结月缘", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/Yukari2.zip" - }, - { - "name": "結月ゆかり/结月缘", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Yuzuki_Yukari.zip" - }, - { - "name": "紲星あかり/绁星灯", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Kizuna_Akari.zip" - }, - { - "name": "琴葉 茜・葵", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Kotonoha_Akane_Aoi.zip" - }, - { - "name": "伊織弓鶴", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Iori_Yuzuru.zip" - }, - { - "name": "ついなちゃん", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_tsuina-chan_dl_e.zip" - }, - { - "name": "東北イタコ/东北伊达子", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Tohoku_Itako.zip" - }, - { - "name": "附加音源_結月ゆかり", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yukari_emo_44.zip" - }, - { - "name": "附加音源_紲星あかり", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/akari_44.zip" - }, - { - "name": "附加音源_東北きりたん", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/kiritan_44.zip" - }, - { - "name": "附加音源_東北イタコ", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/itako_emo_44.zip" - }, - { - "name": "附加音源_東北ずん子", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/zunko_44.zip" - }, - { - "name": "附加音源_伊織弓鶴", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yuzuru_emo_44.zip" - }, - { - "name": "附加音源_ついなちゃん", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tsuina_44.zip" - }, - { - "name": "附加音源_ついなちゃん(関西弁)", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tsuina_west_44.zip" - }, - { - "name": "附加音源_琴葉茜", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/akane_west_emo_44.zip" - }, - { - "name": "附加音源_琴葉葵", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/aoi_emo_44.zip" - }, - { - "name": "附加音源_水奈瀬コウ", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/kou_44.zip" - }, - { - "name": "附加音源_桜乃そら", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/sora_44.zip" - }, - { - "name": "附加音源_民安ともえ", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tamiyasu_44.zip" - }, - { - "name": "附加音源_月読アイ", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/ai_44.zip" - }, - { - "name": "附加音源_月読ショウタ", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/shouta_44.zip" - }, - { - "name": "附加音源_京町セイカ", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/seika_44.zip" - }, - { - "name": "附加音源_音街ウナ", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/una_44.zip" - }, - { - "name": "附加音源_鷹の爪吉田", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yoshidakun_44.zip" - }, - { - "name": "附加音源_ギャラ子", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/galaco_44.zip" - } - ] } ] }, @@ -1001,7 +847,7 @@ }, { "name": "win7适配版", - "link": "https://github.com/HIllya51/Magpie9_win7/releases" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/Release.zip" } ] }, @@ -1011,11 +857,11 @@ "links": [ { "name": "x86", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x86.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x86.zip" }, { "name": "x64", - "link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x64.zip" + "link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x64.zip" } ] } diff --git a/LunaTranslator/files/defaultconfig/translatorsetting.json b/LunaTranslator/files/defaultconfig/translatorsetting.json index 92fd383a..db9588dd 100644 --- a/LunaTranslator/files/defaultconfig/translatorsetting.json +++ b/LunaTranslator/files/defaultconfig/translatorsetting.json @@ -91,7 +91,6 @@ }, "sugoix": { "args": { - "V8": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/Sugoi_Translator_V8.7z", "api": "http://127.0.0.1:14366/" }, "argstype": { diff --git a/build.py b/build.py index 2a9c9de6..96cf8255 100644 --- a/build.py +++ b/build.py @@ -22,12 +22,12 @@ curlFile64 = "https://curl.se/windows/dl-8.7.1_7/curl-8.7.1_7-win64-mingw.zip" curlFileName64 = "curl-8.7.1_7-win64-mingw.zip" -ocrModelUrl = "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models" +ocrModelUrl = ( + "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models" +) availableLocales = ["cht", "en", "ja", "ko", "ru", "zh"] -LunaHook_latest = ( - "https://github.com/HIllya51/LunaHook/releases/latest/download/Release_English.zip" -) +LunaHook_latest = "https://github.com/test123456654321/LunaTranslator/releases/download/LunaHook/Release_English.zip" LocaleRe = "https://github.com/InWILL/Locale_Remulator/releases/download/v1.5.3-beta.1/Locale_Remulator.1.5.3-beta.1.zip" @@ -113,15 +113,15 @@ def downloadcommon(): os.chdir(rootDir + "\\temp") downloadlr() subprocess.run( - f"curl -LO https://github.com/HIllya51/RESOURCES/releases/download/common/mecab.zip" + f"curl -LO https://github.com/test123456654321/LunaTranslator/releases/download/other/mecab.zip" ) subprocess.run(f"7z x mecab.zip -oALL") subprocess.run( - f"curl -LO https://github.com/HIllya51/RESOURCES/releases/download/common/ocr.zip" + f"curl -LO https://github.com/test123456654321/LunaTranslator/releases/download/other/ocr.zip" ) subprocess.run(f"7z x ocr.zip -oALL") subprocess.run( - f"curl -LO https://github.com/HIllya51/RESOURCES/releases/download/common/magpie.zip" + f"curl -LO https://github.com/test123456654321/LunaTranslator/releases/download/other/magpie.zip" ) subprocess.run(f"7z x magpie.zip -oALL") @@ -241,7 +241,7 @@ def buildPlugins(): def downloadsomething(): os.chdir(rootDir + "\\temp") - os.system("git clone https://github.com/HIllya51/stylesheets") + os.system("git clone https://github.com/test123456654321/stylesheets") move_directory_contents("stylesheets", rootDir + "\\LunaTranslator\\files\\themes") diff --git a/docs/images b/docs/images deleted file mode 160000 index 3463b8df..00000000 --- a/docs/images +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3463b8df3ff5c1f52ca3e5815536d95a97907175