fix: show fallback when tariff has no available periods for renewal

When all periods are removed from a tariff, users saw an empty
purchase form with no way to renew. Now shows a message explaining
the situation and a button to choose a different tariff.
This commit is contained in:
Fringg
2026-03-10 01:27:36 +03:00
parent 4ac3792971
commit ea06ad1d8f
5 changed files with 39 additions and 0 deletions

View File

@@ -297,6 +297,9 @@
"daysBeforeExpiry": "到期前天数",
"daysBeforeExpiry_other": "到期前 {{count}} 天",
"selectPeriod": "选择时长",
"noPeriodsAvailable": "没有可用的续订周期",
"noPeriodsAvailableHint": "管理员已更改此套餐的设置。请选择其他套餐续订您的订阅。",
"chooseDifferentTariff": "选择其他套餐",
"selectTraffic": "选择流量",
"selectServers": "选择服务器",
"selectDevices": "选择设备",