Add missed natureFragment (#3859)

This commit is contained in:
Enoch 2024-08-28 09:37:20 +09:00 committed by GitHub
parent f34137a950
commit 214a9275a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 55 additions and 4 deletions

View File

@ -13,5 +13,32 @@
"metFragment": { "metFragment": {
"normal": "met at Lv{{level}},\n{{biome}}.", "normal": "met at Lv{{level}},\n{{biome}}.",
"apparently": "apparently met at Lv{{level}},\n{{biome}}." "apparently": "apparently met at Lv{{level}},\n{{biome}}."
},
"natureFragment": {
"Hardy": "{{nature}}",
"Lonely": "{{nature}}",
"Brave": "{{nature}}",
"Adamant": "{{nature}}",
"Naughty": "{{nature}}",
"Bold": "{{nature}}",
"Docile": "{{nature}}",
"Relaxed": "{{nature}}",
"Impish": "{{nature}}",
"Lax": "{{nature}}",
"Timid": "{{nature}}",
"Hasty": "{{nature}}",
"Serious": "{{nature}}",
"Jolly": "{{nature}}",
"Naive": "{{nature}}",
"Modest": "{{nature}}",
"Mild": "{{nature}}",
"Quiet": "{{nature}}",
"Bashful": "{{nature}}",
"Rash": "{{nature}}",
"Calm": "{{nature}}",
"Gentle": "{{nature}}",
"Sassy": "{{nature}}",
"Careful": "{{nature}}",
"Quirky": "{{nature}}"
} }
} }

View File

@ -13,5 +13,32 @@
"metFragment": { "metFragment": {
"normal": "{{biome}}에서\n레벨 {{level}}일 때 만났다.", "normal": "{{biome}}에서\n레벨 {{level}}일 때 만났다.",
"apparently": "{{biome}}에서\n레벨 {{level}}일 때 만난 것 같다." "apparently": "{{biome}}에서\n레벨 {{level}}일 때 만난 것 같다."
},
"natureFragment": {
"Hardy": "{{nature}}하는 성격",
"Lonely": "{{nature}}을 타는 성격",
"Brave": "{{nature}}한 성격",
"Adamant": "{{nature}}스러운 성격",
"Naughty": "{{nature}}같은 성격",
"Bold": "{{nature}}한 성격",
"Docile": "{{nature}}한 성격",
"Relaxed": "{{nature}}한 성격",
"Impish": "{{nature}}같은 성격",
"Lax": "{{nature}}거리는 성격",
"Timid": "{{nature}}같은 성격",
"Hasty": "{{nature}}한 성격",
"Serious": "{{nature}}한 성격",
"Jolly": "{{nature}}한 성격",
"Naive": "{{nature}}한 성격",
"Modest": "{{nature}}스러운 성격",
"Mild": "{{nature}}한 성격",
"Quiet": "{{nature}}한 성격",
"Bashful": "{{nature}}을 타는 성격",
"Rash": "{{nature}}거리는 성격",
"Calm": "{{nature}}한 성격",
"Gentle": "{{nature}}한 성격",
"Sassy": "{{nature}}진 성격",
"Careful": "{{nature}}한 성격",
"Quirky": "{{nature}}스러운 성격"
} }
} }

View File

@ -825,10 +825,7 @@ export default class SummaryUiHandler extends UiHandler {
biome: `${getBBCodeFrag(getBiomeName(this.pokemon?.metBiome!), TextStyle.SUMMARY_RED)}${closeFragment}`, // TODO: is this bang correct? biome: `${getBBCodeFrag(getBiomeName(this.pokemon?.metBiome!), TextStyle.SUMMARY_RED)}${closeFragment}`, // TODO: is this bang correct?
level: `${getBBCodeFrag(this.pokemon?.metLevel.toString()!, TextStyle.SUMMARY_RED)}${closeFragment}`, // TODO: is this bang correct? level: `${getBBCodeFrag(this.pokemon?.metLevel.toString()!, TextStyle.SUMMARY_RED)}${closeFragment}`, // TODO: is this bang correct?
}), }),
natureFragment: natureFragment: i18next.t(`pokemonSummary:natureFragment.${rawNature}`, { nature: nature })
i18next.exists(`pokemonSummary:natureFragment.${rawNature}`) ?
i18next.t(`pokemonSummary:natureFragment.${rawNature}`, { nature: nature }) :
nature,
}); });
const memoText = addBBCodeTextObject(this.scene, 7, 113, String(memoString), TextStyle.WINDOW_ALT); const memoText = addBBCodeTextObject(this.scene, 7, 113, String(memoString), TextStyle.WINDOW_ALT);