diff --git a/src/locales/en.json b/src/locales/en.json index dd41e20..b9353d8 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -333,7 +333,7 @@ "manageServers": "Server management", "manageServersTitle": "Server management" }, - "servers": { + "serverManagement": { "statusLegend": "✅ — connected • ➕ — will be added (paid) • ➖ — will be disconnected", "discountBanner": "Your server discount: -{{percent}}%", "forDays": "(for {{days}} days)", diff --git a/src/locales/fa.json b/src/locales/fa.json index 7cb183f..4df6626 100644 --- a/src/locales/fa.json +++ b/src/locales/fa.json @@ -242,7 +242,7 @@ "manageServers": "مدیریت سرورها", "manageServersTitle": "مدیریت سرورها" }, - "servers": { + "serverManagement": { "statusLegend": "✅ — متصل • ➕ — اضافه خواهد شد (پولی) • ➖ — قطع خواهد شد", "discountBanner": "تخفیف سرور شما: -{{percent}}%", "forDays": "(برای {{days}} روز)", diff --git a/src/locales/ru.json b/src/locales/ru.json index 0f028fd..709ec6b 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -355,7 +355,7 @@ "manageServers": "Управление серверами", "manageServersTitle": "Управление серверами" }, - "servers": { + "serverManagement": { "statusLegend": "✅ — подключено • ➕ — будет добавлено (платно) • ➖ — будет отключено", "discountBanner": "Ваша скидка на серверы: -{{percent}}%", "forDays": "(за {{days}} дн.)", diff --git a/src/locales/zh.json b/src/locales/zh.json index 08584be..96e3a95 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -242,7 +242,7 @@ "manageServers": "服务器管理", "manageServersTitle": "服务器管理" }, - "servers": { + "serverManagement": { "statusLegend": "✅ — 已连接 • ➕ — 将添加(付费)• ➖ — 将断开", "discountBanner": "您的服务器折扣:-{{percent}}%", "forDays": "({{days}} 天)", diff --git a/src/pages/Subscription.tsx b/src/pages/Subscription.tsx index 311ff45..aeab231 100644 --- a/src/pages/Subscription.tsx +++ b/src/pages/Subscription.tsx @@ -1287,13 +1287,13 @@ export default function Subscription() { ) : countriesData && countriesData.countries.length > 0 ? (
- {t('subscription.servers.statusLegend')} + {t('subscription.serverManagement.statusLegend')}
{countriesData.discount_percent > 0 && (
🎁{' '} - {t('subscription.servers.discountBanner', { + {t('subscription.serverManagement.discountBanner', { percent: countriesData.discount_percent, })}
@@ -1351,7 +1351,7 @@ export default function Subscription() { {willBeAdded && (
+{formatPrice(country.price_kopeks)}{' '} - {t('subscription.servers.forDays', { + {t('subscription.serverManagement.forDays', { days: countriesData.days_left, })} {country.has_discount && ( @@ -1370,7 +1370,7 @@ export default function Subscription() { {!willBeAdded && !isCurrentlyConnected && (
{formatPrice(country.price_per_month_kopeks)} - {t('subscription.servers.perMonth')} + {t('subscription.serverManagement.perMonth')} {country.has_discount && ( {formatPrice(country.base_price_kopeks)} @@ -1380,7 +1380,7 @@ export default function Subscription() { )} {!country.is_available && !isCurrentlyConnected && (
- {t('subscription.servers.unavailable')} + {t('subscription.serverManagement.unavailable')}
)}
@@ -1423,7 +1423,7 @@ export default function Subscription() { {added.length > 0 && (
- {t('subscription.servers.toAdd')} + {t('subscription.serverManagement.toAdd')} {' '} {addedServers.map((s) => s.name).join(', ')} @@ -1433,7 +1433,7 @@ export default function Subscription() { {removed.length > 0 && (
- {t('subscription.servers.toDisconnect')} + {t('subscription.serverManagement.toDisconnect')} {' '} {countriesData.countries @@ -1446,7 +1446,7 @@ export default function Subscription() { {totalCost > 0 && (
- {t('subscription.servers.paymentProrated')} + {t('subscription.serverManagement.paymentProrated')}
{formatPrice(totalCost)} @@ -1477,13 +1477,13 @@ export default function Subscription() { ) : ( - t('subscription.servers.applyChanges') + t('subscription.serverManagement.applyChanges') )}
) : (
- {t('subscription.servers.selectServersHint')} + {t('subscription.serverManagement.selectServersHint')}
); })()} @@ -1496,7 +1496,7 @@ export default function Subscription() {
) : (
- {t('subscription.servers.noServersAvailable')} + {t('subscription.serverManagement.noServersAvailable')}
)}