mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44: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"]:
|
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
|
||||||
|
|
||||||
|
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,
|
"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,
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user