Update requirements.txt
This commit is contained in:
parent
0533ca7078
commit
05b4f57998
2 changed files with 5 additions and 4 deletions
|
|
@ -213,7 +213,7 @@ def translateTyrano(data, pbar, totalLines):
|
|||
if len(data) > i+1:
|
||||
while '[r]' in data[i+1]:
|
||||
if insertBool is True:
|
||||
data[i] = '\d\n'
|
||||
data[i] = r'\d\n'
|
||||
pbar.update(1)
|
||||
i += 1
|
||||
matchList = re.findall(r'(.+?)\[r\]', data[i])
|
||||
|
|
@ -221,7 +221,7 @@ def translateTyrano(data, pbar, totalLines):
|
|||
currentGroup.append(matchList[0])
|
||||
while '[pcms]' in data[i+1]:
|
||||
if insertBool is True:
|
||||
data[i] = '\d\n'
|
||||
data[i] = r'\d\n'
|
||||
pbar.update(1)
|
||||
i += 1
|
||||
matchList = re.findall(r'(.+?)\[pcms\]', data[i])
|
||||
|
|
@ -229,7 +229,7 @@ def translateTyrano(data, pbar, totalLines):
|
|||
currentGroup.append(matchList[0])
|
||||
while '[pcms_sel]' in data[i+1]:
|
||||
if insertBool is True:
|
||||
data[i] = '\d\n'
|
||||
data[i] = r'\d\n'
|
||||
pbar.update(1)
|
||||
i += 1
|
||||
matchList = re.findall(r'(.+?)\[pcms_sel\]', data[i])
|
||||
|
|
@ -311,7 +311,7 @@ def translateTyrano(data, pbar, totalLines):
|
|||
textList = translatedText.split('\n')
|
||||
|
||||
# Set Text
|
||||
data[i] = '\d\n'
|
||||
data[i] = r'\d\n'
|
||||
for line in textList:
|
||||
# Wordwrap Text
|
||||
if '[r]' not in line:
|
||||
|
|
|
|||
|
|
@ -5,3 +5,4 @@ retry==0.9.2
|
|||
ruamel.yaml==0.17.32
|
||||
tiktoken==0.5.2
|
||||
tqdm==4.65.0
|
||||
pillow==10.4.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue