issues/691

This commit is contained in:
恍兮惚兮 2024-04-27 17:50:45 +08:00
parent 57f4830578
commit 92030d892b
4 changed files with 2182 additions and 3 deletions

View File

@ -534,7 +534,12 @@ def checkpostlangmatch(name):
for item in static_data["transoptimi"]: for item in static_data["transoptimi"]:
if name == item["name"]: if name == item["name"]:
try: try:
return globalconfig["languageuse"] == item["languageuse"] return (
static_data["language_list_translator_inner"][
globalconfig["languageuse"]
]
== item["languageuse"]
)
except: except:
return True return True

File diff suppressed because it is too large Load Diff

View File

@ -54,7 +54,8 @@
"transerrorfix":false, "transerrorfix":false,
"gongxiangcishu":false, "gongxiangcishu":false,
"vndbnamemap":false, "vndbnamemap":false,
"myprocess":false "myprocess":false,
"arabic_reshaper":false
}, },
"uselongtermcache": false, "uselongtermcache": false,
"hist_split": false, "hist_split": false,

View File

@ -353,11 +353,16 @@
{ {
"name":"vndbnamemap", "name":"vndbnamemap",
"visname":"使用VNDB数据替换人名", "visname":"使用VNDB数据替换人名",
"languageuse":2 "languageuse":"en"
}, },
{ {
"name":"myprocess", "name":"myprocess",
"visname":"使用自定义优化" "visname":"使用自定义优化"
},
{
"name":"arabic_reshaper",
"visname":"arabic reshaper",
"languageuse":"ar"
} }
] ]
} }