From 593ac38267bc25bd27408b63846ad70cec722606 Mon Sep 17 00:00:00 2001 From: Dakurei Date: Fri, 10 May 2024 17:29:22 +0200 Subject: [PATCH] Fix some errors from previous PR #711 (#716) --- src/locales/es/fight-ui-handler.ts | 2 +- src/locales/it/fight-ui-handler.ts | 2 +- src/ui/text.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/locales/es/fight-ui-handler.ts b/src/locales/es/fight-ui-handler.ts index 5abe60abba6..7a02ce66f3c 100644 --- a/src/locales/es/fight-ui-handler.ts +++ b/src/locales/es/fight-ui-handler.ts @@ -2,6 +2,6 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const fightUiHandler: SimpleTranslationEntries = { "pp": "PP", - "power": "Power", + "power": "Potencia", "accuracy": "Accuracy", } as const; diff --git a/src/locales/it/fight-ui-handler.ts b/src/locales/it/fight-ui-handler.ts index 7546e9af66a..94cb41f721d 100644 --- a/src/locales/it/fight-ui-handler.ts +++ b/src/locales/it/fight-ui-handler.ts @@ -2,6 +2,6 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const fightUiHandler: SimpleTranslationEntries = { "pp": "PP", - "power": "Power", + "power": "Potenza", "accuracy": "Accuracy", } as const; \ No newline at end of file diff --git a/src/ui/text.ts b/src/ui/text.ts index 3302c988aef..d7ecd3b2526 100644 --- a/src/ui/text.ts +++ b/src/ui/text.ts @@ -135,7 +135,7 @@ export function getTextColor(textStyle: TextStyle, shadow?: boolean, uiTheme: Ui case TextStyle.MESSAGE: return !shadow ? '#f8f8f8' : '#6b5a73'; case TextStyle.WINDOW: - case TextStyle.MOVE_INFO_CONTENT: + case TextStyle.MOVE_INFO_CONTENT: case TextStyle.TOOLTIP_CONTENT: if (uiTheme) return !shadow ? '#484848' : '#d0d0c8';