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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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