fix: add Russian translation for device limit reduction reason

This commit is contained in:
c0mrade
2026-02-01 23:14:10 +03:00
parent bce4d94229
commit e884860ab8
3 changed files with 6 additions and 2 deletions

View File

@@ -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",

View File

@@ -427,6 +427,7 @@
"connectedDevices": "Подключено устройств: {{count}}",
"disconnectDevicesFirst": "Сначала отключите устройства, чтобы уменьшить лимит ниже {{count}}",
"reduceUnavailable": "Уменьшение устройств недоступно",
"alreadyAtMinDeviceLimit": "Уже достигнут минимальный лимит устройств для вашего тарифа",
"reduce": "Уменьшить",
"reducing": "Уменьшение...",
"newDeviceLimit": "Новый лимит: {{count}} устройств",

View File

@@ -1253,7 +1253,9 @@ export default function Subscription() {
{deviceReductionInfo?.available === false ? (
<div className="py-4 text-center text-sm text-dark-400">
{deviceReductionInfo.reason ||
{deviceReductionInfo.reason?.includes('minimum device limit')
? t('subscription.additionalOptions.alreadyAtMinDeviceLimit')
: deviceReductionInfo.reason ||
t('subscription.additionalOptions.reduceUnavailable')}
</div>
) : deviceReductionInfo ? (