More literals and multilang for summary images
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 906 B |
After Width: | Height: | Size: 685 B |
After Width: | Height: | Size: 906 B |
After Width: | Height: | Size: 906 B |
After Width: | Height: | Size: 906 B |
After Width: | Height: | Size: 979 B |
After Width: | Height: | Size: 981 B |
After Width: | Height: | Size: 979 B |
After Width: | Height: | Size: 979 B |
After Width: | Height: | Size: 979 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 1020 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 919 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 309 B |
After Width: | Height: | Size: 309 B |
After Width: | Height: | Size: 317 B |
After Width: | Height: | Size: 317 B |
After Width: | Height: | Size: 317 B |
After Width: | Height: | Size: 317 B |
After Width: | Height: | Size: 317 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 779 B |
After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 867 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 315 B |
After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 304 B |
After Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 313 B |
|
@ -8,7 +8,7 @@ import { SceneBase } from "./scene-base";
|
|||
import { WindowVariant, getWindowVariantSuffix } from "./ui/ui-theme";
|
||||
import { isMobile } from "./touch-controls";
|
||||
import * as Utils from "./utils";
|
||||
import { initI18n } from "./plugins/i18n";
|
||||
import i18next, { initI18n } from "./plugins/i18n";
|
||||
|
||||
export class LoadingScene extends SceneBase {
|
||||
constructor() {
|
||||
|
@ -108,8 +108,23 @@ export class LoadingScene extends SceneBase {
|
|||
this.loadImage('summary_moves_overlay_row', 'ui');
|
||||
this.loadImage('summary_moves_overlay_pp', 'ui');
|
||||
this.loadAtlas('summary_moves_cursor', 'ui');
|
||||
for (let t = 1; t <= 3; t++)
|
||||
for (let t = 1; t <= 3; t++){
|
||||
this.loadImage(`summary_tabs_${t}`, 'ui');
|
||||
}
|
||||
i18next.languages.forEach(lang => {
|
||||
if(Utils.verifyLang(lang)){
|
||||
this.loadImage(`starter_select_bg_${lang}`, 'ui');
|
||||
this.loadImage(`summary_bg_${lang}`, 'ui');
|
||||
this.loadImage(`summary_moves_${lang}`, 'ui');
|
||||
this.loadImage(`summary_moves_effect_${lang}`, 'ui');
|
||||
this.loadImage(`summary_profile_${lang}`, 'ui');
|
||||
this.loadImage(`summary_stats_${lang}`, 'ui');
|
||||
for (let t = 1; t <= 3; t++){
|
||||
this.loadImage(`summary_tabs_${t}_${lang}`, 'ui');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
this.loadImage('starter_select_bg', 'ui');
|
||||
this.loadImage('select_cursor', 'ui');
|
||||
|
@ -185,10 +200,11 @@ export class LoadingScene extends SceneBase {
|
|||
this.loadAtlas('pb', '');
|
||||
this.loadAtlas('items', '');
|
||||
this.loadAtlas('types', '');
|
||||
this.loadAtlas('types_es', '');
|
||||
this.loadAtlas('types_de', '');
|
||||
this.loadAtlas('types_it', '');
|
||||
this.loadAtlas('types_fr', '');
|
||||
i18next.languages.forEach(lang => {
|
||||
if(Utils.verifyLang(lang)){
|
||||
this.loadAtlas(`types_${lang}`, '');
|
||||
}
|
||||
});
|
||||
this.loadAtlas('types_zh_CN', '');
|
||||
this.loadAtlas('statuses', '');
|
||||
this.loadAtlas('categories', '');
|
||||
|
|
|
@ -2,4 +2,16 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
|
||||
export const partyUiHandler: SimpleTranslationEntries = {
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"cantReleaseInBattle": "You can\'t release a Pokémon that\'s in battle!",
|
||||
"what2doWithPoke": "Do what with this Pokémon?",
|
||||
"cancelShort": "Cancel",
|
||||
"selectMove": "Select a move.",
|
||||
"selectHeldItemTransfer": "Select a held item to transfer.",
|
||||
"selectSplice": "Select another Pokémon to splice.",
|
||||
"deactivate": "Deactivate",
|
||||
"activate": "Activate",
|
||||
"SEND_OUT": "Send Out",
|
||||
"SUMMARY": "Summary",
|
||||
"RELEASE": "Release",
|
||||
"CANCEL": "Cancel"
|
||||
} as const;
|
|
@ -28,5 +28,8 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
|||
"cycleNature": "N: Wesen Ändern",
|
||||
"cycleVariant": "V: Seltenheit ändern",
|
||||
"enablePassive": "Passiv-Skill aktivieren",
|
||||
"disablePassive": "Passiv-Skill deaktivieren"
|
||||
"disablePassive": "Passiv-Skill deaktivieren",
|
||||
"uncaught": "Uncaught",
|
||||
"luck":" Luck",
|
||||
"form": "Form"
|
||||
}
|
|
@ -1,5 +1,17 @@
|
|||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const SummaryUiHandler: SimpleTranslationEntries = {
|
||||
"pokemonInfo": "Pokémon Info",
|
||||
"pokemonInfo": "Pokémon Info", //Currently unused
|
||||
"originalTrainer": "OT",
|
||||
"type": "Type",
|
||||
"natureBeforeText": "",
|
||||
"natureAfterText": " nature",
|
||||
"apparently": "apparently",
|
||||
"metAtLv":"met at Lv",
|
||||
"status": "Status",
|
||||
"lvl": "Lvl",
|
||||
"unknown": 'Unknown',
|
||||
"expPoints": "EXP. Points",
|
||||
"nextLv": "Next Lv.",
|
||||
"moveStats": "Power\nAccuracy\nCategory"
|
||||
} as const;
|
|
@ -5,6 +5,11 @@ export const partyUiHandler: SimpleTranslationEntries = {
|
|||
"cantReleaseInBattle": "You can\'t release a Pokémon that\'s in battle!",
|
||||
"what2doWithPoke": "Do what with this Pokémon?",
|
||||
"cancelShort": "Cancel",
|
||||
"selectMove": "Select a move.",
|
||||
"selectHeldItemTransfer": "Select a held item to transfer.",
|
||||
"selectSplice": "Select another Pokémon to splice.",
|
||||
"deactivate": "Deactivate",
|
||||
"activate": "Activate",
|
||||
"SEND_OUT": "Send Out",
|
||||
"SUMMARY": "Summary",
|
||||
"RELEASE": "Release",
|
||||
|
|
|
@ -28,5 +28,8 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
|||
"cycleNature": 'N: Cycle Nature',
|
||||
"cycleVariant": 'V: Cycle Variant',
|
||||
"enablePassive": "Enable Passive",
|
||||
"disablePassive": "Disable Passive"
|
||||
"disablePassive": "Disable Passive",
|
||||
"uncaught": "Uncaught",
|
||||
"luck":" Luck",
|
||||
"form": "Form"
|
||||
}
|
|
@ -1,12 +1,17 @@
|
|||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const SummaryUiHandler: SimpleTranslationEntries = {
|
||||
"pokemonInfo": "Pokémon Info", //Do not translate yet
|
||||
"pokemonInfo": "Pokémon Info", //Currently unused
|
||||
"originalTrainer": "OT",
|
||||
"type": "Type",
|
||||
"natureBeforeText": "",
|
||||
"natureAfterText": " nature",
|
||||
"apparently": "apparently",
|
||||
"metAtLv":"met at Lv",
|
||||
"status": "Status"
|
||||
"status": "Status",
|
||||
"lvl": "Lvl",
|
||||
"unknown": 'Unknown',
|
||||
"expPoints": "EXP. Points",
|
||||
"nextLv": "Next Lv.",
|
||||
"moveStats": "Power\nAccuracy\nCategory"
|
||||
} as const;
|
|
@ -5,6 +5,11 @@ export const partyUiHandler: SimpleTranslationEntries = {
|
|||
"cantReleaseInBattle": "¡No puedes liberar un Pokémon en combate!",
|
||||
"what2doWithPoke": "¿Qué hacer con este Pokémon?",
|
||||
"cancelShort": "Cancel",
|
||||
"selectMove": "Elige un movimiento.",
|
||||
"selectHeldItemTransfer": "Elige qué objeto transferir.",
|
||||
"selectSplice": "Elige otro Pokémon para la fusión.",
|
||||
"deactivate": "Desactivar",
|
||||
"activate": "Activar",
|
||||
"SEND_OUT": "Cambiar",
|
||||
"SUMMARY": "Datos",
|
||||
"RELEASE": "Liberar",
|
||||
|
|
|
@ -28,5 +28,8 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
|||
"cycleNature": 'N: Cambiar Naturaleza',
|
||||
"cycleVariant": 'V: Cambiar Variante',
|
||||
"enablePassive": "Activar Pasiva",
|
||||
"disablePassive": "Desactivar Pasiva"
|
||||
"disablePassive": "Desactivar Pasiva",
|
||||
"uncaught": "Sin capturar",
|
||||
"luck":" Suerte",
|
||||
"form": "Forma"
|
||||
}
|
|
@ -1,12 +1,17 @@
|
|||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const SummaryUiHandler: SimpleTranslationEntries = {
|
||||
"pokemonInfo": "Info Pokémon", //Do not translate yet
|
||||
"pokemonInfo": "Info. Pokémon", //Currently unused
|
||||
"originalTrainer": "EO",
|
||||
"type": "Tipo",
|
||||
"natureBeforeText": "Naturaleza",
|
||||
"natureBeforeText": "Naturaleza: ",
|
||||
"natureAfterText": "",
|
||||
"apparently": "aparentemente",
|
||||
"metAtLv":"encontrado con Nv. ",
|
||||
"status": "Estado"
|
||||
"status": "Estado",
|
||||
"lvl": "Nv",
|
||||
"unknown": "Desconocido",
|
||||
"expPoints": "Puntos Exp",
|
||||
"nextLv": "Sig. Nv.",
|
||||
"moveStats": "Poder\nPrecisión\nCategoría"
|
||||
} as const;
|
|
@ -2,4 +2,16 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
|
||||
export const partyUiHandler: SimpleTranslationEntries = {
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"cantReleaseInBattle": "You can\'t release a Pokémon that\'s in battle!",
|
||||
"what2doWithPoke": "Do what with this Pokémon?",
|
||||
"cancelShort": "Cancel",
|
||||
"selectMove": "Select a move.",
|
||||
"selectHeldItemTransfer": "Select a held item to transfer.",
|
||||
"selectSplice": "Select another Pokémon to splice.",
|
||||
"deactivate": "Deactivate",
|
||||
"activate": "Activate",
|
||||
"SEND_OUT": "Send Out",
|
||||
"SUMMARY": "Summary",
|
||||
"RELEASE": "Release",
|
||||
"CANCEL": "Cancel"
|
||||
} as const;
|
|
@ -28,5 +28,8 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
|
|||
"cycleNature": "N: » Natures",
|
||||
"cycleVariant": "V: » Variants",
|
||||
"enablePassive": "Activer Passif",
|
||||
"disablePassive": "Désactiver Passif"
|
||||
"disablePassive": "Désactiver Passif",
|
||||
"uncaught": "Uncaught",
|
||||
"luck":" Luck",
|
||||
"form": "Form"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const SummaryUiHandler: SimpleTranslationEntries = {
|
||||
"pokemonInfo": "Pokémon Info",
|
||||
"pokemonInfo": "Pokémon Info", //Currently unused
|
||||
"originalTrainer": "OT",
|
||||
"type": "Type",
|
||||
"natureBeforeText": "",
|
||||
"natureAfterText": " nature",
|
||||
"apparently": "apparently",
|
||||
"metAtLv":"met at Lv",
|
||||
"status": "Status",
|
||||
"lvl": "Lvl",
|
||||
"unknown": 'Unknown',
|
||||
"expPoints": "EXP. Points",
|
||||
"nextLv": "Next Lv.",
|
||||
"moveStats": "Power\nAccuracy\nCategory"
|
||||
} as const;
|
|
@ -2,4 +2,16 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
|||
|
||||
export const partyUiHandler: SimpleTranslationEntries = {
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"cantReleaseInBattle": "You can\'t release a Pokémon that\'s in battle!",
|
||||
"what2doWithPoke": "Do what with this Pokémon?",
|
||||
"cancelShort": "Cancel",
|
||||
"selectMove": "Select a move.",
|
||||
"selectHeldItemTransfer": "Select a held item to transfer.",
|
||||
"selectSplice": "Select another Pokémon to splice.",
|
||||
"deactivate": "Deactivate",
|
||||
"activate": "Activate",
|
||||
"SEND_OUT": "Send Out",
|
||||
"SUMMARY": "Summary",
|
||||
"RELEASE": "Release",
|
||||
"CANCEL": "Cancel"
|
||||
} as const;
|