mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 08:34:13 +08:00
issues/691
This commit is contained in:
parent
57f4830578
commit
92030d892b
@ -534,7 +534,12 @@ def checkpostlangmatch(name):
|
||||
for item in static_data["transoptimi"]:
|
||||
if name == item["name"]:
|
||||
try:
|
||||
return globalconfig["languageuse"] == item["languageuse"]
|
||||
return (
|
||||
static_data["language_list_translator_inner"][
|
||||
globalconfig["languageuse"]
|
||||
]
|
||||
== item["languageuse"]
|
||||
)
|
||||
except:
|
||||
return True
|
||||
|
||||
|
2168
LunaTranslator/LunaTranslator/transoptimi/arabic_reshaper.py
Normal file
2168
LunaTranslator/LunaTranslator/transoptimi/arabic_reshaper.py
Normal file
File diff suppressed because it is too large
Load Diff
@ -54,7 +54,8 @@
|
||||
"transerrorfix":false,
|
||||
"gongxiangcishu":false,
|
||||
"vndbnamemap":false,
|
||||
"myprocess":false
|
||||
"myprocess":false,
|
||||
"arabic_reshaper":false
|
||||
},
|
||||
"uselongtermcache": false,
|
||||
"hist_split": false,
|
||||
|
@ -353,11 +353,16 @@
|
||||
{
|
||||
"name":"vndbnamemap",
|
||||
"visname":"使用VNDB数据替换人名",
|
||||
"languageuse":2
|
||||
"languageuse":"en"
|
||||
},
|
||||
{
|
||||
"name":"myprocess",
|
||||
"visname":"使用自定义优化"
|
||||
},
|
||||
{
|
||||
"name":"arabic_reshaper",
|
||||
"visname":"arabic reshaper",
|
||||
"languageuse":"ar"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user