diff --git a/LunaTranslator/LunaTranslator/myutils/config.py b/LunaTranslator/LunaTranslator/myutils/config.py index 8519b17d..5f0bef5f 100644 --- a/LunaTranslator/LunaTranslator/myutils/config.py +++ b/LunaTranslator/LunaTranslator/myutils/config.py @@ -519,6 +519,14 @@ language_last = None languageshow = {} +static_data["language_list_translator_inner"] = [ + _["code"] for _ in static_data["lang_list_all"] +] + +static_data["language_list_translator_inner_english"] = [ + _["en"] for _ in static_data["lang_list_all"] +] + def getlanguse(): return globalconfig["languageuse2"] diff --git a/LunaTranslator/files/defaultconfig/static_data.json b/LunaTranslator/files/defaultconfig/static_data.json index 303628bc..6da52e96 100644 --- a/LunaTranslator/files/defaultconfig/static_data.json +++ b/LunaTranslator/files/defaultconfig/static_data.json @@ -1994,30 +1994,6 @@ "languageuse": "ar" } ], - "language_list_translator_inner": [ - "zh", - "ja", - "cht", - "en", - "ru", - "es", - "ko", - "fr", - "vi", - "tr", - "pl", - "uk", - "it", - "ar", - "th", - "bo", - "de", - "sv", - "nl", - "cs", - "pt", - "hu" - ], "model_fileds": [ "word", "remarks",