mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
ccf0910c23
commit
5837c74b43
@ -137,6 +137,7 @@ class Process:
|
||||
for key, value in self.sorted_vnrshareddict_post:
|
||||
if key in res:
|
||||
res = res.replace(key, value["text"])
|
||||
res = res.replace(key.lower(), value["text"])
|
||||
return res
|
||||
|
||||
@staticmethod
|
||||
|
@ -90,4 +90,5 @@ class Process:
|
||||
mp1 = context["zhanweifu"]
|
||||
for key in mp1:
|
||||
res = res.replace(key, mp1[key])
|
||||
res = res.replace(key.lower(), mp1[key])
|
||||
return res
|
||||
|
Loading…
x
Reference in New Issue
Block a user