Added Gen names localizations in Starter Selection UI (+"Uncaught" translation in French) (#907)
* Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Update starter-select-ui-handler.ts * Update starter-select-ui-handler.ts * Added Gen names localizations in Starter Selection UI * Added Gen names localizations in Starter Selection UI * Updated with recent pt BR edits
This commit is contained in:
parent
9197f9f070
commit
afcffab90f
|
@ -7,6 +7,15 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
*/
|
||||
export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||
"confirmStartTeam": "Mit diesen Pokémon losziehen?",
|
||||
"gen1": "I",
|
||||
"gen2": "II",
|
||||
"gen3": "III",
|
||||
"gen4": "IV",
|
||||
"gen5": "V",
|
||||
"gen6": "VI",
|
||||
"gen7": "VII",
|
||||
"gen8": "VIII",
|
||||
"gen9": "IX",
|
||||
"growthRate": "Wachstum:",
|
||||
"ability": "Fhgkeit:",
|
||||
"passive": "Passiv:",
|
||||
|
|
|
@ -7,6 +7,15 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
*/
|
||||
export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||
"confirmStartTeam":'Begin with these Pokémon?',
|
||||
"gen1": "I",
|
||||
"gen2": "II",
|
||||
"gen3": "III",
|
||||
"gen4": "IV",
|
||||
"gen5": "V",
|
||||
"gen6": "VI",
|
||||
"gen7": "VII",
|
||||
"gen8": "VIII",
|
||||
"gen9": "IX",
|
||||
"growthRate": "Growth Rate:",
|
||||
"ability": "Ability:",
|
||||
"passive": "Passive:",
|
||||
|
|
|
@ -7,6 +7,15 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
*/
|
||||
export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||
"confirmStartTeam":'¿Comenzar con estos Pokémon?',
|
||||
"gen1": "I",
|
||||
"gen2": "II",
|
||||
"gen3": "III",
|
||||
"gen4": "IV",
|
||||
"gen5": "V",
|
||||
"gen6": "VI",
|
||||
"gen7": "VII",
|
||||
"gen8": "VIII",
|
||||
"gen9": "IX",
|
||||
"growthRate": "Crecimiento:",
|
||||
"ability": "Habilid:",
|
||||
"passive": "Pasiva:",
|
||||
|
|
|
@ -7,6 +7,15 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
*/
|
||||
export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||
"confirmStartTeam":'Commencer avec ces Pokémon ?',
|
||||
"gen1": "1G",
|
||||
"gen2": "2G",
|
||||
"gen3": "3G",
|
||||
"gen4": "4G",
|
||||
"gen5": "5G",
|
||||
"gen6": "6G",
|
||||
"gen7": "7G",
|
||||
"gen8": "8G",
|
||||
"gen9": "9G",
|
||||
"growthRate": "Croissance :",
|
||||
"ability": "Talent :",
|
||||
"passive": "Passif :",
|
||||
|
@ -31,5 +40,5 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
|||
"disablePassive": "Désactiver Passif",
|
||||
"locked": "Verrouillé",
|
||||
"disabled": "Désactivé",
|
||||
"uncaught": "Uncaught"
|
||||
"uncaught": "Non-capturé"
|
||||
}
|
||||
|
|
|
@ -7,6 +7,15 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
*/
|
||||
export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||
"confirmStartTeam":'Vuoi iniziare con questi Pokémon?',
|
||||
"gen1": "I",
|
||||
"gen2": "II",
|
||||
"gen3": "III",
|
||||
"gen4": "IV",
|
||||
"gen5": "V",
|
||||
"gen6": "VI",
|
||||
"gen7": "VII",
|
||||
"gen8": "VIII",
|
||||
"gen9": "IX",
|
||||
"growthRate": "Vel. Crescita:",
|
||||
"ability": "Abilità:",
|
||||
"passive": "Passiva:",
|
||||
|
|
|
@ -7,6 +7,15 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
*/
|
||||
export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||
"confirmStartTeam": 'Começar com esses Pokémon?',
|
||||
"gen1": "I",
|
||||
"gen2": "II",
|
||||
"gen3": "III",
|
||||
"gen4": "IV",
|
||||
"gen5": "V",
|
||||
"gen6": "VI",
|
||||
"gen7": "VII",
|
||||
"gen8": "VIII",
|
||||
"gen9": "IX",
|
||||
"growthRate": "Crescimento:",
|
||||
"ability": "Habilidade:",
|
||||
"passive": "Passiva:",
|
||||
|
|
|
@ -7,6 +7,15 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
*/
|
||||
export const starterSelectUiHandler: SimpleTranslationEntries = {
|
||||
"confirmStartTeam":'使用这些宝可梦开始游戏吗?',
|
||||
"gen1": "I",
|
||||
"gen2": "II",
|
||||
"gen3": "III",
|
||||
"gen4": "IV",
|
||||
"gen5": "V",
|
||||
"gen6": "VI",
|
||||
"gen7": "VII",
|
||||
"gen8": "VIII",
|
||||
"gen9": "IX",
|
||||
"growthRate": "成长速度:",
|
||||
"ability": "特性:",
|
||||
"passive": "被动:",
|
||||
|
|
|
@ -86,7 +86,17 @@ function getValueReductionCandyCounts(baseValue: integer): [integer, integer] {
|
|||
}
|
||||
}
|
||||
|
||||
const gens = [ 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX' ];
|
||||
const gens = [
|
||||
i18next.t("starterSelectUiHandler:gen1"),
|
||||
i18next.t("starterSelectUiHandler:gen2"),
|
||||
i18next.t("starterSelectUiHandler:gen3"),
|
||||
i18next.t("starterSelectUiHandler:gen4"),
|
||||
i18next.t("starterSelectUiHandler:gen5"),
|
||||
i18next.t("starterSelectUiHandler:gen6"),
|
||||
i18next.t("starterSelectUiHandler:gen7"),
|
||||
i18next.t("starterSelectUiHandler:gen8"),
|
||||
i18next.t("starterSelectUiHandler:gen9")
|
||||
];
|
||||
|
||||
export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||
private starterSelectContainer: Phaser.GameObjects.Container;
|
||||
|
@ -1287,15 +1297,17 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||
updateGenOptions(): void {
|
||||
let text = '';
|
||||
for (let g = this.genScrollCursor; g <= this.genScrollCursor + 2; g++) {
|
||||
let optionText = gens[g];
|
||||
let optionText = '';
|
||||
if (g === this.genScrollCursor && this.genScrollCursor)
|
||||
optionText = '↑';
|
||||
else if (g === this.genScrollCursor + 2 && this.genScrollCursor < gens.length - 3)
|
||||
optionText = '↓'
|
||||
else
|
||||
optionText = i18next.t(`starterSelectUiHandler:gen${g + 1}`);
|
||||
text += `${text ? '\n' : ''}${optionText}`;
|
||||
}
|
||||
this.genOptionsText.setText(text);
|
||||
}
|
||||
}
|
||||
|
||||
setGenMode(genMode: boolean): boolean {
|
||||
this.genCursorObj.setVisible(genMode && !this.startCursorObj.visible);
|
||||
|
|
Loading…
Reference in New Issue