Update Chinese battle.ts and egg-list-ui-handler.ts (#1314)

* Update battle.ts

update some lines of translation
make some translation more official

* Update egg-list-ui-handler.ts

make text position more accurate
This commit is contained in:
GhostFlys 2024-05-24 23:25:57 +08:00 committed by GitHub
parent 622885767d
commit 6168b77761
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -4,20 +4,20 @@ export const battle: SimpleTranslationEntries = {
"bossAppeared": "{{bossName}} 出现了。", "bossAppeared": "{{bossName}} 出现了。",
"trainerAppeared": "{{trainerName}}\n想要和你对战", "trainerAppeared": "{{trainerName}}\n想要和你对战",
"trainerAppearedDouble": "{{trainerName}}\n想要和你对战", "trainerAppearedDouble": "{{trainerName}}\n想要和你对战",
"trainerSendOut": "{{trainerName}} sent out\n{{pokemonName}}!", "trainerSendOut": "{{trainerName}} 派出了\n{{pokemonName}}!",
"singleWildAppeared": "一只野生 {{pokemonName}} 出现了!", "singleWildAppeared": "一只野生 {{pokemonName}} 出现了!",
"multiWildAppeared": "野生的 {{pokemonName1}}\n和 {{pokemonName2}} 出现了!", "multiWildAppeared": "野生的 {{pokemonName1}}\n和 {{pokemonName2}} 出现了!",
"playerComeBack": "回来吧, {{pokemonName}}", "playerComeBack": "回来吧, {{pokemonName}}",
"trainerComeBack": "{{trainerName}} 收回了 {{pokemonName}}", "trainerComeBack": "{{trainerName}} 收回了 {{pokemonName}}",
"playerGo": "去吧! {{pokemonName}}", "playerGo": "去吧! {{pokemonName}}",
"trainerGo": "{{trainerName}} 派出了 {{pokemonName}}", "trainerGo": "{{trainerName}} 派出了\n{{pokemonName}}",
"switchQuestion": "要更换\n{{pokemonName}}吗?", "switchQuestion": "要更换\n{{pokemonName}}吗?",
"trainerDefeated": "你击败了\n{{trainerName}}", "trainerDefeated": "你击败了\n{{trainerName}}",
"moneyWon": "You got\n₽{{moneyAmount}} for winning!", "moneyWon": "你赢得了\n₽{{moneyAmount}}",
"pokemonCaught": "{{pokemonName}} 被抓住了!", "pokemonCaught": "{{pokemonName}} 被抓住了!",
"partyFull": "Your party is full.\nRelease a Pokémon to make room for {{pokemonName}}?", "partyFull": "你的队伍已满员.是否放生其他宝可梦\n为 {{pokemonName}} 腾出空间?",
"pokemon": "宝可梦", "pokemon": "宝可梦",
"sendOutPokemon": "上吧! {{pokemonName}}", "sendOutPokemon": "上吧!\n{{pokemonName}}",
"hitResultCriticalHit": "击中了要害!", "hitResultCriticalHit": "击中了要害!",
"hitResultSuperEffective": "效果拔群!", "hitResultSuperEffective": "效果拔群!",
"hitResultNotVeryEffective": "收效甚微…", "hitResultNotVeryEffective": "收效甚微…",
@ -26,7 +26,7 @@ export const battle: SimpleTranslationEntries = {
"attackFailed": "但是失败了!", "attackFailed": "但是失败了!",
"attackHitsCount": "击中 {{count}} 次!", "attackHitsCount": "击中 {{count}} 次!",
"expGain": "{{pokemonName}} 获得了 {{exp}} 经验值!", "expGain": "{{pokemonName}} 获得了 {{exp}} 经验值!",
"levelUp": "{{pokemonName}} 升级到 Lv. {{level}}", "levelUp": "{{pokemonName}} 升级到 Lv.{{level}}",
"learnMove": "{{pokemonName}} 学会了 {{moveName}}", "learnMove": "{{pokemonName}} 学会了 {{moveName}}",
"learnMovePrompt": "{{pokemonName}} 想要学习 {{moveName}}。", "learnMovePrompt": "{{pokemonName}} 想要学习 {{moveName}}。",
"learnMoveLimitReached": "但是,{{pokemonName}} 已经学会了\n四个技能", "learnMoveLimitReached": "但是,{{pokemonName}} 已经学会了\n四个技能",
@ -35,7 +35,7 @@ export const battle: SimpleTranslationEntries = {
"learnMoveNotLearned": "{{pokemonName}} 没有学会 {{moveName}}。", "learnMoveNotLearned": "{{pokemonName}} 没有学会 {{moveName}}。",
"learnMoveForgetQuestion": "要忘记哪个技能?", "learnMoveForgetQuestion": "要忘记哪个技能?",
"learnMoveForgetSuccess": "{{pokemonName}} 忘记了\n如何使用 {{moveName}}。", "learnMoveForgetSuccess": "{{pokemonName}} 忘记了\n如何使用 {{moveName}}。",
"countdownPoof": "@d{32}1, @d{15}2, @d{15}和@d{15}… @d{15}… @d{15}… @d{15}@s{pb_bounce_1}噗", "countdownPoof": "@d{32}1, @d{15}2 @d{15}… @d{15}… @d{15}@s{pb_bounce_1}空",
"learnMoveAnd": "然后...", "learnMoveAnd": "然后...",
"levelCapUp": "等级上限提升到 {{levelCap}}", "levelCapUp": "等级上限提升到 {{levelCap}}",
"moveNotImplemented": "{{moveName}} 尚未实装,无法选择。", "moveNotImplemented": "{{moveName}} 尚未实装,无法选择。",

View File

@ -49,7 +49,7 @@ export default class EggListUiHandler extends MessageUiHandler {
this.iconAnimHandler = new PokemonIconAnimHandler(); this.iconAnimHandler = new PokemonIconAnimHandler();
this.iconAnimHandler.setup(this.scene); this.iconAnimHandler.setup(this.scene);
this.eggNameText = addTextObject(this.scene, 8, 66, "", TextStyle.SUMMARY); this.eggNameText = addTextObject(this.scene, 8, 68, "", TextStyle.SUMMARY);
this.eggNameText.setOrigin(0, 0); this.eggNameText.setOrigin(0, 0);
this.eggListContainer.add(this.eggNameText); this.eggListContainer.add(this.eggNameText);