Added "Uncaught" localization in Starter Selection UI (#831)
parent
3a3611dfc0
commit
74ee3329f8
|
@ -30,5 +30,6 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||||
"enablePassive": "Passiv-Skill aktivieren",
|
"enablePassive": "Passiv-Skill aktivieren",
|
||||||
"disablePassive": "Passiv-Skill deaktivieren",
|
"disablePassive": "Passiv-Skill deaktivieren",
|
||||||
"locked": "Gesperrt",
|
"locked": "Gesperrt",
|
||||||
"disabled": "Deaktiviert"
|
"disabled": "Deaktiviert",
|
||||||
|
"uncaught": "Uncaught"
|
||||||
}
|
}
|
|
@ -30,5 +30,6 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||||
"enablePassive": "Enable Passive",
|
"enablePassive": "Enable Passive",
|
||||||
"disablePassive": "Disable Passive",
|
"disablePassive": "Disable Passive",
|
||||||
"locked": "Locked",
|
"locked": "Locked",
|
||||||
"disabled": "Disabled"
|
"disabled": "Disabled",
|
||||||
|
"uncaught": "Uncaught"
|
||||||
}
|
}
|
|
@ -30,5 +30,6 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||||
"enablePassive": "Activar Pasiva",
|
"enablePassive": "Activar Pasiva",
|
||||||
"disablePassive": "Desactivar Pasiva",
|
"disablePassive": "Desactivar Pasiva",
|
||||||
"locked": "Locked",
|
"locked": "Locked",
|
||||||
"disabled": "Disabled"
|
"disabled": "Disabled",
|
||||||
|
"uncaught": "Uncaught"
|
||||||
}
|
}
|
|
@ -30,5 +30,6 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||||
"enablePassive": "Activer Passif",
|
"enablePassive": "Activer Passif",
|
||||||
"disablePassive": "Désactiver Passif",
|
"disablePassive": "Désactiver Passif",
|
||||||
"locked": "Verrouillé",
|
"locked": "Verrouillé",
|
||||||
"disabled": "Désactivé"
|
"disabled": "Désactivé",
|
||||||
|
"uncaught": "Uncaught"
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,5 +30,6 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||||
"enablePassive": "Attiva Passiva",
|
"enablePassive": "Attiva Passiva",
|
||||||
"disablePassive": "Disattiva Passiva",
|
"disablePassive": "Disattiva Passiva",
|
||||||
"locked": "Locked",
|
"locked": "Locked",
|
||||||
"disabled": "Disabled"
|
"disabled": "Disabled",
|
||||||
|
"uncaught": "Uncaught"
|
||||||
}
|
}
|
|
@ -31,4 +31,5 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||||
"disablePassive": "Desativar Passiva",
|
"disablePassive": "Desativar Passiva",
|
||||||
"locked": "Bloqueado",
|
"locked": "Bloqueado",
|
||||||
"disabled": "Desativado",
|
"disabled": "Desativado",
|
||||||
|
"uncaught": "Não capturado"
|
||||||
}
|
}
|
|
@ -30,5 +30,6 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||||
"enablePassive": "启用被动",
|
"enablePassive": "启用被动",
|
||||||
"disablePassive": "禁用被动",
|
"disablePassive": "禁用被动",
|
||||||
"locked": "Locked",
|
"locked": "Locked",
|
||||||
"disabled": "Disabled"
|
"disabled": "Disabled",
|
||||||
|
"uncaught": "Uncaught"
|
||||||
}
|
}
|
|
@ -1,34 +1,34 @@
|
||||||
import BattleScene, { starterColors } from "../battle-scene";
|
|
||||||
import PokemonSpecies, { allSpecies, getPokemonSpecies, getPokemonSpeciesForm, speciesStarters, starterPassiveAbilities, getStarterValueFriendshipCap } from "../data/pokemon-species";
|
|
||||||
import { Species } from "../data/enums/species";
|
|
||||||
import { TextStyle, addBBCodeTextObject, addTextObject } from "./text";
|
|
||||||
import { Mode } from "./ui";
|
|
||||||
import MessageUiHandler from "./message-ui-handler";
|
|
||||||
import { Gender, getGenderColor, getGenderSymbol } from "../data/gender";
|
|
||||||
import { allAbilities } from "../data/ability";
|
|
||||||
import { GameModes, gameModes } from "../game-mode";
|
|
||||||
import { GrowthRate, getGrowthRateColor } from "../data/exp";
|
|
||||||
import { AbilityAttr, DexAttr, DexAttrProps, DexEntry, Passive as PassiveAttr, StarterFormMoveData, StarterMoveset } from "../system/game-data";
|
|
||||||
import * as Utils from "../utils";
|
|
||||||
import PokemonIconAnimHandler, { PokemonIconAnimMode } from "./pokemon-icon-anim-handler";
|
|
||||||
import { StatsContainer } from "./stats-container";
|
|
||||||
import { addWindow } from "./ui-theme";
|
|
||||||
import { Nature, getNatureName } from "../data/nature";
|
|
||||||
import BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext";
|
|
||||||
import { pokemonFormChanges } from "../data/pokemon-forms";
|
|
||||||
import { Tutorial, handleTutorial } from "../tutorial";
|
|
||||||
import { LevelMoves, pokemonFormLevelMoves, pokemonSpeciesLevelMoves } from "../data/pokemon-level-moves";
|
|
||||||
import { allMoves } from "../data/move";
|
|
||||||
import { Type } from "../data/type";
|
|
||||||
import { Moves } from "../data/enums/moves";
|
|
||||||
import { speciesEggMoves } from "../data/egg-moves";
|
|
||||||
import { TitlePhase } from "../phases";
|
|
||||||
import { argbFromRgba } from "@material/material-color-utilities";
|
|
||||||
import { OptionSelectItem } from "./abstact-option-select-ui-handler";
|
|
||||||
import { pokemonPrevolutions } from "#app/data/pokemon-evolutions";
|
import { pokemonPrevolutions } from "#app/data/pokemon-evolutions";
|
||||||
import { Variant, getVariantTint } from "#app/data/variant";
|
import { Variant, getVariantTint } from "#app/data/variant";
|
||||||
|
import { argbFromRgba } from "@material/material-color-utilities";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import {Button} from "../enums/buttons";
|
import BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext";
|
||||||
|
import BattleScene, { starterColors } from "../battle-scene";
|
||||||
|
import { allAbilities } from "../data/ability";
|
||||||
|
import { speciesEggMoves } from "../data/egg-moves";
|
||||||
|
import { Moves } from "../data/enums/moves";
|
||||||
|
import { Species } from "../data/enums/species";
|
||||||
|
import { GrowthRate, getGrowthRateColor } from "../data/exp";
|
||||||
|
import { Gender, getGenderColor, getGenderSymbol } from "../data/gender";
|
||||||
|
import { allMoves } from "../data/move";
|
||||||
|
import { Nature, getNatureName } from "../data/nature";
|
||||||
|
import { pokemonFormChanges } from "../data/pokemon-forms";
|
||||||
|
import { LevelMoves, pokemonFormLevelMoves, pokemonSpeciesLevelMoves } from "../data/pokemon-level-moves";
|
||||||
|
import PokemonSpecies, { allSpecies, getPokemonSpecies, getPokemonSpeciesForm, getStarterValueFriendshipCap, speciesStarters, starterPassiveAbilities } from "../data/pokemon-species";
|
||||||
|
import { Type } from "../data/type";
|
||||||
|
import { Button } from "../enums/buttons";
|
||||||
|
import { GameModes, gameModes } from "../game-mode";
|
||||||
|
import { TitlePhase } from "../phases";
|
||||||
|
import { AbilityAttr, DexAttr, DexAttrProps, DexEntry, Passive as PassiveAttr, StarterFormMoveData, StarterMoveset } from "../system/game-data";
|
||||||
|
import { Tutorial, handleTutorial } from "../tutorial";
|
||||||
|
import * as Utils from "../utils";
|
||||||
|
import { OptionSelectItem } from "./abstact-option-select-ui-handler";
|
||||||
|
import MessageUiHandler from "./message-ui-handler";
|
||||||
|
import PokemonIconAnimHandler, { PokemonIconAnimMode } from "./pokemon-icon-anim-handler";
|
||||||
|
import { StatsContainer } from "./stats-container";
|
||||||
|
import { TextStyle, addBBCodeTextObject, addTextObject } from "./text";
|
||||||
|
import { Mode } from "./ui";
|
||||||
|
import { addWindow } from "./ui-theme";
|
||||||
|
|
||||||
export type StarterSelectCallback = (starters: Starter[]) => void;
|
export type StarterSelectCallback = (starters: Starter[]) => void;
|
||||||
|
|
||||||
|
@ -241,7 +241,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||||
this.pokemonGenderText.setOrigin(0, 0);
|
this.pokemonGenderText.setOrigin(0, 0);
|
||||||
this.starterSelectContainer.add(this.pokemonGenderText);
|
this.starterSelectContainer.add(this.pokemonGenderText);
|
||||||
|
|
||||||
this.pokemonUncaughtText = addTextObject(this.scene, 6, 127, 'Uncaught', TextStyle.SUMMARY_ALT, { fontSize: '56px' });
|
this.pokemonUncaughtText = addTextObject(this.scene, 6, 127, i18next.t("starterSelectUiHandler:uncaught"), TextStyle.SUMMARY_ALT, { fontSize: '56px' });
|
||||||
this.pokemonUncaughtText.setOrigin(0, 0);
|
this.pokemonUncaughtText.setOrigin(0, 0);
|
||||||
this.starterSelectContainer.add(this.pokemonUncaughtText);
|
this.starterSelectContainer.add(this.pokemonUncaughtText);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue