From ecc089da641c3b40739fbc4e77a997c27529b582 Mon Sep 17 00:00:00 2001 From: Fringg Date: Wed, 18 Feb 2026 09:25:44 +0300 Subject: [PATCH] fix: show locations count instead of servers on tariff cards servers_count already represents squad count on backend. Renamed display labels to "locations" on tariff cards and confirmation view. Server names still shown in subscription card. --- src/locales/en.json | 3 +++ src/locales/fa.json | 2 ++ src/locales/ru.json | 4 ++++ src/locales/zh.json | 2 ++ src/pages/Subscription.tsx | 4 ++-- 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 2d0fbbc..1444ce4 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -243,6 +243,9 @@ "serversLabel": "Servers", "servers_one": "{{count}} server", "servers_other": "{{count}} servers", + "locationsLabel": "Locations", + "locations_one": "{{count}} location", + "locations_other": "{{count}} locations", "traffic": "Traffic", "unlimited": "Unlimited", "used": "Used", diff --git a/src/locales/fa.json b/src/locales/fa.json index 503a076..4b87ea9 100644 --- a/src/locales/fa.json +++ b/src/locales/fa.json @@ -239,6 +239,8 @@ "baseTariff": "تعرفه", "serversLabel": "سرورها", "servers_other": "{{count}} سرور", + "locationsLabel": "مکان‌ها", + "locations_other": "{{count}} مکان", "traffic": "ترافیک", "unlimited": "نامحدود", "used": "استفاده شده", diff --git a/src/locales/ru.json b/src/locales/ru.json index 4c07342..f031c5b 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -257,6 +257,10 @@ "servers_one": "{{count}} сервер", "servers_few": "{{count}} сервера", "servers_many": "{{count}} серверов", + "locationsLabel": "Локации", + "locations_one": "{{count}} локация", + "locations_few": "{{count}} локации", + "locations_many": "{{count}} локаций", "traffic": "Трафик", "unlimited": "Безлимит", "used": "Использовано", diff --git a/src/locales/zh.json b/src/locales/zh.json index ee5f231..4655c8a 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -239,6 +239,8 @@ "baseTariff": "套餐", "serversLabel": "服务器", "servers_other": "{{count}} 个服务器", + "locationsLabel": "位置", + "locations_other": "{{count}} 个位置", "traffic": "流量", "unlimited": "无限", "used": "已使用", diff --git a/src/pages/Subscription.tsx b/src/pages/Subscription.tsx index 90cfb8e..fee7c1d 100644 --- a/src/pages/Subscription.tsx +++ b/src/pages/Subscription.tsx @@ -2396,7 +2396,7 @@ export default function Subscription() { /> - {t('subscription.servers', { count: tariff.servers_count })} + {t('subscription.locations', { count: tariff.servers_count })} @@ -2596,7 +2596,7 @@ export default function Subscription() {
- {t('subscription.serversLabel')}: + {t('subscription.locationsLabel')}: {selectedTariff.servers_count}