mvmz | fix cutting off on newlines for already translated lines.
This commit is contained in:
parent
e3299fe4ef
commit
3ecaf84bff
1 changed files with 1 additions and 1 deletions
|
|
@ -1759,7 +1759,7 @@ def searchCodes(page, pbar, jobList, filename):
|
|||
# Replace Speaker
|
||||
if len(speakerList) != 0:
|
||||
# Check if speaker+dialogue are on same line (【speaker】dialogue)
|
||||
sameLineMatch = re.match(r"^\s*【([^】]+)】(.+)", jaString)
|
||||
sameLineMatch = re.match(r"^\s*【([^】]+)】(.+)", jaString, re.DOTALL)
|
||||
|
||||
if sameLineMatch and len(speakerList) == 1:
|
||||
# Translate speaker
|
||||
|
|
|
|||
Loading…
Reference in a new issue