From 6bd28847f2ac4eabdda4b0bc0712d6012c6d3acf Mon Sep 17 00:00:00 2001 From: Fawazorg Date: Sat, 7 Feb 2026 23:18:27 +0300 Subject: [PATCH 1/4] fix: disabled translation key for next video popup --- src/routes/Settings/Player/usePlayerOptions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/Settings/Player/usePlayerOptions.ts b/src/routes/Settings/Player/usePlayerOptions.ts index 27081817b..69d651e64 100644 --- a/src/routes/Settings/Player/usePlayerOptions.ts +++ b/src/routes/Settings/Player/usePlayerOptions.ts @@ -1,7 +1,7 @@ import { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; +import { CONSTANTS, languageNames, useLanguageSorting, usePlatform } from 'stremio/common'; import { useServices } from 'stremio/services'; -import { CONSTANTS, languageNames, usePlatform, useLanguageSorting } from 'stremio/common'; const LANGUAGES_NAMES: Record = languageNames; @@ -232,12 +232,12 @@ const usePlayerOptions = (profile: Profile) => { const nextVideoPopupDurationSelect = useMemo(() => ({ options: CONSTANTS.NEXT_VIDEO_POPUP_DURATIONS.map((duration) => ({ value: `${duration}`, - label: duration === 0 ? 'Disabled' : `${duration / 1000} ${t('SECONDS')}` + label: duration === 0 ? t('SETTINGS_DISABLED') : `${duration / 1000} ${t('SECONDS')}` })), value: `${profile.settings.nextVideoNotificationDuration}`, title: () => { return profile.settings.nextVideoNotificationDuration === 0 ? - 'Disabled' + t('SETTINGS_DISABLED') : `${profile.settings.nextVideoNotificationDuration / 1000} ${t('SECONDS')}`; }, From ce2c021e5f927000fcf6ced282fc58a59f51a722 Mon Sep 17 00:00:00 2001 From: Fawazorg Date: Sun, 8 Feb 2026 20:54:35 +0300 Subject: [PATCH 2/4] fix: normalize catalog name casing for add-on filter translation key --- src/routes/Addons/useSelectableInputs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Addons/useSelectableInputs.js b/src/routes/Addons/useSelectableInputs.js index 8659b99e6..5cd817734 100644 --- a/src/routes/Addons/useSelectableInputs.js +++ b/src/routes/Addons/useSelectableInputs.js @@ -18,7 +18,7 @@ const mapSelectableInputs = (installedAddons, remoteAddons, t) => { () => { const selectableCatalog = remoteAddons.selectable.catalogs .find(({ id }) => id === remoteAddons.selected.request.path.id); - return selectableCatalog ? t.stringWithPrefix(selectableCatalog.name, 'ADDON_') : remoteAddons.selected.request.path.id; + return selectableCatalog ? t.stringWithPrefix(selectableCatalog.name.toUpperCase(), 'ADDON_') : remoteAddons.selected.request.path.id; } : null, onSelect: (value) => { From 1e0963e8af1efb5ab623160399c5f758ba5a0adb Mon Sep 17 00:00:00 2001 From: Fawazorg Date: Mon, 9 Feb 2026 00:17:46 +0300 Subject: [PATCH 3/4] fix: missing key translate for server add url --- src/routes/Settings/Streaming/URLsManager/AddItem/AddItem.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/routes/Settings/Streaming/URLsManager/AddItem/AddItem.tsx b/src/routes/Settings/Streaming/URLsManager/AddItem/AddItem.tsx index d0a2e0c41..07e829696 100644 --- a/src/routes/Settings/Streaming/URLsManager/AddItem/AddItem.tsx +++ b/src/routes/Settings/Streaming/URLsManager/AddItem/AddItem.tsx @@ -1,6 +1,7 @@ // Copyright (C) 2017-2024 Smart code 203358507 import React, { ChangeEvent, useCallback, useState } from 'react'; +import { useTranslation } from 'react-i18next'; import Icon from '@stremio/stremio-icons/react'; import { Button, TextInput } from 'stremio/components'; import styles from './AddItem.less'; @@ -11,6 +12,7 @@ type Props = { }; const AddItem = ({ onCancel, handleAddUrl }: Props) => { + const { t } = useTranslation(); const [inputValue, setInputValue] = useState(''); const handleValueChange = useCallback(({ target }: ChangeEvent) => { @@ -28,7 +30,7 @@ const AddItem = ({ onCancel, handleAddUrl }: Props) => { value={inputValue} onChange={handleValueChange} onSubmit={onSubmit} - placeholder={'Enter URL'} + placeholder={t('SETTINGS_SERVER_ADD_URL_PLACEHOLDER')} />