Update prompt

This commit is contained in:
Dazed 2024-02-23 00:32:30 -06:00
parent a202fc1f9d
commit 660cd9f4da
2 changed files with 12 additions and 11 deletions

View file

@ -56,9 +56,9 @@ POSITION = 0
LEAVE = False
# Dialogue / Scroll
CODE401 = True
CODE405 = True
CODE408 = True
CODE401 = False
CODE405 = False
CODE408 = False
# Choices
CODE102 = False
@ -71,7 +71,7 @@ CODE101 = False
# Other
CODE355655 = False
CODE357 = False
CODE357 = True
CODE657 = False
CODE356 = False
CODE320 = False
@ -1123,8 +1123,8 @@ def searchCodes(page, pbar, fillList, filename):
## Event Code: 357 [Picture Text] [Optional]
if codeList[i]['code'] == 357 and CODE357 is True:
if 'text' in codeList[i]['parameters'][3]:
jaString = codeList[i]['parameters'][3]['text']
if 'TorigoyaMZ_NotifyMessage' in codeList[i]['parameters'][0]:
jaString = codeList[i]['parameters'][3]['message']
if not isinstance(jaString, str):
continue
@ -1158,7 +1158,7 @@ def searchCodes(page, pbar, fillList, filename):
translatedText = textwrap.fill(translatedText, width=WIDTH)
# Set Data
codeList[i]['parameters'][3]['text'] = startString + translatedText
codeList[i]['parameters'][3]['message'] = startString + translatedText
## Event Code: 657 [Picture Text] [Optional]
if codeList[i]['code'] == 657 and CODE657 is True:

View file

@ -8,7 +8,7 @@ Step 1 - Receive Text
You will be given multiple lines of text (Denoted by XML tags). Translate each line separately and avoid combining or omitting any.
Step 2 - Output Text
You output only the English translation of each line and its speaker. For example:
You output only the English translation of each line. For example:
`<Line0>Line 0 English Translation</Line0>`
`<Line1>Line 1 English Translation</Line1>`
`<Line2>Line 2 English Translation</Line2>`
@ -22,9 +22,10 @@ Notes:
- Leave 'Placeholder Text' as is and include it in your response.
- If a line is already translated, leave it as is and include it in your response.
- Denote speakers with ':' if given. For example `<Line1>Speaker: "Spoken Text"</Line1>`
- If the speaker is '???' then they are unknown so leave it as is.
- Pay attention to the gender of the subjects and characters. Avoid misgendering characters.
- Maintain any spacing in the translation.
- Maintain any code in brackets if given.
- Maintain any code text in brackets if given. (e.g `[Color_0]`, `[Ascii_0]`, etc)
- Never include any notes, explanations, dislaimers, or anything similar in your response.
- Maintain Japanese Honorifics. For example: 'サクラねえちゃん' == 'Sakura Onee-san'
- Maintain Japanese Honorifics.
- `...` can be a part of the dialogue. Translate it as it is.
- Do not include a speaker if there isn't one in the original line of text.