mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 15:33:29 +02:00
[i18n] Camel case remaining keys (#6508)
* fix egg gacha keys * fix battle keys * fix game stats * fix splash texts
This commit is contained in:
parent
65c72c65b9
commit
328cc0221e
@ -234,7 +234,7 @@ const seasonalSplashMessages: Season[] = [
|
|||||||
"valentines.happyValentines",
|
"valentines.happyValentines",
|
||||||
"valentines.fullOfLove",
|
"valentines.fullOfLove",
|
||||||
"valentines.applinForYou",
|
"valentines.applinForYou",
|
||||||
"valentines.thePowerOfLoveIsThreeThirtyBST",
|
"valentines.thePowerOfLoveIsThreeThirtyBst",
|
||||||
"valentines.haveAHeartScale",
|
"valentines.haveAHeartScale",
|
||||||
"valentines.i<3You",
|
"valentines.i<3You",
|
||||||
],
|
],
|
||||||
@ -265,7 +265,7 @@ const seasonalSplashMessages: Season[] = [
|
|||||||
"aprilFools.whoIsFinn",
|
"aprilFools.whoIsFinn",
|
||||||
"aprilFools.watchOutForShadowPokemon",
|
"aprilFools.watchOutForShadowPokemon",
|
||||||
"aprilFools.nowWithDarkTypeLuxray",
|
"aprilFools.nowWithDarkTypeLuxray",
|
||||||
"aprilFools.onlyOnPokerogueNetAGAIN",
|
"aprilFools.onlyOnPokerogueNetAgain",
|
||||||
"aprilFools.noFreeVouchers",
|
"aprilFools.noFreeVouchers",
|
||||||
"aprilFools.altffourAchievementPoints",
|
"aprilFools.altffourAchievementPoints",
|
||||||
"aprilFools.rokePogue",
|
"aprilFools.rokePogue",
|
||||||
|
@ -220,7 +220,7 @@ export class CommandPhase extends FieldPhase {
|
|||||||
if (!moveStatus.value) {
|
if (!moveStatus.value) {
|
||||||
cannotSelectKey = "battle:moveCannotUseChallenge";
|
cannotSelectKey = "battle:moveCannotUseChallenge";
|
||||||
} else if (move.getPpRatio() === 0) {
|
} else if (move.getPpRatio() === 0) {
|
||||||
cannotSelectKey = "battle:moveNoPP";
|
cannotSelectKey = "battle:moveNoPp";
|
||||||
} else if (move.getName().endsWith(" (N)")) {
|
} else if (move.getName().endsWith(" (N)")) {
|
||||||
cannotSelectKey = "battle:moveNotImplemented";
|
cannotSelectKey = "battle:moveNotImplemented";
|
||||||
} else if (user.isMoveRestricted(move.moveId, user)) {
|
} else if (user.isMoveRestricted(move.moveId, user)) {
|
||||||
|
@ -932,7 +932,7 @@ export class MoveEffectPhase extends PokemonPhase {
|
|||||||
msg = i18next.t("battle:hitResultNotVeryEffective");
|
msg = i18next.t("battle:hitResultNotVeryEffective");
|
||||||
break;
|
break;
|
||||||
case HitResult.ONE_HIT_KO:
|
case HitResult.ONE_HIT_KO:
|
||||||
msg = i18next.t("battle:hitResultOneHitKO");
|
msg = i18next.t("battle:hitResultOneHitKo");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (msg) {
|
if (msg) {
|
||||||
|
@ -96,7 +96,7 @@ export class EggGachaUiHandler extends MessageUiHandler {
|
|||||||
legendaryLabelY = 0;
|
legendaryLabelY = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const gachaUpLabel = addTextObject(gachaX, gachaY, i18next.t("egg:legendaryUPGacha"), gachaTextStyle).setOrigin(0);
|
const gachaUpLabel = addTextObject(gachaX, gachaY, i18next.t("egg:legendaryUpGacha"), gachaTextStyle).setOrigin(0);
|
||||||
gachaInfoContainer.add(gachaUpLabel);
|
gachaInfoContainer.add(gachaUpLabel);
|
||||||
|
|
||||||
switch (gachaType as GachaType) {
|
switch (gachaType as GachaType) {
|
||||||
@ -124,14 +124,14 @@ export class EggGachaUiHandler extends MessageUiHandler {
|
|||||||
gachaUpLabel.setAlign("center").setY(0);
|
gachaUpLabel.setAlign("center").setY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
gachaUpLabel.setText(i18next.t("egg:moveUPGacha")).setX(0).setOrigin(0.5, 0);
|
gachaUpLabel.setText(i18next.t("egg:moveUpGacha")).setX(0).setOrigin(0.5, 0);
|
||||||
break;
|
break;
|
||||||
case GachaType.SHINY:
|
case GachaType.SHINY:
|
||||||
if (["de", "fr", "ko", "ru"].includes(currentLanguage)) {
|
if (["de", "fr", "ko", "ru"].includes(currentLanguage)) {
|
||||||
gachaUpLabel.setAlign("center").setY(0);
|
gachaUpLabel.setAlign("center").setY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
gachaUpLabel.setText(i18next.t("egg:shinyUPGacha")).setX(0).setOrigin(0.5, 0);
|
gachaUpLabel.setText(i18next.t("egg:shinyUpGacha")).setX(0).setOrigin(0.5, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ const displayStats: DisplayStats = {
|
|||||||
sourceFunc: gameData => gameData.gameStats.highestDamage.toString(),
|
sourceFunc: gameData => gameData.gameStats.highestDamage.toString(),
|
||||||
},
|
},
|
||||||
highestHeal: {
|
highestHeal: {
|
||||||
label_key: "highestHPHealed",
|
label_key: "highestHpHealed",
|
||||||
sourceFunc: gameData => gameData.gameStats.highestHeal.toString(),
|
sourceFunc: gameData => gameData.gameStats.highestHeal.toString(),
|
||||||
},
|
},
|
||||||
pokemonSeen: {
|
pokemonSeen: {
|
||||||
|
Loading…
Reference in New Issue
Block a user