mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +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.fullOfLove",
|
||||
"valentines.applinForYou",
|
||||
"valentines.thePowerOfLoveIsThreeThirtyBST",
|
||||
"valentines.thePowerOfLoveIsThreeThirtyBst",
|
||||
"valentines.haveAHeartScale",
|
||||
"valentines.i<3You",
|
||||
],
|
||||
@ -265,7 +265,7 @@ const seasonalSplashMessages: Season[] = [
|
||||
"aprilFools.whoIsFinn",
|
||||
"aprilFools.watchOutForShadowPokemon",
|
||||
"aprilFools.nowWithDarkTypeLuxray",
|
||||
"aprilFools.onlyOnPokerogueNetAGAIN",
|
||||
"aprilFools.onlyOnPokerogueNetAgain",
|
||||
"aprilFools.noFreeVouchers",
|
||||
"aprilFools.altffourAchievementPoints",
|
||||
"aprilFools.rokePogue",
|
||||
|
@ -220,7 +220,7 @@ export class CommandPhase extends FieldPhase {
|
||||
if (!moveStatus.value) {
|
||||
cannotSelectKey = "battle:moveCannotUseChallenge";
|
||||
} else if (move.getPpRatio() === 0) {
|
||||
cannotSelectKey = "battle:moveNoPP";
|
||||
cannotSelectKey = "battle:moveNoPp";
|
||||
} else if (move.getName().endsWith(" (N)")) {
|
||||
cannotSelectKey = "battle:moveNotImplemented";
|
||||
} else if (user.isMoveRestricted(move.moveId, user)) {
|
||||
|
@ -932,7 +932,7 @@ export class MoveEffectPhase extends PokemonPhase {
|
||||
msg = i18next.t("battle:hitResultNotVeryEffective");
|
||||
break;
|
||||
case HitResult.ONE_HIT_KO:
|
||||
msg = i18next.t("battle:hitResultOneHitKO");
|
||||
msg = i18next.t("battle:hitResultOneHitKo");
|
||||
break;
|
||||
}
|
||||
if (msg) {
|
||||
|
@ -96,7 +96,7 @@ export class EggGachaUiHandler extends MessageUiHandler {
|
||||
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);
|
||||
|
||||
switch (gachaType as GachaType) {
|
||||
@ -124,14 +124,14 @@ export class EggGachaUiHandler extends MessageUiHandler {
|
||||
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;
|
||||
case GachaType.SHINY:
|
||||
if (["de", "fr", "ko", "ru"].includes(currentLanguage)) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ const displayStats: DisplayStats = {
|
||||
sourceFunc: gameData => gameData.gameStats.highestDamage.toString(),
|
||||
},
|
||||
highestHeal: {
|
||||
label_key: "highestHPHealed",
|
||||
label_key: "highestHpHealed",
|
||||
sourceFunc: gameData => gameData.gameStats.highestHeal.toString(),
|
||||
},
|
||||
pokemonSeen: {
|
||||
|
Loading…
Reference in New Issue
Block a user