Fix speaker

This commit is contained in:
DazedAnon 2025-02-25 15:06:16 -06:00
parent 4bd240d62a
commit 0d3afe0755
2 changed files with 2 additions and 2 deletions

View file

@ -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), "")

View file

@ -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)