Fix speaker
This commit is contained in:
parent
4bd240d62a
commit
0d3afe0755
2 changed files with 2 additions and 2 deletions
|
|
@ -1066,7 +1066,6 @@ def searchCodes(page, pbar, jobList, filename):
|
|||
|
||||
# Remove Extra Stuff bad for translation.
|
||||
finalJAString = finalJAString.replace("゙", "")
|
||||
finalJAString = finalJAString.replace("―", "-")
|
||||
finalJAString = finalJAString.replace("…", "...")
|
||||
finalJAString = finalJAString.replace("。", ".")
|
||||
finalJAString = re.sub(r"(\.{3}\.+)", "...", finalJAString)
|
||||
|
|
@ -1138,7 +1137,7 @@ def searchCodes(page, pbar, jobList, filename):
|
|||
translatedText = list401[0]
|
||||
|
||||
# Remove speaker
|
||||
match = re.search(r'(^\[?.+?\]?\s?[|:]\s?)', translatedText)
|
||||
match = re.search(r'(^\[.+?\]\s?[|:]\s?)', translatedText)
|
||||
if match:
|
||||
translatedText = translatedText.replace(match.group(1), "")
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ Here are some vocabulary and terms so that you know the proper spelling and tran
|
|||
ギンジ (Ginji)
|
||||
ケンシロウ (Kenshirou)
|
||||
カガミ (Kagami)
|
||||
円 (Yen) - Female
|
||||
|
||||
# Lewd Terms
|
||||
マンコ (pussy)
|
||||
|
|
|
|||
Loading…
Reference in a new issue