Update prompt
This commit is contained in:
parent
a202fc1f9d
commit
660cd9f4da
2 changed files with 12 additions and 11 deletions
|
|
@ -56,9 +56,9 @@ POSITION = 0
|
||||||
LEAVE = False
|
LEAVE = False
|
||||||
|
|
||||||
# Dialogue / Scroll
|
# Dialogue / Scroll
|
||||||
CODE401 = True
|
CODE401 = False
|
||||||
CODE405 = True
|
CODE405 = False
|
||||||
CODE408 = True
|
CODE408 = False
|
||||||
|
|
||||||
# Choices
|
# Choices
|
||||||
CODE102 = False
|
CODE102 = False
|
||||||
|
|
@ -71,7 +71,7 @@ CODE101 = False
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
CODE355655 = False
|
CODE355655 = False
|
||||||
CODE357 = False
|
CODE357 = True
|
||||||
CODE657 = False
|
CODE657 = False
|
||||||
CODE356 = False
|
CODE356 = False
|
||||||
CODE320 = False
|
CODE320 = False
|
||||||
|
|
@ -1123,8 +1123,8 @@ def searchCodes(page, pbar, fillList, filename):
|
||||||
|
|
||||||
## Event Code: 357 [Picture Text] [Optional]
|
## Event Code: 357 [Picture Text] [Optional]
|
||||||
if codeList[i]['code'] == 357 and CODE357 is True:
|
if codeList[i]['code'] == 357 and CODE357 is True:
|
||||||
if 'text' in codeList[i]['parameters'][3]:
|
if 'TorigoyaMZ_NotifyMessage' in codeList[i]['parameters'][0]:
|
||||||
jaString = codeList[i]['parameters'][3]['text']
|
jaString = codeList[i]['parameters'][3]['message']
|
||||||
if not isinstance(jaString, str):
|
if not isinstance(jaString, str):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
@ -1158,7 +1158,7 @@ def searchCodes(page, pbar, fillList, filename):
|
||||||
translatedText = textwrap.fill(translatedText, width=WIDTH)
|
translatedText = textwrap.fill(translatedText, width=WIDTH)
|
||||||
|
|
||||||
# Set Data
|
# Set Data
|
||||||
codeList[i]['parameters'][3]['text'] = startString + translatedText
|
codeList[i]['parameters'][3]['message'] = startString + translatedText
|
||||||
|
|
||||||
## Event Code: 657 [Picture Text] [Optional]
|
## Event Code: 657 [Picture Text] [Optional]
|
||||||
if codeList[i]['code'] == 657 and CODE657 is True:
|
if codeList[i]['code'] == 657 and CODE657 is True:
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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
|
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>`
|
`<Line0>Line 0 English Translation</Line0>`
|
||||||
`<Line1>Line 1 English Translation</Line1>`
|
`<Line1>Line 1 English Translation</Line1>`
|
||||||
`<Line2>Line 2 English Translation</Line2>`
|
`<Line2>Line 2 English Translation</Line2>`
|
||||||
|
|
@ -22,9 +22,10 @@ Notes:
|
||||||
- Leave 'Placeholder Text' as is and include it in your response.
|
- 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.
|
- 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>`
|
- 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.
|
- Pay attention to the gender of the subjects and characters. Avoid misgendering characters.
|
||||||
- Maintain any spacing in the translation.
|
- 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.
|
- 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.
|
||||||
Loading…
Reference in a new issue