From cdb65a79730fadf0036b88d62c29cc485a7fab20 Mon Sep 17 00:00:00 2001 From: Miroslav Dragoev <107684931+m-dragoev@users.noreply.github.com> Date: Sun, 8 Mar 2026 14:19:18 +0200 Subject: [PATCH] fix: use valid i18n keys in player and seasons placeholder --- .../SeasonsBar/SeasonsBarPlaceholder/SeasonsBarPlaceholder.js | 4 ++-- src/routes/Player/OptionsMenu/OptionsMenu.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/SeasonsBarPlaceholder.js b/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/SeasonsBarPlaceholder.js index 4013e0b64..ed5bd7a57 100644 --- a/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/SeasonsBarPlaceholder.js +++ b/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/SeasonsBarPlaceholder.js @@ -13,14 +13,14 @@ const SeasonsBarPlaceholder = ({ className }) => {
-
{t('SEASON_PREV')}
+
{t('PREV_SEASON')}
{t('SEASON_NUMBER', { season: 1 })}
-
{t('SEASON_NEXT')}
+
{t('NEXT_SEASON')}
diff --git a/src/routes/Player/OptionsMenu/OptionsMenu.js b/src/routes/Player/OptionsMenu/OptionsMenu.js index da826ba41..6a927f83a 100644 --- a/src/routes/Player/OptionsMenu/OptionsMenu.js +++ b/src/routes/Player/OptionsMenu/OptionsMenu.js @@ -46,7 +46,7 @@ const OptionsMenu = ({ className, stream, playbackDevices, extraSubtitlesTracks, console.error(e); toast.show({ type: 'error', - title: t('Error'), + title: t('ERROR'), message: `${t('PLAYER_COPY_STREAM_ERROR')}: ${streamingUrl || downloadUrl}`, timeout: 3000 });