[i18n] Camel case remaining keys (#6508)

* fix egg gacha keys

* fix battle keys

* fix game stats

* fix splash texts
This commit is contained in:
Fabi 2025-09-11 01:45:01 +02:00 committed by GitHub
parent 65c72c65b9
commit 328cc0221e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View File

@ -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",

View File

@ -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)) {

View File

@ -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) {

View File

@ -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;
}

View File

@ -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: {