From e884860ab86b6cbcdb9db2858f47bd3813a18740 Mon Sep 17 00:00:00 2001 From: c0mrade Date: Sun, 1 Feb 2026 23:14:10 +0300 Subject: [PATCH] fix: add Russian translation for device limit reduction reason --- src/locales/en.json | 1 + src/locales/ru.json | 1 + src/pages/Subscription.tsx | 6 ++++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 29ced72..217c123 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -405,6 +405,7 @@ "connectedDevices": "Connected devices: {{count}}", "disconnectDevicesFirst": "Disconnect devices first to reduce the limit below {{count}}", "reduceUnavailable": "Device reduction is not available", + "alreadyAtMinDeviceLimit": "Already at minimum device limit for your tariff", "reduce": "Reduce", "reducing": "Reducing...", "newDeviceLimit": "New limit: {{count}} devices", diff --git a/src/locales/ru.json b/src/locales/ru.json index 5d74c6b..e4fa363 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -427,6 +427,7 @@ "connectedDevices": "Подключено устройств: {{count}}", "disconnectDevicesFirst": "Сначала отключите устройства, чтобы уменьшить лимит ниже {{count}}", "reduceUnavailable": "Уменьшение устройств недоступно", + "alreadyAtMinDeviceLimit": "Уже достигнут минимальный лимит устройств для вашего тарифа", "reduce": "Уменьшить", "reducing": "Уменьшение...", "newDeviceLimit": "Новый лимит: {{count}} устройств", diff --git a/src/pages/Subscription.tsx b/src/pages/Subscription.tsx index 9c90c96..237021a 100644 --- a/src/pages/Subscription.tsx +++ b/src/pages/Subscription.tsx @@ -1253,8 +1253,10 @@ export default function Subscription() { {deviceReductionInfo?.available === false ? (
- {deviceReductionInfo.reason || - t('subscription.additionalOptions.reduceUnavailable')} + {deviceReductionInfo.reason?.includes('minimum device limit') + ? t('subscription.additionalOptions.alreadyAtMinDeviceLimit') + : deviceReductionInfo.reason || + t('subscription.additionalOptions.reduceUnavailable')}
) : deviceReductionInfo ? (