Several adjustments + summary move effect image

This commit is contained in:
ArceUseless 2024-05-18 17:49:07 +02:00
parent ff99d78c28
commit c877b3c512
29 changed files with 6 additions and 30 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -15,14 +15,11 @@ import { partyUiHandler } from "./party-ui-handler";
import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon";
import { pokemonInfo } from "./pokemon-info";
import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { SummaryUiHandler } from "./summary-ui-handler";
import { tutorial } from "./tutorial";
import { weather } from "./weather";
import { titles,trainerClasses,trainerNames } from "./trainers";
import { splashMessages } from "./splash-messages"
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
@ -49,14 +46,10 @@ export const deConfig = {
trainerClasses: trainerClasses,
trainerNames: trainerNames,
tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
partyUiHandler: partyUiHandler,
summaryUiHandler: SummaryUiHandler,
biome: biome,
weather: weather,
modifierType: modifierType,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
}

View File

@ -6,7 +6,7 @@ export const pokemonInfo: PokemonInfoTranslationEntries = {
"HPshortened": "MaxKP",
"ATK": "Angriff",
"ATKshortened": "Ang",
"DEF": "Verteidigung",
"DEF": "Vert.",
"DEFshortened": "Vert",
"SPATK": "Sp. Ang",
"SPATKshortened": "SpAng",

View File

@ -12,6 +12,6 @@ export const SummaryUiHandler: SimpleTranslationEntries = {
"lvl": "Lvl",
"unknown": 'Unbekannt',
"expPoints": "EP",
"nextLv": "Nächstes Lv",
"moveStats": "Stärke\nGenauigkeit\nKategorie",
"nextLv": "Nächst. Lv.",
"moveStats": " Stärke\n Genauigkeit\n Kategorie",
} as const;

View File

@ -46,9 +46,6 @@ export const enConfig = {
trainerClasses: trainerClasses,
trainerNames: trainerNames,
tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
partyUiHandler: partyUiHandler,
summaryUiHandler: SummaryUiHandler,
biome: biome,

View File

@ -46,9 +46,6 @@ export const esConfig = {
trainerClasses: trainerClasses,
trainerNames: trainerNames,
tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
partyUiHandler: partyUiHandler,
summaryUiHandler: SummaryUiHandler,
biome: biome,

View File

@ -46,13 +46,9 @@ export const frConfig = {
trainerClasses: trainerClasses,
trainerNames: trainerNames,
tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
partyUiHandler: partyUiHandler,
summaryUiHandler: SummaryUiHandler,
biome: biome,
modifierType: modifierType,
weather: weather,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,

View File

@ -9,9 +9,9 @@ export const SummaryUiHandler: SimpleTranslationEntries = {
"apparently": "apparemment",
"metAtLv":"rencontré au N.",
"status": "Statut",
"lvl": "Niv.",
"lvl": "N.",
"unknown": 'Inconnu',
"expPoints": "Points d'Exp",
"expPoints": "Points dExp",
"nextLv": "N. suivant",
"moveStats": "Puissance\nPrécision\nCatégorie"
} as const;

View File

@ -46,9 +46,6 @@ export const itConfig = {
trainerClasses: trainerClasses,
trainerNames: trainerNames,
tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
partyUiHandler: partyUiHandler,
summaryUiHandler: SummaryUiHandler,
biome: biome,

View File

@ -9,7 +9,6 @@ import { menu } from "./menu";
import { menuUiHandler } from "./menu-ui-handler";
import { modifierType } from "./modifier-type";
import { move } from "./move";
import { nature } from "./nature";
import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon";
import { pokemonInfo } from "./pokemon-info";
@ -17,7 +16,6 @@ import { pokemonInfo } from "./pokemon-info";
import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial";
import { titles,trainerClasses,trainerNames } from "./trainers";
import { nature } from "./nature";
import { partyUiHandler } from "./party-ui-handler";
import { SummaryUiHandler } from "./summary-ui-handler";
@ -49,11 +47,9 @@ export const zhCnConfig = {
trainerClasses: trainerClasses,
trainerNames: trainerNames,
tutorial: tutorial,
nature: nature,
partyUiHandler: partyUiHandler,
summaryUiHandler: SummaryUiHandler,
biome: biome,
growth: growth,
weather: weather,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,

View File

@ -816,7 +816,7 @@ export default class SummaryUiHandler extends UiHandler {
stats.forEach((stat, s) => {
const statName = stat !== Stat.HP
? getStatName(stat)
: i18next.t('pokemonStat:HP');
: i18next.t('pokemonInfo:Stat.HP');
const rowIndex = s % 3;
const colIndex = Math.floor(s / 3);